/* Spit AI — website styles, built on the app's Orbit design system.
   Dark is the home of the design: deep ink with a warm gold accent.
   Light keeps the same roles on warm paper with a deeper amber. */

:root {
  --ground: #12141C;
  --ground-rgb: 18 20 28;
  --surface: #1A1D28;
  --sunken: #161922;
  --raised: #2A2F40;
  --fill: #222634;
  --divider: #262A38;
  --border: #2B3042;
  --ink: #EEF0F6;
  --ink-soft: #9AA1B5;
  --ink-faint: #8088A0;
  --accent: #F5B759;
  --accent-deep: #FFD08A;
  --accent-tint: #2E2718;
  --accent-track: #4A3F28;
  --on-accent: #12141C;
  --record: #FF8A65;
  --record-tint: #3A2219;
  --record-text: #FFB49E;
  --record-border: #5A3328;
  --inverse: #EEF0F6;
  --on-inverse: #12141C;
  --inverse-accent: #8A5A00;
  --guess-border: #C99A4A;
  --guess-fill: #241F14;
  --gold: #F5B759;
  --done: #8FD3B6;
  --ring-track: #1D202B;
  --ring-awake: #262A38;
  --ring-night: #15171F;
  --ring-elapsed: #3B3426;
  --glow: rgba(245, 183, 89, 0.10);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);

  --r-chip: 10px;
  --r-control: 14px;
  --r-card: 18px;
  --r-panel: 22px;
  --r-sheet: 28px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #F6F4EF;
    --ground-rgb: 246 244 239;
    --surface: #FFFFFF;
    --sunken: #ECE8E0;
    --raised: #FFFFFF;
    --fill: #EFEBE3;
    --divider: #E9E5DC;
    --border: #E3DFD6;
    --ink: #1C1E26;
    --ink-soft: #5D6273;
    --ink-faint: #737887;
    --accent: #94600A;
    --accent-deep: #6E4600;
    --accent-tint: #F6E7C8;
    --accent-track: #E6CF9F;
    --on-accent: #FFFFFF;
    --record: #C4502A;
    --record-tint: #F9E2D8;
    --record-text: #A33F1E;
    --record-border: #EFC4B2;
    --inverse: #1C1E26;
    --on-inverse: #F6F4EF;
    --inverse-accent: #F5B759;
    --guess-border: #B58A3E;
    --guess-fill: #FBF3E2;
    --gold: #E2A43B;
    --done: #2E8B66;
    --ring-track: #E9E5DC;
    --ring-awake: #DDD7CA;
    --ring-night: #CFC8BA;
    --ring-elapsed: #F2D9A3;
    --glow: rgba(226, 164, 59, 0.16);
    --shadow: 0 30px 70px -34px rgba(60, 45, 20, 0.35), 0 0 0 1px var(--border);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --ground: #F6F4EF;
  --ground-rgb: 246 244 239;
  --surface: #FFFFFF;
  --sunken: #ECE8E0;
  --raised: #FFFFFF;
  --fill: #EFEBE3;
  --divider: #E9E5DC;
  --border: #E3DFD6;
  --ink: #1C1E26;
  --ink-soft: #5D6273;
  --ink-faint: #737887;
  --accent: #94600A;
  --accent-deep: #6E4600;
  --accent-tint: #F6E7C8;
  --accent-track: #E6CF9F;
  --on-accent: #FFFFFF;
  --record: #C4502A;
  --record-tint: #F9E2D8;
  --record-text: #A33F1E;
  --record-border: #EFC4B2;
  --inverse: #1C1E26;
  --on-inverse: #F6F4EF;
  --inverse-accent: #F5B759;
  --guess-border: #B58A3E;
  --guess-fill: #FBF3E2;
  --gold: #E2A43B;
  --done: #2E8B66;
  --ring-track: #E9E5DC;
  --ring-awake: #DDD7CA;
  --ring-night: #CFC8BA;
  --ring-elapsed: #F2D9A3;
  --glow: rgba(226, 164, 59, 0.16);
  --shadow: 0 30px 70px -34px rgba(60, 45, 20, 0.35), 0 0 0 1px var(--border);
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--accent-track); color: var(--ink); }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-control);
  background: var(--inverse);
  color: var(--on-inverse);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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;
}

