/* ─── Tokens ─────────────────────────────────────── */
:root {
  /* Surfaces & ink */
  --bg:           oklch(0.97 0.000 0);
  --surface:      oklch(0.92 0.002 222);
  --surface-2:    oklch(0.87 0.004 222);
  --ink:          oklch(0.13 0.000 0);
  --ink-2:        oklch(0.36 0.000 0);
  --ink-3:        oklch(0.54 0.000 0);

  /* Brand colors */
  --primary:      oklch(0.65 0.158 222);
  --primary-hi:   oklch(0.58 0.168 222);
  --primary-glow: oklch(0.65 0.158 222 / 0.28);
  --accent:       oklch(0.42 0.055 55);
  --success:      oklch(0.42 0.14 142);
  --error:        oklch(0.50 0.18 25);

  /* Borders */
  --border:       oklch(0 0 0 / 0.09);
  --border-hi:    oklch(0 0 0 / 0.17);

  /* Theme-sensitive extras — override per theme */
  --nav-scrolled-bg:    oklch(0.97 0 0 / .92);
  --btn-primary-ink:    oklch(0.97 0 0);
  --ghost-hover-border: oklch(0 0 0 / .30);
  --ghost-hover-bg:     oklch(0 0 0 / .04);
  --placeholder:        oklch(0.65 0 0);
  --num-muted:          oklch(0.82 0 0);

  /* Typography */
  --font-serif: 'DM Sans', system-ui, sans-serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std: cubic-bezier(0.25, 1, 0.5,  1);

  /* Layout */
  --nav-h: 68px;
  --w: min(1160px, 100% - 3rem);
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Layout helpers ─────────────────────────────── */
.wrap  { width: var(--w); margin-inline: auto; }
.prose { max-width: 64ch; }
hr     { border: none; border-top: 1px solid var(--border); }

/* ─── Reveal ─────────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}
.r.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .r { opacity: 1; transform: none; transition: none; }
}

/* Scroll-driven upgrade: ties each reveal to scroll position instead of a threshold pop */
@supports (animation-timeline: view()) {
  @keyframes sd-reveal {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
  }
  .r {
    transition: none;
    animation: sd-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  @media (prefers-reduced-motion: reduce) {
    .r { animation: none; }
  }
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .025em;
  border-radius: 6px;
  padding: .75rem 1.75rem;
  transition: background 200ms var(--ease-std),
              color      200ms var(--ease-std),
              transform  180ms var(--ease-std),
              box-shadow 180ms var(--ease-std),
              border-color 200ms var(--ease-std);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary);
  color: var(--btn-primary-ink);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(1px); box-shadow: none; }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: none;
  padding-inline: 0;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-ghost:active { opacity: 0.6; }

/* ─── NAV ────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  transition: background 280ms var(--ease-std), backdrop-filter 280ms var(--ease-std);
}
#nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { display: flex; align-items: center; }
.wordmark-img { height: 1.75rem; width: auto; display: block; }
.wordmark-img--white { display: none; }
.page-home #nav:not(.scrolled) .wordmark-img--primary { display: none; }
.page-home #nav:not(.scrolled) .wordmark-img--white { display: block; }
.page-home #nav:not(.scrolled) .btn-primary {
  background: transparent;
  color: oklch(0.98 0 0);
  border: 1.5px solid oklch(0.98 0 0 / 0.7);
}
.page-home #nav:not(.scrolled) .btn-primary:hover {
  background: oklch(0.98 0 0);
  color: var(--primary);
  border-color: transparent;
}

/* ─── HERO ───────────────────────────────────────── */
#hero {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + clamp(2rem, 4vw, 3rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; }
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 5.75rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
  max-width: 17ch;
  margin-bottom: 1.75rem;
}
.hero-h1 em { font-style: normal; color: var(--primary); }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.175rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-tension {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 34ch;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}
.hero-tension-stat { font-style: normal; color: var(--primary); font-weight: 600; }
.hero-callout {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 1.75rem;
}
.hero--video .hero-callout { color: oklch(0.99 0 0); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-sub-band {
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--bg);
}
.hero-band-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.04em;
  text-wrap: balance;
  color: var(--ink);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
