/* ============================================================
   TIUNE landing. Tokens mirror tiune-design/assets/tiune.css.
   One instrument: dark, warm, amber marks interaction only.
   Shared across index.html, roadmap.html, contact.html.
   ============================================================ */
:root {
  --bg-0: #070708; --bg-1: #0A0A0B; --bg-2: #0F0F11; --bg-3: #141416;
  --surface-glass: rgba(23, 23, 25, 0.94);
  --surface-raise: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.09);
  --line-3: rgba(255, 255, 255, 0.15);
  --ink-1: #ECEAE4; --ink-2: #A5A199; --ink-3: #6B6862; --ink-4: #55534E; --ink-5: #3C3B37;
  --accent: #F5A623; --accent-bright: #FFC35C; --accent-deep: #B98A34;
  --accent-08: rgba(245, 166, 35, 0.08);
  --accent-15: rgba(245, 166, 35, 0.15);
  --accent-32: rgba(245, 166, 35, 0.32);
  --accent-glow: 0 0 12px rgba(245, 166, 35, 0.45);
  --error: #D96C4F;
  --font-ui: 'Hanken Grotesk', -apple-system, 'SF Pro Display', sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, 'SF Mono', monospace;
  --r-s: 8px; --r-m: 12px; --r-l: 18px; --r-xl: 26px; --r-pill: 999px;
  --shadow-float: 0 18px 50px rgba(0,0,0,0.55), 0 4px 14px rgba(0,0,0,0.35),
                  inset 0 1px 0 rgba(255,255,255,0.07);
  --shadow-card: 0 2px 10px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.04);
  --ease-settle: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-elastic: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --t-instant: 120ms; --t-quick: 240ms; --t-move: 400ms; --t-drift: 700ms;
  --breath: 4.5s; --tune: 2.2s;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
body {
  background: var(--bg-0); color: var(--ink-1);
  font-family: var(--font-ui); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; }
::selection { background: var(--accent-32); color: var(--ink-1); }
button { font-family: inherit; touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }

.t-display { font-size: clamp(38px, 5.6vw, 62px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink-1); text-wrap: balance; }
.t-hero    { font-size: clamp(24px, 3vw, 36px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.42; color: var(--ink-1); text-wrap: pretty; }
.t-title   { font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink-1); text-wrap: balance; }
.t-heading { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-1); }
.t-body    { font-size: 16px; color: var(--ink-2); }
.t-small   { font-size: 14px; color: var(--ink-3); }
.mono-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-3);
}
.mono-meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-4); }

