/* ═══════════════════════════════════════════════════════════════════════════
   Vaulith marketing site — one system, one material.
   Ground is unbleached paper, ink is warm black, the only colour on a page
   comes from the product itself (real captures) and the app mark.
   No gradients, no glow, no blur, no orbs, no grids, no gradient text, no
   emoji, no laurels. Motion runs once, on transform/opacity/clip-path only,
   and is fully removed under prefers-reduced-motion.
   Shared by every page: tokens, type, chrome (nav/footer), buttons, and the
   generic components other pages use (ledger, plans, faq, newsletter).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Self-hosted Schibsted Grotesk (SIL OFL 1.1, website/fonts/OFL-schibsted-grotesk.txt).
       No third-party font requests: the site makes zero calls off-origin. ─── */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Tokens ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* material */
  --bg: #f5f3ee;            /* page ground: unbleached stock */
  --bg-2: #ece9e2;          /* second tone: bands */
  --bg-3: #e4e0d7;
  --surface: #ffffff;       /* only where a container is unavoidable */
  --ink: #16150f;           /* warm black: text, rules, the dark objects */
  --text: #16150f;
  --text-1: #16150f;
  --text-2: #57544c;        /* secondary: 6.5:1 on the ground */
  --text-3: #6f6b62;        /* tertiary: 4.6:1, never below 13px */
  --border: #dad6cc;        /* hairline */
  --border-strong: #16150f; /* structural rule */
  --border-hover: #16150f;
  --mark: #8b8cf8;          /* the app mark's violet: used inside the mark only */

  /* legacy accent tokens other pages reference: all resolve to ink */
  --indigo: #16150f; --indigo-light: #16150f; --purple: #16150f; --purple-light: #16150f;
  --grad-text: #16150f;
  --code-bg: #ece9e2; --code-text: #16150f;
  --nav-bg: rgba(245,243,238,0.92); --nav-rest: rgba(245,243,238,0); --nav-line: #dad6cc; --nav-shadow: none;
  --btn-outline: #16150f; --grid-line: transparent; --stats-bg: #ece9e2;
  --shadow-glow: none; --shadow-card: none; --shadow-hover: none;
  --stage-glow-a: transparent; --stage-glow-b: transparent;
  --radius: 10px;

  /* type */
  --font: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --font-hero: clamp(56px, 8.2vw, 118px);
  --font-h2: clamp(34px, 3.9vw, 56px);
  --font-h3: clamp(21px, 1.8vw, 24px);
  --track-hero: -0.035em;
  --track-head: -0.03em;

  /* rhythm (8px base) */
  --space-section: clamp(88px, 10vw, 150px);
  --space-block: clamp(56px, 7vw, 96px);
  --gutter: clamp(20px, 4.4vw, 64px);

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-wipe: cubic-bezier(0.7, 0, 0.2, 1);
  --d-text: 700ms;
  --d-image: 1100ms;
  --d-rule: 900ms;
  --d-hover: 160ms;
}
html { color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  /* Unbleached stock: a faint, static grain tile over the flat ground. One
     small same-origin file, no blend mode, no fixed layer, no animation. */
  background: var(--bg) url(grain.png) repeat;
  background-size: 72px 72px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; }
code, kbd, pre, .mono { font-family: var(--mono); }
.num, .tnum, .step-num { font-variant-numeric: tabular-nums lining-nums; }
/* Figures in ledgers and prices are right-aligned, so they take proportional
   figures: Schibsted's tabular set gives commas and points a full digit cell. */
.ledger b, .ledger .fig, .plan-price, .pricing-price, .est-figure { font-variant-numeric: proportional-nums lining-nums; }
.fig .unit { margin-left: 0.2em; font-weight: 600; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 62ch; }

