@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("geist.woff2") format('woff2'); }
/* ==========================================================================
   smart-funnels.org pages. Shared layout first; the theme tokens and the
   page's own touches follow further down.
   ========================================================================== */
* { box-sizing: border-box; }
html { margin: 0; padding: 0; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: var(--accent-text); text-decoration: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; color: var(--ink); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
@keyframes sfPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes sfFlowX { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes sfFlowY { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ---------- Type roles ---------- */
.eyebrow, .vs-card-label, .step-num, .stat-label, .cpa-box .t, .kpi .t, .out-name, .chip,
.calc-group-label, .mode-row .n, .live-pill, .tl-dot, .flow-node .t, .out-unit, .hero-pill-text {
  font-family: var(--font-label); font-weight: var(--label-weight); text-transform: uppercase; letter-spacing: var(--label-tracking);
}
.section-title, .hero-title, .cta-title { text-wrap: balance; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); color: var(--ink); }
.step-title, .obj-title, .callout-title, .tl-title, .faq-q { font-family: var(--font-display); font-weight: var(--h3-weight); letter-spacing: var(--h3-tracking); color: var(--ink); }
.stat-value, .cpa-box .n, .kpi .n, .out-kpi { font-family: var(--font-display); font-weight: var(--num-weight); letter-spacing: var(--num-tracking); font-variant-numeric: tabular-nums; }

/* ---------- Buttons + brand ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font-body); color: var(--btn-text); background: var(--btn-bg); padding: 16px 28px; border-radius: var(--r-btn); border: 1px solid transparent; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-text); transform: translateY(-1px); }
.btn--sm { padding: 10px 16px; font-size: 13.5px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.brand-mark { flex: none; width: 28px; height: 28px; border-radius: var(--r-mark); background: var(--brand); display: inline-flex; align-items: center; justify-content: center; color: #fff; font: 700 15px var(--font-brand); }
.brand-mark--sm { width: 24px; height: 24px; font-size: 13px; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad-x); background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.nav-name { font: 600 17px var(--font-brand); letter-spacing: -.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 26px; font: 500 14px var(--font-body); color: var(--muted); }
.nav-links a { color: inherit; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--btn-text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--hero-y) var(--pad-x) calc(var(--hero-y) * .9); text-align: var(--head-align); }
.hero-grid-bg, .hero-glow, .cta-glow { display: none; }
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; }
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: sfPulse 1.8s ease-in-out infinite; }
.hero-pill-text { font-size: 11.5px; color: var(--accent-text); }
.hero-title { font-size: var(--h1-size); line-height: var(--h1-lh); max-width: 900px; margin: 0 0 24px; }
.hero-sub { max-width: 600px; font: 400 19px/1.6 var(--font-body); color: var(--muted); margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) var(--pad-x); }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: var(--maxw); margin: 0 auto var(--head-gap); text-align: var(--head-align); }
.eyebrow { font-size: 12px; color: var(--accent-text); margin-bottom: 16px; }
.section-title { font-size: var(--h2-size); line-height: var(--h2-lh); max-width: 820px; }
.section-sub { text-wrap: pretty; margin-top: 18px; max-width: 640px; font: 400 18px/1.6 var(--font-body); color: var(--muted); }
.wrap, .vs-grid, .steps, .callout, .panel, .stats-grid, .logic-cards, .calc, .calc-foot, .obj-grid, .timeline { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.card, .vs-card, .step, .panel, .stat-card, .obj, .mode-panel, .calc-inputs, .kpi, .chart, .compare-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); }

/* Today: two cards */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.vs-card { padding: 32px; }
.vs-card--warn { background: var(--warn-surface); border-color: var(--warn-line); }
.vs-card-label { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vs-card--warn .vs-card-label { color: var(--warn); border-color: var(--warn-line); }
.vs-list { display: flex; flex-direction: column; gap: 18px; }
.vs-item { display: flex; gap: 12px; align-items: flex-start; font: 400 15.5px/1.5 var(--font-body); color: var(--text); }
.vs-item small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 4px; }
.vs-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; font: 700 11px var(--font-body); }
.vs-icon--yes { background: var(--accent-soft); color: var(--accent-text); }
.vs-icon--no { background: var(--warn-soft); color: var(--warn); }

/* Steps + callout */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.step { padding: 28px; }
.step-num { font-size: 11.5px; color: var(--accent-text); margin-bottom: 16px; }
.step-title { font-size: var(--h3-size); line-height: 1.2; margin-bottom: 12px; }
.step-desc { font: 400 15px/1.6 var(--font-body); color: var(--muted); }
.callout { margin-top: var(--gap); display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.callout-icon { flex: none; width: 38px; height: 38px; border-radius: var(--r-md); background: var(--accent); display: inline-flex; align-items: center; justify-content: center; font: 600 20px var(--font-body); color: var(--on-accent); }
.callout-title { font-size: var(--h3-size); line-height: 1.2; margin-bottom: 6px; }
.callout p { font: 400 15.5px/1.6 var(--font-body); color: var(--text); }

/* Panels (flow + waterfall) */
.panel { margin-top: 32px; padding: 24px 28px 20px; }
.section-head + .panel { margin-top: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--accent-text); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: sfPulse 1.6s ease-in-out infinite; }
.seg { display: inline-flex; background: var(--seg-bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { white-space: nowrap; border: 0; background: transparent; color: var(--muted); font: 600 13px var(--font-body); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--seg-on-bg); color: var(--seg-on-text); }
.panel-caption { font: 400 14.5px/1.6 var(--font-body); color: var(--muted); margin: 16px auto 0; max-width: 760px; text-align: center; }
.panel-caption strong { color: var(--ink); }
.chart-body svg { width: 100%; height: auto; display: block; }

.flow { display: grid; grid-template-columns: 150px 1fr 170px 1fr 1.6fr; align-items: center; min-height: 250px; }
.flow-node { border: 1px solid var(--line-strong); background: var(--surface-2); border-radius: var(--r-md); padding: 14px; text-align: center; }
.flow-node .t { font-size: 10.5px; color: var(--dim); display: block; margin-bottom: 6px; }
.flow-node .v { font: 600 15px var(--font-body); color: var(--ink); }
.flow-node--router { border-color: var(--accent); background: var(--accent-soft); }
.flow-node--router .v { color: var(--accent-text); }
.flow-node--meta .v { color: var(--meta); }
.flow-link { position: relative; height: 2px; background: var(--flow-line); margin: 0 8px; }
.flow-link::after { content: ''; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--flow-dot); animation: sfFlowX 2.2s linear infinite; }
.flow-fan { position: relative; align-self: stretch; min-height: 60px; margin: 0 8px; }
.flow-fan svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.outs { display: flex; flex-direction: column; gap: 10px; }
.out { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; background: var(--surface-2); transition: border-color .4s, background .4s; }
.out.win { border-color: var(--accent-line); background: var(--accent-soft); }
.out.ctrl { border-style: dashed; }
.out-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.out-name { font-size: 10.5px; color: var(--text); }
.chip { font-size: 9.5px; padding: 4px 7px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); white-space: nowrap; line-height: 1.2; }
.chip--grey { background: var(--chip-grey-bg); color: var(--muted); }
.out-metrics { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.out-kpi { font-size: 18px; color: var(--ink); }
.out-unit { font-size: 10px; color: var(--dim); }
.out-share { margin-left: auto; font: 700 12px var(--font-label); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.out-track { height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; }
.out-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 1.4s cubic-bezier(.2, .7, .3, 1); }
.out.ctrl .out-fill { background: var(--dim); }

/* Results */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.stat-card { padding: 32px; }
.stat-value { font-size: var(--stat-size); line-height: 1; color: var(--stat-color); margin-bottom: 14px; }
.stat-label { font-size: 11.5px; color: var(--muted); margin-bottom: 14px; }
.stat-desc { font: 400 15.5px/1.65 var(--font-body); color: var(--text); max-width: 820px; }
.stat-desc + .stat-desc { margin-top: 14px; }
.cpa-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 8px 0 20px; }
.cpa-box { border-radius: var(--r-md); padding: 20px 22px; border: 1px solid var(--line); background: var(--surface-2); }
.cpa-box--win { border-color: var(--accent-line); background: var(--accent-soft); }
.cpa-box .t { font-size: 10.5px; color: var(--dim); margin-bottom: 10px; }
.cpa-box .n { font-size: 44px; line-height: 1; color: var(--ink); }
.cpa-box--win .n { color: var(--stat-color); }
.cpa-box .s { font: 400 13.5px var(--font-body); color: var(--muted); margin-top: 8px; }
.cpa-arrow { font: 400 28px var(--font-body); color: var(--dim); }