.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-2);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.4);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
}
.kbd-hint { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: var(--r-m);
  background: var(--surface-raise); border: 1px solid var(--line-2);
  font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: #C9C6BE;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: background var(--t-instant) var(--ease-settle),
              border-color var(--t-instant) var(--ease-settle),
              color var(--t-instant) var(--ease-settle),
              transform var(--t-instant) var(--ease-settle);
}
.btn:hover { background: var(--surface-hover); border-color: var(--line-3); color: var(--ink-1); }
.btn:active { transform: scale(0.985); }
.btn-accent { background: var(--accent-08); border-color: var(--accent-32); color: #F5C368; }
.btn-accent:hover { background: var(--accent-15); border-color: rgba(245,166,35,0.5); color: var(--accent-bright); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 17px; border-radius: 11px;
  background: var(--surface-raise); border: 1px solid var(--line-2);
  font-size: 14.5px; font-weight: 500; color: #C9C6BE;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: all var(--t-instant) var(--ease-settle);
}
.chip:hover { background: var(--surface-hover); border-color: var(--line-3); color: var(--ink-1); transform: translateY(-1px); }
.chip.is-active { background: var(--accent-08); border-color: var(--accent-32); color: #F5C368; }

/* ============ Shared keyframes ============ */
@keyframes tn-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes tn-caret   { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes tn-tune {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(-2px); opacity: 1; }
}
@keyframes tn-settle-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tn-accent-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes tn-draw {
  0%   { stroke-dashoffset: 90; opacity: 0.3; }
  60%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}
@keyframes tn-error-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============ The mark ============ */
.tn-logo { display: block; overflow: visible; }
.tn-logo circle, .tn-logo path { transform-box: fill-box; transform-origin: center; }
.tn-logo .d  { fill: var(--ink-1); }
.tn-logo .m  { fill: var(--ink-2); }
.tn-logo .arc { stroke: var(--ink-1); fill: none; }
.tn-logo .a  { fill: var(--accent); }
.tn-logo .d, .tn-logo .m, .tn-logo .arc, .tn-logo .a {
  transition: fill var(--t-quick) var(--ease-settle),
              stroke var(--t-quick) var(--ease-settle),
              opacity var(--t-quick) var(--ease-settle),
              transform var(--t-move) var(--ease-elastic);
}
.tn-logo.is-idle { animation: tn-breathe var(--breath) ease-in-out infinite; }
.tn-logo.is-idle .a { fill: var(--ink-3); }
.tn-logo.is-hover .arc { transform: scale(1.08); }
.tn-logo.is-hover .a { fill: var(--accent); transform: translateX(2px); }
.tn-logo.is-listening .d1 { animation: tn-tune var(--tune) ease-in-out infinite; }
.tn-logo.is-listening .d2 { animation: tn-tune var(--tune) ease-in-out 0.28s infinite; }
.tn-logo.is-listening .d3 { animation: tn-tune var(--tune) ease-in-out 0.56s infinite; }
.tn-logo.is-listening .m1 { animation: tn-tune var(--tune) ease-in-out 0.84s infinite; }
.tn-logo.is-listening .m2 { animation: tn-tune var(--tune) ease-in-out 1.12s infinite; }
.tn-logo.is-listening .arc { transform: scale(1.08); }
.tn-logo.is-listening .a { fill: var(--ink-3); }
.tn-logo.is-speaking .d1 { animation: tn-tune 1.1s ease-in-out infinite; }
.tn-logo.is-speaking .d2 { animation: tn-tune 1.1s ease-in-out 0.14s infinite; }
.tn-logo.is-speaking .d3 { animation: tn-tune 1.1s ease-in-out 0.28s infinite; }
.tn-logo.is-speaking .m1 { animation: tn-tune 1.1s ease-in-out 0.42s infinite; }
.tn-logo.is-speaking .m2 { animation: tn-tune 1.1s ease-in-out 0.56s infinite; }
.tn-logo.is-speaking .arc { transform: scale(1.1); }
.tn-logo.is-speaking .a { fill: var(--accent); animation: tn-accent-pulse 1.1s ease-in-out infinite; }
.tn-logo.is-processing .d, .tn-logo.is-processing .m { opacity: 0.4; }
.tn-logo.is-processing .arc { stroke-dasharray: 90; animation: tn-draw 1.6s var(--ease-settle) infinite; }
.tn-logo.is-processing .a { fill: var(--accent); animation: tn-accent-pulse 1.6s ease-in-out infinite; }
.tn-logo.is-settled .a { fill: var(--accent); }
.tn-logo.is-muted .d, .tn-logo.is-muted .m, .tn-logo.is-muted .arc { opacity: 0.45; }
.tn-logo.is-muted .a { fill: transparent; stroke: var(--ink-3); stroke-width: 2.5; }
.tn-logo.is-error .a { fill: var(--error); animation: tn-error-pulse 2.4s ease-in-out infinite; }
.tn-logo.is-updating .d, .tn-logo.is-updating .m { opacity: 0.3; }
.tn-logo.is-updating .a { fill: var(--ink-4); }
.tn-logo.is-updating .arc { stroke-dasharray: 90; animation: tn-draw 2.2s var(--ease-settle) infinite; }

/* ============ Scroll reveal (JS-gated so no-JS stays visible) ============ */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); }
html.js [data-reveal].is-in {
  opacity: 1; transform: translateY(0);
  transition: opacity var(--t-drift) var(--ease-settle), transform var(--t-drift) var(--ease-settle);
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; height: calc(64px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) clamp(20px, 4vw, 40px) 0;
  padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right));
  background: rgba(7,7,8,0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-1);
}
.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink-1);
  transition: color var(--t-instant) var(--ease-settle);
}
.nav .brand:hover { color: var(--accent-bright); }
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
  transition: color var(--t-instant) var(--ease-settle);
}
.nav-link:hover { color: var(--ink-1); }
.nav .btn { padding: 8px 16px; font-size: 13.5px; }

