/* OpenTurn website.
   Layout: white ground with soft teal and orange glows; content sits on frosted-glass panels;
   heavy, tight Geist headings; one animated call in the hero.
   Colour tokens mirror the OpenTurn Design System (tokens.json). */

:root {
  /* ramps */
  --teal-50: #eafbf8; --teal-100: #d4f5ef; --teal-200: #b1eae0; --teal-300: #82d7c9; --teal-400: #4cac9e;
  --teal-500: #369185; --teal-600: #25786d; --teal-700: #196057; --teal-800: #124a42; --teal-900: #0a332d; --teal-950: #041a17;
  --orange-50: #fef5ee; --orange-100: #ffe8d7; --orange-200: #fed5b6; --orange-300: #fcbb88; --orange-400: #f4a462;
  --orange-500: #db873d; --orange-600: #b86a1e; --orange-700: #925008; --orange-800: #6a3a07; --orange-900: #482708; --orange-950: #2a1503;
  --neutral-50: #f6faf9; --neutral-100: #eef3f2; --neutral-200: #dce3e2; --neutral-300: #c2cbc9; --neutral-400: #899391;
  --neutral-500: #75807e; --neutral-600: #596361; --neutral-700: #414a48; --neutral-800: #28302e; --neutral-900: #141b1a; --neutral-950: #090f0e;

  /* semantic, light */
  --bg: #ffffff;
  --sf: #ffffff;
  --sf2: var(--neutral-100);
  --tint: var(--teal-50);
  --tx: var(--neutral-950);
  --mu: var(--neutral-600);
  --fa: var(--neutral-400);
  --line: rgba(9, 15, 14, 0.11);
  --line-strong: var(--neutral-500);
  --ac: var(--teal-600);
  --on-ac: #ffffff;
  --aci: var(--teal-700);
  --acf: var(--teal-100);
  --brand: var(--teal-800);
  --on-brand: #ffffff;
  --brand-mu: var(--teal-200);
  --turn: var(--orange-400);
  --on-turn: var(--orange-950);
  --turn-ink: var(--orange-700);
  --focus: var(--teal-700);
  --dg: #c4323a;
  --logo-teal: #4cac9e;
  --logo-orange: #f4a462;

  /* glass and glow */
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(9, 15, 14, 0.08);
  --glass-hi: rgba(255, 255, 255, 0.95);
  --glow-teal: rgba(76, 172, 158, 0.42);
  --glow-orange: rgba(244, 164, 98, 0.38);
  --phone-frame: #0b1a17;
  --shadow-card: 0 10px 30px rgba(9, 15, 14, 0.08);
  --shadow-raised: 0 18px 48px rgba(9, 15, 14, 0.12);
  --shadow-button: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 32px rgba(37, 120, 109, 0.32);
  --shadow-frame: 0 40px 80px rgba(9, 15, 14, 0.22), 0 0 0 1px rgba(9, 15, 14, 0.06);

  /* type, space, shape */
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wordmark: "Nunito", "Geist", system-ui, sans-serif;
  --radius-14: 14px; --radius-22: 22px; --radius-28: 28px; --radius-pill: 9999px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --header-h: 84px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #061210;
  --sf: #0b1a17;
  --sf2: #12231f;
  --tint: var(--teal-950);
  --tx: var(--neutral-50);
  --mu: var(--neutral-400);
  --fa: var(--neutral-500);
  --line: rgba(246, 250, 249, 0.12);
  --ac: var(--teal-400);
  --on-ac: var(--teal-950);
  --aci: var(--teal-300);
  --acf: rgba(76, 172, 158, 0.18);
  --turn-ink: var(--orange-300);
  --focus: var(--teal-300);
  --dg: #f0616a;
  --glass: rgba(18, 35, 31, 0.55);
  --glass-strong: rgba(18, 35, 31, 0.78);
  --glass-edge: rgba(246, 250, 249, 0.09);
  --glass-hi: rgba(255, 255, 255, 0.08);
  --glow-teal: rgba(76, 172, 158, 0.30);
  --glow-orange: rgba(244, 164, 98, 0.20);
  --phone-frame: #020807;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-raised: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-button: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 32px rgba(76, 172, 158, 0.25);
  --shadow-frame: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 250, 249, 0.08);
  color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #061210;
  --sf: #0b1a17;
  --sf2: #12231f;
  --tint: var(--teal-950);
  --tx: var(--neutral-50);
  --mu: var(--neutral-400);
  --fa: var(--neutral-500);
  --line: rgba(246, 250, 249, 0.12);
  --ac: var(--teal-400);
  --on-ac: var(--teal-950);
  --aci: var(--teal-300);
  --acf: rgba(76, 172, 158, 0.18);
  --turn-ink: var(--orange-300);
  --focus: var(--teal-300);
  --dg: #f0616a;
  --glass: rgba(18, 35, 31, 0.55);
  --glass-strong: rgba(18, 35, 31, 0.78);
  --glass-edge: rgba(246, 250, 249, 0.09);
  --glass-hi: rgba(255, 255, 255, 0.08);
  --glow-teal: rgba(76, 172, 158, 0.30);
  --glow-orange: rgba(244, 164, 98, 0.20);
  --phone-frame: #020807;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-raised: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-button: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 32px rgba(76, 172, 158, 0.25);
  --shadow-frame: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 250, 249, 0.08);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.smooth { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 17px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--aci); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--tx); }