.hero-band-title em,
.hero-band-title strong { color: var(--primary); font-style: normal; font-weight: 300; }
.hero-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.hero-sub--lead {
  font-size: 2.05rem;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 0;
}
.hero-sub--lead strong { font-weight: 400; }
.hero-sub-bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-sub-bullets li { padding-left: 1.1em; position: relative; }
.hero-sub-bullets li::before { content: '–'; position: absolute; left: 0; color: var(--primary); }
.hero-sub-bullets strong { color: var(--ink-2); font-weight: 500; }
.hero-sub-tagline {
  display: block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-sub-right .hero-sub { margin-bottom: 1.25rem; }
.hero-sub-right .hero-sub:last-of-type { margin-bottom: 1.75rem; }
.hero-stat {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  max-width: 56ch;
}
.hero-stat-lead {
  flex: 1;
  font-size: clamp(.975rem, 1.3vw, 1.1rem);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero-stat-divider {
  width: 1px;
  height: 3.5rem;
  background: var(--border-hi);
  flex-shrink: 0;
}
.hero-stat-num { flex-shrink: 0; }
.hero-stat .big-num { font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; }

/* ─── HERO VIDEO BACKGROUND ──────────────────────── */
#hero.hero--video {
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
/* Darkening layer: stronger on the left where the copy sits, plus a base scrim */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      oklch(0.13 0 0 / 0.86) 0%,
      oklch(0.13 0 0 / 0.66) 42%,
      oklch(0.13 0 0 / 0.34) 100%),
    linear-gradient(180deg,
      oklch(0.13 0 0 / 0.30) 0%,
      oklch(0.13 0 0 / 0.10) 45%,
      oklch(0.13 0 0 / 0.55) 100%);
}
.hero--video .hero-content { z-index: 2; }
.hero--video .btn-primary {
  background: transparent;
  color: oklch(0.98 0 0);
  border: 1.5px solid oklch(0.98 0 0 / 0.7);
}
.hero--video .btn-primary:hover {
  background: oklch(0.98 0 0);
  color: var(--primary);
  border-color: transparent;
}

/* Light text so the copy stays clear over the darkened video */
.hero--video .hero-h1 { color: oklch(0.98 0 0); }
.hero--video .hero-sub { color: oklch(0.88 0 0); }
.hero--video .hero-sub strong { color: oklch(0.99 0 0); }
.hero--video .hero-tension { color: oklch(0.96 0 0); }
.hero--video .section-label { color: oklch(0.85 0.04 12); }
.hero--video .hero-h1 em,
.hero--video .hero-tension-stat { color: oklch(0.72 0.17 12); }  /* brighter crimson on dark */

/* Inline links inside the dark hero */
.hero--video .hero-tension a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: oklch(0.96 0 0 / 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms var(--ease-std);
}
.hero--video .hero-tension a:hover {
  text-decoration-color: oklch(0.96 0 0 / 0.85);
}
.hero-footnote {
  font-size: .875rem;
  line-height: 1.4;
  color: var(--ink-3);
  margin-top: 1.5rem;
  opacity: 0.75;
}

/* Ghost button needs light treatment on the dark hero */
.hero--video .btn-ghost { color: oklch(0.98 0 0); }
.hero--video .btn-ghost::after { background: oklch(0.98 0 0); }

/* Respect users who prefer reduced motion: show the poster still, not the loop */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  #hero.hero--video {
    background: var(--ink) center / cover no-repeat url("../media/unnetwork-hero-payment-poster.jpg");
  }
}

/* ─── Section shared ─────────────────────────────── */
.section { padding-block: clamp(5rem, 11vw, 9rem); }
.section--surface { background: var(--surface); }