/* ============ Hero: the desktop, the bar in situ ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  padding: 96px clamp(20px, 5vw, 48px) 0;
  background: radial-gradient(ellipse 90% 70% at 50% 42%, #0C0C0E 0%, #0A0A0B 60%, #070708 100%);
  overflow: hidden;
}
.hero-copy {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-top: clamp(24px, 7vh, 72px);
}
.hero-copy > * { animation: tn-settle-in var(--t-drift) var(--ease-settle) both; }
.hero-copy > *:nth-child(2) { animation-delay: 140ms; }
.hero-copy > *:nth-child(3) { animation-delay: 280ms; }
.hero-sub { max-width: 460px; margin-top: 24px; color: var(--ink-2); line-height: 1.7; }
.hero-cta { margin-top: 40px; }
.hero-cta-row {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}

.ghost-window {
  position: absolute; border-radius: 20px; pointer-events: none;
  background: rgba(255,255,255,0.012); border: 1px solid rgba(255,255,255,0.04);
}

/* the always-on bar, exactly where it lives on the desktop */
.bar-home {
  position: absolute; bottom: 44px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  animation: tn-settle-in var(--t-drift) var(--ease-settle) 520ms both;
}
.bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--surface-glass);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: opacity var(--t-quick) var(--ease-settle),
              border-color var(--t-quick) var(--ease-settle);
  white-space: nowrap; overflow: hidden; cursor: default;
}
.bar-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
  display: none; align-items: center; gap: 12px;
  animation: tn-settle-in var(--t-quick) var(--ease-settle) both;
}
.bar-label .kbd { height: 19px; min-width: 19px; font-size: 10px; }
.bar-meta { color: var(--ink-4); letter-spacing: 0.12em; }
.bar-words {
  display: none; font-family: var(--font-ui); font-size: 14px; font-weight: 400;
  letter-spacing: -0.005em; color: var(--ink-2); text-transform: none;
  max-width: min(320px, 52vw); overflow: hidden; text-overflow: ellipsis;
  direction: rtl; text-align: left;
}
.bar-words bdi { unicode-bidi: plaintext; }
.level { display: none; align-items: center; gap: 3px; height: 12px; }
.level i {
  width: 3px; height: 3px; border-radius: 2px; background: var(--ink-3); display: block;
  animation: tn-tune var(--tune) ease-in-out infinite;
}
.level i:nth-child(2) { animation-delay: .22s; } .level i:nth-child(3) { animation-delay: .44s; }
.level i:nth-child(4) { animation-delay: .66s; } .level i:nth-child(5) { animation-delay: .88s; }

.bar.state-idle { opacity: 0.55; }
.bar.state-idle:hover { opacity: 1; }
.bar.state-hover { opacity: 1; border-color: rgba(255,255,255,0.12); }
.bar.state-hover .bar-label { display: flex; }
.bar.state-hold { opacity: 1; border-color: var(--accent-32); }
.bar.state-hold .bar-label { display: flex; color: var(--ink-2); }
.bar.state-listening { opacity: 1; border-color: rgba(255,255,255,0.12); }
.bar.state-listening .bar-label { display: flex; }
.bar.state-listening .level { display: flex; }
.bar.state-speaking { opacity: 1; border-color: rgba(255,255,255,0.12); }
.bar.state-speaking .bar-words { display: block; }
.bar.state-speaking .level { display: flex; }
.bar.state-finished { opacity: 1; border-color: var(--accent-32); }
.bar.state-finished .bar-label { display: flex; color: var(--ink-2); }