h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
h3, h4 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--ac); color: var(--on-ac); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
section[id] { scroll-margin-top: var(--header-h); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--aci);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--turn); box-shadow: 0 0 0 4px rgba(244, 164, 98, 0.22);
}
.section .eyebrow { margin-bottom: 16px; }
.lead, .section-lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--mu); max-width: 38em; }
.section-lead { margin-top: 18px; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-card);
}

.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.glow-teal { width: 560px; height: 560px; right: -120px; top: -80px; background: radial-gradient(circle, var(--glow-teal), transparent 65%); }
.glow-orange { width: 420px; height: 420px; right: 260px; top: 260px; background: radial-gradient(circle, var(--glow-orange), transparent 65%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-pill);
  font: 700 1.02rem/1 var(--font-sans); letter-spacing: -0.01em; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--ac); color: var(--on-ac); box-shadow: var(--shadow-button); border: 1px solid transparent; }
.btn-glass {
  color: var(--tx); background: var(--glass-strong); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-card);
}
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50;
  padding-inline: var(--gutter);
}
.nav {
  max-width: 1180px; margin: 12px auto 0; min-height: 60px; padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 16px; border-radius: var(--radius-pill);
  background: var(--glass-strong);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tx); margin-right: auto; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.mark-ring { fill: none; stroke: var(--logo-teal); stroke-width: 15; stroke-linecap: round; }