/* Times use tabular figures, as in the app. */
.time { font-variant-numeric: tabular-nums; }

/* ── Type ─────────────────────────────────────────────────────────────── */

.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.h-hero {
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.h-section {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.h-card {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
}
.body-soft { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.gold { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { flex: none; }

.btn-primary { background: var(--gold); color: #12141C; }
.btn-primary:hover { background: #F8C578; }
:root[data-theme="light"] .btn-primary:hover { background: #D99A2F; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .btn-primary:hover { background: #D99A2F; }
}

.btn-store {
  background: var(--inverse);
  color: var(--on-inverse);
  padding: 0 24px 0 20px;
  min-height: 56px;
}
.btn-store:hover { opacity: 0.9; }
.btn-store .store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-store .store-text small { font-size: 11px; font-weight: 600; opacity: 0.75; }
.btn-store .store-text span { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); }

.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  transition: background-color .25s var(--ease);
}
.icon-btn:hover { background: var(--fill); }

/* ── Navigation ───────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(var(--ground-rgb) / 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--divider); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand svg { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: none; }
}

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px var(--gutter) 20px;
    background: var(--ground);
    border-bottom: 1px solid var(--divider);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { min-height: 52px; font-size: 17px; padding: 0 12px; }
  .nav-cta { display: none; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */

section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head .lede { margin: 0; }
.divider-top { border-top: 1px solid var(--divider); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(36px, 6vw, 72px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -10%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { color: var(--done); }

.hero-visual { position: relative; display: flex; justify-content: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: left; }
}

/* ── Phone mockup: iPhone 18 Pro ──────────────────────────────────────────
   The screen is laid out at the real 402 × 874 pt size (2622 × 1206 px at
   3x), so the app UI keeps true proportions. site.js sets --phone-zoom to
   fit the device into its .phone-fit slot. No fake status bar. */

.phone-fit {
  width: min(100%, var(--phone-max, 372px));
  min-width: 0;
  margin: 0 auto;
}
.phone {
  position: relative;
  width: 424px;
  zoom: var(--phone-zoom, 0.877);
  border-radius: 73px;
  padding: 11px;
  background: linear-gradient(160deg, var(--border), var(--sunken));
  box-shadow: var(--shadow);
}
.phone-screen {
  position: relative;
  width: 402px;
  height: 874px;
  border-radius: 62px;
  overflow: hidden;
  background: var(--ground);
  display: flex;
  flex-direction: column;
}
/* The iPhone 18 Pro's smaller Dynamic Island, and the home indicator. */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 100px;
  height: 31px;
  margin-left: -50px;
  border-radius: 16px;
  background: #000;
  z-index: 10;
}
.phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 140px;
  height: 5px;
  margin-left: -70px;
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.85;
  z-index: 10;
}

/* Home screen inside the phone */
.app-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 62px 18px 0;
}
.app-head .titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.app-head span { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.app-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #12141C;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  position: relative;
  flex: none;
}
.app-avatar::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--done);
  border: 2.5px solid var(--ground);
}
.app-chip-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

.seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.seg span, .seg button {
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  cursor: default;
}
.seg .on { background: var(--raised); color: var(--ink); }

.app-ring { padding: 4px 6px 0; }
.app-loose { padding: 4px 18px 0; display: flex; flex-direction: column; gap: 8px; }
.app-loose .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.chip.done { color: var(--ink-faint); text-decoration: line-through; }

