/* Feature pages (light meter, features, seed starting, garden calendar, garden log,
   import, web app): the splits, try band, related row and hero inline link.
   Built from the review preview by scripts/feature-pages/gen_site.py. */

.fpx-main { display: flex; flex-direction: column; gap: 96px; padding-block: 96px 240px; }

/* § 010 and the centred heads. */
.fpx-010 .hp-head .lede { margin-inline: auto; max-width: 934px; color: var(--hp-muted); }
.fpx-010 > .app-moment { width: 100%; }

/* page/cta-try: Brown band, r12, 56/64, copy left, button right. */
.fpx-try { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding: 56px 64px; border-radius: 12px; background: var(--brown-band); }
.fpx-try__copy { display: flex; flex-direction: column; gap: 12px; max-width: 888px; }
.fpx-try__title { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(2.25rem, 2.6vw + 1rem, 3.75rem); line-height: 1.2; color: #fff5dc; text-wrap: balance; }
.fpx-try__body { margin: 0; font-family: var(--f-sans); font-weight: 300; font-size: 22px; line-height: 1.4; color: #f5ebde; }
.cta-btn.fpx-try__btn { flex: none; padding: 18px 36px; font-size: 24px; font-weight: 800; line-height: 32px; white-space: nowrap; }

/* Splits: figure 656 / outcomes 720, 64 apart. */
.fpx-split { display: grid; grid-template-columns: minmax(0, 656fr) minmax(0, 720fr); gap: 64px; align-items: center; }
.fpx-split--figright { grid-template-columns: minmax(0, 720fr) minmax(0, 656fr); }
.fpx-split__copy { display: flex; flex-direction: column; gap: 32px; }
.fpx-head .eyebrow { margin: 0 0 12px; }
.fpx-head--left { text-align: left; margin: 0; }
.fpx-head--left .sec-title { text-align: left; }
.fpx-head--left .lede { margin: 12px 0 0; max-width: 720px; font-family: var(--f-sans); font-weight: 500; font-size: clamp(1.25rem, 0.8vw + 1rem, 1.75rem); line-height: 1.4; color: var(--hp-muted); }
.fpx-item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.fpx-item__tag { margin: 0; font: 800 11px/1.2 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; white-space: pre; }
.fpx-item h3 { margin: 0; font: 800 28px/1.25 var(--f-sans); color: var(--ink); }
.fpx-item__body { margin: 0; font: 400 16px/1.55 var(--f-serif); color: var(--hp-muted); }
.fpx-item h3 + .fpx-item__body { margin-top: -12px; }
.fpx-item .hp-link { align-self: flex-start; }
.fpx-also { margin: 0; font: 400 16px/1.55 var(--f-serif); color: var(--hp-muted); }

/* Figures: the app flow on Brown/2, a still screen on Brown/2, or a photo. All r20, 656 x 893. */
.fpx-split__fig .app-split__fig { min-height: 893px; padding: 40px 24px; border-radius: 20px; background: var(--hairline); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; box-sizing: border-box; }
.fpx-split__fig .app-split__fig .app-steps { width: 440px; max-width: 100%; }
.fpx-split__fig .app-split__fig .app-steps__stage { aspect-ratio: 356 / 340; }
.fpx-shot { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; min-height: 893px; border-radius: 20px; background: var(--hairline); padding: 24px; box-sizing: border-box; }
.fpx-shot img { display: block; width: 390px; max-width: 100%; height: auto; }
.fpx-photo { display: block; width: 100%; aspect-ratio: 656 / 893; object-fit: cover; border-radius: 20px; }
.fpx-split__fig > .app-moment { width: 100%; }

/* Related: three page/cards, 24 apart. */
.fpx-related__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fp .fpx-rel .folder { gap: 16px; min-height: 0; }
.fpx-rel .card__title { margin: 0; }
.fpx-rel__body { margin: -12px 0 0; font: 400 16px/1.55 var(--f-serif); color: var(--hp-muted); }
.fpx-rel .hp-link { align-self: flex-start; margin-top: auto; }

.fpx-bento { gap: 24px; }

@media (max-width: 1100px) {
  .fpx-split, .fpx-split--figright { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .fpx-split--figright .fpx-split__fig { order: 2; }
  .fpx-split__fig .app-split__fig, .fpx-shot { min-height: 0; }
  .fpx-photo { aspect-ratio: 4 / 3; }
  .fpx-related__row { grid-template-columns: minmax(0, 1fr); }
  .fpx-try { flex-direction: column; align-items: flex-start; gap: 32px; }
}
@media (max-width: 700px) {
  .fpx-main { gap: 64px; padding-block: 48px 128px; }
  .fpx-try { padding: 32px 24px; }
  .fpx-try__body { font-size: 18px; }
  .cta-btn.fpx-try__btn { padding: 14px 24px; font-size: 20px; }
  .fpx-split__fig .app-split__fig { padding: 24px 12px; }
  .fpx-item h3 { font-size: 24px; }
}
/* A hero card shows the flow and its credit only (round 9): no card copy or button. */
.app-moment--hero .app-moment__foot { display: none; }
/* Features § 040: Dig's edit-guide animation (docs/dig-edit-animation) on the Brown/2 panel. */
.fpx-dig { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 893px; padding: 40px 24px; border-radius: 20px; background: var(--hairline); box-sizing: border-box; }
.fpx-dig .digedit { position: relative; width: 100%; max-width: 480px; aspect-ratio: 343 / 440; }
.fpx-dig .digedit__svg { display: block; width: 100%; height: 100%; }
@media (max-width: 1100px) { .fpx-dig { min-height: 0; padding: 24px 12px; } }

/* Hero, phone: the second link joins the standfirst as bold words, so the hero
   keeps one arrow CTA (Corbin 11-23). Desktop keeps the link beside the button. */
.fpx-inline { display: none; }
.fpx-inline__link { font-weight: 700; color: inherit; text-decoration: none; }
@media (max-width: 700px) {
  .fpx-inline { display: inline; }
  .fp-cta .fpx-hero-link { display: none; }
}

/* Two-word joins hold on desktop only; phones wrap freely. */
@media (min-width: 701px) { .nw { white-space: nowrap; } }
.fp-hero__title { text-wrap: balance; }
.fp-hero__standfirst { text-wrap: pretty; }