/* ─── Type ─── */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: var(--track-head); line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--font-hero); letter-spacing: var(--track-hero); line-height: 0.92; }
h2, .section-title { font-size: var(--font-h2); line-height: 1.02; margin-bottom: 20px; }
h3 { font-size: var(--font-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
p { text-wrap: pretty; }
.lede, .section-subtitle, .section-sub { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 34em; }
.small { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.caption { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.eyebrow, .section-tag, .guide-eyebrow, .hero-eyebrow {
  display: block; font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--text-3); margin-bottom: 18px;
  background: none; border: 0; padding: 0; border-radius: 0;
}
.gradient-text { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.section-header, .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-header { text-align: left; }
.section-subtitle { margin: 0; }

/* Prose links: 1px ink underline, thickens on hover; never a colour change. */
main p a:not(.btn), main li a:not(.btn), .footer-legal a, .caption a, .small a {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: text-decoration-thickness var(--d-hover) ease;
}
main p a:not(.btn):hover, main li a:not(.btn):hover { text-decoration-thickness: 2px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 500; }
.link:hover { text-decoration-thickness: 2px; }

/* ─── Rules ─── */
.rule { height: 1px; background: var(--border-strong); }
.rule-soft { height: 1px; background: var(--border); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 16px; letter-spacing: -0.005em; line-height: 1;
  border: 1px solid var(--ink); border-radius: 6px; cursor: pointer; text-decoration: none;
  white-space: nowrap; height: 52px; padding: 0 22px;
  transition: background-color var(--d-hover) ease, color var(--d-hover) ease, border-color var(--d-hover) ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #2b2922; border-color: #2b2922; }
.btn-primary:active { background: #000000; border-color: #000000; }
.btn-ghost, .btn-secondary { background: transparent; color: var(--ink); }
.btn-ghost:hover, .btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-full { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.nav.scrolled { background: var(--bg); border-bottom-color: var(--border); }
.nav-inner {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 36px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; flex-shrink: 0; }
.nav-logo span { white-space: nowrap; }
.nav-logo-icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 26px; height: 26px; }
.brand-v { color: inherit; background: none; -webkit-text-fill-color: currentColor; font-weight: 700; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { text-decoration: none; color: var(--text-3); font-size: 14px; font-weight: 500; transition: color var(--d-hover) ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-highlight { color: var(--text-3); background: none; border: 0; padding: 0; border-radius: 0; font-weight: 500; }
.nav .btn-sm { flex-shrink: 0; }
.nav-burger {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border-radius: 6px; background: none; color: var(--ink); cursor: pointer; border: 1px solid transparent;
}
.nav-burger:hover { border-color: var(--border); }
.theme-toggle { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; padding: 10px 16px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ─── Homepage: hero ─── */
/* The one gradient on the site: light falling on the sheet from above. It
   starts behind the nav (which is transparent at rest) so there is no seam. */
.hero { padding: clamp(56px, 7vw, 96px) 0 0; margin-top: -72px; padding-top: calc(72px + clamp(56px, 7vw, 96px)); background: linear-gradient(180deg, rgba(255,255,255,0.55) 0px, rgba(255,255,255,0) 720px); }
.hero-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.hero-eyebrow { margin-bottom: 14px; }
.hero-headline { margin: 0; }
.hero-headline .line { display: block; }
/* The second line is the deck: the mechanism, stated plainly, at deck size. */
.hero-headline .line-2 { font-weight: 400; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -0.025em; line-height: 1.08; margin-top: 22px; max-width: 16em; }
/* The count sits in a stack whose width is fixed by the final value, so
   nothing to its right moves by a pixel while the digits change. */
/* Proportional figures at display size: tabular ones give the comma a full
   digit advance ("6 , 094"). The stack still reserves the final width, and
   the live number is right-aligned, so "findings." never moves. */
.count-stack { display: inline-grid; grid-template-areas: "n"; text-align: right; font-variant-numeric: proportional-nums lining-nums; }
.count-stack > span { grid-area: n; }
.count-stack .count-final { visibility: hidden; }
.count-stack .count-live { position: relative; }
/* The aside's first line sits on the headline's cap line, not above it. */
.hero-aside { display: flex; flex-direction: column; gap: 22px; padding-top: 44px; }
.hero-sub { font-size: 17px; line-height: 1.55; color: var(--text-2); margin: 0; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-cta-note { font-size: 14px; line-height: 1.5; color: var(--text-3); margin: 0; }
.hero-cta-note + .hero-cta-note { margin-top: -12px; }

.capture { margin-top: clamp(40px, 5vw, 72px); }
.capture-frame {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(20,18,10,0.14);
  /* one light source, above left: one shadow direction */
  box-shadow: 0 1px 2px rgba(20,18,10,0.12), 0 24px 48px -16px rgba(20,18,10,0.28), 0 64px 96px -40px rgba(20,18,10,0.22);
  background: #0b0d16;
}
.capture-frame img { width: 100%; height: auto; }
.capture-caption { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 16px; }
.capture-caption .caption { margin: 0; }
.hero-shot { display: block; width: 100%; height: auto; }

/* Proof line: an ink rule, four cells, no badges, no icons. */
.proof-line { margin-top: clamp(48px, 5vw, 72px); }
.proof-cells {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  padding: 22px 0 24px;
}
.proof-cells li { display: flex; flex-direction: column; gap: 6px; }
.proof-cells .k { font-size: 13px; line-height: 1.4; color: var(--text-3); }
.proof-cells .v { font-size: 17px; line-height: 1.35; font-weight: 500; color: var(--ink); }
.proof-cells .v a { text-decoration: none; }
.proof-cells .v a:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof-release { padding: 14px 0 0; font-size: 13px; color: var(--text-3); }
.proof-release a { color: inherit; }

/* ─── Sections ─── */
.section { padding-top: var(--space-section); }
/* Chapters: a full-width ink rule and more air, so the scroll has a tempo. */
.section.chapter { margin-top: calc(var(--space-section) * 1.15); padding-top: var(--space-block); border-top: 1px solid var(--border-strong); }
.section-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.section-split-even { grid-template-columns: 1fr 1fr; }
.col-note { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.col-note p { font-size: 17px; line-height: 1.55; color: var(--text-2); margin: 0; }
.col-note .link { align-self: flex-start; }

/* ─── Ledger: the site's evidence component (findings, receipts, plans) ─── */
.ledger { display: flex; flex-direction: column; }
.ledger-row-l {
  display: grid; grid-template-columns: minmax(0, 1fr) 140px 96px; align-items: center; gap: 16px;
  padding: 17px 0; border-top: 1px solid var(--border); font-size: 19px; line-height: 1.3; position: relative;
}
.ledger-row-l:last-of-type { border-bottom: 1px solid var(--border); }
.ledger-row-l.head { border-top: 1px solid var(--border-strong); }
.ledger-row-l .fig { text-align: right; font-weight: 700; }
.ledger-row-l .pct { text-align: right; font-size: 14px; color: var(--text-3); }
.ledger-row-l.total { color: var(--text-2); }
.ledger-row-l.total .fig { color: var(--ink); }
.ledger-note { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.ledger-2 .ledger-row-l { grid-template-columns: minmax(0, 1fr) 140px; }

/* Rules that draw once on entry (scroll-triggered by main.js) */
:root[data-motion="ok"] .draw { transform: scaleX(0); transform-origin: left; }
:root[data-motion="ok"] .draw.visible { animation: rule var(--d-rule) var(--ease-wipe) both; }


/* ─── Terminal: the one dark object on paper besides the product ─── */
.terminal { background: var(--ink); color: #e9e7e1; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,18,10,0.12), 0 24px 48px -16px rgba(20,18,10,0.28); }
.terminal pre { margin: 0; white-space: inherit; font: inherit; }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,0.10); font-size: 12.5px; color: rgba(255,255,255,0.55); }
.terminal-body { padding: 20px 20px 22px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-body .line { display: block; }
.terminal-body .prompt { color: rgba(255,255,255,0.45); }
.terminal-body .out { color: #ffffff; }
.terminal-label { font-size: 13px; color: rgba(255,255,255,0.55); margin: 18px 0 8px; font-family: var(--font); }
.terminal-label:first-child { margin-top: 0; }
pre.terminal-body code { font-size: inherit; }

/* ─── Grade ─── */
.grade { padding-top: 16px; border-top: 1px solid var(--border-strong); }
.crop { margin-top: 28px; }
.crop .capture-frame { border-radius: 8px; }
.crop .caption { margin-top: 12px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
.grade-letter { font-size: clamp(160px, 20vw, 300px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.82; color: var(--ink); margin-left: -0.04em; }
.ledger-row-l .fig { letter-spacing: -0.01em; }

/* ─── Three-column lists (the engine, safety) ─── */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.col h3 { margin: 0 0 10px; }
.col .k { font-size: 14px; color: var(--text-3); margin-bottom: 14px; padding-top: 16px; border-top: 1px solid var(--border-strong); }
.col p { font-size: 16px; line-height: 1.55; color: var(--text-2); margin: 0 0 10px; }
.col .item { padding: 16px 0; border-top: 1px solid var(--border); }
.col .item:last-child { border-bottom: 1px solid var(--border); }
.col .item h4 { font-size: 17px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.col .item p { margin: 0; font-size: 15.5px; }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.steps-stacked { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
.steps-stacked .step { padding: 18px 0 20px; border-top: 1px solid var(--border); }
.steps-stacked .step:first-child { border-top: 1px solid var(--border-strong); }
.steps-stacked .step:last-child { border-bottom: 1px solid var(--border); }
.steps-stacked .step-num { margin-bottom: 6px; }
.step { padding-top: 16px; border-top: 1px solid var(--border-strong); }
.step-num { font-size: 14px; color: var(--text-3); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.step h3 { margin: 0 0 8px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--text-2); margin: 0; }

/* ─── Founder note ─── */
.founder { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.founder-note { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; margin: 0; max-width: 26em; }
.founder-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--text-3); }
.founder-by svg { width: 32px; height: 32px; }

/* ─── Estimator ─── */
.est-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.est-options { display: flex; flex-direction: column; border-top: 1px solid var(--border-strong); }
.est-opt { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); cursor: pointer; }
.est-opt:first-child { border-top: 0; }
.est-opt:last-child { border-bottom: 1px solid var(--border); }
.est-opt:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.est-opt input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; cursor: pointer; }
.est-opt span { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.est-opt em { display: block; font-style: normal; font-weight: 400; font-size: 14px; color: var(--text-3); }
.est-result { padding-top: 16px; border-top: 1px solid var(--border-strong); }
.est-figure { font-size: clamp(48px, 5vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.est-label { color: var(--text-3); font-size: 14px; margin: 8px 0 22px; }
.est-note { color: var(--text-3); font-size: 13px; line-height: 1.55; margin-top: 16px; }

/* ─── Plans (homepage teaser + pricing page cards) ─── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.plan { padding-top: 16px; border-top: 1px solid var(--border-strong); display: flex; flex-direction: column; }
.plan-name { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.plan-price { font-size: clamp(40px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--text-3); margin-left: 6px; }
.plan-for { font-size: 15px; line-height: 1.5; color: var(--text-2); margin: 14px 0 18px; }
.plan-list { list-style: none; margin: 0 0 24px; }
.plan-list li { font-size: 15px; line-height: 1.5; color: var(--text-2); padding: 8px 0; border-top: 1px solid var(--border); }
.plan-list li:last-child { border-bottom: 1px solid var(--border); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans-note { margin-top: 24px; font-size: 14px; color: var(--text-3); }

/* Legacy pricing-card classes (pricing.html, teaser) mapped onto the plan system */
.pricing-cards, .pricing-cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.pricing-card { position: relative; padding: 16px 0 0; border: 0; border-top: 1px solid var(--border-strong); border-radius: 0; background: none; box-shadow: none; transform: none; }
.pricing-card-featured { border-color: var(--ink); background: none; box-shadow: none; transform: none; }
.pricing-popular, .pricing-tag { position: static; transform: none; display: inline-block; padding: 0; border-radius: 0; background: none; border: 0; color: var(--text-3); font-size: 13px; font-weight: 500; margin-bottom: 10px; white-space: normal; }
.pricing-plan { font-size: 14px; font-weight: 500; color: var(--text-3); margin-bottom: 12px; text-transform: none; letter-spacing: 0; }
.pricing-price { font-size: clamp(40px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1; font-variant-numeric: tabular-nums; }
.pricing-price span { font-size: 16px; color: var(--text-3); font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.pricing-for { font-size: 15px; line-height: 1.5; color: var(--text-2); margin: 0 0 16px; }
.pricing-features { list-style: none; margin-bottom: 22px; }
.pricing-features li { font-size: 15px; color: var(--text-2); padding: 8px 0; border-top: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: 1px solid var(--border); }
.pricing-features li.dim { color: var(--text-3); }
.pricing-reassure { font-size: 14px; color: var(--text-2); margin-top: 28px; }
.pricing-teaser-note { color: var(--text-3); font-size: 14px; margin-top: 8px; }
.buy-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 28px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.buy-step { font-size: 14px; color: var(--text-2); white-space: nowrap; }
.buy-step strong { display: inline-block; margin-right: 6px; color: var(--ink); }
.buy-arrow { color: var(--text-3); font-size: 14px; }
.pf-guarantee { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.plan-engine-note { max-width: 64ch; margin: 30px 0 0; }
.plan-engine-line { color: var(--ink); font-weight: 500; font-size: 17px; line-height: 1.5; margin-bottom: 4px; }
.plan-engine-frame { color: var(--text-3); font-size: 14px; margin: 0; }
.pricing-guarantee-bar { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 14px; flex-wrap: wrap; }
.pricing-guarantee-bar svg { color: var(--ink); flex: none; }
.pricing-guarantee-bar strong { color: var(--ink); }

/* ─── FAQ ─── */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 64px); }
.faq-item { padding: 22px 0; border-top: 1px solid var(--border); background: none; border-radius: 0; box-shadow: none; }
.faq-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.faq-item p { font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.faq-item code { font-size: 0.92em; padding: 1px 5px; border-radius: 4px; background: var(--code-bg); }

/* ─── Download ─── */
.download-cta { padding-top: var(--space-section); }
.cta-card { padding: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--border-strong); text-align: left; background: none; border-radius: 0; max-width: none; }
.cta-card h2 { margin-bottom: 14px; }
.cta-card > p { color: var(--text-2); margin-bottom: 32px; max-width: 34em; font-size: 18px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-meta-row { display: flex; gap: 24px; margin-top: 14px; }
.cta-meta { font-size: 14px; color: var(--text-3); }
.cta-guarantee { margin-top: 20px; font-size: 15px; color: var(--text-2); }
.cta-guarantee strong { color: var(--ink); }
.cta-verify { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.cta-verify a { color: inherit; }
.cta-orb { display: none; }

/* ─── Newsletter ─── */
.newsletter { padding-top: var(--space-section); }
.newsletter-card { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; padding: clamp(32px, 4vw, 48px) 0 0; border-top: 1px solid var(--border-strong); background: none; border-radius: 0; box-shadow: none; text-align: left; }
.newsletter-card::before { display: none; }
.newsletter-icon { display: none; }
.newsletter-title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.newsletter-sub { font-size: 16px; color: var(--text-2); margin: 0 0 22px; }
.newsletter-form { display: flex; gap: 10px; max-width: 560px; }
.newsletter-input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font-family: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--ink); border-radius: 6px; }
.newsletter-input::placeholder { color: var(--text-3); }
.newsletter-input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.newsletter-privacy { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--text-3); }
.newsletter-hp { position: absolute; left: -9999px; }

/* ─── Footer: the page closes on ink, the material the app is made of ─── */
.footer { margin-top: var(--space-section); background: var(--ink); color: #e9e7e1; padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: #ffffff; }
.footer-logo .nav-logo-icon svg { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 960px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0 0 4px; }
.footer-col a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; transition: color var(--d-hover) ease; }
.footer-col a:hover { color: #ffffff; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color var(--d-hover) ease; }
.footer-links a:hover { color: #ffffff; }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.7); margin: 0; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-legal { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.5); max-width: 90ch; }
.footer-legal a { color: rgba(255,255,255,0.7); }
.footer-entity, .footer-copy { color: rgba(255,255,255,0.5); }

/* ─── Bands (second tone) ─── */
.band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--space-block) 0; }

/* ─── Generic legacy classes still used by other pages ─── */
.cite { font-size: 0.85em; color: var(--text-3); }
.stats-bar, .trust-strip, .cred-band, .proof-wall { background: none; border: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.trust-card, .feature-card, .ledger-card, .guard-card, .ent-card, .pf-card, .cta-card, .est-card-legacy {
  background: none; border: 0; border-top: 1px solid var(--border-strong); border-radius: 0; padding: 16px 0 0; box-shadow: none; transform: none;
}
.trust-card h3, .feature-card h3 { font-size: 18px; margin: 0 0 8px; }
.trust-card p, .feature-card p { font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.trust-icon, .feature-icon { display: none; }
.hero-badge, .badge-dot, .privacy-badge { display: none; }
.pullquote { padding: var(--space-section) 0 0; background: none; border: 0; }
.pullquote-text { font-size: clamp(32px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; max-width: 22ch; }

/* ─── Motion ─── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Nothing is ever hidden unless the head script stamped data-motion="ok",
   which it only does when JS runs AND the visitor has not asked for reduced
   motion. No-JS, crawlers and reduced-motion visitors see the final state. */
:root[data-motion="ok"] .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--d-text) var(--ease-out), transform var(--d-text) var(--ease-out); }
:root[data-motion="ok"] .reveal.visible { opacity: 1; transform: none; }
:root[data-motion="ok"] .reveal:nth-child(2) { transition-delay: 70ms; }
:root[data-motion="ok"] .reveal:nth-child(3) { transition-delay: 140ms; }
:root[data-motion="ok"] .reveal:nth-child(4) { transition-delay: 210ms; }
:root[data-motion="ok"] .reveal:nth-child(n+5) { transition-delay: 280ms; }

/* Hero: one arrival, once. Text rises in sequence; the capture is uncovered,
   never thrown in; the caption follows. Then the page is still. */
:root[data-motion="ok"] .hero-eyebrow,
:root[data-motion="ok"] .hero-headline .line,
:root[data-motion="ok"] .hero-aside > * { animation: rise var(--d-text) var(--ease-out) both; }
:root[data-motion="ok"] .hero-eyebrow { animation-delay: 50ms; }
:root[data-motion="ok"] .hero-headline .line-1 { animation-delay: 150ms; }
:root[data-motion="ok"] .hero-headline .line-2 { animation-delay: 270ms; }
:root[data-motion="ok"] .hero-aside > *:nth-child(1) { animation-delay: 380ms; }
:root[data-motion="ok"] .hero-aside > *:nth-child(2) { animation-delay: 440ms; }
:root[data-motion="ok"] .hero-aside > *:nth-child(3) { animation-delay: 500ms; }
:root[data-motion="ok"] .hero-aside > *:nth-child(n+4) { animation-delay: 560ms; }
:root[data-motion="ok"] .capture-frame { animation: wipe var(--d-image) var(--ease-wipe) 700ms backwards; }
:root[data-motion="ok"] .capture-caption { animation: rise 600ms var(--ease-out) 1700ms both; }
:root[data-motion="ok"] .proof-line { animation: rise 700ms var(--ease-out) 1900ms both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Focus ─── */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible), .btn:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible) { outline: none; }
::selection { background: rgba(22,21,15,0.14); }

/* ─── Guides (shared wrapper classes; page-level rules live inline) ─── */
.guide-wrap { max-width: 720px; margin: 0 auto; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .hero-head { grid-template-columns: 1fr; align-items: start; }
  .hero-aside { max-width: 560px; padding-top: 0; }
  .section-split, .section-split-even, .founder { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cols-3, .steps, .plans, .pricing-cards, .pricing-cards-3 { grid-template-columns: 1fr; }
  .est-card { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .ledger-row-l { grid-template-columns: minmax(0, 1fr) 96px 64px; font-size: 17px; }
  .ledger-2 .ledger-row-l { grid-template-columns: minmax(0, 1fr) 110px; }
}
@media (max-width: 640px) {
  .nav-inner { gap: 12px; }
  .nav-inner .nav-burger { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-top: 1px solid var(--border); }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .cols-4, .proof-cells, .trust-grid { grid-template-columns: 1fr; }
  .capture-caption { flex-direction: column; gap: 6px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .cta-meta-row { flex-direction: column; gap: 6px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-card { grid-template-columns: 1fr; }
  .footer-links { gap: 10px 18px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
