/* FluxFront — per-feature pages (/feature/<slug>). Hero split + numbered benefits + how-it-works steps +
   related grid + single-column FAQ (reuses .faq from switching-faq.css) + .fcta from features-cta.css. */
/* ===================== HERO ===================== */
.fp-hero { padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 96px); }
.fp-hero .eyebrow a { color: inherit; }
.fp-hero .eyebrow a:hover { color: var(--teal-800); }
.fp-hero .h1 { margin-top: 16px; max-width: 14ch; }
.fp-hero .lead { margin-top: 18px; max-width: 52ch; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fp-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--t-sm); color: var(--ink-2); }
.fp-trust li { display: flex; align-items: center; gap: 8px; }
.fp-trust li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; flex: none; background: var(--teal-wash)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.fp-hero-media .media--photo, .fp-hero-media .media--devices { aspect-ratio: 16 / 10; }
.fp-hero-media .media--devices { background: var(--surface); border-color: transparent; box-shadow: none; }
.fp-hero-media .media--devices img { object-fit: contain; }

/* Screenshots: portrait phone/tablet shots sit on a tinted mat instead of being cropped to 16:10. */
.media--screen { background: var(--surface-2); display: grid; place-items: center; aspect-ratio: 16 / 10; padding: clamp(18px, 3vw, 36px); }
.media--screen img { width: auto; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: var(--sh-lg); }

/* ===================== BENEFITS ===================== */
.fp-benefits { background: var(--surface); padding-block: clamp(48px, 6vw, 88px); }
.fp-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fp-benefit { background: var(--cream); border: 1px solid var(--hairline-2); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); }
.fp-num { font-size: 0.72rem; letter-spacing: var(--ls-label); color: var(--teal-700); }
.fp-benefit h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.014em; margin-top: 14px; }
.fp-benefit p { margin-top: 10px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) { .fp-benefit-grid { grid-template-columns: 1fr; } }

/* ===================== HOW IT WORKS ===================== */
.fp-how { padding-block: clamp(56px, 7vw, 104px); }
.fp-how .h2 { margin-top: 16px; }
.fp-how .lead { margin-top: 16px; max-width: 48ch; }
.fp-steps { list-style: none; counter-reset: step; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.fp-steps li { counter-increment: step; position: relative; padding-left: 44px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
.fp-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; color: var(--teal-800); background: var(--teal-wash); }
.fp-how-media .media--photo { aspect-ratio: 16 / 10; }
.fp-how-media .media--devices img { object-fit: contain; }

/* ===================== RELATED ===================== */
.fp-related { background: var(--surface); padding-block: clamp(48px, 6vw, 88px); }
.fp-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.fp-rel { display: flex; flex-direction: column; gap: 8px; background: var(--cream); border: 1px solid var(--hairline-2); border-radius: var(--r-lg); padding: 22px;
  transition: transform var(--d-2) var(--e-out), box-shadow var(--d-2), border-color var(--d-2); }
.fp-rel:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--teal-600); }
.fp-rel h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.012em; }
.fp-rel p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.45; flex: 1; }
.fp-rel-go { font-size: var(--t-xs); font-weight: 600; color: var(--teal-800); }
@media (max-width: 900px) { .fp-rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fp-rel-grid { grid-template-columns: 1fr; } }

/* ===================== FAQ ===================== */
.fp-faq { padding-block: clamp(56px, 7vw, 104px); }
.fp-faq .faq--single { grid-template-columns: 1fr; margin-top: 24px; }
.fp-faq-more { margin-top: 22px; font-size: var(--t-sm); }
.fp-faq-more a { color: var(--teal-800); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .fp-rel, .fp-rel:hover { transform: none; transition: none; } }