.section-label {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.section-h {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.section-h em { font-style: normal; color: var(--primary); }
#problem-h { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
#who-h { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.035em; }
#who-h em { font-size: 1.05em; }
.body-text {
  font-size: 1.0rem;
  line-height: 1.68;
  color: var(--ink-2);
}
.body-text + .body-text { margin-top: 1.25rem; }
.body-text strong { color: var(--ink); font-weight: 500; }

/* ─── THE PROBLEM ────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.big-num {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.big-num-unit {
  font-size: .42em;
  vertical-align: .28em;
  letter-spacing: -.01em;
}
.data-label {
  margin-top: 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 30ch;
  line-height: 1.45;
}
.data-ctx {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 40ch;
}
.problem-stats { display: flex; flex-direction: column; padding-top: 1rem; }
.stat-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.stat-row:first-child { padding-top: 0; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat-desc { font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.stat-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
  color: var(--ink);
}

/* ─── MECHANISM ──────────────────────────────────── */
.mech-intro { max-width: 60ch; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.mech-intro .section-label { font-size: .875rem; }
.mech-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mech-part {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mech-part-n {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--num-muted);
}
.mech-h {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}
.mech-body { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.mech-body + .mech-body { margin-top: 1rem; }
.mech-body strong { color: var(--ink); }
/* ─── CPI diagram (HTML/CSS) ─────────────────────── */
.cpi-diagram {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.cpi-group {
  background: var(--primary);
  border-radius: 6px 6px 0 0;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cpi-group-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: oklch(0.97 0 0 / .65);
  padding-bottom: .375rem;
}
.cpi-engine {
  background: oklch(0.98 0 0);
  border-radius: 4px;
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--primary);
}
.cpi-arrow {
  width: 1.5px;
  height: 1.25rem;
  background: oklch(from var(--primary) l c h / .35);
  margin: 0 auto;
}
.cpi-layer {
  background: var(--primary);
  color: oklch(0.98 0 0);
  font-weight: 600;
  font-size: .9375rem;
  text-align: center;
  padding: .875rem 1rem;
  border-radius: 6px;
}
.cpi-layer--tpa {
  background: var(--bg);
  border: 1.5px solid oklch(from var(--primary) l c h / .35);
  color: var(--ink);
}
.mech-card-img {
  display: block;
  width: calc(100% + 2.25rem);
  margin: auto -2.25rem 0 0;
  height: auto;
  border-bottom-right-radius: 3px;
  will-change: transform;
  transform-origin: center bottom;
}
/* ─── Concierge card feature list ────────────────── */
.mech-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.mech-features li { padding-left: 1.1em; position: relative; }
.mech-features li::before { content: '–'; position: absolute; left: 0; color: var(--primary); }
.mech-parts + .mech-insight {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--border);
}

.mech-note {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: 3px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.mech-note strong { color: var(--ink); font-weight: 500; }
.mech-note--layered { display: flex; align-items: center; gap: 2rem; }
.mech-note-stack { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.mech-note-connector { width: 1px; height: 10px; background: var(--border-hi); }
.mech-note-layer {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .5rem 1.125rem;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}
.mech-note-layer--un { background: var(--primary); color: var(--btn-primary-ink); }
.mech-note-layer--tpa { background: var(--bg); border: 1px solid var(--border-hi); color: var(--ink-3); }

/* ─── WHY NOW ────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.why-card {
  padding: 2.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
}
.why-icon { color: var(--accent); margin-bottom: 1.5rem; }
.why-h {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .875rem;
}
.why-body { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.why-connector {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--ink);
  max-width: 48ch;
  text-align: center;
  margin-inline: auto;
}
.why-connector em { font-style: normal; color: var(--primary); }

/* ─── BEFORE / AFTER ────────────────────────────── */
.ba-section {
  background: var(--bg);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}
.ba-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: opacity 200ms var(--ease-std), transform 220ms var(--ease-std), box-shadow 220ms var(--ease-std);
}
.ba-grid:hover .ba-panel { opacity: 0.8; }
.ba-grid:hover .ba-panel:hover { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ba-grid:hover .ba-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -6px oklch(0 0 0 / 0.1);
  }
}
.ba-h { min-height: 5.5rem; }
.ba-eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ba-eyebrow--before { color: var(--ink-3); }
.ba-eyebrow--after  { color: var(--primary); }
.ba-h {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.ba-h em { font-style: normal; color: var(--primary); }

/* flow diagram */
.ba-diagram {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.ba-nodes-left {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}
.ba-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .75rem .875rem;
  min-width: 72px;
  text-align: center;
}
.ba-node svg { color: var(--accent); }
.ba-connector {
  flex: 1;
  height: 1.5px;
  background: var(--border-hi);
  position: relative;
  min-width: .75rem;
}
.ba-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--border-hi);
}
.ba-center {
  flex-shrink: 0;
  border-radius: 4px;
  padding: 1rem 1.125rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 120px;
}
.ba-center--muted {
  background: var(--surface);
  border: 1px solid var(--border);
}
.ba-center-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.3;
}
.ba-center--primary {
  background: var(--primary);
}
.ba-center-item {
  font-size: .8rem;
  font-weight: 600;
  color: oklch(0.97 0 0);
  line-height: 1.3;
  background: oklch(1 0 0 / 0.12);
  border-radius: 3px;
  padding: .5rem .625rem;
}

/* callout */
.ba-callout {
  border-left: 2px solid var(--border-hi);
  padding-left: 1.25rem;
}
.ba-callout--friction .ba-callout-lbl  { color: var(--ink-3); }
.ba-callout--savings .ba-callout-lbl  { color: var(--primary); }
.ba-callout-lbl {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .625rem;
}
.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.ba-list li::before {
  content: '• ';
  color: var(--border-hi);
}
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ─── THE MODEL ──────────────────────────────────── */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
.fee-table { margin-top: 2rem; }
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.fee-row:last-child { border-bottom: none; }
.fee-row:first-child { border-top: 1px solid var(--border); }
.fee-lbl { color: var(--ink-2); flex-shrink: 0; }
.fee-val { font-weight: 500; color: var(--ink); text-align: right; }
.fee-val--good { color: var(--success); }
.model-right { padding-top: .75rem; }
.legal-note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: oklch(from var(--primary) l c h / .07);
  border: 1px solid oklch(from var(--primary) l c h / .18);
  border-radius: 3px;
  font-size: .875rem;
  line-height: 1.58;
  color: var(--ink-2);
}
.legal-note strong { color: var(--primary); font-weight: 500; }