.mark-turn { fill: none; stroke: var(--logo-orange); stroke-width: 12; stroke-linecap: round; }
.wordmark { font: 900 1.45rem/1 var(--font-wordmark); letter-spacing: -0.02em; color: var(--tx); }
.wm-t { position: relative; }
.wm-t::after {
  content: ""; position: absolute; right: -0.02em; top: 0.14em; width: 0.26em; height: 0.17em;
  border-radius: 0 0.1em 0.1em 0; background: var(--logo-orange);
}
.theme-toggle {
  flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--glass-edge); background: transparent; color: var(--tx); cursor: pointer;
}
.theme-toggle:hover { background: var(--acf); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  color: var(--tx); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { background: var(--acf); }
@media (max-width: 900px) { .nav-links { display: none; } }
.label-short { display: none; }
@media (max-width: 400px) {
  .nav { padding-left: 14px; gap: 8px; }
  .wordmark { display: none; }
  .wordmark { font-size: 1.25rem; }
  .label-long { display: none; }
  .label-short { display: inline; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(56px, 7vw, 96px) clamp(72px, 9vw, 120px); margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero .eyebrow { margin-bottom: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--mu); font-size: 0.95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--aci);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* the phone */
.hero-visual { position: relative; display: grid; justify-items: center; min-width: 0; }
.phone {
  margin: 0; width: min(340px, 100%); padding: 11px; border-radius: 52px;
  background: var(--phone-frame); box-shadow: var(--shadow-frame);
}
.phone-screen {
  border-radius: 42px; background: var(--bg); padding: 22px 16px 16px;
  display: grid; gap: 14px; min-height: 560px; align-content: start; overflow: hidden;
}
.call-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); }
.call-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--acf); color: var(--aci); font-weight: 700; font-size: 0.9rem;
}
.call-who { display: grid; gap: 2px; min-width: 0; }
.call-who strong { font-size: 1rem; letter-spacing: -0.01em; }
.call-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--mu); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 3px rgba(76, 172, 158, 0.25); }
.captions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cap { display: grid; gap: 4px; transition: opacity 0.5s ease, transform 0.5s ease; }
.cap-label { font-size: 0.72rem; font-weight: 600; color: var(--mu); letter-spacing: 0.01em; }
.cap-text { font-size: 1.12rem; line-height: 1.38; font-weight: 500; letter-spacing: -0.01em; }
.cap.them .cap-label { color: var(--aci); }
.cap.you .cap-text { color: var(--tx); padding-left: 12px; border-left: 3px solid var(--turn); }
.reading { display: inline-flex; align-items: center; gap: 3px; font-size: 0.72rem; font-weight: 600; color: var(--aci); }
.reading span { width: 3px; height: 12px; border-radius: 2px; background: var(--aci); animation: bars 0.9s ease-in-out 8; }
.reading span:nth-child(2) { animation-delay: 0.15s; }
.reading span:nth-child(3) { animation-delay: 0.3s; }
.reading span:nth-child(4) { animation-delay: 0.45s; margin-right: 6px; }
@keyframes bars { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; transition: opacity 0.5s ease; }
.suggest-label { width: 100%; font-size: 0.72rem; font-weight: 600; color: var(--mu); }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
  background: var(--acf); color: var(--tx); font-size: 0.9rem; font-weight: 600;
}
.composer {
  display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 6px 6px 16px;
  border-radius: var(--radius-pill); background: var(--sf2); border: 1px solid var(--line);
}
.composer-field { flex: 1; color: var(--mu); font-size: 0.95rem; }
.composer-send { width: 36px; height: 36px; border-radius: 50%; background: var(--ac); flex: none; }

/* animation states (set by main.js only when motion is allowed) */
[data-call].animate .cap:not(.show) { opacity: 0; transform: translateY(10px); }
[data-call].animate .suggest:not(.show) { opacity: 0; }

.hero-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; width: 100%; }
.float-note {
  max-width: 280px; padding: 14px 16px; border-radius: var(--radius-22);
  font-size: 0.88rem; line-height: 1.4; color: var(--mu);
}
.float-note strong { display: block; color: var(--tx); font-size: 0.95rem; margin-bottom: 2px; }
/* Wide screens: the notes float beside the phone, overlapping only its bezel. */
@media (min-width: 1240px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .phone { width: 320px; }
  .hero-notes { display: contents; }
  .float-note { position: absolute; width: 196px; }
  .note-one { left: calc(50% - 160px - 196px + 22px); top: 16%; }
  .note-two { right: calc(50% - 160px - 196px + 22px); bottom: 14%; }
}

