/* =====================================================================
   FunnelX — SEO Feature page template (reuses homepage.css chrome)
   ===================================================================== */
.fp-hero { position: relative; overflow: hidden; background: #fff; padding: 140px 0 var(--space-14); }
.fp-hero::after { content: ""; position: absolute; right: -140px; top: -160px; width: 560px; height: 560px; z-index: 0; pointer-events: none; background: radial-gradient(circle, rgba(50,101,255,0.14), transparent 62%); }
.fp-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: center; }
@media (max-width: 960px){ .fp-hero { padding: 120px 0 var(--space-10); } .fp-hero .wrap { grid-template-columns: 1fr; gap: var(--space-10); } }
.fp-hero h1 { color: var(--fx-navy); font-size: clamp(2.1rem, 4.2vw, 3rem); letter-spacing: -0.02em; line-height: 1.08; margin: var(--space-3) 0 var(--space-4); max-width: 16ch; }
.fp-hero .lead { font-size: var(--fs-18); line-height: var(--lh-relaxed); color: var(--fg-2); margin: 0 0 var(--space-8); max-width: 52ch; }
.fp-hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.fp-shot .img-ph { aspect-ratio: 4/3; }

/* problem strip */
.fp-problem { background: var(--fx-navy); color: #fff; }
.fp-problem .wrap { max-width: 900px; text-align: center; }
.fp-problem h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
.fp-problem p { color: #fff; font-size: var(--fs-18); line-height: var(--lh-relaxed); margin: 0 auto; max-width: 60ch; }

/* definition block (snippet-optimized) */
.fp-def { max-width: 820px; margin: 0 auto; }
.fp-def .def-card { background: var(--accent-soft); border: 1px solid var(--fx-light-blue-tint); border-left: 5px solid var(--fx-light-blue); border-radius: var(--radius-lg); padding: var(--space-8); }
.fp-def h2 { font-size: var(--fs-24); color: var(--fx-navy); margin: 0 0 var(--space-4); }
.fp-def p { font-size: var(--fs-18); line-height: 1.7; color: var(--fx-navy); margin: 0; }

/* features at a glance grid (Storylane-style) */
.fp-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
@media (max-width: 900px){ .fp-glance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .fp-glance { grid-template-columns: 1fr; } }
.fp-glance .g { }
.fp-glance .g .g-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: var(--space-4); }
.fp-glance .g .g-ic .icon { width: 22px; height: 22px; background-color: var(--fx-light-blue); }
.fp-glance .g h4 { font-size: var(--fs-16); color: var(--fx-navy); margin: 0 0 6px; }
.fp-glance .g p { font-size: var(--fs-14); color: var(--fg-2); line-height: var(--lh-relaxed); margin: 0; }

/* alternating feature rows (Storylane-style) */
.fp-rows { display: flex; flex-direction: column; gap: var(--space-24); margin-top: var(--space-12); }
@media (max-width: 860px){ .fp-rows { gap: var(--space-16); } }
.fp-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
@media (max-width: 860px){ .fp-row { grid-template-columns: 1fr; gap: var(--space-8); } .fp-row .fp-media { order: 2; } }
.fp-row.flip .fp-copy { order: 2; }
@media (max-width: 860px){ .fp-row.flip .fp-copy { order: 1; } }
.fp-row .fp-stat { display: inline-block; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fx-orange); background: var(--fx-orange-tint); border-radius: var(--radius-pill); padding: 6px 14px; margin-bottom: var(--space-4); }
.fp-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--fx-navy); letter-spacing: -0.02em; line-height: 1.14; margin: 0 0 var(--space-4); }
.fp-row .fp-copy > p { font-size: var(--fs-18); line-height: var(--lh-relaxed); color: var(--fg-2); margin: 0 0 var(--space-6); }
.fp-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fp-row li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); color: var(--fg-1); line-height: var(--lh-snug); }
.fp-row li .ck { width: 24px; height: 24px; border-radius: 7px; background: var(--success-soft); flex: none; display: grid; place-items: center; }
.fp-row li .ck .icon { width: 13px; height: 13px; background-color: var(--fx-green); }
.fp-row .fp-media { position: relative; }
.fp-row .fp-media .img-ph { aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.fp-row .fp-media::after { content: ""; position: absolute; z-index: -1; inset: -12%; background: radial-gradient(40% 46% at 24% 26%, rgba(50,101,255,0.30), transparent 70%), radial-gradient(42% 46% at 80% 78%, rgba(246,128,15,0.20), transparent 72%); filter: blur(46px); }

/* capabilities */
.fp-caps { display: flex; flex-direction: column; gap: var(--space-6); margin-top: var(--space-10); }
.cap { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-8); display: grid; grid-template-columns: 52px 1fr; gap: var(--space-6); align-items: start; transition: transform 300ms var(--ease-in-out), box-shadow 300ms var(--ease-in-out); }
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
@media (max-width: 560px){ .cap { grid-template-columns: 1fr; gap: var(--space-4); } }
.cap .cap-ic { width: 52px; height: 52px; border-radius: 13px; background: var(--fx-navy); display: grid; place-items: center; }
.cap .cap-ic .icon { width: 26px; height: 26px; background-color: var(--fx-light-blue); }
.cap h3 { font-size: var(--fs-20); color: var(--fx-navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.cap > div > p { font-size: var(--fs-16); line-height: var(--lh-relaxed); color: var(--fg-2); margin: 0 0 var(--space-4); }
.cap ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cap li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-15); color: var(--fg-1); line-height: var(--lh-snug); }
.cap li .ck { width: 22px; height: 22px; border-radius: 7px; background: var(--success-soft); flex: none; display: grid; place-items: center; }
.cap li .ck .icon { width: 13px; height: 13px; background-color: var(--fx-green); }

