/* ============================================================
   Acumetrica — design system
   Brand: Ink #12151A · Signal Blue #2C6BED (light) / #4D8CFF (dark)
   Type:  Space Grotesk (display) · Inter (body)
   Tier colors are constant across themes — they are data, not decoration.
   ============================================================ */

/* ---------- Fonts (self-hosted, CSP: font-src 'self') ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-panel: #ffffff;
  --bg-inverse: #101319;
  --ink: #12151a;
  --ink-2: #414957;
  --ink-3: #69707e;
  --line: #e4e8ef;
  --line-strong: #cdd4de;
  --accent: #2c6bed;
  --accent-soft: rgba(44, 107, 237, 0.09);
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(18, 21, 26, 0.05), 0 12px 32px -16px rgba(18, 21, 26, 0.18);

  /* Tier colors — identical in both themes */
  --tier-champions: #2c6bed;
  --tier-loyal: #7fa5f5;
  --tier-atrisk: #eda23b;
  --tier-cantlose: #e0564f;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-soft: #10141c;
  --bg-panel: #12161f;
  --bg-inverse: #f5f7fa;
  --ink: #edf0f6;
  --ink-2: #b6bdca;
  --ink-3: #7f8794;
  --line: #222835;
  --line-strong: #333b4c;
  --accent: #4d8cff;
  --accent-soft: rgba(77, 140, 255, 0.12);
  --accent-ink: #0b0e14;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -18px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0e14;
    --bg-soft: #10141c;
    --bg-panel: #12161f;
    --bg-inverse: #f5f7fa;
    --ink: #edf0f6;
    --ink-2: #b6bdca;
    --ink-3: #7f8794;
    --line: #222835;
    --line-strong: #333b4c;
    --accent: #4d8cff;
    --accent-soft: rgba(77, 140, 255, 0.12);
    --accent-ink: #0b0e14;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 38em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

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

/* ---------- Wordmark (live-text reproduction of the logo) ---------- */
.wordmark {
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.wordmark:hover { text-decoration: none; }
.wordmark .wm-acu { font-weight: 700; }
.wordmark .wm-rest { font-weight: 400; color: var(--ink-2); }
.wordmark .wm-dot { font-weight: 700; color: var(--accent); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.35s var(--ease);
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-inner {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ink-2); font-size: 0.95rem; font-weight: 500;
  padding: 6px 2px;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.head-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 38px; height: 38px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: var(--line-strong); color: var(--ink); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.menu-btn {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 40px; height: 38px; cursor: pointer; position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn span { top: 50%; margin-top: -1px; }
.menu-btn span::before { top: -6px; left: 0; right: 0; }
.menu-btn span::after { top: 6px; left: 0; right: 0; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 840px) {
  .menu-btn { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 20px;
    display: none;
  }
  .nav-open .site-nav, .no-js .site-nav { display: block; }
  .no-js .site-nav { position: static; border: 0; padding: 0; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0 clamp(20px, 4vw, 40px); }
  .site-nav a { display: block; padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .head-inner { gap: 12px; }
  .wordmark { font-size: 1.26rem; }
  .head-actions { gap: 9px; }
  .head-actions .head-cta { padding: 8px 13px; font-size: 0.85rem; }
}
@media (max-width: 340px) {
  .head-inner { gap: 8px; }
  .wordmark { font-size: 1.08rem; }
  .head-actions { gap: 7px; }
  .head-actions .head-cta { padding: 7px 10px; font-size: 0.8rem; }
  .menu-btn { width: 36px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.18s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
  will-change: transform;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 65%, transparent);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn-primary .arrow { transition: transform 0.2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; border-radius: 10px; }

/* ---------- Sections & shared parts ---------- */
.sec { padding: clamp(72px, 11vw, 130px) 0; }
.sec-soft { background: var(--bg-soft); }
.sec-tight { padding: clamp(48px, 7vw, 80px) 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); }

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head p { color: var(--ink-2); }

.fineprint { font-size: 0.85rem; color: var(--ink-3); }

/* Tier chips */
.tier-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.tier-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tc, var(--ink-3)); }
.tier-champions { --tc: var(--tier-champions); }
.tier-loyal { --tc: var(--tier-loyal); }
.tier-atrisk { --tc: var(--tier-atrisk); }
.tier-cantlose { --tc: var(--tier-cantlose); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: clamp(90px, 14vh, 150px) 0 clamp(80px, 11vh, 130px);
  overflow: hidden;
}
#hero-field {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 860px; }
.hero .lede { margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 0.9rem; color: var(--ink-3); }
.dot-accent { color: var(--accent); }

/* ---------- Problem ledger ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.split-sticky { position: sticky; top: 110px; }
@media (max-width: 840px) {
  .split { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
}
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { border-top: 1px solid var(--line); padding: 26px 0; }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger h3 { margin-bottom: 6px; }
.ledger p { margin: 0; color: var(--ink-2); max-width: 34em; }

.pull {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.25; letter-spacing: -0.015em;
  max-width: 21em; text-wrap: balance;
}
.pull em { font-style: normal; color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; margin-top: 12px; }
.step {
  display: grid; grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line); padding: 34px 0;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; color: var(--accent); line-height: 1;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); max-width: 40em; }
@media (max-width: 600px) { .step { grid-template-columns: 56px 1fr; } .step-num { font-size: 1.5rem; } }

/* ---------- Platform strip ---------- */
.platforms {
  display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px;
}
.platform {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 20px; color: var(--ink-2);
  background: var(--bg-panel);
}

/* ---------- Panels ---------- */
.panel {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---------- RFM widget ---------- */
.rfm-panel { padding: clamp(18px, 3vw, 34px); }
#rfm-canvas { width: 100%; height: 430px; border-radius: var(--radius-sm); }
.rfm-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.rfm-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 22px; margin-top: 22px; }
.rfm-legend .tier-def small { display: block; color: var(--ink-3); font-family: var(--font-body); font-weight: 400; margin-top: 2px; line-height: 1.45; }
.rfm-count { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; margin-left: 4px; }
.no-js #rfm-canvas, .no-js .rfm-controls { display: none; }

/* ---------- Decay ---------- */
.decay-fig { padding: clamp(18px, 3vw, 34px); }
.decay-svg { width: 100%; height: auto; }
.decay-svg .axis { stroke: var(--line-strong); stroke-width: 1; }
.decay-svg .gridline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.decay-svg .curve { stroke: var(--tier-atrisk); stroke-width: 3; fill: none; stroke-linecap: round; }
.decay-svg .curve-fill { fill: color-mix(in srgb, var(--tier-atrisk) 12%, transparent); }
.decay-svg .label { font-family: var(--font-body); font-size: 13px; fill: var(--ink-3); }
.decay-svg .marker { fill: var(--tier-cantlose); }
.decay-svg .marker-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; fill: var(--ink); }
.decay-readout {
  display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px;
}
.decay-readout div { min-width: 130px; }
.decay-readout .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.decay-readout .big.amber { color: var(--tier-atrisk); }
.decay-readout .big.red { color: var(--tier-cantlose); }
.decay-readout small { color: var(--ink-3); }

/* ---------- ROI estimator ---------- */
.roi-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; }
@media (max-width: 840px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-inputs { padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 30px; align-content: start; }
.roi-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-family: var(--font-display); margin-bottom: 12px; }
.roi-field output { color: var(--accent); font-variant-numeric: tabular-nums; }
input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none;
  height: 5px; border-radius: 4px; background: var(--line-strong);
  outline-offset: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-panel);
  box-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