/* ─── WHO ────────────────────────────────────────── */
.who-c-qmark {
  display: block;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.75;
  color: var(--primary);
  font-weight: 300;
  margin-bottom: 0.125rem;
}
.who-c-quote {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  text-wrap: balance;
  max-width: 20ch;
}
.who-c-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.who-c-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
}
.who-c-join { flex: 1; max-width: 36ch; }
.who-c-join-h {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.625rem;
}
.who-c-join-p {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ─── WHO kinetic reveal (JS adds .who-kinetic) ─── */
.who-kinetic .who-c-qmark {
  opacity: 0;
  transform: scale(0.65);
  transform-origin: left bottom;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.who-kinetic .who-c-qmark.on { opacity: 1; transform: none; }
.who-kinetic .who-c-rule {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 750ms var(--ease-out);
}
.who-kinetic .who-c-rule.drawn { transform: scaleX(1); }
.who-kinetic .who-c-quote .word-reveal {
  display: inline-block;
  clip-path: inset(0 0 105% 0);
  transform: translateY(0.38em);
  transition: clip-path 480ms var(--ease-out), transform 480ms var(--ease-out);
  transition-delay: var(--word-d, 0ms);
  will-change: clip-path, transform;
}
.who-kinetic .who-c-quote.words-on .word-reveal {
  clip-path: inset(0 0 0% 0);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .who-kinetic .who-c-qmark { opacity: 1 !important; transform: none !important; transition: none !important; }
  .who-kinetic .who-c-rule  { transform: scaleX(1) !important; transition: none !important; }
  .who-kinetic .who-c-quote .word-reveal { clip-path: none !important; transform: none !important; transition: none !important; }
}

/* ─── DEMO / FORM ────────────────────────────────── */
#demo { position: relative; overflow: hidden; }
#demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 75% 50%,
    oklch(from var(--primary) l c h / .05) 0%, transparent 70%);
  pointer-events: none;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
  position: relative;
}
.demo-left { padding-top: 1rem; }
.demo-promises { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.promise-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 1rem; color: var(--ink-2); line-height: 1.55; }
.promise-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  padding: 2.25rem;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 0; }
.form-lbl { font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .9375rem;
  padding: .75rem 1rem;
  -webkit-appearance: none;
  transition: border-color 160ms var(--ease-std), box-shadow 160ms var(--ease-std);
}
.form-input::placeholder { color: var(--placeholder); }
.form-input:focus {
  outline: none;
  border-color: oklch(from var(--primary) l c h / .55);
  box-shadow: 0 0 0 3px oklch(from var(--primary) l c h / .10);
}
.form-input.err {
  border-color: oklch(0.55 0.18 25 / .70);
  box-shadow: 0 0 0 3px oklch(0.55 0.18 25 / .09);
}
.field-err { display: none; font-size: .78rem; color: var(--error); margin-top: .25rem; }
.field-err.on { display: block; }
.server-err {
  display: none;
  margin-top: 1rem;
  padding: .875rem 1.125rem;
  background: oklch(0.55 0.18 25 / .09);
  border: 1px solid oklch(0.55 0.18 25 / .22);
  border-radius: 2px;
  font-size: .875rem;
  color: var(--error);
}
.server-err.on { display: block; }
.btn-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: .9rem;
  font-size: .9375rem;
  border-radius: 2px;
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
}
.form-success.on { display: flex; }
.success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: oklch(from var(--primary) l c h / .12);
  border: 1px solid oklch(from var(--primary) l c h / .28);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.success-h {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--ink);
}
.success-body { font-size: .9375rem; color: var(--ink-2); max-width: 34ch; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  padding-block: 2.75rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-wm { font-family: var(--font-serif); font-size: .9375rem; color: var(--ink-3); letter-spacing: -.01em; }
.footer-wm b { color: var(--primary); font-weight: 500; }
.footer-legal { font-size: .75rem; color: var(--ink-3); line-height: 1.55; max-width: 64ch; }

/* ─── Insight stat block (no card chrome) ────────── */
.mech-insight .problem-grid {
  align-items: stretch;
  gap: clamp(2rem, 4vw, 3.25rem);
}
.mech-insight .problem-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insight-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.mech-insight-lead {
  font-size: .875rem;
  color: var(--ink-3);
  margin-bottom: .5rem;
}
.mech-insight .big-num { line-height: .85; }
.mech-insight .big-num-unit { color: var(--primary); }
.big-num-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; }
.mech-insight .data-label { margin-top: 1.25rem; max-width: 100%; }