.app-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 42px;
}
.app-foot p { flex: 1; font-size: 12px; font-weight: 600; color: var(--ink-soft); line-height: 1.45; }
.mic {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #12141C;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.mic::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: mic-pulse 2.6s var(--ease) infinite;
}
@keyframes mic-pulse {
  0% { transform: scale(0.9); opacity: 0.55; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}

/* ── Ring (SVG drawn by ring.js) ──────────────────────────────────────── */

.ring { position: relative; width: 100%; aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring .r-track { stroke: var(--ring-track); }
.ring .r-awake { stroke: var(--ring-awake); }
.ring .r-night { stroke: var(--ring-night); }
.ring .r-elapsed { stroke: var(--ring-elapsed); }
.ring .r-busy { fill: var(--accent-track); }
.ring .r-label { fill: var(--ink-faint); font-size: 10px; font-weight: 700; font-family: var(--font); }
.ring .r-hand { stroke: var(--gold); }
.ring .r-hub-dot { fill: var(--gold); }
.ring .r-dot { fill: var(--ink); stroke: var(--ground); stroke-width: 3; }
.ring .r-dot.missed { fill: var(--record); }
.ring .r-halo { fill: none; stroke: var(--gold); stroke-width: 4; }
.ring .r-tick { fill: var(--done); stroke: var(--ring-track); stroke-width: 2; }
.ring .r-cluster { fill: var(--surface); stroke: var(--ink-soft); stroke-width: 3; }
.ring .r-cluster-n { fill: var(--ink); font-size: 14px; font-weight: 800; font-family: var(--font); }
.ring .r-sun { fill: var(--gold); stroke: var(--ground); stroke-width: 3; }
.ring .r-moon { fill: var(--ink-soft); stroke: var(--ground); stroke-width: 3; }
.ring .r-glyph { stroke: var(--ground); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ring g, .ring path, .ring circle, .ring line, .ring text { transition: opacity .3s var(--ease); }
.ring .pop { animation: dot-pop .5s var(--ease) both; }
@keyframes dot-pop { from { transform: scale(0); } to { transform: scale(1); } }
.ring .pop { transform-box: fill-box; transform-origin: center; }

.ring-hub {
  position: absolute;
  left: 50%; top: 50%;
  width: 44%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.ring-hub .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.ring-hub .tag.missed { color: var(--record-text); }
.ring-hub .tag.done { color: var(--done); }
.ring-hub strong { font-size: 17px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.ring-hub small { font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.ring-hub .hub-btn {
  cursor: default;
  margin-top: 6px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--inverse);
  color: var(--on-inverse);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

/* Spotlight: dim everything but the legend item being explained. */
.ring[data-focus] svg [data-part] { opacity: 0.18; }
.ring[data-focus="hand"] svg [data-part="hand"],
.ring[data-focus="dots"] svg [data-part="dot"],
.ring[data-focus="dots"] svg [data-part="next"],
.ring[data-focus="next"] svg [data-part="next"],
.ring[data-focus="done"] svg [data-part="tick"],
.ring[data-focus="missed"] svg [data-part="missed"],
.ring[data-focus="cluster"] svg [data-part="cluster"],
.ring[data-focus="night"] svg [data-part="night"],
.ring[data-focus="night"] svg [data-part="sunmoon"],
.ring[data-focus] svg [data-part="base"] { opacity: 1; }

/* ── How it works ─────────────────────────────────────────────────────── */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.steps { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.step {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-panel);
  border: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { background: var(--surface); }
.step[aria-current="step"] { background: var(--surface); border-color: var(--accent-track); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--fill);
  font-weight: 800;
  font-size: 15px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.step[aria-current="step"] .step-num { background: var(--gold); color: #12141C; }
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin: 2px 0 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.step-bar {
  grid-column: 2;
  height: 3px;
  border-radius: 2px;
  background: var(--fill);
  overflow: hidden;
  margin-top: 14px;
  display: none;
}
.step[aria-current="step"] .step-bar { display: block; }
.step-bar i { display: block; height: 100%; width: 0; background: var(--gold); }

.demo-controls { display: flex; gap: 10px; margin-top: 18px; align-items: center; }

/* Capture screen in the demo phone */
.cap { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 62px 18px 42px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.cap[hidden] { display: flex; opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.cap-top { display: flex; align-items: center; justify-content: space-between; }
.rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--record-tint);
  border: 1px solid var(--record-border);
  color: var(--record-text);
  font-size: 12px;
  font-weight: 700;
}
.rec-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--record); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.cap-close { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.transcript {
  margin-top: 34px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  min-height: 200px;
}
.transcript .w { opacity: 0; transition: opacity .25s var(--ease); }
.transcript .w.in { opacity: 1; }
.transcript mark {
  background: transparent;
  color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease);
  border-radius: 6px;
  padding: 0 3px;
  margin: 0 -1px;
}
.transcript mark.lit { background: var(--accent-tint); color: var(--accent-deep); }
.found { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.found-pop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-control);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  animation: rise .45s var(--ease) both;
}
.found-pop .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.found-pop small { margin-left: auto; color: var(--ink-soft); font-weight: 600; font-size: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin-top: auto; }
.wave i { width: 4px; border-radius: 2px; background: var(--record); height: 20%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; }
.wave i:nth-child(3n) { animation-delay: -.6s; }
.wave i:nth-child(5n) { animation-delay: -.8s; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 90%; } }
.done-talk {
  margin-top: 14px;
  height: 52px;
  border-radius: 999px;
  background: var(--inverse);
  color: var(--on-inverse);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}

/* Review */
.review-head { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.review-head h4 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.review-head p { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.drafts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.draft {
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: rise .45s var(--ease) both;
}
.draft:nth-child(2) { animation-delay: .12s; }
.draft:nth-child(3) { animation-delay: .24s; }
.draft-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.draft-title .box { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); flex: none; display: flex; align-items: center; justify-content: center; }
.draft-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-chip);
  background: var(--fill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.guess {
  background: var(--guess-fill);
  border: 1.5px dashed var(--guess-border);
  color: var(--accent-deep);
}
:root[data-theme="light"] .pill.guess { color: var(--accent-deep); }
.hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.hint .pill.guess { height: 22px; padding: 0 8px; font-size: 11px; }
.save-btn {
  margin-top: auto;
  height: 52px;
  border-radius: 999px;
  background: var(--gold);
  color: #12141C;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}

/* Saved toast */
.toast {
  position: absolute;
  left: 18px; right: 18px; bottom: 116px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--r-card);
  background: var(--inverse);
  color: var(--on-inverse);
  font-size: 13.5px;
  font-weight: 600;
  animation: rise .4s var(--ease) both;
}
.toast b { margin-left: auto; color: var(--inverse-accent); font-weight: 700; }

/* ── The ring section ─────────────────────────────────────────────────── */

.ring-section {
  background: var(--sunken);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.ring-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.ring-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ring-stage .ring { max-width: 500px; }
.ring-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.ring-controls .seg button { cursor: pointer; height: 36px; padding: 0 14px; font-size: 13px; }
.ring-controls .seg button:hover { color: var(--ink); }
.ring-controls .seg button[aria-pressed="true"] { background: var(--raised); color: var(--ink); }
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.toggle .knob {
  width: 40px; height: 24px;
  border-radius: 12px;
  background: var(--fill);
  position: relative;
  transition: background-color .25s var(--ease);
}
.toggle .knob::after {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink-soft);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.toggle[aria-checked="true"] .knob { background: var(--gold); }
.toggle[aria-checked="true"] .knob::after { transform: translateX(16px); background: #12141C; }

.legend { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.legend button {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--r-card);
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.legend button:hover, .legend button[aria-pressed="true"] { background: var(--surface); border-color: var(--border); }
.legend .glyph { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.legend strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.legend .desc { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; line-height: 1.5; }
.g-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--ground); }
.g-next { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--sunken), 0 0 0 6px var(--gold); }
.g-done { width: 12px; height: 12px; border-radius: 50%; background: var(--done); }
.g-missed { width: 14px; height: 14px; border-radius: 50%; background: var(--record); }
.g-cluster { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ink-soft); background: var(--surface); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.g-hand { width: 3px; height: 22px; border-radius: 2px; background: var(--gold); transform: rotate(35deg); }
.g-night { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #12141C; display: flex; align-items: center; justify-content: center; }

/* ── Feature bento ────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--r-sheet);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card.wide { grid-column: span 3; }
.card.full { grid-column: span 6; }
.card .visual { margin: 6px 0 14px; min-height: 150px; display: flex; align-items: center; justify-content: center; }
.card .body-soft { max-width: 36em; }
.card .h-card { margin-top: auto; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card.wide { grid-column: span 1; }
  .card.full { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card.wide, .card.full { grid-column: span 1; }
}

/* Notification mock */
.notif {
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border-radius: 22px;
  background: var(--fill);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif .n-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.notif .n-title { font-size: 14.5px; font-weight: 700; margin-top: 2px; }
.notif .n-body { font-size: 13px; color: var(--ink-soft); }
.notif .n-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.notif .n-actions span {
  height: 36px;
  border-radius: 12px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.stack { display: flex; flex-direction: column; gap: 10px; width: 100%; align-items: center; }
.stack .notif:nth-child(2) { transform: scale(0.95); opacity: 0.6; margin-top: -4px; }

/* Repeats */
.say-rows { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.say-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.say-row q { font-size: 14px; font-weight: 600; color: var(--ink-soft); quotes: "“" "”"; }
.say-row svg { color: var(--ink-faint); flex: none; }

/* Widgets */
.widgets { display: flex; gap: 14px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.widget {
  border-radius: 24px;
  background: var(--ground);
  border: 1px solid var(--border);
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.widget.small { width: 150px; height: 150px; }
.widget.medium { width: 316px; max-width: 100%; height: 150px; }
.widget .w-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; color: var(--ink-faint); letter-spacing: 0.06em; }
.widget .w-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 0; border-bottom: 1px solid var(--divider); }
.widget .w-row:last-child { border-bottom: 0; }
.widget .w-row .t { width: 58px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); flex: none; }
.widget .w-row .c { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink-faint); margin-left: auto; flex: none; }
.widget .w-row.next .t { color: var(--accent); }
.widget .w-mic { margin: auto; width: 62px; height: 62px; border-radius: 50%; background: var(--gold); color: #12141C; display: flex; align-items: center; justify-content: center; }
.widget .w-cap { text-align: center; font-size: 12px; font-weight: 700; }
.widget .w-ring { position: relative; width: 92px; height: 92px; margin: auto; }
.widget .w-ring b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; line-height: 1; }
.widget .w-ring b small { font-size: 9.5px; font-weight: 700; color: var(--ink-soft); margin-top: 3px; }

/* Week */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; width: 100%; }
.week .day { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.week .day.today { color: var(--accent); }
.week svg { width: 100%; max-width: 42px; }

/* Quick add */
.quick {
  width: 100%;
  max-width: 340px;
  padding: 16px;
  border-radius: var(--r-panel);
  background: var(--ground);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quick .q-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--r-control);
  background: var(--fill);
  font-size: 14px;
  font-weight: 600;
}
.quick .caret { width: 2px; height: 18px; background: var(--gold); animation: blink 1s steps(2) infinite; }
.quick .q-hint { font-size: 12px; color: var(--ink-soft); font-weight: 600; }

/* Toast in a card */
.card .toast { position: static; width: 100%; max-width: 340px; animation: none; }

/* Sync */
.devices { display: flex; align-items: center; gap: 14px; }
.device {
  position: relative;
  width: 54px; height: 117px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--ground);
  display: flex;
  align-items: center;
  justify-content: center;
}
.device.big { width: 64px; height: 139px; border-radius: 14px; }
.device::before {
  content: "";
  position: absolute;
  top: 4px; left: 50%;
  width: 16px; height: 5px; margin-left: -8px;
  border-radius: 3px;
  background: var(--ink-faint);
  opacity: 0.6;
}
.sync-line { width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 24px 0; } }

/* ── Privacy promise ──────────────────────────────────────────────────── */

.promise {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.promise-list { display: flex; flex-direction: column; list-style: none; border-top: 1px solid var(--divider); }
.promise-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--divider); }
.promise-list .p-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-control);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.promise-list h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.015em; }
.promise-list p { color: var(--ink-soft); font-size: 15px; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .how-grid, .ring-layout, .promise { grid-template-columns: minmax(0, 1fr); }
  .how-grid .demo { order: -1; }
}

/* ── Pro ──────────────────────────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.plan {
  padding: 32px;
  border-radius: var(--r-sheet);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan.pro { background: var(--inverse); color: var(--on-inverse); border-color: transparent; }
.plan.pro .plan-sub, .plan.pro li { color: var(--on-inverse); }
.plan.pro .plan-sub { opacity: 0.72; }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; }
.plan-name .badge { height: 24px; padding: 0 10px; border-radius: 999px; background: var(--gold); color: #12141C; font-size: 11px; display: inline-flex; align-items: center; letter-spacing: 0.04em; }
.plan h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.plan-sub { font-size: 14.5px; color: var(--ink-soft); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; font-weight: 500; }
.plan li svg { margin-top: 2px; color: var(--done); }
.plan.pro li svg { color: var(--inverse-accent); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.pro .btn-primary { background: var(--gold); }
.plan-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--divider); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--fill);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--gold); color: #12141C; }
.faq .answer { padding: 0 0 24px; color: var(--ink-soft); font-size: 16px; max-width: 42em; }

/* ── Closing call to action ───────────────────────────────────────────── */

.closing { text-align: center; overflow: hidden; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.closing-mark { width: 120px; height: 120px; }
.closing-mark .m-ring { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.closing.seen .m-ring { animation: draw 1.4s var(--ease) forwards; }
.closing-mark .m-planet { transform-origin: 60px 60px; transform: rotate(-45deg); opacity: 0; }
.closing.seen .m-planet { animation: orbit-in 1.6s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes orbit-in { 0% { opacity: 0; transform: rotate(-200deg); } 30% { opacity: 1; } 100% { opacity: 1; transform: rotate(0deg); } }

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--divider); padding: 48px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: flex-start; }
.footer .brand { margin: 0; }
.footer-tag { margin-top: 10px; font-size: 14px; color: var(--ink-soft); max-width: 22em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); background: var(--surface); }
.footer-base { margin-top: 32px; font-size: 13px; color: var(--ink-faint); }

/* ── Inner pages ──────────────────────────────────────────────────────── */

.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }

.prose { max-width: 760px; padding-bottom: clamp(72px, 10vw, 120px); }
.prose h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; margin: 48px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--accent); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.prose td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }
.summary-card {
  padding: 24px;
  border-radius: var(--r-panel);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-card ul { list-style: none; padding: 0; gap: 10px; }
.summary-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink); font-weight: 500; font-size: 15px; }
.summary-card li svg { color: var(--done); margin-top: 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 64px); padding-bottom: clamp(72px, 10vw, 120px); align-items: start; }
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-sheet); background: var(--surface); border: 1px solid var(--border); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--r-control);
  border: 1.5px solid var(--border);
  background: var(--ground);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--record); }