input[type="range"]::-moz-range-thumb {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-panel);
  box-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.roi-results {
  background: var(--bg-soft); border-left: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 40px);
  display: grid; gap: 22px; align-content: start;
}
@media (max-width: 840px) { .roi-results { border-left: 0; border-top: 1px solid var(--line); } }
.roi-stat .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.roi-stat .big.blue { color: var(--accent); }
.roi-stat small { color: var(--ink-3); }
.roi-note { border-top: 1px solid var(--line); padding-top: 16px; }
.roi-note summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.roi-note p { font-size: 0.85rem; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- Report artifact ---------- */
.report-frame { max-width: 780px; margin: 0 auto; }
.report-pages { position: relative; overflow: hidden; }
.report-track { display: flex; transition: transform 0.5s var(--ease); }
.no-js .report-track { display: block; }
.report-page { flex: 0 0 100%; padding: clamp(26px, 4.5vw, 54px); min-height: 420px; }
.no-js .report-page + .report-page { border-top: 1px solid var(--line); }
.report-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 26px;
  font-family: var(--font-display);
}
.report-head .r-brand { font-weight: 700; letter-spacing: -0.02em; }
.report-head .r-brand span { color: var(--accent); }
.report-head .r-meta { color: var(--ink-3); font-size: 0.88rem; }
.report-kicker { font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); font-weight: 600; font-family: var(--font-display); margin-bottom: 8px; }
.report-page h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.report-page p { color: var(--ink-2); max-width: 36em; }
.report-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin: 26px 0 6px; }
.report-stats .big { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.report-stats small { color: var(--ink-3); }

.seg-bars { display: grid; gap: 14px; margin-top: 26px; }
.seg-bar { display: grid; grid-template-columns: 130px 1fr 52px; align-items: center; gap: 14px; font-size: 0.92rem; }
.seg-bar .bar { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.seg-bar .bar i { display: block; height: 100%; width: 0; background: var(--tc); border-radius: 6px; transition: width 1.1s var(--ease); }
.seg-bar .pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
@media (max-width: 560px) { .seg-bar { grid-template-columns: 100px 1fr 44px; } }

.report-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 16px clamp(18px, 3vw, 30px); }
.no-js .report-nav { display: none; }
.report-dots { display: flex; gap: 8px; }
.report-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line-strong); cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.report-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.25); }
.report-arrows { display: flex; gap: 8px; }
.report-arrows button {
  border: 1px solid var(--line-strong); background: var(--bg-panel); color: var(--ink);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.05rem;
  transition: border-color 0.2s;
}
.report-arrows button:hover { border-color: var(--ink-3); }
.sample-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--ink-3);
  border: 1px dashed var(--line-strong); border-radius: 999px; padding: 6px 14px;
  margin-bottom: 22px;
}