.insight-points { display: flex; flex-direction: column; gap: 1.25rem; }
.insight-points .promise-item { font-size: 1.0625rem; color: var(--ink-2); }
.insight-points .promise-dot { margin-top: .5rem; }

/* ─── Go-to-market band ──────────────────────────── */
.gtm-band {
  background: var(--primary);
  color: var(--btn-primary-ink);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.gtm-band-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: oklch(from var(--btn-primary-ink) l c h / .72);
  margin-bottom: 1.25rem;
}
.gtm-band-text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -.02em;
  max-width: 32ch;
  margin-inline: auto;
  text-wrap: balance;
}
.gtm-band-text strong { font-weight: 500; }
.gtm-band .btn-primary {
  background: oklch(0.98 0 0);
  color: var(--primary);
  border-color: transparent;
}
.gtm-band .btn-primary:hover {
  background: oklch(1 0 0);
}

/* ─── Pre-GTM CTA ───────────────────────────────── */
.pre-gtm-cta {
  background: var(--bg);
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  text-align: center;
}
.pre-gtm-cta .hero-ctas { justify-content: center; }

/* ─── Mid-page CTA ──────────────────────────────── */
.mid-cta {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding-block: clamp(2.75rem, 5vw, 4rem);
  text-align: center;
}
.mid-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mid-cta-headline {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

/* ─── Demo confirmation header ─────────────────── */
.demo-confirm {
  padding-top: calc(var(--nav-h) + clamp(3rem, 5vw, 4.5rem));
  padding-bottom: clamp(1rem, 1.5vw, 1.5rem);
}
.demo-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
  color: var(--ink);
  margin-bottom: 0;
}

/* ─── Demo agenda card ───────────────────────────── */
.demo-agenda-section { padding-block: clamp(2rem, 3vw, 3rem); }
.demo-agenda-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 3.5vw, 3rem);
}
.demo-agenda-card .section-label { margin-bottom: 1.5rem; }
.demo-agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}
.demo-agenda-item { display: flex; flex-direction: column; gap: .375rem; }
.demo-agenda-num {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--primary);
  opacity: .55;
}
.demo-agenda-text { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }

/* ─── Demo comparison tool layout ────────────────── */
.demo-tool-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(2rem, 3vw, 2.5rem);
}
.demo-tool-text p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.demo-tool-text .demo-promises { margin-top: 0; }
.demo-tool-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ─── Spinner ────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid oklch(from var(--btn-primary-ink) l c h / .30);
  border-top-color: var(--btn-primary-ink);
  border-radius: 50%;
  animation: spin 550ms linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ─── COMPARISON TABLE ───────────────────────────────── */
.cmp-wrap { overflow-x: auto; margin-top: 2.5rem; -webkit-overflow-scrolling: touch; }
.cmp-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 1rem;
}
.cmp-th {
  text-align: left;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: .875rem 1.5rem;
  border-bottom: 2px solid var(--border-hi);
}
.cmp-th--hi { color: var(--primary); border-bottom-color: var(--primary); }
.cmp-td {
  vertical-align: top;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  color: var(--ink-2);
  width: 50%;
}
.cmp-td--shared {
  width: 100%;
  color: var(--ink-3);
  font-size: .9375rem;
  background: var(--surface);
}
.cmp-td--hi { color: var(--ink); font-weight: 500; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 860px) {
  .problem-grid, .mech-parts, .why-grid,
  .model-grid, .demo-grid,
  .hero-sub-grid,
  .demo-agenda-grid, .demo-tool-grid { grid-template-columns: 1fr; }
  .who-c-bottom { flex-direction: column; }
  .problem-stats { padding-top: 0; }
  .mech-note--layered { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-sub-grid .hero-sub {
    color: var(--ink);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    max-width: none;
  }
}
@media (max-width: 540px) {
  #nav { padding-inline: 1.25rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .fee-row { flex-direction: column; gap: .25rem; }
  .fee-val { text-align: left; }
  .footer-inner { flex-direction: column; }

}
