/* ============================================================
   Wiz Automations · marketing site
   Self-contained: self-hosted fonts, zero external requests.
   Rebrand 2026-07: "red ink on warm paper" — the accountant's
   ledger, made confident. Scarlet is the one committed color;
   the figures on the page ARE the red on your P&L. Warm bone
   paper (light) / warm espresso (dark). OKLCH throughout.
   ============================================================ */

/* ---------- Fonts (self-hosted, OFL, latin subsets) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/BricolageGrotesque-wght-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/SchibstedGrotesk-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/SchibstedGrotesk-italic-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/SplineSansMono-var-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* warm bone paper */
  --bg:    oklch(0.966 0.009 72);
  --bg2:   oklch(0.998 0.005 82);
  --bg3:   oklch(0.933 0.012 70);
  --ink:   oklch(0.245 0.021 40);
  --ink2:  oklch(0.452 0.022 42);
  --ink3:  oklch(0.596 0.020 46);
  --line:  oklch(0.885 0.013 66);
  --line2: oklch(0.812 0.018 60);
  /* committed scarlet */
  --accent:      oklch(0.552 0.206 27);
  --accent-down: oklch(0.470 0.188 28);
  --on-accent:   oklch(0.988 0.006 82);
  --tint:  oklch(0.552 0.206 27 / 0.08);
  /* red drench band */
  --band:      oklch(0.475 0.190 27);
  --band-deep: oklch(0.392 0.162 28);
  --on-band:      oklch(0.985 0.010 78);
  --on-band-dim:  oklch(0.985 0.010 78 / 0.80);
  --band-line:    oklch(0.985 0.010 78 / 0.22);

  --shadow:    0 1px 2px oklch(0.30 0.05 35 / 0.06), 0 14px 36px oklch(0.30 0.05 35 / 0.09);
  --shadow-lg: 0 2px 4px oklch(0.30 0.05 35 / 0.07), 0 28px 70px oklch(0.30 0.05 35 / 0.15);

  --display: "Bricolage Grotesque", "Schibsted Grotesk", "Segoe UI", -apple-system, sans-serif;
  --sans: "Schibsted Grotesk", "Segoe UI Variable Display", "Segoe UI",
          -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Sans Mono", "Cascadia Code", Consolas, "SF Mono",
          ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:    oklch(0.205 0.013 38);
    --bg2:   oklch(0.246 0.015 38);
    --bg3:   oklch(0.292 0.017 40);
    --ink:   oklch(0.941 0.010 78);
    --ink2:  oklch(0.732 0.015 62);
    --ink3:  oklch(0.592 0.016 56);
    --line:  oklch(0.322 0.017 44);
    --line2: oklch(0.408 0.022 44);
    --accent:      oklch(0.668 0.190 30);
    --accent-down: oklch(0.742 0.166 33);
    --on-accent:   oklch(0.192 0.022 34);
    --tint:  oklch(0.668 0.190 30 / 0.12);
    --band:      oklch(0.505 0.188 28);
    --band-deep: oklch(0.418 0.160 28);
    --on-band:      oklch(0.985 0.010 82);
    --on-band-dim:  oklch(0.985 0.010 82 / 0.82);
    --band-line:    oklch(0.985 0.010 82 / 0.24);
    --shadow:    0 1px 2px oklch(0 0 0 / 0.4), 0 14px 36px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 2px 4px oklch(0 0 0 / 0.45), 0 28px 70px oklch(0 0 0 / 0.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:    oklch(0.205 0.013 38);
  --bg2:   oklch(0.246 0.015 38);
  --bg3:   oklch(0.292 0.017 40);
  --ink:   oklch(0.941 0.010 78);
  --ink2:  oklch(0.732 0.015 62);
  --ink3:  oklch(0.592 0.016 56);
  --line:  oklch(0.322 0.017 44);
  --line2: oklch(0.408 0.022 44);
  --accent:      oklch(0.668 0.190 30);
  --accent-down: oklch(0.742 0.166 33);
  --on-accent:   oklch(0.192 0.022 34);
  --tint:  oklch(0.668 0.190 30 / 0.12);
  --band:      oklch(0.505 0.188 28);
  --band-deep: oklch(0.418 0.160 28);
  --on-band:      oklch(0.985 0.010 82);
  --on-band-dim:  oklch(0.985 0.010 82 / 0.82);
  --band-line:    oklch(0.985 0.010 82 / 0.24);
  --shadow:    0 1px 2px oklch(0 0 0 / 0.4), 0 14px 36px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 2px 4px oklch(0 0 0 / 0.45), 0 28px 70px oklch(0 0 0 / 0.55);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--accent); color: var(--on-accent); }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 52px);
}

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus-visible { top: 0; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 4px;
  font-weight: 640; font-size: 0.98rem; letter-spacing: -0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-down); }