.bar-caption {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
  display: flex; align-items: center; gap: 10px;
  transition: opacity var(--t-quick) var(--ease-settle);
}
.bar-caption .kbd { height: 19px; min-width: 19px; font-size: 10px; }

/* ============ Sections ============ */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(88px, 12vh, 140px) clamp(20px, 5vw, 40px); }
.section + .section { border-top: 1px solid var(--line-1); }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vh, 64px); }
.section-head p { margin-top: 16px; color: var(--ink-2); line-height: 1.7; }
.section-narrow { max-width: 760px; }

/* ============ Capture demo ============ */
.capture-wrap { display: flex; flex-direction: column; align-items: center; }
.capture {
  width: 100%; max-width: 960px; min-height: 480px;
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(23,23,25,0.94) 0%, rgba(15,15,17,0.97) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 60px 140px rgba(0,0,0,0.65), 0 8px 30px rgba(0,0,0,0.4),
              inset 0 1px 0 rgba(255,255,255,0.06);
}
.cap-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px 0; }
.traffic { display: flex; gap: 8px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; background: #333336; display: block; }
.cap-status { display: flex; align-items: center; gap: 14px; }
.cap-body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 36px clamp(26px, 7vw, 84px); min-height: 0;
}
.transcript { max-width: 760px; min-height: 3.2em; }
.tn-caret {
  display: inline-block; width: 3px; height: 0.88em; border-radius: 2px;
  background: #D8D4CA; margin-left: 12px; vertical-align: -0.12em;
  animation: tn-caret 2.2s ease-in-out infinite;
}
.trail {
  display: flex; align-items: center; gap: 12px; margin-top: 44px;
  opacity: 0; transition: opacity var(--t-move) var(--ease-settle);
}
.trail.is-on { opacity: 0.45; }
.trail i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); display: block; transition: transform 900ms var(--ease-settle); }
.trail .rule { width: 22px; height: 1px; background: var(--ink-4); }
.trail .word { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-4); }
.result-block {
  max-width: 700px; border-radius: var(--r-l); padding: 26px 30px;
  background: var(--surface-raise); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  display: none; flex-direction: column; gap: 14px; margin-top: 32px;
  animation: tn-settle-in var(--t-drift) var(--ease-settle) both;
}
.result-block.is-on { display: flex; }
.result-head { display: flex; align-items: center; gap: 12px; }
.result-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: var(--accent-glow); }
.result-text { font-size: clamp(17px, 2vw, 21px); line-height: 1.55; letter-spacing: -0.01em; color: var(--ink-1); text-wrap: pretty; }
.cap-actions {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 0 clamp(18px, 3vw, 32px) 24px; gap: 14px;
  opacity: 0; pointer-events: none; transition: opacity var(--t-move) var(--ease-settle);
}
.cap-actions.is-on { opacity: 1; pointer-events: auto; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.cap-meta { display: flex; align-items: center; gap: 18px; }

/* ============ How it works: verb rows ============ */
.how-rows { border-top: 1px solid var(--line-1); }
.how-row {
  display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: clamp(20px, 5vw, 72px);
  padding: clamp(32px, 5vh, 48px) 0; border-bottom: 1px solid var(--line-1);
  align-items: start;
}
.how-verb { font-size: clamp(28px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink-1); }
.how-body { color: var(--ink-2); line-height: 1.7; max-width: 52ch; align-self: center; }
.how-body .kbd { margin: 0 2px; }

/* ============ Feature grid: asymmetric, living cells ============ */
.features {
  display: grid; grid-template-columns: 3fr 2fr; gap: 16px;
}
.feature {
  border-radius: var(--r-l); background: var(--surface-raise);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  padding: clamp(26px, 3.5vw, 38px);
  display: flex; flex-direction: column; gap: 14px; min-height: 230px;
}
.feature p { color: var(--ink-2); line-height: 1.65; font-size: 15px; max-width: 48ch; }
.feature .demo { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feature .chip { pointer-events: none; }
.marks { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 34px); flex-wrap: wrap; }
.mark-state { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mark-state .mono-meta { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.apps-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); padding: 5px 10px; border-radius: 7px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-1);
}
.vocab-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.vocab-was { font-size: 15px; color: var(--ink-4); text-decoration: line-through; text-decoration-color: var(--ink-5); }
.vocab-now { font-size: 15px; color: var(--ink-1); }