.field .err { font-size: 13px; color: var(--record-text); font-weight: 600; display: none; }
.field [aria-invalid="true"] + .err { display: block; }
:root[data-theme="light"] .field .err { color: var(--record-text); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.topics legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topics span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: all .2s var(--ease); }
.topics input:checked + span { background: var(--accent-tint); border-color: var(--gold); color: var(--accent-deep); }
.topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.side-cards { display: flex; flex-direction: column; gap: 14px; }
.side-card { padding: 24px; border-radius: var(--r-panel); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.side-card h3 { font-size: 17px; font-weight: 700; }
.side-card p { font-size: 14.5px; color: var(--ink-soft); }
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0; }
.success[hidden] { display: none; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Download */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 80px); align-items: center; padding-bottom: clamp(72px, 10vw, 120px); }
.qr-card { padding: 22px; border-radius: var(--r-sheet); background: #fff; width: 240px; box-shadow: var(--shadow); }
.qr-card p { color: #5D6273; font-size: 13px; font-weight: 600; text-align: center; margin-top: 12px; }
@media (max-width: 760px) { .dl { grid-template-columns: 1fr; } .qr-card { display: none; } }

/* 404 */
.lost { min-height: calc(100vh - 72px - 160px); display: flex; align-items: center; padding: 64px 0; }
.lost .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .closing-mark .m-ring { stroke-dashoffset: 0; }
  .closing-mark .m-planet { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .transcript { font-size: 20px; }
  .card { padding: 22px; }
  .plan { padding: 26px; }
  .btn-store, .hero-cta .btn { width: 100%; }
}

#orbit-hub .hub-btn { cursor: pointer; }
#orbit-ring svg [data-part="cluster"] { cursor: pointer; }

.seg button, .seg span { white-space: nowrap; }
@media (max-width: 480px) {
  .ring-controls .seg button { padding: 0 10px; font-size: 12px; }
}
.ring-controls .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 380px) {
  .ring-controls .seg button { padding: 0 8px; font-size: 11.5px; }
}
