/* The six feature pages (/features/<name>). Shared tokens and classes live in /styles.css. */

.fp-head { max-width: 780px; }
.fp-head .pill { margin: 0 0 12px; }
.fp-ask { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.fp-ask .ask { background: var(--surface); }

.fp-sec { margin-top: var(--section); scroll-margin-top: 80px; }
.fp-sec > h2 { margin: 0 0 var(--s-3); }
.fp-sec > .fp-lede { font-size: var(--fs-lede); line-height: 1.5; margin: 0 0 24px; max-width: 40em; }
.fp-sec > p { max-width: 44em; }
.fp-sec .step-list { --steps: 4; margin-top: 8px; }
.fp-sec .grid { margin-top: 8px; }
.fp-sec .card h3 { font-size: var(--fs-body); margin: 0 0 6px; }
.fp-sec .card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.fp-sec .card p + p { margin-top: 8px; }
.fp-sec .card .ask { margin-top: 10px; font-size: var(--fs-sm); }

.fp-note { color: var(--muted); font-size: var(--fs-sm); margin: 16px 0 0; max-width: 44em; }
.fp-asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .fp-asks { grid-template-columns: 1fr 1fr; } }
.fp-asks li { margin: 0; }

/* Screenshots of the real dashboard */
.fp-shots { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .fp-shots { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); } }
.fp-shots .shot { margin: 0; }
.fp-shots .shot img { display: block; width: 100%; height: auto; }
.fp-shots figcaption { color: var(--muted); font-size: var(--fs-sm); margin-top: 10px; }
.fp-side { display: grid; gap: var(--s-6); }
.fp-side .shot-frame { max-width: 340px; }
.fp-phone { max-width: 320px; margin: var(--s-6) 0 0; }
.fp-phone img { display: block; width: 100%; height: auto; }
.fp-phone figcaption { color: var(--muted); font-size: var(--fs-sm); margin-top: 10px; }

/* Before / now */
.fp-pair { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .fp-pair { grid-template-columns: 1fr 1fr; } }

.fp-sec .table-scroll { margin-top: 8px; }
.fp-sec .data-table td { white-space: nowrap; }

.fp-more { margin-top: var(--section); }
.fp-more h2 { margin: 0 0 var(--s-5); }
.fp-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 620px) { .fp-more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .fp-more ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fp-more a { display: block; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }
.fp-more a:hover { border-color: var(--line-strong); }
.fp-more a span { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