/* feature card real-screenshot thumbnail (vocabulary, etc.) */
.feature .shot-thumb {
  margin-top: auto; padding-top: 18px;
}
.feature .shot-thumb img {
  display: block; width: 100%; border-radius: var(--r-m);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
}

/* ============ Thesis ============ */
.thesis {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(100px, 16vh, 170px) clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--line-1);
}
.thesis .t-hero { margin-top: 36px; color: var(--ink-2); max-width: 640px; }

/* ============ Runs on every Mac (requirements + engines) ============ */
.reqs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px);
  align-items: start; margin-top: clamp(40px, 6vh, 56px);
}
.req-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.req-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 10px;
  background: var(--surface-raise); border: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-2);
}
.req-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: var(--accent-glow); }
.engine-cards { display: flex; flex-direction: column; gap: 14px; }
.engine-card {
  border-radius: var(--r-l); background: var(--surface-raise);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  padding: 22px 24px;
}
.engine-card .engine-name { display: flex; align-items: baseline; gap: 10px; }
.engine-card .engine-name b { font-size: 16px; font-weight: 500; color: var(--ink-1); }
.engine-card .engine-name span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-4); text-transform: uppercase; }
.engine-card p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.shot-frame {
  border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  background: var(--bg-2);
}
.shot-frame img { display: block; width: 100%; }
.shot-caption { margin-top: 12px; }

/* ============ Screens gallery (real product screenshots) ============ */
.screens-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.screen-card {
  border-radius: var(--r-l); overflow: hidden;
  background: var(--surface-raise); border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.screen-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.screen-card figcaption { padding: 14px 18px 18px; }
.screen-card figcaption .mono-label { display: block; margin-bottom: 4px; }

/* ============ Waitlist band (non-macOS visitors) ============ */
.waitlist-band {
  border-top: 1px solid var(--line-1);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(245,166,35,0.05) 0%, transparent 65%);
  padding: clamp(64px, 10vh, 100px) clamp(20px, 5vw, 40px);
}
.waitlist-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.waitlist-copy { flex: 1 1 300px; min-width: 0; }
.waitlist-form { flex: 0 1 420px; }
.waitlist-field {
  display: flex; align-items: center; gap: 0;
  background: var(--surface-raise); border: 1px solid var(--line-2);
  border-radius: 14px; overflow: hidden;
  transition: border-color var(--t-instant) var(--ease-settle),
              box-shadow var(--t-instant) var(--ease-settle);
}
.waitlist-field:focus-within {
  border-color: var(--accent-32);
  box-shadow: 0 0 0 3px var(--accent-08);
}
.waitlist-input {
  flex: 1 1 0; min-width: 0;
  background: transparent; border: none; outline: none;
  padding: 14px 18px;
  font-family: var(--font-ui); font-size: 15px; color: var(--ink-1);
  caret-color: var(--accent);
}
.waitlist-input::placeholder { color: var(--ink-4); }
.waitlist-btn {
  flex-shrink: 0;
  border-radius: 0 12px 12px 0;
  border: none; border-left: 1px solid var(--accent-32);
  padding: 14px 22px; font-size: 15px;
}
.waitlist-note {
  margin-top: 12px; min-height: 1.4em;
  font-size: 12px; letter-spacing: 0.06em;
  transition: color var(--t-quick) var(--ease-settle);
}
.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;
}
@media (max-width: 767px) {
  .waitlist-inner { flex-direction: column; gap: 28px; }
  .waitlist-form { width: 100%; }
  .waitlist-field { flex-direction: column; border-radius: var(--r-l); overflow: visible; background: none; border: none; gap: 10px; }
  .waitlist-field:focus-within { box-shadow: none; border: none; }
  .waitlist-input {
    width: 100%; border-radius: var(--r-l);
    background: var(--surface-raise); border: 1px solid var(--line-2);
    transition: border-color var(--t-instant), box-shadow var(--t-instant);
  }
  .waitlist-input:focus { border-color: var(--accent-32); box-shadow: 0 0 0 3px var(--accent-08); }
  .waitlist-btn { border-radius: var(--r-l); border: 1px solid var(--accent-32); width: 100%; justify-content: center; }
}

