/* Residual — dark, quiet, cinematic. Hairlines over boxes, one accent, one idea per screen. */

/* Fonts are served from this site, so visitors' browsers never contact Google. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0a0c11;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f4f5f8;
  --ink-2: #c2c6d0;
  --muted: #8a909c;
  --faint: #5b616d;
  --accent: #7d8cff;
  --accent-2: #a98bff;
  --accent-ink: #a9b4ff;
  --accent-soft: rgba(125, 140, 255, 0.12);
  --accent-wash: rgba(125, 140, 255, 0.22);
  --time: #5f6676;
  --good: #6fd39f;
  --good-soft: rgba(111, 211, 159, 0.12);
  --danger: #ff7a7a;
  --radius: 14px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-wash); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 720px) { :root { --gutter: 20px; } }

h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 500; color: var(--ink); }
h1 { font-size: clamp(46px, 7.6vw, 104px); line-height: 0.98; letter-spacing: -0.05em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.55; letter-spacing: -0.005em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.04em; color: var(--ink); }
.brand-mark { width: 22px; height: 22px; flex: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 6, 8, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--ink-2); }
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links .hide-sm { display: none; } }
.static-nav { position: sticky; background: rgba(5, 6, 8, 0.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .15s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #07080b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 40px -10px rgba(125, 140, 255, .55); }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 14px 50px -8px rgba(125, 140, 255, .75); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, .28); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 150px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 20px; }
.section-head .lede { margin-top: 22px; max-width: 620px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.rule { border-top: 1px solid var(--line); }
@media (max-width: 720px) { section { padding: 96px 0; } .section-head { margin-bottom: 44px; } }

/* ---------- Hero ---------- */
.hero { min-height: min(100vh, 980px); padding: 0; display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art canvas { width: 100%; height: 100%; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .55) 42%, rgba(5, 6, 8, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 8, 0) 28%); }
.hero-inner { padding-top: 140px; padding-bottom: 120px; width: 100%; }
.hero h1 { margin-top: 26px; max-width: 980px; }
.hero .lede { margin-top: 30px; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 42px; flex-wrap: wrap; }
.assurances { margin-top: 30px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.assurances span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 10px var(--accent); }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 120px; padding-bottom: 72px; }
  .hero-art::after { background: linear-gradient(180deg, rgba(5, 6, 8, .2) 0%, rgba(5, 6, 8, .78) 55%, var(--bg) 100%); }
  .hero-ctas .btn { flex: 1 1 auto; }
}