.btn-ghost { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-invert { background: var(--on-band); color: var(--band-deep); box-shadow: 0 12px 34px oklch(0.25 0.10 30 / 0.4); }
.btn-invert:hover { background: oklch(0.955 0.02 60); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.18s ease, border-color 0.18s ease,
                     color 0.18s ease, box-shadow 0.18s ease, transform 0.18s var(--ease); }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1200px; margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 52px);
  min-height: 68px;
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark { width: 34px; height: 34px; flex: none; }
.brand-word {
  font-family: var(--display);
  font-weight: 760; font-size: 1.2rem; letter-spacing: -0.03em;
  display: inline-flex; align-items: baseline; gap: 7px;
}
.brand-sub {
  font-family: var(--sans);
  font-weight: 460; color: var(--ink2); font-size: 0.9rem; letter-spacing: 0;
}

.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); margin-inline: auto; }
.nav-links a {
  color: var(--ink2); font-weight: 540; font-size: 0.95rem; padding: 6px 2px;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a:hover::after { right: 0; }

.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links + .nav-tools { margin-left: 0; }

.lang { display: inline-flex; border: 1px solid var(--line2); border-radius: 4px; overflow: hidden; }
.lang-btn {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 7px 10px; color: var(--ink3);
}
.lang-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.lang-btn:not([aria-pressed="true"]):hover { color: var(--ink); }

.theme-btn {
  width: 36px; height: 36px; border: 1px solid var(--line2); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink2);
}
.theme-btn:hover { color: var(--accent); border-color: var(--accent); }
.theme-btn svg { width: 18px; height: 18px; }
.ic-moon { display: none; }
[data-theme="dark"] .ic-sun { display: none; }
[data-theme="dark"] .ic-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic-sun { display: none; }
  :root:not([data-theme="light"]) .ic-moon { display: block; }
}

/* mobile menu */
.mnav { position: relative; display: none; }
.mnav summary {
  list-style: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--line2); border-radius: 4px;
  color: var(--ink2); cursor: pointer;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 18px; height: 18px; }
.mnav[open] summary { border-color: var(--accent); color: var(--accent); }
.mnav-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 120;
}
.mnav-panel a {
  display: block; padding: 11px 14px; border-radius: 6px;
  color: var(--ink); font-weight: 560; font-size: 0.98rem;
}
.mnav-panel a:hover { background: var(--bg3); text-decoration: none; }
.mnav-panel .mnav-cta { color: var(--accent); font-weight: 680; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(52px, 8vh, 104px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1;
  background:
    radial-gradient(120% 90% at 82% -10%, var(--tint), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.kicker {
  font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 26px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 2px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.05rem + 5vw, 4.4rem);
  line-height: 1.0; font-weight: 700; letter-spacing: -0.032em;
  text-wrap: balance; max-width: 17ch;
}
.hero-sub {
  margin-top: 28px; font-size: clamp(1.04rem, 0.95rem + 0.42vw, 1.18rem);
  color: var(--ink2); max-width: 52ch;
}
.hero-ctas {
  margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-start;
}
.cta-stack { display: inline-flex; flex-direction: column; gap: 9px; }
.cta-note { font-size: 0.72rem; color: var(--ink3); letter-spacing: 0.04em; padding-left: 2px; }

/* audit extract panel — the ledger card */
.extract {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg);
  margin-top: 8px; position: relative; overflow: hidden;
}
.extract::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent);
}
.extract-tag {
  font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.extract-title {
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 620; letter-spacing: -0.015em; line-height: 1.2;
  margin-top: 16px; max-width: 32ch;
}
.xrows { margin-top: 20px; }
.xrow {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 0; font-size: 0.94rem;
}
.xrow dt { color: var(--ink2); flex-shrink: 1; }
.xrow dd { margin: 0; font-size: 0.9rem; color: var(--ink); white-space: nowrap; }
.xleader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--line2); transform: translateY(-4px); }
.xtotal { margin-top: 8px; border-top: 1px solid var(--ink); padding-top: 12px; }
.xtotal dt { color: var(--ink); font-weight: 620; }
.xtotal dd {
  font-weight: 700; font-size: 1.1rem; color: var(--accent);
  border-bottom: 3px double var(--accent); padding-bottom: 2px;
}
.extract-note {
  margin-top: 18px; font-size: 0.8rem; color: var(--ink3); line-height: 1.55;
  border-top: 1px dashed var(--line); padding-top: 14px;
}