/* ============ Final CTA + footer ============ */
.cta-final {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(90px, 14vh, 150px) clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--line-1);
  background: radial-gradient(ellipse 70% 60% at 50% 100%, #0C0C0E 0%, #070708 70%);
}
.cta-final .btn { margin-top: 40px; }
.cta-final .hero-cta-row .btn { margin-top: 0; }
.footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  max-width: 1180px; margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 40px) max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-1);
}
.footer span, .footer a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-4); }
.footer a:hover { color: var(--ink-2); }
.footer-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-credit { display: inline-flex; align-items: center; gap: 6px; }
.footer-credit .heart { color: var(--accent); }

/* ============ Simple page hero (roadmap / contact) ============ */
.page-hero {
  padding: clamp(140px, 20vh, 200px) clamp(20px, 5vw, 40px) clamp(60px, 8vh, 88px);
  max-width: 760px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.page-hero p { margin-top: 20px; color: var(--ink-2); line-height: 1.7; max-width: 560px; }

/* ============ Roadmap ============ */
.roadmap-list { display: flex; flex-direction: column; gap: 14px; }
.roadmap-item {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: start;
  border-radius: var(--r-l); background: var(--surface-raise);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 30px);
}
.roadmap-item h3 { font-size: 18px; font-weight: 500; color: var(--ink-1); letter-spacing: -0.01em; }
.roadmap-item p { margin-top: 8px; color: var(--ink-2); line-height: 1.65; font-size: 15px; max-width: 62ch; }
.tag-soon, .tag-shipped {
  flex-shrink: 0; white-space: nowrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--accent-08); border: 1px solid var(--accent-32); color: #F5C368;
}
/* Shipped is stated, not celebrated: amber is reserved for the things that
   are still ahead, so a delivered promise recedes into the page rather than
   competing with the ones that have not been kept yet. */
.tag-shipped {
  background: none; border-color: var(--line-2); color: var(--ink-3);
}

/* ============ Contact ============ */
.contact-card {
  max-width: 520px; margin: 0 auto; text-align: center;
  border-radius: var(--r-xl); background: var(--surface-raise);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  padding: clamp(36px, 5vw, 52px);
}
.contact-email {
  display: inline-flex; margin-top: 22px;
  font-family: var(--font-mono); font-size: 17px; letter-spacing: 0.02em; color: var(--accent-bright);
}
.contact-list { text-align: left; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-1); }
.contact-list li { color: var(--ink-2); line-height: 1.7; font-size: 14.5px; margin-bottom: 10px; }
.contact-list b { color: var(--ink-1); }

/* ============ Privacy (plain policy prose) ============ */
.policy { display: flex; flex-direction: column; gap: 40px; }
.policy-block h2 { font-size: 19px; font-weight: 500; color: var(--ink-1); letter-spacing: -0.01em; }
.policy-block p { margin-top: 10px; color: var(--ink-2); line-height: 1.7; font-size: 15px; }
.policy-block ul { margin-top: 14px; padding-left: 0; list-style: none; }
.policy-block li {
  position: relative; padding-left: 20px; color: var(--ink-2); line-height: 1.7; font-size: 15px; margin-bottom: 10px;
}
.policy-block li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4); }
.policy-block b { color: var(--ink-1); font-weight: 500; }
.policy-updated { color: var(--ink-4); font-size: 13px; }