/* ---------- Stats (Turing-style figures between hairlines) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px 38px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .v { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; }
.stat .l { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.stat sup { color: var(--faint); font-size: 9px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .stat { padding: 26px 14px; } }

/* ---------- Panels (used sparingly) ---------- */
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel-pad { padding: 34px; }
@media (max-width: 560px) { .panel-pad { padding: 24px 20px; } }
.panel h3 { font-size: 17px; }
.panel .sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- What sells ---------- */
.value-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .value-grid { grid-template-columns: 1fr; gap: 48px; } }
.bars { display: grid; gap: 2px; margin-top: 8px; }
.bar-group-label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.bar-group-label:first-child { margin-top: 0; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; align-items: center; gap: 20px; padding: 9px 0; border-top: 1px solid var(--line); cursor: default; }
.bar-row:hover .name, .bar-row:focus-visible .name { color: #fff; }
.bar-row .name { font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.bar-row .name small { display: block; font-size: 12px; color: var(--faint); margin-top: 1px; }
.bar-track { height: 4px; position: relative; background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 4px; transition: width 1s var(--ease); box-shadow: 0 0 14px rgba(125, 140, 255, .45); }
.bar-fill.lo { background: rgba(125, 140, 255, .55); box-shadow: none; }
.bar-fill.off { background: rgba(255, 255, 255, .18); box-shadow: none; }
@media (max-width: 520px) { .bar-row { grid-template-columns: 128px 1fr; gap: 14px; } .bar-row .name small { display: none; } }
.factor-list { display: grid; }
.factor { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); align-items: baseline; }
.factor:last-child { border-bottom: 1px solid var(--line); }
.factor .tiny { display: block; margin-top: 3px; color: var(--muted); }
.factor .x { color: var(--accent-ink); font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.leave-out { margin-top: 28px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.leave-out b { color: var(--ink-2); font-weight: 500; }
details.table-view { margin-top: 18px; font-size: 13px; color: var(--muted); }
details.table-view summary { cursor: pointer; width: fit-content; }
details.table-view table { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
details.table-view th, details.table-view td { text-align: left; padding: 8px 4px; border-top: 1px solid var(--line); color: var(--ink-2); font-weight: 400; }
details.table-view th { color: var(--muted); font-weight: 500; font-size: 12px; }

/* ---------- Time vs money ---------- */
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 960px) { .tm-grid { grid-template-columns: 1fr; } }
.chart-svg { width: 100%; height: auto; margin-top: 26px; overflow: visible; }
.chart-svg text { font-family: var(--font); fill: var(--muted); font-size: 12px; }
.chart-svg .cap { fill: var(--ink); font-weight: 500; font-size: 12.5px; }
.chart-svg .grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.chart-svg .col { transition: opacity .15s; }
.chart-svg .col-hit { fill: transparent; cursor: default; }
.chart-svg g.colg:hover .col, .chart-svg g.colg:focus .col { opacity: .8; }
.time-steps { margin-top: 26px; display: grid; }
.time-step { display: grid; grid-template-columns: 1fr 110px 62px; gap: 14px; align-items: center; font-size: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.time-step .t { color: var(--ink-2); }
.time-step .h { text-align: right; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.time-track { height: 4px; position: relative; background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.time-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--time); min-width: 3px; }
@media (max-width: 560px) { .time-step { grid-template-columns: 1fr 60px 54px; } }
.rate { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.rate span { font-size: 14px; color: var(--muted); }
.rate b { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.04em; background: linear-gradient(90deg, #fff, var(--accent-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Tooltip */
.tip { position: fixed; z-index: 100; pointer-events: none; background: rgba(18, 20, 27, 0.96); border: 1px solid var(--line-strong); color: var(--ink); padding: 10px 13px; border-radius: 12px; font-size: 13px; line-height: 1.35; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; max-width: 240px; backdrop-filter: blur(10px); }
.tip.show { opacity: 1; transform: none; }
.tip b { display: block; font-size: 15px; font-weight: 600; }
.tip span { color: var(--muted); }

/* ---------- Steps (numbered columns) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 40px 36px 8px 0; position: relative; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--font-display); font-size: 13px; letter-spacing: .16em; color: var(--accent-ink); }
.step h3 { margin-top: 28px; font-size: 24px; letter-spacing: -0.03em; }
.step p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.step .when { margin-top: 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 32px 0; border-left: 0; } .step + .step { border-top: 1px solid var(--line); } }

/* ---------- Fees ---------- */
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 960px) { .fee-grid { grid-template-columns: 1fr; gap: 48px; } }
.fee-copy ul { list-style: none; padding: 0; margin: 36px 0 0; }
.fee-copy li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); display: flex; gap: 14px; align-items: baseline; }
.fee-copy li:last-child { border-bottom: 1px solid var(--line); }
.fee-copy li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); box-shadow: 0 0 10px var(--accent); }
.deal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.deal-head h3 { font-size: 17px; }
.deal-line { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 15px; align-items: baseline; color: var(--ink-2); }
.deal-line b { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink); }
.deal-line.total { border-top: 1px solid var(--line-strong); color: var(--ink); font-size: 16px; padding-top: 22px; }
.deal-line.total b { font-size: 30px; font-family: var(--font-display); letter-spacing: -0.04em; }
.deal-line .note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Tags ---------- */
.tag { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--ink-2); border: 1px solid var(--line); }
.tag.good { background: var(--good-soft); color: var(--good); border-color: rgba(111, 211, 159, .25); }
.tag.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(125, 140, 255, .3); }