/* ticker */
.ticker {
  margin-top: clamp(48px, 7vw, 92px);
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line2);
  padding: 24px 0 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px clamp(24px, 4vw, 64px); align-items: baseline;
}
.ticker-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink2);
}
.ticker-value {
  grid-row: 1 / 3; grid-column: 2;
  font-family: var(--mono);
  font-size: clamp(2rem, 1.05rem + 3.8vw, 3.6rem);
  font-weight: 620; color: var(--accent); line-height: 1;
  align-self: center; font-variant-numeric: tabular-nums;
}
.ticker-note { font-size: 0.8rem; color: var(--ink3); max-width: 52ch; }

/* ---------- Sections ---------- */
.sec { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0; }
.hero + .sec, #problem { border-top: 0; }
.sec-grid {
  display: grid; grid-template-columns: 176px minmax(0, 1fr);
  gap: 24px clamp(36px, 5vw, 88px); align-items: start;
}
.sec-rail { position: sticky; top: 92px; }
.note-ref {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--ink2); font-weight: 600;
  padding-left: 14px; position: relative; display: inline-block; line-height: 1.5;
}
.note-ref::before {
  content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em;
  width: 4px; background: var(--accent); border-radius: 2px;
}
.sec-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.0rem + 2.7vw, 3rem);
  font-weight: 640; letter-spacing: -0.028em; line-height: 1.06;
  max-width: 24ch; text-wrap: balance;
}
.sec-intro { margin-top: 22px; color: var(--ink2); max-width: 62ch; font-size: 1.03rem; }
.sec-body-narrow { max-width: 760px; }
.footnote {
  margin-top: 44px; padding-top: 16px; border-top: 1px dashed var(--line2);
  font-size: 0.85rem; color: var(--ink3); max-width: 64ch;
}

/* ---------- 01 · ledger ---------- */
.ledger { margin-top: 48px; }
.ledger-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(120px, auto);
  gap: 6px clamp(20px, 3vw, 48px);
  padding: 22px 0; border-top: 1px solid var(--line);
  align-items: baseline;
}
.ledger-row:last-child { border-bottom: 1px solid var(--line); }
.lr-term { font-size: 1.04rem; font-weight: 680; letter-spacing: -0.01em; }
.lr-desc { color: var(--ink2); font-size: 0.97rem; max-width: 56ch; }
.lr-fig {
  text-align: right; font-family: var(--mono); font-size: 1.16rem; font-weight: 600;
  color: var(--accent); white-space: nowrap; justify-self: end;
  font-variant-numeric: tabular-nums;
}

/* ---------- 02 · ladder ---------- */
.ladder { margin-top: 48px; display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 34px 0; border-top: 1px solid var(--line);
}
.step-ix { font-family: var(--mono); font-size: 0.95rem; color: var(--ink3); padding-top: 6px; }
.step-major {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: 34px clamp(20px, 3vw, 38px); margin-block: 6px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.step-major::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent);
}
.step-major .step-ix { color: var(--accent); font-weight: 640; }
.step-head {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  align-items: baseline; justify-content: space-between;
}
.step-head h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.72rem); font-weight: 640; letter-spacing: -0.02em;
}
.step-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.step-price > span:first-child { font-family: var(--mono); font-size: 1.24rem; font-weight: 620; color: var(--accent); }
.step-pnote { font-size: 0.72rem; color: var(--ink3); letter-spacing: 0.03em; }
.step-time {
  margin-top: 6px; font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink3);
}
.step-desc { margin-top: 16px; color: var(--ink2); max-width: 62ch; }
.step-list { margin-top: 18px; display: grid; gap: 9px; }
.step-list li { color: var(--ink2); font-size: 0.95rem; padding-left: 24px; position: relative; }
.step-list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 12px; height: 2px; background: var(--accent); border-radius: 1px;
}