/* ============ Mobile ============ */
@media (max-width: 767px) {
  .nav-link { display: none; }
  .nav .btn { padding: 11px 16px; }
  .bar-caption { display: none; }
  .hero { padding-top: 84px; }
  .hero-copy { margin-top: 16px; }
  .bar-home { bottom: 36px; }
  .how-row { grid-template-columns: 1fr; gap: 12px; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .cap-body { padding: 28px 22px; }
  .capture { min-height: 420px; }
  .reqs-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }
  .roadmap-item { grid-template-columns: 1fr; }
  .footer-left, .footer-links { justify-content: center; width: 100%; }
  .footer { justify-content: center; text-align: center; }
}

/* very narrow phones (iPhone SE / small Android, ~360px and under) */
@media (max-width: 400px) {
  .nav .brand { font-size: 15px; gap: 8px; }
  .nav-right { gap: 14px; }
  .nav .btn { padding: 11px 14px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ============ Pricing ============ */
.price-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-l); background: var(--surface-raise);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  padding: 26px 24px 24px;
}
/* One card carries the recommendation. Border and a label, not a scale
   transform — a card that grows on hover shifts the two beside it. */
.price-card.is-featured { border-color: var(--accent-32); }
.price-card .price-name {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
  display: flex; align-items: baseline; gap: 10px;
}
.price-card.is-featured .price-name { color: var(--accent-deep); }
.price-card .price-tag { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.price-card .price-tag b { font-size: 34px; font-weight: 400; color: var(--ink-1); letter-spacing: -0.02em; }
.price-card .price-tag span { font-size: 14px; color: var(--ink-3); }
.price-card .price-annual { margin-top: 6px; font-size: 13px; color: var(--ink-4); min-height: 1.3em; }
.price-card .price-line { margin-top: 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.price-card ul { list-style: none; margin: 18px 0 0; padding: 0; }
.price-card li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  color: var(--ink-2); font-size: 14px; line-height: 1.55;
}
.price-card li::before {
  content: ""; position: absolute; left: 3px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: var(--accent-glow);
}
/* A capability the tier does NOT include, said plainly rather than omitted —
   the Plus/Pro line is the thing people get wrong, so it is worth the space. */
.price-card li.is-out { color: var(--ink-4); }
.price-card li.is-out::before { background: var(--line-2); box-shadow: none; }
.price-card .price-cta { margin-top: auto; padding-top: 22px; }
.price-card .price-cta .btn { width: 100%; justify-content: center; }
.price-note { margin-top: 22px; color: var(--ink-4); font-size: 13.5px; line-height: 1.7; max-width: 720px; }
@media (max-width: 1000px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ============ Privacy vows ============ */
/* Sits directly under Pricing on purpose. The question "so where does my
   voice go once I'm paying for the cloud?" is asked by the Pro card two
   hundred pixels above, and an answer anywhere else on the page is an answer
   nobody reaches. */
.vow-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 8px;
}
.vow-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-2); border-radius: var(--r-l);
  background: var(--surface-raise); box-shadow: var(--shadow-card);
  padding: 26px 24px;
}
.vow-card .vow-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: var(--accent); background: var(--accent-08);
  border: 1px solid var(--accent-32);
}
.vow-card h3 {
  margin-top: 16px; font-size: 16px; font-weight: 500;
  color: var(--ink-1); line-height: 1.45; letter-spacing: -0.01em;
}
.vow-card p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
/* The plan badges. A vow that quietly applied to the free tier only would be
   worth less than no vow, so every card says which plans it covers rather
   than leaving it to be inferred from the section heading. */
.vow-plans {
  /* Pushed to the bottom of the card so all three badge rows share a
     baseline: the headings and bodies are different lengths, and badges that
     float at three different heights read as three different claims. */
  margin-top: auto; padding-top: 20px; display: flex; gap: 6px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-4);
}
.vow-plans span {
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 3px 9px;
}
@media (max-width: 900px) {
  .vow-grid { grid-template-columns: 1fr; }
}