/* ---------- relay comparison ---------- */
#relay { background: var(--tint); overflow: clip; }
#relay::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-teal), transparent 65%); filter: blur(60px); pointer-events: none;
}
#relay .wrap { position: relative; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 820px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.path { grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-28); padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; align-content: start; min-width: 0; }
.route { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.hop {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill);
  background: var(--sf); border: 1px solid var(--line); font-weight: 700; font-size: 0.98rem;
}
.hop-middle { border-style: dashed; border-color: var(--line-strong); color: var(--mu); background: transparent; }
.link { flex: 1; min-width: 18px; height: 2px; background: var(--line-strong); opacity: 0.6; }
.link-direct { height: 4px; border-radius: 4px; opacity: 1; background: linear-gradient(90deg, var(--teal-400), var(--teal-600)); }
.path-open { background: var(--glass-strong); border-color: rgba(76, 172, 158, 0.35); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--aci);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 400px) {
  .path { padding: 16px; }
  .hop { padding: 0 10px; font-size: 0.88rem; min-height: 40px; }
  .link { min-width: 6px; }
}
.ticks-cross li { color: var(--mu); }
.ticks-cross li::before {
  background: var(--mu);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7 7l10 10M17 7L7 17%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.6%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7 7l10 10M17 7L7 17%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.6%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ---------- shared section pieces ---------- */
#relay, #real-life, #privacy { background: var(--tint); }
.fine { margin-top: 20px; font-size: 0.95rem; color: var(--mu); }
.subhead { margin: 56px 0 18px; font-size: 1.4rem; letter-spacing: -0.02em; }
.chip-row, .chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { border-radius: var(--radius-28); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.step p { color: var(--mu); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acf); color: var(--aci); font-weight: 800; font-size: 1.05rem;
}
.step-demo {
  margin-top: 8px; min-height: 64px; padding: 14px; border-radius: var(--radius-22);
  background: var(--sf2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.step-demo-caption { display: grid; gap: 4px; font-size: 1.08rem; font-weight: 500; }
.step-demo-caption .cap-label { color: var(--aci); }
.wave { display: inline-flex; align-items: center; gap: 5px; height: 36px; }
.wave span { width: 5px; height: 100%; border-radius: 4px; background: var(--ac); animation: bars 1.1s ease-in-out 8; }
.wave span:nth-child(2n) { animation-delay: 0.18s; } .wave span:nth-child(3n) { animation-delay: 0.36s; }
.wave span:nth-child(4) { background: var(--turn); }

/* ---------- real life ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.cases-coming { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.case { border-radius: var(--radius-28); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.case p { color: var(--mu); }
.case-wide { grid-column: span 2; }
.case-icon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--acf); fill: none; stroke: var(--aci); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.case-icon circle { fill: var(--aci); stroke: none; }
.badge-coming {
  justify-self: start; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  background: var(--turn); color: var(--on-turn); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
}
.cases-coming .case { background: var(--glass); border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
@media (max-width: 1000px) {
  .cases, .cases-coming { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .cases, .cases-coming { grid-template-columns: minmax(0, 1fr); }
  .case-wide { grid-column: auto; }
}

/* ---------- features ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tile { border-radius: var(--radius-22); padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.tile p { color: var(--mu); font-size: 0.98rem; }
.tile h3 { font-size: 1.1rem; }
.build h4 { font-size: 1.1rem; }
.tile-wide { grid-column: span 2; grid-row: span 1; }
.tile .chips { margin-top: 8px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile-wide { grid-column: auto; } }

/* ---------- privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 820px) { .privacy-grid { grid-template-columns: minmax(0, 1fr); } }
.privacy-col { border-radius: var(--radius-28); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.privacy-col strong { color: var(--tx); }
.privacy-col li { color: var(--mu); }
.ticks-alert li::before { background: var(--turn-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%279%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27/%3E%3Cpath d=%27M12 7.5v5.5%27 stroke=%27black%27 stroke-width=%272.4%27 stroke-linecap=%27round%27/%3E%3Ccircle cx=%2712%27 cy=%2716.6%27 r=%271.4%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%279%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27/%3E%3Cpath d=%27M12 7.5v5.5%27 stroke=%27black%27 stroke-width=%272.4%27 stroke-linecap=%27round%27/%3E%3Ccircle cx=%2712%27 cy=%2716.6%27 r=%271.4%27/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- brand section: why it matters ---------- */
.section-brand { background: var(--brand); color: var(--on-brand); overflow: clip; }
.section-brand::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 172, 158, 0.55), transparent 65%); filter: blur(60px); pointer-events: none;
}
.section-brand::after {
  content: ""; position: absolute; width: 420px; height: 420px; left: 10%; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 164, 98, 0.35), transparent 65%); filter: blur(60px); pointer-events: none;
}
.section-brand .wrap { position: relative; z-index: 1; }
.section-brand h2 { color: var(--on-brand); }
.section-brand .eyebrow { color: var(--brand-mu); }
.section-brand .section-lead { color: var(--brand-mu); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat {
  display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius-28); min-width: 0;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.stat strong { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--on-brand); font-variant-numeric: tabular-nums; }