/* ---------- 03 · case grid ---------- */
.case-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px);
}
.case-item { border-top: 2px solid var(--ink); padding-top: 20px; }
.case-ix { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); letter-spacing: 0.08em; }
.case-item h3 {
  font-family: var(--display);
  margin-top: 12px; font-size: 1.22rem; font-weight: 620; letter-spacing: -0.017em;
}
.case-item p:last-child { margin-top: 10px; color: var(--ink2); font-size: 0.97rem; }

/* ---------- 04 · proof ---------- */
.proof { margin-top: 48px; display: grid; gap: clamp(28px, 4vw, 44px); }
.proof-lead {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.proof-lead::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent);
}
.proof-tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent);
  font-weight: 600; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.proof-status {
  border: 1px solid var(--line2); border-radius: 999px; padding: 3px 10px;
  color: var(--ink3); letter-spacing: 0.06em; font-weight: 500;
}
.proof-lead h3, .proof-item h3 {
  font-family: var(--display);
  margin-top: 14px; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.62rem);
  font-weight: 640; letter-spacing: -0.02em;
}
.proof-lead > p:nth-of-type(2), .proof-item > p:last-child {
  margin-top: 12px; color: var(--ink2); max-width: 68ch;
}
.proof-stats {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--ink); letter-spacing: 0.01em;
}
.proof > .proof-item { border-top: 2px solid var(--ink); padding-top: 26px; }
@media (min-width: 860px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-lead { grid-column: 1 / -1; }
}

/* ---------- 05 · pricing ---------- */
.table-scroll { margin-top: 44px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.pricing { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 0.97rem; }
.pricing thead th {
  font-family: var(--mono); font-weight: 600; font-size: 0.67rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink3);
  text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line2);
}
.pricing tbody th, .pricing tbody td {
  padding: 22px 20px; vertical-align: top; text-align: left;
  border-top: 1px solid var(--line);
}
.pricing tbody tr:first-child th, .pricing tbody tr:first-child td { border-top: 0; }
.pricing tbody th { font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.pricing td { color: var(--ink2); }
.pricing .num { text-align: right; }
.pricing td.num { color: var(--accent); font-weight: 620; font-size: 1.05rem; white-space: nowrap; }
.pricing .mono { font-size: 0.92rem; white-space: nowrap; }
.pr-entry { background: var(--tint); }
.pr-badge {
  display: inline-block; margin-left: 10px; vertical-align: 2px;
  font-family: var(--mono); font-size: 0.63rem; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--on-accent); background: var(--accent);
  padding: 3px 9px; border-radius: 999px; font-weight: 600;
}
#pricing .btn { margin-top: 36px; }

/* ---------- 06 · about ---------- */
.about-p { margin-top: 24px; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem); color: var(--ink2); max-width: 58ch; }
#about .sec-title + .about-p { margin-top: 30px; }
.about-p:first-of-type { color: var(--ink); }
.about-smb {
  margin-top: 36px; padding: 18px 22px; border: 1px dashed var(--line2);
  border-radius: 10px; font-size: 0.95rem; color: var(--ink2); max-width: 62ch;
}
.about-smb a { font-weight: 640; white-space: nowrap; }

/* ---------- 07 · FAQ ---------- */
.faq { margin-top: 40px; border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 14px; align-items: baseline; padding: 20px 0;
  font-weight: 640; font-size: 1.06rem; letter-spacing: -0.012em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa-ix { font-family: var(--mono); font-size: 0.76rem; color: var(--ink3); font-weight: 500; }
.qa-mark { position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.qa-mark::before, .qa-mark::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 1px;
  transition: transform 0.25s var(--ease);
}
.qa-mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.qa-mark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.qa[open] .qa-mark::after { transform: scaleY(0); }
.qa[open] summary { color: var(--accent); }
.qa > p {
  padding: 0 0 26px; margin-left: 70px; max-width: 60ch;
  color: var(--ink2); font-size: 0.99rem;
}

/* ---------- final CTA band (red drench) ---------- */
.band {
  background: var(--band); color: var(--on-band);
  padding: clamp(72px, 10vw, 132px) 0;
  background-image:
    radial-gradient(90% 120% at 100% 0%, var(--band-deep), transparent 55%);
}
.band-in { max-width: 900px; }
.band h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.15rem + 3.7vw, 3.7rem);
  font-weight: 680; letter-spacing: -0.03em; line-height: 1.03;
  max-width: 18ch; text-wrap: balance;
}
.band-sub { margin-top: 22px; color: var(--on-band-dim); font-size: 1.08rem; max-width: 52ch; }
.band-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.band-alt { color: var(--on-band-dim); font-size: 0.95rem; }
.band-alt a { color: var(--on-band); font-weight: 640; text-decoration: underline; text-underline-offset: 3px; }
.band :focus-visible { outline-color: var(--on-band); }