/* ---------- Control grid ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust > div { padding: 40px 36px 44px 0; border-bottom: 1px solid var(--line); }
.trust > div:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.trust svg { width: 22px; height: 22px; color: var(--accent-ink); }
.trust h3 { font-size: 18px; margin-top: 22px; }
.trust p { font-size: 15px; color: var(--muted); margin-top: 10px; }
@media (max-width: 960px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div, .trust > div:not(:nth-child(3n+1)) { padding: 32px 28px 34px 0; border-left: 0; }
  .trust > div:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) { .trust { grid-template-columns: 1fr; } .trust > div, .trust > div:nth-child(2n) { padding: 28px 0; border-left: 0; } }

/* ---------- Fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 860px) { .fit-grid { grid-template-columns: 1fr; gap: 40px; } }
.fit-col h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--font); font-weight: 500; }
.fit-col ul { list-style: none; padding: 0; margin: 18px 0 0; }
.fit-col li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.fit-col li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; font-family: var(--font-display); display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font); font-weight: 300; font-size: 26px; color: var(--muted); line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 700px; font-size: 16px; }

/* ---------- Closing CTA ---------- */
.cta-band { padding: 170px 0 180px; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before { content: ''; position: absolute; left: 50%; bottom: -380px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(125, 140, 255, .35), rgba(169, 139, 255, .12) 45%, transparent 70%); pointer-events: none; }
.cta-band h2 { position: relative; max-width: 820px; margin: 22px auto 0; }
.cta-band p { position: relative; color: var(--muted); margin: 22px auto 0; max-width: 520px; font-size: 17px; }
.cta-band .btn { position: relative; margin-top: 40px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 64px; font-size: 13.5px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot p { max-width: 520px; }
.foot .links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.sources { margin-top: 28px; font-size: 12px; color: var(--faint); max-width: 900px; line-height: 1.6; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .bar-fill { transition: none; } }

/* ================= Estimate flow ================= */
.flow-body { background: var(--bg); min-height: 100vh; position: relative; }
.flow-body::before { content: ''; position: fixed; left: 50%; top: -420px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(125, 140, 255, .18), transparent 70%); pointer-events: none; z-index: 0; }
.flow-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; z-index: 1; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.progress .dots { display: flex; gap: 6px; }
.progress .dots i { width: 28px; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background .3s; }
.progress .dots i.on { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.flow { max-width: 700px; margin: 0 auto; padding: 24px var(--gutter) 110px; position: relative; z-index: 1; }
.flow-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)); border-radius: 24px; padding: 48px; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8); }
@media (max-width: 560px) { .flow-card { padding: 28px 20px; border-radius: 20px; } }
.flow h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.045em; line-height: 1.04; }
.flow .lede { font-size: 16.5px; margin-top: 14px; color: var(--muted); }
.q { margin-top: 34px; }
.q > label, .q > .label { display: block; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink); }
.q .hint { font-weight: 400; color: var(--faint); font-size: 13px; margin-left: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { width: 100%; height: 52px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 16px; background: rgba(255, 255, 255, 0.03); font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
.field::placeholder { color: var(--faint); }
.field:hover { border-color: rgba(255, 255, 255, .26); }
.field:focus { outline: 0; border-color: var(--accent); background: rgba(125, 140, 255, 0.05); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 122, 122, .12); }
select.field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238a909c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select.field option { background: #11131a; color: var(--ink); }
.sub-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { height: 44px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); font-size: 14.5px; cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.seg button:hover { border-color: rgba(255, 255, 255, .3); color: var(--ink); }
.seg button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #07080b; box-shadow: 0 6px 24px -8px rgba(125, 140, 255, .6); }
.seg.invalid button { border-color: rgba(255, 122, 122, .5); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 8px; }
.chip { text-align: left; padding: 12px 14px 12px 42px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); cursor: pointer; position: relative; transition: all .15s; line-height: 1.3; color: var(--ink); }
.chip:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, 0.04); }
.chip b { display: block; font-weight: 500; font-size: 14.5px; }
.chip span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.chip::before { content: ''; position: absolute; left: 14px; top: 14px; width: 17px; height: 17px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: transparent; transition: all .15s; }
.chip[aria-pressed='true'] { border-color: rgba(125, 140, 255, .7); background: var(--accent-soft); }
.chip[aria-pressed='true']::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.6 6.6 9 1.2' fill='none' stroke='%2307080b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--ink); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14px; color: var(--muted); align-items: start; cursor: pointer; }
.check a { color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.flow-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.flow-actions .btn-lg { min-width: 180px; }
.teaser { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: rgba(125, 140, 255, 0.06); border: 1px solid rgba(125, 140, 255, 0.18); }
.teaser .t { font-size: 13px; color: var(--muted); }
.teaser .blur { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.03em; filter: blur(8px); user-select: none; transition: filter .3s; color: var(--ink); }
.err { color: var(--danger); font-size: 13.5px; margin-top: 10px; display: none; }
.err.show { display: block; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 13px; color: var(--muted); }
.secure-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent-ink); }
.view { display: none; }
.view.active { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.flow-foot { text-align: center; margin-top: 26px; font-size: 13px; color: var(--faint); }
.flow-foot a { color: var(--muted); }

/* Results */
.result-hero { text-align: center; padding: 6px 0 4px; }
.result-hero .company { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.result-figure { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 9vw, 76px); letter-spacing: -0.05em; line-height: 1; margin-top: 18px; background: linear-gradient(180deg, #fff 30%, var(--accent-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-mid { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.result-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r-grid > .r-tile + .r-tile { border-left: 1px solid var(--line); padding-left: 24px; }
@media (max-width: 560px) { .r-grid { grid-template-columns: 1fr; } .r-grid > .r-tile + .r-tile { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.r-tile { padding: 22px 0; }
.r-tile .l { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.r-tile .v { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -0.04em; margin-top: 8px; line-height: 1.1; }
.r-tile .s { font-size: 13px; color: var(--muted); margin-top: 6px; }
.r-section { margin-top: 40px; }
.r-section h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--font); font-weight: 500; }
.vs { margin-top: 16px; display: grid; gap: 12px; }
.vs-row { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 14px; font-size: 14px; }
.vs-row .vs-l { color: var(--ink-2); }
.vs-track { height: 30px; border-radius: 8px; position: relative; display: flex; align-items: center; overflow: hidden; }
.vs-track i { display: block; height: 100%; border-radius: 8px; }
.vs-track em { font-style: normal; font-size: 13px; font-weight: 500; padding-left: 12px; white-space: nowrap; color: var(--ink); }
.vs-track.in em { position: absolute; left: 0; color: #07080b; }
.prog-list { margin-top: 12px; display: grid; }
.prog { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; font-size: 14.5px; padding: 10px 0; border-top: 1px solid var(--line); }
.prog svg { width: 18px; height: 18px; }
.prog.ok svg { color: var(--good); }
.prog.no { color: var(--faint); }
.prog.no svg { color: var(--faint); }
.prog small { color: var(--muted); font-size: 12.5px; }
.driver { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; align-items: baseline; }
.driver .dv { color: var(--muted); font-size: 13.5px; text-align: right; }
.driver .df { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.driver .df.up { color: var(--accent-ink); }
.next { margin-top: 36px; padding: 24px; border-radius: 16px; border: 1px solid rgba(125, 140, 255, 0.22); background: rgba(125, 140, 255, 0.05); display: grid; gap: 6px; }
.next b { font-size: 16px; font-weight: 500; }
.disclaimer { margin-top: 24px; font-size: 12.5px; color: var(--faint); line-height: 1.55; }
.ref { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: rgba(255, 255, 255, .06); padding: 2px 7px; border-radius: 6px; color: var(--ink-2); }
.time-steps .time-step:first-child { border-top: 0; }

/* ================= Legal pages ================= */
.legal { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 110px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 22px; margin-top: 48px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; margin-top: 12px; }
.legal a { color: var(--accent-ink); }
.legal ul { padding-left: 20px; margin: 8px 0 0; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 16px; }
.todo { background: rgba(255, 196, 77, .14); color: #ffc44d; padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* ================= Admin (local only) ================= */
.admin { padding: 28px var(--gutter) 80px; max-width: 1400px; margin: 0 auto; }
.admin table { width: 100%; min-width: 1280px; border-collapse: collapse; font-size: 13.5px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.admin th, .admin td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.admin th { background: rgba(255, 255, 255, .04); color: var(--muted); font-weight: 500; font-size: 12px; position: sticky; top: 0; }
.admin tr:hover td { background: rgba(255, 255, 255, .02); }
.admin .scroll { overflow-x: auto; border-radius: 14px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 22px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpis .r-tile { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
@media (max-width: 720px) { .kpis { grid-template-columns: 1fr 1fr; } }

/* ================= One-page additions ================= */
#worth > .wrap > .rate { margin-top: 28px; }

/* What data is worth most: three tiers with a strength meter */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.tier { padding: 32px 32px 4px 0; }
.tier + .tier { padding-left: 32px; border-left: 1px solid var(--line); }
.tier .k { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.tier .k b { color: var(--accent-ink); font-weight: 500; letter-spacing: .04em; }
.tier .meter { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); margin-top: 16px; overflow: hidden; }
.tier .meter i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(125, 140, 255, .5); width: 0; transition: width 1.2s var(--ease); }
.tier.lo .meter i { background: rgba(125, 140, 255, .5); box-shadow: none; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 0; }
.tier li { font-size: 16px; color: var(--ink); padding: 7px 0; }
.tier li small { color: var(--faint); font-size: 12.5px; margin-left: 6px; }
.tiers-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); padding: 22px 0 0; margin-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tier, .tier + .tier { padding: 26px 0 8px; border-left: 0; } .tier + .tier { border-top: 1px solid var(--line); } }

/* The estimate flow, inline on the page */
.flow-section { position: relative; overflow: hidden; }
.flow-section::before { content: ''; position: absolute; left: 50%; top: -260px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(125, 140, 255, .16), transparent 70%); pointer-events: none; }
.flow-head { text-align: center; position: relative; }
.flow-head h2 { margin-top: 20px; }
.flow-head .progress { justify-content: center; margin-top: 26px; }
.flow-section .flow { max-width: 740px; padding: 44px 0 0; }
.flow-section .flow-actions .tiny { color: var(--faint); }
.promises { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.promises li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.promises li b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 640px) { .promises { grid-template-columns: 1fr; } }

/* ================= X-research additions ================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.why-grid .section-head { margin-bottom: 0; }
.why-list { list-style: none; padding: 0; margin: 8px 0 0; }
.why-list li { padding: 20px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list li b { display: block; color: var(--ink); font-weight: 500; font-size: 17px; margin-bottom: 4px; letter-spacing: -0.01em; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }
.demand { margin-top: 64px; border-top: 1px solid var(--line); }
.demand-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 26px 0 10px; }
.demand-head > span:first-child { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.demand-row { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.demand-row b { font-weight: 500; color: var(--ink); }
.demand-head + .demand-row b { color: var(--accent-ink); }
@media (max-width: 640px) { .demand-row { grid-template-columns: 1fr; gap: 4px; } }
.watch { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; }
.watch li { margin-top: 8px; }
.watch li::marker { color: #ffc44d; }
.deals { margin-top: 72px; border-top: 1px solid var(--line); }
.deals-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.deal-fig { padding: 26px 20px 6px 0; }
.deal-fig + .deal-fig { padding-left: 20px; border-left: 1px solid var(--line); }
.deal-fig .v { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; line-height: 1.05; }
.deal-fig .l { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.deal-fig .l sup { color: var(--faint); }
.deal-fig:last-child .v { background: linear-gradient(90deg, #fff, var(--accent-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) {
  .deals-grid { grid-template-columns: 1fr 1fr; }
  .deal-fig, .deal-fig + .deal-fig { padding: 22px 16px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .deal-fig:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .deal-fig:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* ================= Estimate page (the questionnaire has its own page) ================= */
.flow-intro { text-align: center; padding: 36px 0 34px; }
.flow-intro h1 { margin-top: 16px; }
.flow-intro .lede { margin: 14px auto 0; max-width: 520px; }
.flow-intro .progress { justify-content: center; margin-top: 24px; }
body[data-view="results"] .flow-intro h1, body[data-view="results"] .flow-intro .lede { display: none; }
body[data-view="results"] .flow-intro { padding-bottom: 22px; }
.flow-body .promises { margin-top: 44px; }
.flow-cta .promises { max-width: 820px; margin: 8px auto 0; }
.r-explain { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.driver .dsub { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; font-weight: 400; }
.driver.off, .driver.off .dv, .driver.off .df { color: var(--faint); }
.driver.total { border-top: 1px solid var(--line-strong); font-weight: 500; color: var(--ink); }
.driver.total .dv { color: var(--ink); }
.r-fx { margin-top: 12px; }
@media (max-width: 560px) {
  .driver { grid-template-columns: 1fr auto; grid-template-areas: 'label factor' 'value value'; row-gap: 4px; }
  .driver > span:first-child { grid-area: label; }
  .driver .dv { grid-area: value; text-align: left; }
  .driver .df { grid-area: factor; }
}
/* `hidden` must win over component display rules (e.g. .tag is inline-flex). */
[hidden] { display: none !important; }
body[data-view="results"] .flow-intro .progress { display: none; }