.stat span { color: var(--brand-mu); line-height: 1.45; }
.source { margin-top: 24px; font-size: 0.9rem; color: var(--brand-mu); }
.section-brand :focus-visible { outline-color: var(--on-brand); }


/* ---------- roadmap ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
@media (max-width: 1000px) { .phases { grid-template-columns: minmax(0, 1fr); } }
.phase { border-radius: var(--radius-28); padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px; min-width: 0; }
.phase h3 { font-size: 1.35rem; }
.phase-tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px;
  border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
}
.phase-tag-now { background: var(--acf); color: var(--aci); }
.phase-tag-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 3px rgba(76, 172, 158, 0.25); }
.phase-tag-next { background: var(--sf2); color: var(--tx); }
.phase-tag-goal { background: var(--turn); color: var(--on-turn); }
.phase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.phase-list li { position: relative; padding-left: 20px; color: var(--mu); line-height: 1.45; }
.phase-list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); }
.phase-list strong { color: var(--tx); }
.phase-goal { border-color: rgba(244, 164, 98, 0.55); box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 48px rgba(244, 164, 98, 0.16); }
.phase-goal .phase-list li::before { background: var(--turn); }

/* ---------- for government ---------- */
#funders { background: var(--tint); }
.builds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 1000px) { .builds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .builds { grid-template-columns: minmax(0, 1fr); } }
.build { border-radius: var(--radius-22); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.build::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--turn); }
.build p { color: var(--mu); }
.status {
  margin-top: 20px; border-radius: var(--radius-28); padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
}
.status p { max-width: 46em; color: var(--mu); }
.status strong { color: var(--tx); }

/* ---------- join ---------- */
#join { overflow: clip; }
.glow-join { left: auto; right: -160px; top: 40px; }
#join .wrap { position: relative; z-index: 1; }
.forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
@media (max-width: 860px) { .forms { grid-template-columns: minmax(0, 1fr); } }
.form { border-radius: var(--radius-28); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; min-width: 0; background: var(--glass-strong); }
.form-intro { color: var(--mu); margin-top: -8px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--mu); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-14);
  border: 1px solid var(--line-strong); background: var(--sf); color: var(--tx); font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--dg); }
.field-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.field-check input { width: 22px; height: 22px; accent-color: var(--ac); }
.field-check label { font-weight: 500; }
.field-error { color: var(--dg); font-size: 0.9rem; font-weight: 600; }
.form .btn { justify-self: start; }
.form-done:empty { padding: 0; background: none; }
.form-done { padding: 14px 16px; border-radius: var(--radius-14); background: var(--acf); color: var(--tx); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--brand); color: var(--brand-mu); padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px)); overflow: clip; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer .wordmark { color: var(--on-brand); }
.footer-brand { display: grid; gap: 12px; }
.footer-brand .brand { margin-right: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 4px 24px; }
.footer-links a { color: var(--on-brand); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.footer-fine { display: grid; gap: 12px; font-size: 0.95rem; }
.footer-fine strong { color: var(--on-brand); }
.site-footer :focus-visible { outline-color: var(--on-brand); }

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html.smooth { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-call].animate .cap:not(.show), [data-call].animate .suggest:not(.show) { opacity: 1; transform: none; }
}

.h1-line { display: block; }
