/* Butter marketing site
   Dark first. Neutrals lead; butter yellow (#FFD65A) is an accent only:
   primary CTA, the halo arc, focus rings, small highlights.
   Rules: normal letter spacing everywhere, flat buttons (no shadows), one typeface (Geist,
   with Geist Mono only for numeric readouts). */

:root {
  --butter: #FFD65A;
  --butter-hover: #FFE07F;
  --charcoal: #242424;
  --cream: #FFF9E9;
  --white: #FFFFFF;

  --bg: #181818;
  --bg-deep: #000000;
  --surface: #1F1F1F;
  --surface-2: #242424;
  --surface-3: #2C2C2C;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F5F5F4;
  --text-2: #A3A3A3;   /* 7.4:1 on #181818 */
  --text-3: #8C8C8C;   /* 5.5:1 on #181818 */

  --font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  --container: 1160px;
  --gutter: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--butter); color: var(--charcoal); }

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

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-200); top: -100px; z-index: 100; background: var(--butter); color: var(--charcoal); padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); font-weight: 600; }
.skip-link:focus { top: var(--s-200); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color 300ms var(--ease); }
.link:hover { text-decoration-color: var(--butter); }
.grad { background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Text styles (Tailwind scale) ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
/* Lead paragraph: Title 2 size, regular weight, secondary color */
.lede, .hero-sub, .demo-lede { font-size: 18px; line-height: 28px; font-weight: 400; color: var(--text-2); }
h2.heading-2 { color: var(--text); }

/* ---------- Buttons: flat, never a shadow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  box-shadow: none;
  white-space: nowrap;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease), transform 250ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: 14px; line-height: 20px; font-weight: 600; padding: var(--s-75) var(--s-100); }
.btn-md { font-size: 16px; line-height: 24px; font-weight: 600; padding: var(--s-75) var(--s-200); }
.btn-lg { font-size: 16px; line-height: 24px; font-weight: 600; padding: var(--s-100) var(--s-300); }
.btn-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-sm .btn-icon { width: 16px; height: 16px; }
.btn-butter { background: var(--butter); color: var(--charcoal); }
.btn-butter:hover { background: var(--butter-hover); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn[aria-disabled="true"] { cursor: default; background: rgba(255, 255, 255, 0.06); color: var(--text-2); border-color: var(--line); }
.btn[aria-disabled="true"]:active { transform: none; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; inset: var(--s-200) 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--s-200); pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-50) var(--s-50) var(--s-50) var(--s-200);
  background: rgba(24, 24, 24, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  backdrop-filter: saturate(150%) blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-75); }
.wordmark { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--text); }
.nav-links { display: flex; gap: var(--s-25); }
.nav-links a { display: block; padding: var(--s-50) var(--s-100); border-radius: var(--r-lg); color: var(--text-2); transition: color 250ms var(--ease), background-color 250ms var(--ease); }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="true"] { color: var(--text); }
.nav-cta { border-radius: var(--r-lg); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-lg); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; top: 19px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 500ms var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  position: fixed; inset: 0; z-index: -1;
  background: rgba(24, 24, 24, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 104px var(--s-300) var(--s-400);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--s-200); }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 180ms; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 240ms; margin-top: var(--s-200); }
.mobile-menu .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 var(--s-900); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--text-2); padding: var(--s-50) var(--s-100); border: 1px solid var(--line-2); border-radius: var(--r-full); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--butter); }
.hero-title { margin-top: var(--s-300); max-width: 680px; font-size: 60px; line-height: 60px; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: var(--s-50); }
.hero-sub { margin-top: var(--s-300); max-width: 460px; }
.hero-cta { margin-top: var(--s-500); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-100); }
.hero-cta .caption-2 { color: var(--text-3); }
.hero-proof { display: inline-block; margin-top: var(--s-400); color: var(--text-2); border-bottom: 1px solid var(--line-2); padding-bottom: var(--s-25); transition: color 250ms var(--ease), border-color 250ms var(--ease); }
.hero-proof:hover { color: var(--text); border-color: var(--butter); }

/* Hero render: screen with the halo, and the trackpad that drives it */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hv-screen {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background: #3A3A40; border-radius: var(--r-2xl) var(--r-2xl) var(--r-md) var(--r-md); overflow: hidden;
  border: 10px solid #0B0B0B; outline: 1px solid var(--line-2);
}
.hv-screen::before { content: ""; position: absolute; width: 90%; height: 130%; left: 48%; top: -20%; border-radius: 40%; background: #45454C; transform: rotate(-18deg); }
.hv-menubar { position: absolute; top: 0; left: 0; right: 0; height: 22px; background: rgba(24, 24, 24, 0.55); display: flex; align-items: center; gap: var(--s-75); padding: 0 var(--s-100); z-index: 1; }
.hv-menubar span { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.hv-menubar span:first-child { width: 9px; height: 9px; border-radius: 50%; }
.hv-menubar i { margin-left: auto; width: 32px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.hv-window { position: absolute; left: 9%; top: 16%; width: 56%; height: 66%; background: #F4F4F5; border-radius: var(--r-lg); overflow: hidden; z-index: 1; }
.hv-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #E7E7E9; }
.hv-bar b { width: 7px; height: 7px; border-radius: 50%; background: #C9C9CE; }
.hv-lines { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hv-lines b { height: 7px; border-radius: 4px; background: #DCDCE0; }
.hv-lines b:first-child { width: 46%; height: 10px; background: #2C2C2E; }
.hv-lines b:nth-child(3) { width: 84%; } .hv-lines b:nth-child(5) { width: 62%; }
.hv-pointer { position: absolute; left: 66%; top: 54%; width: 112px; height: 112px; transform: translate(-50%, -50%); z-index: 2; }
.hv-halo { width: 100%; height: 100%; transform: rotate(-90deg); }
.halo-track { fill: none; stroke: rgba(20, 20, 20, 0.78); stroke-width: 5; }
.halo-fill { fill: none; stroke: var(--butter); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hv-halo .halo-fill { animation: hv-fill 6s var(--ease) infinite; }
.hv-pointer .cursor { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-22%, -14%); }
.cursor path { fill: #141414; stroke: var(--white); stroke-width: 1.3; stroke-linejoin: round; }
.hv-badge {
  position: absolute; z-index: 2; left: calc(66% + 60px); top: calc(54% - 16px);
  display: inline-flex; align-items: center; gap: var(--s-75);
  background: rgba(20, 20, 20, 0.86); color: var(--white); padding: var(--s-50) var(--s-100) var(--s-50) var(--s-75); border-radius: var(--r-full);
  border: 1px solid var(--line-2);
}
.hv-badge svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-badge .fill { fill: var(--white); }
.hv-pct::after { content: "72%"; animation: hv-pct 6s steps(1) infinite; }

.hv-deck { width: 112%; margin-top: -1px; background: #222224; border: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) var(--r-3xl) var(--r-3xl); padding: var(--s-300) 24% var(--s-300); }
.hv-pad { position: relative; width: 100%; aspect-ratio: 1.48; background: #2A2A2D; border-radius: var(--r-xl); border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; }
.hv-edge { position: absolute; right: 5px; top: 12%; bottom: 12%; width: 4px; border-radius: var(--r-full); background: var(--butter); opacity: 0.85; }
.hv-finger {
  position: absolute; right: -4px; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.5);
  animation: hv-finger 6s var(--ease) infinite;
}
@keyframes hv-finger {
  0%, 8% { transform: translateY(170%); opacity: 0; }
  14% { opacity: 1; transform: translateY(170%); }
  46% { transform: translateY(50%); opacity: 1; }
  62% { transform: translateY(95%); opacity: 1; }
  84% { transform: translateY(35%); opacity: 1; }
  94%, 100% { transform: translateY(35%); opacity: 0; }
}
@keyframes hv-fill {
  0%, 14% { stroke-dashoffset: 58; }
  46% { stroke-dashoffset: 18; }
  62% { stroke-dashoffset: 38; }
  84%, 100% { stroke-dashoffset: 14; }
}
@keyframes hv-pct {
  0% { content: "42%"; } 22% { content: "58%"; } 34% { content: "74%"; } 46% { content: "82%"; }
  56% { content: "70%"; } 64% { content: "62%"; } 74% { content: "76%"; } 84% { content: "86%"; }
}

/* ---------- Demo ---------- */
.demo { background: var(--bg-deep); padding: var(--s-900) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "intro stage" "side stage"; grid-template-rows: auto 1fr; column-gap: var(--s-700); align-items: start; }
.demo-intro { grid-area: intro; }
.demo-side { grid-area: side; display: flex; flex-direction: column; align-items: flex-start; }
.stage { grid-area: stage; }
.demo-lede { margin-top: var(--s-200); font-size: 16px; line-height: 24px; }
.coach { margin-top: var(--s-400); align-self: stretch; display: flex; flex-direction: column; gap: var(--s-50); padding: 0; }
.coach li {
  display: grid; grid-template-columns: 20px 1fr; column-gap: var(--s-100); row-gap: var(--s-25); align-items: center;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); border: 1px solid transparent; color: var(--text-2);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}
.coach li .caption-5 { grid-column: 2; color: var(--text-3); }
.coach li.is-current { background: var(--surface); border-color: var(--line); color: var(--text); }
.coach li.is-done { color: var(--text); }
.check { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #4A4A4A; display: grid; place-items: center; grid-row: span 2; transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.check::after { content: ""; width: 8px; height: 4.5px; border-left: 1.6px solid var(--charcoal); border-bottom: 1.6px solid var(--charcoal); transform: translateY(-1px) rotate(-45deg) scale(0.4); opacity: 0; transition: transform 300ms var(--ease), opacity 300ms var(--ease); }
.coach li.is-done .check { background: var(--butter); border-color: var(--butter); }
.coach li.is-done .check::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.coach-done { margin-top: var(--s-200); color: var(--text); }
.corner-key { margin: var(--s-400) 0 var(--s-300); align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-100) var(--s-200); padding-top: var(--s-300); border-top: 1px solid var(--line); }
.corner-key dt { color: var(--text-3); }
.corner-key dd { color: var(--text-2); }

.stage { position: relative; display: flex; flex-direction: column; align-items: center; }

.screen {
  position: relative; width: 100%; max-width: 700px; aspect-ratio: 16 / 10;
  border: 12px solid #0B0B0B; border-radius: var(--r-2xl) var(--r-2xl) var(--r-md) var(--r-md); overflow: hidden;
  outline: 1px solid var(--line-2);
  background: #3A3A40; isolation: isolate; user-select: none; -webkit-user-select: none;
  container-type: inline-size;
}
.wallpaper { position: absolute; inset: 0; overflow: hidden; transition: transform 500ms var(--ease), opacity 500ms var(--ease); }
.wallpaper::before { content: ""; position: absolute; width: 90%; height: 140%; left: 50%; top: -24%; border-radius: 40%; background: #46464D; transform: rotate(-18deg); }
.wallpaper::after { content: ""; position: absolute; width: 70%; height: 90%; left: -24%; top: 52%; border-radius: 40%; background: #333338; transform: rotate(12deg); }
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 5.2%; min-height: 16px; z-index: 3;
  display: flex; align-items: center; gap: 2.4%; padding: 0 2%;
  background: rgba(24, 24, 24, 0.55); color: var(--white);
  font-size: clamp(9px, 1.6cqi, 12px); line-height: 1; font-weight: 500;
}
.mb-apple { width: 1.4cqi; aspect-ratio: 1; min-width: 8px; border-radius: 50%; background: var(--white); }
.mb-item:first-of-type { font-weight: 600; }
.mb-spacer { flex: 1; }
.mb-butter { width: 2.2cqi; min-width: 12px; }

.windows { position: absolute; inset: 0; z-index: 1; }
.win { position: absolute; background: #F4F4F5; border-radius: 1.2cqi; overflow: hidden; outline: 1px solid rgba(0, 0, 0, 0.25); transition: transform 600ms var(--ease); transform-origin: center; }
.win-bar { height: 3.4cqi; min-height: 12px; display: flex; align-items: center; gap: 0.7cqi; padding: 0 1.2cqi; background: #E7E7E9; }
.win-bar i { width: 1cqi; min-width: 5px; aspect-ratio: 1; border-radius: 50%; background: #C6C6CB; }
.win-title { margin: 0 auto; transform: translateX(-2.4cqi); color: #55555A; font-size: clamp(8px, 1.4cqi, 12px); line-height: 1; font-weight: 500; white-space: nowrap; }
.win-notes { left: 5%; top: 14%; width: 30%; height: 52%; }
.notes-body { padding: 1.8cqi; display: flex; flex-direction: column; gap: 1.2cqi; }
.notes-body b { height: 0.9cqi; border-radius: 1cqi; background: #DCDCE0; }
.notes-body b:nth-child(1) { width: 56%; height: 1.4cqi; background: #2C2C2E; }
.notes-body b:nth-child(3) { width: 82%; } .notes-body b:nth-child(5) { width: 64%; }
.win-browser { right: 5%; top: 12%; width: 32%; height: 50%; }
.win-browser .url { flex: 1; height: 1.6cqi; border-radius: 0.8cqi; background: #D6D6DA; margin-left: 1cqi; }
.browser-body { padding: 1.6cqi; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqi; }
.browser-body b { height: 7cqi; border-radius: 0.8cqi; background: #E2E2E6; }
.browser-body b:first-child { grid-column: span 2; height: 5cqi; background: #2C2C2E; }
.win-video { left: 20%; top: 17%; width: 60%; z-index: 2; background: #111; }
.win-video .win-bar { background: #2A2A2C; }
.win-video .win-bar i { background: #4A4A4E; }
.win-video .win-title { color: #B5B5BA; }
.video { position: relative; aspect-ratio: 16 / 9; background: #161618; overflow: hidden; }
.video-art { position: absolute; inset: 0; }
.va-a { position: absolute; left: 10%; top: 14%; width: 52%; height: 64%; border-radius: 6px; background: #26262A; outline: 1px solid rgba(255, 255, 255, 0.06); }
.va-b { position: absolute; left: 66%; top: 14%; width: 24%; height: 30%; border-radius: 6px; background: #2E2E33; transition: transform 2s var(--ease); }
.va-c { position: absolute; left: 66%; top: 50%; width: 24%; height: 28%; border-radius: 6px; background: #222226; }
.va-a::before { content: ""; position: absolute; left: 10%; top: 16%; width: 46%; height: 9%; border-radius: 3px; background: #4A4A50; }
.va-a::after { content: ""; position: absolute; left: 10%; top: 34%; width: 70%; height: 40%; border-radius: 4px; background: #34343A; }
.is-playing .va-b { animation: drift 6s var(--ease) infinite alternate; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(18%); } }
.play-glyph { position: absolute; left: 50%; top: 44%; width: 10cqi; aspect-ratio: 1; margin-left: -5cqi; margin-top: -5cqi; border-radius: 50%; background: rgba(20, 20, 20, 0.7); border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-items: center; opacity: 0; transform: scale(0.9); transition: opacity 300ms var(--ease), transform 500ms var(--ease); }
.play-glyph svg { width: 44%; fill: var(--white); transform: translateX(6%); }
.is-paused .play-glyph { opacity: 1; transform: scale(1); }
.video-ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 1.2cqi; padding: 1cqi 1.6cqi; background: rgba(10, 10, 10, 0.72); color: var(--white); }
.vtime { font-size: clamp(8px, 1.3cqi, 12px); line-height: 1; min-width: 4ch; }
.vbar { position: relative; flex: 1; height: 0.6cqi; min-height: 3px; border-radius: 1cqi; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.vbar-fill { position: absolute; inset: 0; background: var(--white); transform-origin: left center; transform: scaleX(0.32); }

.dock { position: absolute; left: 50%; bottom: 2.2%; transform: translateX(-50%); z-index: 1; display: flex; gap: 0.8cqi; padding: 0.8cqi; border-radius: 1.6cqi; background: rgba(30, 30, 32, 0.55); border: 1px solid rgba(255, 255, 255, 0.12); transition: opacity 500ms var(--ease); }
.dock i { width: 4.2cqi; aspect-ratio: 1; border-radius: 1cqi; background: #5E5E66; }
.dock i:nth-child(1) { background: #E7E7E9; }
.dock i:nth-child(3) { background: #242424; outline: 1px solid rgba(255, 255, 255, 0.2); }
.dock i:nth-child(4) { background: #8E8E96; }

/* Mission Control: windows spread out, the desktop recedes */
.screen.is-mc .wallpaper { transform: scale(1.04); opacity: 0.5; }
.screen.is-mc .win-notes { transform: translate(-4%, 18%) scale(0.86); }
.screen.is-mc .win-browser { transform: translate(4%, 22%) scale(0.86); }
.screen.is-mc .win-video { transform: translate(0, -8%) scale(0.6); }
.screen.is-mc .dock { opacity: 0; }

.dim { position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none; }

.toast {
  position: absolute; z-index: 8; left: 50%; top: 9%;
  display: inline-flex; align-items: center; gap: var(--s-75);
  background: rgba(20, 20, 20, 0.9); color: var(--white); padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  opacity: 0; transform: translate(-50%, -6px); transition: opacity 300ms var(--ease), transform 500ms var(--ease);
  pointer-events: none; white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-warn { border-color: rgba(255, 214, 90, 0.6); }
.toast.is-warn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); }

.flash { position: absolute; inset: 0; z-index: 9; background: var(--white); opacity: 0; pointer-events: none; }
.flash.is-on { animation: flash 500ms var(--ease); }
@keyframes flash { 0% { opacity: 0.9; } 100% { opacity: 0; } }
.shot-thumb {
  position: absolute; z-index: 8; right: 3%; bottom: 14%; width: 20%; aspect-ratio: 16 / 10;
  border-radius: 0.8cqi; border: 2px solid var(--white); background: #3A3A40; overflow: hidden;
  opacity: 0; transform: translateX(24%); transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}
.shot-thumb div { position: absolute; left: 20%; top: 18%; width: 60%; height: 64%; background: #161618; border-radius: 0.4cqi; }
.shot-thumb.is-on { opacity: 1; transform: none; }

.lock {
  position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqi;
  background: #141414; color: var(--white); opacity: 0; pointer-events: none; transition: opacity 500ms var(--ease);
}
.lock img { width: 6cqi; height: auto; }
.lock-time { font-size: clamp(30px, 10cqi, 72px); line-height: 1; font-weight: 600; }
.lock .caption-5 { color: var(--text-2); }
.screen.is-locked .lock { opacity: 1; }

.pointer { position: absolute; left: 0; top: 0; z-index: 10; width: 0; height: 0; pointer-events: none; will-change: transform; }
.pointer svg { max-width: none; }
.pointer .cursor { position: absolute; left: -3px; top: -2px; width: clamp(16px, 3cqi, 24px); height: auto; }
.halo { position: absolute; width: clamp(48px, 9cqi, 72px); aspect-ratio: 1; left: 0; top: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(0.7); opacity: 0; transition: opacity 250ms var(--ease), transform 400ms var(--ease); }
.pointer.is-halo .halo { opacity: 1; transform: translate(-50%, -50%) rotate(-90deg) scale(1); }
.pointer.is-armed .halo .halo-fill { stroke: var(--white); }
.hud {
  position: absolute; left: clamp(30px, 6cqi, 46px); top: -14px; display: inline-flex; align-items: center; gap: var(--s-75);
  background: rgba(20, 20, 20, 0.88); color: var(--white); padding: var(--s-50) var(--s-100) var(--s-50) var(--s-75); border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  opacity: 0; transform: translateX(-4px); transition: opacity 250ms var(--ease), transform 400ms var(--ease); white-space: nowrap;
}
.pointer.is-hud .hud { opacity: 1; transform: none; }
.pointer.flip .hud { left: auto; right: clamp(30px, 6cqi, 46px); }
.hud-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hud-icon .fill { fill: currentColor; }

/* Trackpad render */
.pad-wrap { position: relative; width: 100%; max-width: 800px; margin-top: -1px; background: #1E1E20; border: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) var(--r-3xl) var(--r-3xl); padding: var(--s-500) 0 var(--s-400); display: flex; justify-content: center; }
.coach-pill {
  position: absolute; left: 50%; top: var(--s-100); z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: var(--s-75);
  color: var(--text-2); white-space: nowrap;
  transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}
.coach-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); }
.coach-pill.is-hidden { opacity: 0; transform: translate(-50%, -4px); }
.pad {
  position: relative; width: 62%; aspect-ratio: 1.48;
  background: #2A2A2D; border-radius: var(--r-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  cursor: grab; overflow: hidden; outline: none;
}
.pad:active { cursor: grabbing; }
.pad:focus-visible { outline: 2px solid var(--butter); outline-offset: 4px; }
.zone { position: absolute; border-radius: var(--r-lg); border: 1px dashed rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.025); display: grid; place-items: center; opacity: 0; transition: opacity 400ms var(--ease), background-color 250ms var(--ease), border-color 250ms var(--ease); pointer-events: none; }
.zone span { color: var(--text-3); }
.pad:hover .zone, .pad.show-zones .zone, .pad:focus-visible .zone { opacity: 1; }
.z-left { left: 5px; top: 22%; bottom: 22%; width: 10%; }
.z-right { right: 5px; top: 22%; bottom: 22%; width: 10%; }
.z-left span, .z-right span { writing-mode: vertical-rl; }
.z-left span { transform: rotate(180deg); }
.z-top { top: 5px; left: 16%; right: 16%; height: 14%; }
.z-corner { width: 13%; height: 19%; }
.z-tl { left: 5px; top: 5px; border-top-left-radius: 12px; }
.z-tr { right: 5px; top: 5px; border-top-right-radius: 12px; }
.z-bl { left: 5px; bottom: 5px; border-bottom-left-radius: 12px; }
.z-br { right: 5px; bottom: 5px; border-bottom-right-radius: 12px; }
.zone.is-target { opacity: 1; border-style: solid; border-color: rgba(255, 214, 90, 0.45); animation: target 2.4s var(--ease) infinite; }
.zone.is-target span { color: var(--text-2); }
.zone.is-active { opacity: 1; border-style: solid; border-color: var(--butter); background: rgba(255, 214, 90, 0.12); animation: none; }
.zone.is-active span { color: var(--butter); }
@keyframes target { 0%, 100% { border-color: rgba(255, 214, 90, 0.5); } 50% { border-color: rgba(255, 214, 90, 0.18); } }

.touch { position: absolute; left: 0; top: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); opacity: 0; transition: opacity 200ms var(--ease); pointer-events: none; will-change: transform; }
.touch.is-down { opacity: 1; }
.touch svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); max-width: none; transform: rotate(-90deg); }
.touch-ring { fill: none; stroke: var(--butter); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }

/* ---------- Tagline reveal ---------- */
.tagline { padding: var(--s-900) 0 var(--s-800); }
.reveal-words { max-width: 860px; font-size: 48px; line-height: 48px; font-weight: 600; }
.reveal-words .w { color: rgba(245, 245, 244, 0.28); transition: color 600ms var(--ease); }
.reveal-words .w.is-lit { color: var(--text); }

/* ---------- Section heads ---------- */
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: var(--s-200); }
.section-head.center { margin: 0 auto; align-items: center; }

/* ---------- Features (bento) ---------- */
.features { padding: var(--s-800) 0 var(--s-900); }
.bento { margin-top: var(--s-600); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-200); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300); display: flex; flex-direction: column; gap: var(--s-75); min-width: 0; transition: border-color 300ms var(--ease); }
.tile:hover { border-color: var(--line-2); }
.tile h3 { margin-top: var(--s-75); }
.tile-copy { display: flex; flex-direction: column; gap: var(--s-75); }
.tag { align-self: flex-start; display: inline-block; padding: var(--s-25) var(--s-75); border-radius: var(--r-md); border: 1px solid var(--line-2); color: var(--text-2); }
.tag-free { border-color: rgba(255, 214, 90, 0.5); color: var(--butter); }
.tile-art { border-radius: var(--r-lg); }
.tile-free { grid-column: span 2; }
.art-halo { height: 136px; background: #3A3A40; display: grid; place-items: center; margin-bottom: var(--s-200); overflow: hidden; }
.art-halo svg { width: 160px; }
.tile-map { grid-column: span 4; flex-direction: row; gap: var(--s-400); align-items: center; }
.tile-map .tile-copy { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-50); margin: var(--s-75) 0; }
.chips li { padding: var(--s-25) var(--s-75); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-2); }
.art-map { flex: 0 0 42%; }
.map { position: relative; aspect-ratio: 1.48; border-radius: var(--r-xl); background: #2A2A2D; border: 1px solid rgba(255, 255, 255, 0.1); }
.m-edge { position: absolute; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.16); }
.m-edge.is-on { background: var(--butter); }
.m-l { left: 5%; top: 26%; bottom: 26%; width: 3%; }
.m-r { right: 5%; top: 26%; bottom: 26%; width: 3%; }
.m-t { top: 7%; left: 26%; right: 26%; height: 4.5%; }
.m-b { bottom: 7%; left: 26%; right: 26%; height: 4.5%; }
.m-c { position: absolute; width: 8%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.m-tl { left: 5%; top: 7%; } .m-tr { right: 5%; top: 7%; } .m-bl { left: 5%; bottom: 7%; } .m-br { right: 5%; bottom: 7%; }
.m-rec { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: var(--s-75); background: rgba(20, 20, 20, 0.9); border: 1px solid var(--line-2); color: var(--white); padding: var(--s-50) var(--s-100); border-radius: var(--r-full); }
.m-rec i { width: 7px; height: 7px; border-radius: 50%; background: #FF5F57; }

.tile-actions { grid-column: span 3; }
.action-list { margin-top: var(--s-100); display: flex; flex-direction: column; gap: var(--s-100); }
.action-list li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-100); align-items: center; color: var(--text-2); }
.action-list svg { width: 32px; height: 32px; padding: 7px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile-text { grid-column: span 3; }
.art-text { background: #F4F4F5; color: #2C2C2E; padding: var(--s-300); margin-bottom: var(--s-200); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-100); }
.art-text mark { background: rgba(255, 214, 90, 0.55); color: inherit; border-radius: var(--r-sm); padding: 0 var(--s-25); }
.panel { display: flex; flex-wrap: wrap; gap: var(--s-25); padding: var(--s-50); background: #1C1C1E; border-radius: var(--r-lg); }
.panel span { color: #D4D4D8; padding: var(--s-50) var(--s-75); border-radius: var(--r-md); }
.panel span:first-child { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.tile-shot, .tile-media { grid-column: span 3; }
.art-shot, .art-media { margin-bottom: var(--s-200); }
.shot { position: relative; height: 128px; border-radius: var(--r-lg); background: #3A3A40; overflow: hidden; }
.shot-box { position: absolute; left: 54%; top: 18%; width: 30%; height: 46%; border: 2px solid var(--butter); border-radius: var(--r-md); }
.shot-arrow { position: absolute; left: 18%; top: 30%; width: 34%; }
.shot-blur { position: absolute; left: 10%; top: 18%; width: 28%; height: 12px; border-radius: var(--r-full); background: #55555D; }
.shot-tools { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: var(--r-lg); background: rgba(20, 20, 20, 0.9); border: 1px solid var(--line-2); }
.shot-tools i { width: 16px; height: 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.14); }
.shot-tools i.on { background: var(--white); }
.remote { height: 128px; border-radius: var(--r-lg); background: #2A2A2D; border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; gap: var(--s-500); }
.remote svg { width: 22px; height: 22px; fill: var(--text-2); stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.remote svg.main { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--white); fill: var(--charcoal); stroke: var(--charcoal); box-sizing: content-box; }
.tile-focus, .tile-safe { grid-column: span 3; }
.focus-pill, .safe-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); margin-bottom: var(--s-200); color: var(--text); }
.focus-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--butter); stroke-width: 1.6; stroke-linecap: round; }
.safe-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); }

/* ---------- Profiles ---------- */
.profiles { padding: var(--s-900) 0; border-top: 1px solid var(--line); }
.profiles-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); align-items: center; }
.profiles-copy { display: flex; flex-direction: column; gap: var(--s-200); }
.profile-notes { margin-top: var(--s-200); display: flex; flex-direction: column; gap: var(--s-100); }
.profile-notes li { padding-left: var(--s-300); position: relative; color: var(--text-2); }
.profile-notes li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); }
.profile-notes strong { color: var(--text); }
.profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-200); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: var(--s-50); gap: var(--s-50); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--r-xl); }
.seg button { padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); color: var(--text-2); transition: background-color 250ms var(--ease), color 250ms var(--ease); }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.profile-panel { margin-top: var(--s-100); }
.bindings { display: flex; flex-direction: column; }
.bindings li { display: flex; justify-content: space-between; gap: var(--s-200); padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); transition: opacity 300ms var(--ease); }
.bindings li + li { box-shadow: inset 0 1px 0 var(--line); }
.bindings .g { color: var(--text); }
.bindings .a { color: var(--text-2); text-align: right; }
.bindings li.added { display: none; }
.bindings li.added.is-shown { display: flex; }
.bindings li.added.is-shown .g::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); margin-right: var(--s-75); vertical-align: 2px; }
.bindings li.added.is-shown .a { color: var(--butter); }
.profile-card[data-active="work"] .bindings li:not(.added), .profile-card[data-active="study"] .bindings li:not(.added) { opacity: 0.45; }
.profile-foot { margin-top: var(--s-100); padding: 0 var(--s-100); color: var(--text-3); }

/* ---------- Pricing ---------- */
.pricing { padding: var(--s-900) 0; border-top: 1px solid var(--line); }
.plans { margin: var(--s-600) auto 0; max-width: 840px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-400); display: flex; flex-direction: column; gap: var(--s-75); }
.plan-pro { border-color: rgba(255, 214, 90, 0.4); }
.price { display: flex; align-items: baseline; gap: var(--s-75); margin: var(--s-75) 0 var(--s-25); }
.plan-list { margin: var(--s-200) 0 var(--s-300); padding-top: var(--s-200) !important; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-100); flex: 1; }
.plan-list li { position: relative; padding-left: var(--s-300); color: var(--text-2); }
.plan-list li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 9px; height: 5px; border-left: 1.6px solid var(--text-2); border-bottom: 1.6px solid var(--text-2); transform: rotate(-45deg); }
.plan-pro .plan-list li { color: var(--text); }
.plan-pro .plan-list li::before { border-color: var(--butter); }
.plan .btn { align-self: stretch; }
.plan-fine { margin-top: var(--s-75); color: var(--text-3); }
.req { margin: var(--s-400) auto 0; max-width: 560px; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { padding: var(--s-900) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-700); align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: var(--s-200); position: sticky; top: 104px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: var(--s-200) var(--s-500) var(--s-200) 0; position: relative; border-radius: var(--r-lg); color: var(--text); transition: color 250ms var(--ease); }
.faq-list summary:hover { color: var(--white); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 1.5px; background: var(--text-2); transition: transform 400ms var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details > div { padding: 0 var(--s-500) var(--s-300) 0; max-width: 620px; }

/* ---------- Final CTA ---------- */
.final { padding: var(--s-900) 0; border-top: 1px solid var(--line); }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-300); }
.final-inner .caption-2 { margin-top: calc(var(--s-100) * -1); color: var(--text-3); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s-500) 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--s-300) var(--s-400); align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-50); }
.footer-brand .muted { color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-50) var(--s-300); }
.footer-links a { color: var(--text-2); transition: color 250ms var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-links a[aria-disabled="true"] { color: var(--text-3); }
.footer-legal { grid-column: 1 / -1; padding-top: var(--s-300); border-top: 1px solid var(--line); color: var(--text-3); }

/* ---------- Scroll reveal (used sparingly) ---------- */
.rise { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- Legal and 404 pages ---------- */
.legal { padding: 144px 0 var(--s-900); }
.legal .container { max-width: calc(720px + var(--gutter) * 2); }
.legal h1 { margin-bottom: var(--s-200); }
.legal h2 { margin: var(--s-500) 0 var(--s-100); }
.legal p, .legal li { color: var(--text-2); margin-bottom: var(--s-100); }
.legal ul { padding-left: var(--s-300); }
.legal strong { color: var(--text); font-weight: 500; }
.legal .ph { background: rgba(255, 214, 90, 0.14); color: var(--butter); border-radius: var(--r-sm); padding: 0 var(--s-50); }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--s-900) var(--gutter); }
.notfound .inner { display: flex; flex-direction: column; align-items: center; gap: var(--s-300); max-width: 520px; }
.nf-code { color: var(--text-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-700); }
  .hero-visual { max-width: 600px; width: 100%; margin: 0 auto; }
  .demo-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "stage" "side"; row-gap: var(--s-500); }
  .demo-side .coach { margin-top: 0; }
  .coach { display: grid; grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-free, .tile-actions, .tile-text, .tile-shot, .tile-media, .tile-focus, .tile-safe { grid-column: span 1; }
  .tile-map { grid-column: span 2; }
  .profiles-grid, .faq-grid { grid-template-columns: 1fr; gap: var(--s-500); }
  .faq-head { position: static; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { gap: var(--s-200); width: 100%; justify-content: space-between; }
  .hero { padding: 120px 0 var(--s-700); }
  .hero-title { font-size: 48px; line-height: 48px; }
  .lede, .hero-sub { font-size: 16px; line-height: 24px; }
  .heading-2, .reveal-words { font-size: 36px; line-height: 40px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .hero-cta { align-self: stretch; }
  .hero-cta .btn { align-self: stretch; }
  .hv-screen { border-width: 6px; }
  .hv-deck { width: 100%; padding: var(--s-200) 20%; border-radius: var(--r-md) var(--r-md) var(--r-2xl) var(--r-2xl); }
  .hv-pointer { width: 80px; height: 80px; }
  .hv-badge { left: auto; right: 4%; top: calc(54% - 48px); }
  .demo { padding: var(--s-800) 0; }
  .screen { border-width: 6px; }
  .pad-wrap { width: 100%; padding: var(--s-500) var(--s-200) var(--s-200); border-radius: var(--r-md) var(--r-md) var(--r-2xl) var(--r-2xl); }
  .pad { width: 100%; }
  .coach { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-map { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .art-map { flex: none; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: var(--s-300); }
  .footer-inner { grid-template-columns: 1fr; }
  .bindings li { padding: var(--s-75) var(--s-50); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .hv-finger { animation: none; opacity: 1; transform: translateY(60%); }
  .hv-halo .halo-fill { animation: none; stroke-dashoffset: 28; }
  .hv-pct::after { animation: none; content: "72%"; }
  .rise { opacity: 1; transform: none; }
  .mobile-menu li { transform: none; }
  .zone.is-target { animation: none; }
  .is-playing .va-b { animation: none; }
}

/* ---------- Thanks page ---------- */
.thanks .container > img { margin-bottom: var(--s-300); }
.thanks .lede { margin-top: var(--s-100); }
.steps { margin: var(--s-500) 0 var(--s-400); display: flex; flex-direction: column; gap: var(--s-200); }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-200); padding: var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); margin: 0; }
.steps .step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 20px; color: var(--charcoal); background: var(--butter); }
.steps h2 { margin: var(--s-25) 0 var(--s-50); color: var(--text); }
.steps p { margin-bottom: var(--s-200); }
.steps li:last-child p { margin-bottom: 0; }

/* ---------- Bottom edge: Slide to Dictate (demo) ---------- */
.z-bottom { bottom: 5px; left: 16%; right: 16%; height: 14%; }
.dictated { margin: 0.6cqi 0 0; font-size: 1.55cqi; line-height: 1.35; color: #2C2C2E; min-height: 2cqi; }
.dictated.is-live::after { content: ""; display: inline-block; width: 0.18cqi; height: 1.5cqi; margin-left: 0.2cqi; vertical-align: -0.2cqi; background: #2C2C2E; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- One plan ---------- */
.plans.plans-one { grid-template-columns: minmax(0, 460px); justify-content: center; }

/* ---------- Quick Tools card ---------- */
.qt-card { padding-top: 14px; }
.qt-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--text-3); }
.qt-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.kbd { padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9em; white-space: nowrap; }

/* ---------- Thanks: license key ---------- */
.key-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.key-row .key { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.02em; user-select: all; overflow-wrap: anywhere; }
.t-actions { margin-top: 10px; }
#t-activate[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