/* ---------- 08 · trust ---------- */
.draft-flag {
  display: inline-block; margin-top: 18px;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink3); border: 1px dashed var(--line2);
  padding: 5px 12px; border-radius: 999px;
}
.trust-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.trust-block h3 {
  font-family: var(--display);
  font-size: 1.18rem; font-weight: 620; letter-spacing: -0.015em;
}
.trust-block p { margin-top: 14px; color: var(--ink2); font-size: 0.96rem; }
.trust-list { margin-top: 16px; display: grid; gap: 11px; }
.trust-list li { color: var(--ink2); font-size: 0.95rem; padding-left: 24px; position: relative; }
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 12px; height: 2px; background: var(--accent); border-radius: 1px;
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 40px; }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 5vw, 72px);
}
.foot .mark { width: 30px; height: 30px; }
.foot-tag { margin-top: 16px; color: var(--ink2); font-size: 0.95rem; max-width: 34ch; }
.foot-domain { margin-top: 10px; font-size: 0.78rem; color: var(--ink3); letter-spacing: 0.03em; }
.foot-nav { display: grid; gap: 10px; align-content: start; }
.foot-nav a, .foot-contact a { color: var(--ink2); font-size: 0.95rem; width: fit-content; display: block; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--accent); }
.foot-h {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--ink3); margin-bottom: 14px;
}
.foot-contact { display: grid; gap: 10px; align-content: start; }
.foot-legal {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 40px; justify-content: space-between;
  font-size: 0.8rem; color: var(--ink3);
}
.foot-legal p { max-width: 60ch; }

/* ---------- motion: scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .ledger-row.reveal:nth-child(2),
  html.js .case-item.reveal:nth-child(2),
  html.js .qa.reveal:nth-child(2) { transition-delay: 0.07s; }
  html.js .ledger-row.reveal:nth-child(3),
  html.js .case-item.reveal:nth-child(3),
  html.js .qa.reveal:nth-child(3) { transition-delay: 0.14s; }
  html.js .ledger-row.reveal:nth-child(4),
  html.js .case-item.reveal:nth-child(4),
  html.js .qa.reveal:nth-child(4) { transition-delay: 0.21s; }
  html.js .qa.reveal:nth-child(5) { transition-delay: 0.28s; }
  .extract { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
  .extract:hover { transform: translateY(-3px); }
  .proof-lead, .proof-item, .case-item { transition-property: opacity, transform; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-rail { position: static; }
  .note-ref { margin-bottom: 4px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .extract { max-width: 620px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr) minmax(110px, auto); }
  .lr-term { grid-column: 1; }
  .lr-fig { grid-column: 2; grid-row: 1; }
  .lr-desc { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mnav { display: block; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .case-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 28px 0; }
  .step-major { padding: 26px 20px; }
  .step-ix { padding-top: 0; }
  .step-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .step-price { align-items: flex-start; }
  .qa summary { grid-template-columns: minmax(0, 1fr) 28px; }
  .qa-ix { display: none; }
  .qa > p { margin-left: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ticker { grid-template-columns: minmax(0, 1fr); }
  .ticker-value { grid-row: auto; grid-column: 1; margin: 8px 0 4px; }
}
@media (max-width: 620px) {
  .nav-cta { display: none; }
  .brand-sub { display: none; }
  .hero-ctas .btn-lg { width: 100%; }
  .cta-stack { width: 100%; }
  .hero h1 { max-width: none; }
  .band-ctas .btn { width: 100%; }
}
@media (max-width: 400px) {
  .wrap { padding-inline: 16px; }
  .nav-in { padding-inline: 14px; gap: 10px; }
  .xrow { flex-wrap: wrap; }
  .xleader { min-width: 16px; }
}