/* ---------- Vertical rows (services) ---------- */
.vertical-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px); align-items: center;
  border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 60px) 0;
}
.vertical-row:last-of-type { border-bottom: 1px solid var(--line); }
.vertical-row:nth-child(even) .v-copy { order: 2; }
@media (max-width: 840px) {
  .vertical-row { grid-template-columns: 1fr; }
  .vertical-row:nth-child(even) .v-copy { order: 0; }
}
.v-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.v-copy .v-platforms { font-size: 0.88rem; color: var(--ink-3); }
.v-quote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.v-quote footer { font-family: var(--font-body); font-size: 0.8rem; color: var(--ink-3); font-weight: 400; margin-top: 10px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 840px) { .price-grid { grid-template-columns: 1fr; } }
.price-panel { padding: clamp(26px, 4vw, 44px); }
.price-big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.02em; line-height: 1;
  margin: 10px 0 4px;
}
.price-big small { font-size: 0.36em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 15px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.notlist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.notlist li { padding-left: 30px; position: relative; color: var(--ink-3); }
.notlist li::before, .notlist li::after {
  content: ""; position: absolute; left: 3px; top: 0.72em;
  width: 13px; height: 2px; background: var(--ink-3); border-radius: 2px;
}
.notlist li::before { transform: rotate(45deg); }
.notlist li::after { transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.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;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  padding: 22px 44px 22px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 15px; height: 2px; background: var(--accent); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .faq-a { padding: 0 0 24px; color: var(--ink-2); max-width: 42em; }
.faq .faq-a p { margin-bottom: 0.7em; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Phases (how it works) ---------- */
.phases { position: relative; display: grid; gap: 0; }
.phase {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
}
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase-tag { font-family: var(--font-display); }
.phase-tag .p-num { font-weight: 700; font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; }
.phase-tag .p-when { color: var(--ink-3); font-size: 0.88rem; }
.phase h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.phase ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }
@media (max-width: 640px) { .phase { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- RFM explainer rows ---------- */
.rfm-letters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 2.6vw, 28px); margin-top: 8px; }
@media (max-width: 720px) { .rfm-letters { grid-template-columns: 1fr; } }
.rfm-letter { border-top: 2px solid var(--accent); padding-top: 18px; }
.rfm-letter .l { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--accent); line-height: 1; }
.rfm-letter h3 { margin: 8px 0 6px; }
.rfm-letter p { color: var(--ink-2); margin: 0; }

.tier-table { display: grid; gap: 0; margin-top: 26px; }
.tier-row {
  display: grid; grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  border-top: 1px solid var(--line); padding: 24px 0;
}
.tier-row:last-child { border-bottom: 1px solid var(--line); }
.tier-row p { margin: 0; color: var(--ink-2); max-width: 40em; }
.tier-row .example { font-size: 0.9rem; color: var(--ink-3); margin-top: 6px; font-style: italic; }
@media (max-width: 640px) { .tier-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Trust block ---------- */
.trust {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-panel);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow);
}
.trust h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-inverse);
  color: #f2f5fa;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(44px, 7vw, 90px) clamp(26px, 6vw, 90px);
  position: relative; overflow: hidden;
}
:root[data-theme="dark"] .cta-band { color: #12151a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { color: #12151a; } }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 46%),
    radial-gradient(circle at 8% 95%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); max-width: 15em; }
.cta-band p { max-width: 36em; opacity: 0.82; }
.cta-band .btn-primary { margin-top: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form-panel { padding: clamp(24px, 3.6vw, 44px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 8px; }
.field .opt { color: var(--ink-3); font-weight: 400; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.95rem; display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: color-mix(in srgb, var(--tier-cantlose) 12%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--tier-cantlose) 40%, transparent); }

.next-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.next-steps li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.next-steps .n {
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 50%;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.next-steps h3 { font-size: 1.02rem; margin-bottom: 3px; }
.next-steps p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }

.form-grid aside h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 44px; }
.form-grid aside h2:first-child { margin-top: 0; }
.form-privacy { margin: 14px 0 0; }

.confirm-panel { text-align: left; padding: clamp(30px, 5vw, 54px); display: none; }
.confirm-panel.show { display: block; }
.confirm-check {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.confirm-check svg { width: 26px; height: 26px; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 70px) 0 36px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-tag { color: var(--ink-3); font-size: 0.92rem; max-width: 26em; margin-top: 12px; }
.site-foot h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot ul a { color: var(--ink-2); font-size: 0.95rem; }
.site-foot ul a:hover { color: var(--ink); }
.foot-base {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px;
  font-size: 0.83rem; color: var(--ink-3);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(70px, 10vw, 120px) 0 clamp(30px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.8rem); }
.page-hero .lede { margin-top: 14px; }