/* Why both + objection cards */
.logic-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.obj { padding: 24px 26px; }
.obj-title { font-size: var(--h3-size); line-height: 1.2; margin-bottom: 10px; }
.obj p { font: 400 15px/1.6 var(--font-body); color: var(--muted); }
.obj-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); align-items: stretch; }
.obj-list { display: flex; flex-direction: column; gap: 14px; }
.mode-panel { padding: 24px 26px; display: flex; flex-direction: column; }
.mode-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.mode-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.mode-row { display: grid; grid-template-columns: 124px 1fr 44px; align-items: center; gap: 12px; }
.mode-row .n { font-size: 10.5px; color: var(--text); }
.mode-row .n.c { color: var(--dim); }
.mode-row .p { font: 700 12px var(--font-label); color: var(--accent-text); text-align: right; font-variant-numeric: tabular-nums; }
.mode-notes { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; }
.mode-note { font: 400 14px/1.6 var(--font-body); color: var(--muted); opacity: .5; transition: opacity .3s; }
.mode-note.active { opacity: 1; }
.timeline { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 16px; height: 1px; background: var(--line-strong); }
.tl { text-align: center; padding: 0 12px; position: relative; }
.tl-dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 14px; background: var(--surface); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: .02em; color: var(--accent-text); position: relative; }
.tl-dot.live { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tl-title { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.tl p { font: 400 14px/1.55 var(--font-body); color: var(--muted); }

/* Calculator */
.calc { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: var(--gap); }
.calc-inputs { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.calc-group-label { font-size: 10.5px; color: var(--dim); margin: 6px 0 -6px; }
.calc-group-label.sf { color: var(--accent-text); }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 500 14px/1.4 var(--font-body); color: var(--text); margin-bottom: 8px; }
.field label output { flex: none; font: 700 12.5px var(--font-label); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.field input[type=range] { width: 100%; accent-color: var(--accent); touch-action: pan-y; }
.field input[type=number] { width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink); font: 600 15px var(--font-body); outline: none; }
.field input[type=number]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.calc-out { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 18px 20px; display: flex; flex-direction: column; transition: box-shadow .2s; }
.kpi:hover { box-shadow: 0 0 0 2px var(--accent-line); }
.kpi .t { font-size: 10.5px; color: var(--dim); margin-bottom: 10px; }
.kpi .n { font-size: clamp(28px, 3.4vw, 38px); line-height: 1; color: var(--ink); }
.kpi .s { font: 400 13px/1.45 var(--font-body); color: var(--muted); margin-top: 8px; }
.kpi--sf12 { background: var(--accent-soft); border-color: var(--accent-line); }
.kpi--sf12 .n { color: var(--stat-color); }
.kpi--extra { background: var(--kpi-extra-bg); border-color: var(--kpi-extra-bg); }
.kpi--extra .t, .kpi--extra .s { color: var(--kpi-extra-muted); }
.kpi--extra .n { color: var(--kpi-extra-text); }
.chart { padding: 18px 18px 12px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.chart svg { width: 100%; height: auto; display: block; }
#chart #ch-band, #chart #ch-vbase, #chart #ch-vsf, #chart #ch-halo-sf, #chart #ch-halo-base { transition: opacity .2s, fill .2s; }
#chart.hl-band #ch-band { fill: var(--chart-band-hl); }
#chart.hl-base #ch-vbase, #chart.hl-sf #ch-vsf { opacity: 1; }
#chart.hl-base #ch-halo-base, #chart.hl-sf #ch-halo-sf { opacity: .4; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font: 500 13px var(--font-body); color: var(--muted); margin: 8px 4px 4px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .lg-base { background: var(--chart-base); }
.legend .lg-sf { background: var(--chart-sf); }
.legend .lg-neg { background: var(--chart-neg); border-radius: 50%; }
.calc-foot { font: 400 13.5px/1.6 var(--font-body); color: var(--dim); margin-top: 16px; }

/* Compare table */
.compare-table { max-width: 900px; margin: 0 auto; overflow: hidden; overflow-x: auto; }
.compare-row { display: grid; grid-template-columns: 1.9fr 1fr 1fr; min-width: 560px; align-items: center; border-top: 1px solid var(--line); }
.compare-row--head { border-top: 0; }
.compare-col { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 16px 12px; text-align: center; font: 600 14px var(--font-body); color: var(--muted); }
.compare-col--empty { padding: 16px 22px; }
.compare-col--primary { background: var(--accent); color: var(--on-accent); }
.compare-feature { padding: 15px 22px; font: 500 15px/1.4 var(--font-body); color: var(--text); }
.compare-cell { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 12px; }
.compare-cell--primary { background: var(--accent-soft); }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: var(--r-sm); font: 700 14px var(--font-body); }
.mark--yes { background: var(--accent); color: var(--on-accent); }
.mark--yes-soft { background: var(--accent-soft); color: var(--accent-text); }
.mark--no { background: var(--chip-grey-bg); color: var(--dim); }
.num { font: 700 14px var(--font-label); color: var(--muted); font-variant-numeric: tabular-nums; }
.num--primary { color: var(--accent-text); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; background: none; border: none; cursor: pointer; text-align: left; font-size: var(--faq-size); line-height: 1.3; }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font: 400 17px var(--font-body); color: var(--muted); transition: transform .35s, color .35s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent-text); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-clip { overflow: hidden; min-height: 0; }
.faq-text { padding: 0 44px 24px 2px; max-width: 680px; font: 400 15.5px/1.7 var(--font-body); color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: var(--cta-y) var(--pad-x); text-align: center; background: var(--cta-bg); color: #fff; }
.cta-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.cta-title { font-size: var(--cta-size); line-height: 1.04; color: #fff; margin-bottom: 18px; }
.cta-sub { margin: 0 auto 32px; max-width: 520px; font: 400 17px/1.6 var(--font-body); color: var(--cta-muted); }
.cta-actions { display: flex; justify-content: center; }
.cta .btn { background: var(--cta-btn-bg); color: var(--cta-btn-text); }
.cta .btn:hover { background: var(--cta-btn-hover); color: var(--cta-btn-text); }

/* Footer */
.footer { padding: 32px var(--pad-x); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--footer-bg); border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-name { font: 600 15px var(--font-brand); color: var(--ink); }
.footer-legal { font: 400 13px var(--font-body); color: var(--dim); }
.footer-legal a { color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--ink); }

/* Legal pages (privacy policy) */
.legal { padding: var(--hero-y) var(--pad-x) var(--section-y); }
.legal-body { max-width: 720px; margin: 0 auto; font: 400 16px/1.7 var(--font-body); color: var(--text); overflow-wrap: break-word; }
.legal-title { margin: 0 0 8px; font: var(--display-weight) clamp(36px, 6vw, 56px)/1.04 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); }
.legal-updated { color: var(--dim); font-size: 14px; }
.legal-body h2 { margin: 48px 0 12px; font: var(--h3-weight) 22px/1.25 var(--font-display); letter-spacing: var(--h3-tracking); color: var(--ink); }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body li::marker { color: var(--accent); }
.legal-body code { font-size: .9em; background: var(--surface-2); border-radius: var(--r-sm); padding: 1px 5px; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .sf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
  .sf-reveal.sf-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot, .hero-pill-dot, .flow-link::after { animation: none; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .nav-links a.nav-link { display: none; }
  .vs-grid, .steps, .obj-grid, .calc, .logic-cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .flow-link { height: 26px; width: 2px; margin: 0 auto; }
  .flow-link::after { animation-name: sfFlowY; left: -3px; }
  .flow-fan { height: 26px; min-height: 26px; width: 100%; margin: 0; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  :root { --gap: 14px; }
  .hero-sub { font-size: 17px; }
  .section-sub { font-size: 16.5px; }
  .vs-card, .stat-card, .step, .obj, .mode-panel, .calc-inputs { padding: 22px 20px; }
  .panel { padding: 18px 16px 16px; }
  .callout { padding: 20px; }
  .calc-kpis { grid-template-columns: 1fr; }
  .cpa-compare { grid-template-columns: 1fr; gap: 10px; }
  .cpa-arrow { transform: rotate(90deg); justify-self: center; }
  .mode-row { grid-template-columns: 104px 1fr 40px; gap: 8px; }
  .mode-row .n { letter-spacing: .06em; white-space: nowrap; }
  .compare-row { min-width: 0; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
  .compare-feature { padding: 13px 14px; font-size: 14px; }
  .compare-col { padding: 12px 6px; font-size: 12.5px; line-height: 1.3; }
  .compare-col--empty { padding: 12px; }
  .compare-cell { padding: 10px 6px; }
  .seg button { padding: 7px 11px; font-size: 12.5px; }
  .faq-text { padding-right: 8px; }
  .btn { padding: 15px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* v3 "less is more": white page, one font family (Geist), one accent (the site's brand green),
   hairlines instead of boxes wherever a box adds nothing. */
:root {
  --bg: #ffffff; --bg-alt: #f6f7f6; --surface: #ffffff; --surface-2: #f6f7f6;
  --line: #e6e9e7; --line-strong: #d3d8d5;
  --ink: #0b0f0d; --text: #2a302d; --muted: #5a645f; --dim: #858e89;
  --accent: #149d77; --accent-text: #0f7a5c; --accent-soft: #eaf6f1; --accent-line: #bfe3d5; --on-accent: #ffffff;
  --warn: #5a645f; --warn-soft: #eef0ef; --warn-surface: #ffffff; --warn-line: #e6e9e7;
  --meta: #2b5ea8; --brand: #149d77;
  --btn-bg: #0b0f0d; --btn-bg-hover: #149d77; --btn-text: #ffffff;
  --nav-bg: rgba(255, 255, 255, .82); --seg-bg: #f1f3f2; --seg-on-bg: #0b0f0d; --seg-on-text: #ffffff;
  --chip-grey-bg: #eef0ef; --track: #eceeed;
  --stat-color: #0f7a5c; --kpi-extra-bg: #0b0f0d; --kpi-extra-text: #ffffff; --kpi-extra-muted: rgba(255, 255, 255, .66);
  --cta-bg: #070b09; --cta-muted: #a7b3ad; --cta-btn-bg: #ffffff; --cta-btn-hover: #eaf6f1; --cta-btn-text: #0b0f0d;
  --footer-bg: #ffffff;
  --font-display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-body: var(--font-display); --font-label: var(--font-display); --font-brand: var(--font-display);
  --display-weight: 600; --display-tracking: -.04em; --h3-weight: 600; --h3-tracking: -.02em; --label-weight: 500; --label-tracking: .09em; --num-weight: 600; --num-tracking: -.04em;
  --h1-size: clamp(46px, 7.8vw, 92px); --h1-lh: .98; --h2-size: clamp(32px, 4.6vw, 52px); --h2-lh: 1.04; --h3-size: 19px; --faq-size: 18px; --stat-size: clamp(48px, 7vw, 76px); --cta-size: clamp(38px, 6vw, 64px);
  --r-lg: 16px; --r-md: 10px; --r-sm: 6px; --r-btn: 999px; --r-mark: 8px;
  --card-shadow: none; --head-align: left; --head-gap: 56px;
  --maxw: 1120px; --pad-x: clamp(20px, 5vw, 56px); --gap: 16px;
  --section-y: clamp(72px, 10vw, 136px); --hero-y: clamp(72px, 11vw, 148px); --cta-y: clamp(80px, 11vw, 136px);
  --chart-sf: #149d77; --chart-base: #9aa39e; --chart-sf-fill: rgba(20, 157, 119, .14); --chart-base-fill: rgba(154, 163, 158, .14);
  --chart-neg: #d4553d; --chart-text: #858e89; --chart-grid: #eef0ef; --chart-font: 'Geist', system-ui, sans-serif; --chart-ink: #0b0f0d; --chart-ring: #ffffff; --chart-band-hl: rgba(20, 157, 119, .32);
  --flow-line: #d3d8d5; --flow-dot: #149d77;
}
body { font-size: 16px; letter-spacing: -.005em; }
::selection { background: #bfe3d5; }
.nav { padding-top: 16px; padding-bottom: 16px; }
.nav-name { font-size: 16px; letter-spacing: -.02em; }
.nav-links { gap: 28px; }
.btn { font-weight: 500; letter-spacing: -.005em; }
.btn--sm { padding: 10px 18px; }

/* Hero: big left-aligned statement, nothing else competing */
.hero { padding-bottom: clamp(24px, 4vw, 48px); }
.hero-pill { margin-bottom: 32px; }
.hero-pill-text { color: var(--muted); }
.hero-title { max-width: 980px; margin-bottom: 28px; }
.hero-accent { color: var(--accent); }
.hero-sub { font-size: 20px; max-width: 560px; margin-bottom: 40px; }

/* Section heads: title on the left, intro on the right */
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 72px; align-items: end; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .section-sub { margin-top: 0; font-size: 17.5px; padding-bottom: 6px; }
.eyebrow { font-size: 12px; color: var(--accent-text); }
.section--alt { border: 0; }

/* Hairlines instead of boxes */
.steps .step, .logic-cards .obj { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.steps { gap: 40px; }
.logic-cards { gap: 40px; }
.step-num { color: var(--dim); }
.step-title, .obj-title { font-size: 21px; }
.vs-card { padding: 34px 36px; }
.vs-card--warn .vs-card-label { color: var(--muted); }
.vs-icon--no { color: var(--muted); }
.callout { background: var(--bg-alt); border-color: transparent; margin-top: 48px; }
.callout-icon { border-radius: 50%; }
.panel { margin-top: 48px; border-color: var(--line); }
.stat-card { padding: 40px; }
.stat-label { color: var(--dim); }
.cpa-box { background: var(--bg-alt); border-color: transparent; }
.cpa-box--win { background: var(--accent-soft); border-color: transparent; }
.cpa-box .n { font-size: 48px; }
.chip { letter-spacing: .06em; font-weight: 600; }
.obj-list .obj { background: var(--surface); }
.section--alt .vs-card, .section--alt .stat-card, .section--alt .panel, .section--alt .obj, .section--alt .mode-panel, .section--alt .calc-inputs, .section--alt .kpi:not(.kpi--extra):not(.kpi--sf12), .section--alt .chart { border-color: transparent; }
.timeline::before { background: var(--line-strong); }
.tl-title { font-size: 16px; }
.compare-table { border-color: var(--line); }
.compare-feature { font-size: 15px; }
.faq-q { font-weight: 500; letter-spacing: -.015em; }
.faq-item:first-child { border-top-color: var(--ink); }
.cta-title { letter-spacing: -.045em; }

@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .section-sub { margin-top: 18px; padding-bottom: 0; }
  .steps, .logic-cards { gap: 32px; }
}
@media (max-width: 640px) {
  .stat-card { padding: 24px 20px; }
  .steps .step, .logic-cards .obj { padding: 18px 0 0; }
}

/* Left-aligned page: FAQ and comparison table line up with their headings */
.faq-list, .compare-table { max-width: var(--maxw); }

/* Request-demo dialog: the root homepage's markup, in this page's look */
dialog.modal { position: relative; margin: auto; width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px clamp(20px, 5vw, 36px) 28px; box-shadow: 0 40px 120px -30px rgba(11, 15, 13, .35); }
dialog.modal::backdrop { background: rgba(11, 15, 13, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-body { text-align: center; }
.modal-body .eyebrow { margin-bottom: 12px; }
.modal-title { margin: 0 0 10px; font: var(--display-weight) clamp(26px, 5vw, 34px)/1.08 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); text-wrap: balance; }
.modal-sub { margin: 0 auto 24px; max-width: 420px; font: 400 15px/1.6 var(--font-body); color: var(--muted); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font: 400 20px/1 var(--font-body); cursor: pointer; transition: color .2s, border-color .2s; }
.modal-close:hover { color: var(--ink); border-color: var(--ink); }
.modal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-form { display: grid; gap: 12px; text-align: left; }
.form-field { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 15px var(--font-body); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-field::placeholder { color: var(--dim); }
.form-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.form-field { min-height: 132px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.btn--submit { width: 100%; min-height: 52px; margin-top: 4px; }
.btn--submit:hover { transform: none; }
.btn--submit.is-sending { opacity: .7; cursor: progress; }
.form-status { min-height: 24px; text-align: center; font: 500 14px/1.5 var(--font-body); color: var(--muted); }
.form-status--success { color: var(--accent-text); }
.form-status--error { color: var(--chart-neg); }
@keyframes sfDialogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sfBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  dialog.modal[open] { animation: sfDialogIn .3s cubic-bezier(.2, .7, .3, 1); }
  dialog.modal[open]::backdrop { animation: sfBackdropIn .25s ease; }
}