/* how-it-works steps */
.fp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-10); counter-reset: step; }
@media (max-width: 860px){ .fp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .fp-steps { grid-template-columns: 1fr; } }
.fp-step { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: var(--space-6); position: relative; }
.fp-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--fx-light-blue); color: #fff; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; margin-bottom: var(--space-4); }
.fp-step p { font-size: var(--fs-15); line-height: var(--lh-relaxed); color: var(--fg-1); margin: 0; }

/* who it is for + verify note */
.fp-who ul { max-width: 720px; margin: var(--space-6) auto 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fp-who li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); color: var(--fg-1); line-height: var(--lh-snug); }
.fp-who li .ck { width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); flex: none; display: grid; place-items: center; }
.fp-who li .ck .icon { width: 13px; height: 13px; background-color: var(--fx-light-blue); }
.fp-verticals { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: var(--space-6); }
.fp-verticals .vpill { font-size: var(--fs-14); font-weight: var(--fw-medium); color: var(--fx-navy); background: var(--bg-subtle); border: 1px solid var(--border-1); border-radius: var(--radius-pill); padding: 8px 16px; }

/* needs-input / verify editorial tags (visible to team, styled subtly) */
.fp-note { max-width: 820px; margin: var(--space-6) auto 0; border-radius: var(--radius-md); padding: 12px 16px; font-size: 13px; line-height: 1.55; display: flex; gap: 10px; }
.fp-note.needs { background: var(--warning-soft); color: #8a6d00; }
.fp-note.verify { background: var(--accent-soft); color: var(--fx-blue); }
.fp-note b { font-weight: var(--fw-bold); letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }

/* FAQ */
.fp-faq { max-width: 820px; margin: var(--space-8) auto 0; }
.faq-item { border-bottom: 1px solid var(--border-1); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; font-family: var(--font-sans); font-size: var(--fs-18); font-weight: var(--fw-semibold); color: var(--fx-navy); cursor: pointer; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--fx-light-blue); transition: transform 320ms var(--ease-in-out); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 340ms var(--ease-in-out); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { margin: 0 0 22px; font-size: var(--fs-16); line-height: var(--lh-relaxed); color: var(--fg-2); }

/* related features */
.fp-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-10); }
@media (max-width: 860px){ .fp-related { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .fp-related { grid-template-columns: 1fr; } }
.rel-card { display: block; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: var(--space-6); text-decoration: none; transition: transform 260ms var(--ease-in-out), box-shadow 260ms var(--ease-in-out); }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rel-card h4 { font-size: var(--fs-16); color: var(--fx-navy); margin: var(--space-4) 0 6px; }
.rel-card p { font-size: var(--fs-14); color: var(--fg-2); line-height: var(--lh-snug); margin: 0; }
.rel-card .rel-arrow { margin-top: 10px; font-size: 13px; font-weight: var(--fw-semibold); color: var(--fx-light-blue); }
.rel-card:hover .rel-arrow { color: var(--fx-orange); }

/* ---------------- Utility / announcement bar (global) ---------------- */
:root { --utilbar-h: 44px; }
.announce { position: relative; z-index: 120; display: flex; align-items: center; justify-content: center; min-height: var(--utilbar-h); padding: 0 16px; margin: 0; background: var(--fx-navy); color: #fff; font-size: var(--fs-14); text-align: center; }
.announce .wrap { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.announce-tag { flex: none; white-space: nowrap; background: var(--fx-orange); color: #fff; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }
.announce a { color: var(--fx-yellow); text-decoration: none; font-weight: var(--fw-medium); }
.announce a:hover { color: #fff; text-decoration: underline; }
body:has(> .announce) .site-header { top: var(--utilbar-h); }
body:has(> .announce) .site-header.scrolled { top: 0; }
/* scrolled: tighter bar, smaller logo */
.site-header .bar { transition: height 260ms var(--ease-in-out); }
.site-header .logo img { transition: height 260ms var(--ease-in-out); }
.site-header.scrolled .bar { height: 62px; }
.site-header.scrolled .logo img { height: 23px; }
@media (max-width: 760px) { .announce { display: none; } body:has(> .announce) .site-header { top: 0; } }
/* ---------------- Feature page product shot ---------------- */
.fp-shotband { position: relative; overflow: hidden; padding: var(--space-16) 0; background: #fff; }
.fp-shotband::before { content: ""; position: absolute; left: 50%; top: 0; width: 150%; height: 100%; transform: translateX(-50%); z-index: 0; pointer-events: none; background: radial-gradient(ellipse 34% 42% at 50% 46%, rgba(50,101,255,0.24) 0%, rgba(50,101,255,0.14) 32%, rgba(122,163,255,0) 72%); filter: blur(40px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 70%, transparent 100%); }
.fp-shotband .wrap { position: relative; z-index: 1; text-align: center; }
.fp-shotband img { display: block; width: 100%; max-width: 1000px; margin: 0 auto; border-radius: var(--radius-xl); border: 1px solid var(--border-1); box-shadow: var(--shadow-xl); }
.fp-shotcap { margin: var(--space-5) auto 0; font-size: var(--fs-14); color: var(--fg-3); max-width: 60ch; }
.fp-shotnote { display: inline-block; margin-top: var(--space-4); font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fx-orange); border: 1px dashed var(--fx-orange); border-radius: var(--radius-pill); padding: 6px 14px; }
