/* ========== Voice to Mac — design tokens ========== */
:root {
  /* Accents (tweakable) */
  --accent: #818CF8;            /* indigo from icon */
  --accent-ink: #4F46E5;        /* deeper for text-on-light */
  --accent-soft: #E0E7FF;       /* tint */

  /* Neutrals — warm-tilted */
  --ink: #0F172A;               /* near-black slate */
  --ink-2: #1E293B;             /* slate */
  --ink-3: #475569;             /* slate-600 */
  --ink-4: #94A3B8;             /* slate-400 */
  --line: #E2E8F0;              /* hairline */
  --line-2: #EEF2F6;
  --paper: #FBFAF7;             /* warm off-white (bubl) */
  --paper-2: #F5F3EE;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-3);
  --card: #ffffff;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.03);
  --sh-2: 0 2px 8px rgba(15,23,42,.06);
  --sh-3: 0 12px 32px rgba(15,23,42,.08);
  --sh-ring: 0 0 0 1px rgba(15,23,42,.06);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Type */
  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Dark mode (tweakable via .dark on html) */
html.dark {
  --bg: #0B1020;
  --fg: #F1F5F9;
  --muted: #94A3B8;
  --card: #111833;
  --ink: #F1F5F9;
  --ink-2: #E2E8F0;
  --ink-3: #CBD5E1;
  --line: #1E2A4A;
  --line-2: #172142;
  --paper: #0B1020;
  --paper-2: #0E1430;
  --white: #111833;
  --sh-1: 0 1px 2px rgba(0,0,0,.3);
  --sh-2: 0 2px 10px rgba(0,0,0,.35);
  --sh-3: 0 16px 40px rgba(0,0,0,.45);
  --sh-ring: 0 0 0 1px rgba(255,255,255,.06);
}

/* ========== Base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "cv11","ss01","ss03";
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (min-width: 992px)  { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 56px; } }

/* ========== Type ========== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
p  { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.lead { font-size: 19px; color: var(--ink-3); line-height: 1.55; max-width: 640px; }

.accent-word {
  color: var(--accent-ink);
}
html.dark .accent-word { color: var(--accent); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 550;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--sh-2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn-accent {
  background: var(--accent-ink);
  color: white;
}
html.dark .btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Key chip (mono) */
.kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line);
}

/* Pills & tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--ink-3);
  background: var(--white);
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.brand small { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 12px; }
.nav-links { display: none; gap: 28px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px; color: var(--ink-3); font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ========== Sections ========== */
section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }
.section-alt { background: var(--paper-2); }
html.dark .section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--ink-2);
  color: #E2E8F0;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #CBD5E1; }

/* ========== Hero ========== */
.hero { padding: 56px 0 80px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
  box-shadow: var(--sh-1);
  margin-bottom: 24px;
}
.hero-badge .pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: 0.04em;
}
html.dark .hero-badge .pill { background: color-mix(in srgb, var(--accent) 25%, transparent); color: #fff; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
  font-family: var(--font-mono);
}
.hero-meta span { display: inline-flex; gap: 6px; align-items: center; }
.hero-meta .bullet { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* Hero visual — Mac window */
.macwin {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--sh-3), var(--sh-ring);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform .5s var(--ease);
}
.macwin:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.macwin-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
html.dark .macwin-bar { background: #0E1430; }
.macwin-bar .dots { display: flex; gap: 6px; }
.macwin-bar .dots i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.macwin-bar .dots i:nth-child(1) { background: #FF5F57; }
.macwin-bar .dots i:nth-child(2) { background: #FEBC2E; }
.macwin-bar .dots i:nth-child(3) { background: #28C840; }
.macwin-bar .title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  margin-left: 12px;
}
.macwin-body { padding: 20px; background: var(--card); min-height: 380px; position: relative; }

/* Dictation pane inside window */
.dict-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.dict-head .rec {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
}
.rec-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
  70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.dict-hotkey {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);
  display: inline-flex; gap: 4px; align-items: center;
}

/* Waveform */
.wave {
  display: flex; align-items: center; gap: 3px;
  height: 70px; padding: 8px 0;
}
.wave .bar {
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-ink));
  animation: wave 1.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Transcript (code-y) */
.transcript {
  margin-top: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  min-height: 150px;
}
html.dark .transcript { background: #0E1430; color: #E2E8F0; }
.transcript .tok-kw { color: #B45309; }
html.dark .transcript .tok-kw { color: #FCD34D; }
.transcript .tok-fn { color: var(--accent-ink); }
html.dark .transcript .tok-fn { color: var(--accent); }
.transcript .tok-str { color: #047857; }
html.dark .transcript .tok-str { color: #6EE7B7; }
.transcript .tok-dim { color: var(--ink-4); }
.transcript .caret {
  display: inline-block; width: 7px; height: 16px;
  background: var(--accent-ink);
  vertical-align: -3px; margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}
html.dark .transcript .caret { background: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

.dict-foot {
  display: flex; justify-content: space-between;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);
}
.dict-foot .ok { color: #059669; }
html.dark .dict-foot .ok { color: #34D399; }

/* ========== Generic card ========== */
.card-plain {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-plain:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

/* ========== Section header ========== */
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { margin-top: 18px; font-size: 18px; }

/* ========== Pipeline (How it works) ========== */
.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) { .pipeline { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.pipe-stage {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
@media (min-width: 900px) {
  .pipe-stage { border-radius: 0; border-right: none; }
  .pipe-stage:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .pipe-stage:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; border-right: 1px solid var(--line); }
}
.pipe-stage .num {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);
  letter-spacing: 0.1em;
}
.pipe-stage h3 { margin: 8px 0 8px; }
.pipe-stage p { font-size: 14.5px; }
.pipe-stage .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono); font-size: 11px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-pill);
  margin-top: 16px;
  color: var(--ink-3);
}
.pipe-stage .chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; }
.pipe-stage .chip.opt .dot { background: var(--accent); }

/* ========== IDE showcase ========== */
.ide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1000px) { .ide-grid { grid-template-columns: 320px 1fr; gap: 40px; } }

.app-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 1000px) { .app-list { grid-template-columns: 1fr; } }
.app-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  width: 100%;
  color: inherit;
}
.app-row:hover { background: color-mix(in srgb, var(--accent-soft) 60%, transparent); }
html.dark .app-row:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.app-row.active {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--sh-2);
}
.app-row .ico {
  width: 28px; height: 28px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: #fff;
}
.app-row .name { font-size: 14px; font-weight: 500; }
.app-row .meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); margin-left: auto; }

.ide-demo {
  background: var(--ink);
  color: #E2E8F0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.ide-tabs {
  display: flex; gap: 0; padding: 10px 12px 0;
  background: #0B1226;
  align-items: flex-end;
  border-bottom: 1px solid #1E2A4A;
}
.ide-tabs .tab {
  padding: 8px 14px;
  font-family: var(--font-mono); font-size: 12px;
  background: #111833;
  border-radius: 6px 6px 0 0;
  color: #94A3B8;
  margin-right: 2px;
}
.ide-tabs .tab.active { background: var(--ink); color: #fff; }
.ide-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 360px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
}
.gutter {
  padding: 14px 0; text-align: right;
  color: #475569;
  border-right: 1px solid #1E2A4A;
  user-select: none;
}
.gutter span { display: block; padding: 0 8px; }
.code {
  padding: 14px 18px;
  color: #CBD5E1;
  white-space: pre-wrap;
  position: relative;
}
.code .kw  { color: #C4B5FD; }
.code .fn  { color: #93C5FD; }
.code .str { color: #86EFAC; }
.code .cm  { color: #64748B; font-style: italic; }
.code .var { color: #F9A8D4; }
.code .typed { background: color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 3px; padding: 0 2px; }
.code .caret-dark {
  display: inline-block; width: 8px; height: 16px;
  background: var(--accent); vertical-align: -3px; margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}

/* ========== Features ========== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s var(--ease);
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.feat .icn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
html.dark .feat .icn { background: color-mix(in srgb, var(--accent) 20%, transparent); color: #fff; }
.feat h3 { margin-bottom: 6px; font-size: 16.5px; }
.feat p { font-size: 14px; }

/* ========== Privacy block ========== */
.privacy-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) { .privacy-wrap { grid-template-columns: 1fr 1fr; gap: 80px; } }
.diagram {
  position: relative;
  padding: 40px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0F1A3A, #0B1226);
  border: 1px solid #1E2A4A;
  min-height: 360px;
  overflow: hidden;
}
.diagram .ring {
  position: absolute; inset: -60px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%);
  pointer-events: none;
}
.diagram-inner {
  position: relative; display: flex; flex-direction: column; gap: 20px; z-index: 1;
}
.diag-mac {
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #E2E8F0;
  font-family: var(--font-mono); font-size: 12px;
}
.diag-mac .row { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.diag-mac .bolt { color: var(--accent); }
.diag-arrow {
  display: flex; align-items: center; justify-content: center;
  color: #475569; font-family: var(--font-mono); font-size: 11px;
  position: relative;
}
.diag-arrow::before, .diag-arrow::after {
  content: ''; flex: 1; height: 1px; background: #1E2A4A;
}
.diag-arrow span { padding: 0 12px; }
.diag-cloud {
  padding: 18px;
  border: 1px dashed #334155;
  border-radius: 12px;
  font-family: var(--font-mono); font-size: 12px;
  color: #64748B;
  text-align: center;
  text-decoration: line-through;
  text-decoration-color: rgba(239,68,68,.6);
}

/* ========== Pricing ========== */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.price.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--sh-3);
}
.price .plan { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.price h3 { font-size: 22px; margin: 10px 0 6px; }
.price .price-big {
  font-size: 48px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 14px; margin-bottom: 4px;
}
.price .price-big span { font-size: 14px; color: var(--muted); font-weight: 500; }
.price .price-note { color: var(--muted); font-size: 13px; min-height: 20px; }
.price ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.price li {
  display: flex; gap: 10px; padding: 8px 0;
  font-size: 14px; color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
html.dark .price li { color: #E2E8F0; }
.price li:last-child { border-bottom: none; }
.price li .ck { color: #10B981; flex-shrink: 0; margin-top: 3px; }
.price li .xx { color: var(--ink-4); flex-shrink: 0; margin-top: 3px; }
.price .tag-float {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.price .btn { justify-content: center; width: 100%; margin-top: auto; }

/* ========== FAQ ========== */
.faq {
  max-width: 820px; margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 500;
  list-style: none; cursor: pointer;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 24px; color: var(--ink-3); font-weight: 300;
  transition: transform .25s var(--ease);
}
.faq p { padding-top: 12px; font-size: 15.5px; }

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--paper-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-3); font-size: 14px; }
.footer a:hover { color: var(--ink); }
.footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-4);
}

/* ========== Tweaks panel ========== */
#tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 16px;
  font-size: 13px;
  display: none;
}
#tweaks-panel.open { display: block; }
#tweaks-panel h5 {
  margin: 0 0 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.tw-row { margin-bottom: 14px; }
.tw-row label {
  display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px;
  font-family: var(--font-mono);
}
.tw-swatches { display: flex; gap: 8px; }
.tw-sw {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; position: relative;
  transition: transform .15s var(--ease);
}
.tw-sw:hover { transform: scale(1.08); }
.tw-sw.active { border-color: var(--ink); }
html.dark .tw-sw.active { border-color: #fff; }
.tw-seg {
  display: inline-flex;
  background: var(--paper-2); border-radius: 8px; padding: 3px;
  border: 1px solid var(--line);
}
.tw-seg button {
  background: transparent; border: none; padding: 6px 12px;
  font-size: 12px; border-radius: 6px; color: var(--muted);
  font-family: var(--font-sans);
}
.tw-seg button.active { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.tw-close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: none; color: var(--ink-4); font-size: 18px;
}

/* ========== Misc ========== */
.divider {
  width: 100%; height: 1px; background: var(--line); margin: 40px 0;
}

.marquee-logos {
  display: flex; gap: 56px; flex-wrap: wrap;
  align-items: center; justify-content: center;
  opacity: .6; filter: grayscale(1);
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-3);
}

/* ============================================================
   Consumer page additions
   ============================================================ */

/* Big hero stat row */
.stat-row {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; margin-top: 40px;
}
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-size: 40px; font-weight: 600;
  letter-spacing: -0.03em; color: var(--ink);
  font-family: var(--font-sans);
}
.stat .lbl {
  font-size: 14px; color: var(--muted);
  margin-top: 4px; max-width: 220px;
}

/* App mosaic — tiles showing each app's UI */
.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px)  { .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.tile-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
html.dark .tile-head { background: #0E1430; }
.tile-head .app-ico {
  width: 26px; height: 26px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 13px;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.tile-head .label {
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.tile-head .time {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);
}
.tile-body {
  padding: 20px;
  flex: 1;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
}

/* Mic chip inside tile */
.mic-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink);
  font-size: 12px;
  font-family: var(--font-mono);
  align-self: flex-start;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
html.dark .mic-chip { color: #fff; background: color-mix(in srgb, var(--accent) 25%, transparent); }
.mic-chip .mm {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-ink);
  animation: pulse 1.4s infinite;
}
html.dark .mic-chip .mm { background: var(--accent); }

/* Spoken line (italic quote) */
.spoken {
  font-size: 13.5px;
  color: var(--ink-3);
  font-style: italic;
  line-height: 1.55;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

/* "Output" text box styled per app */
.out {
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  flex: 1;
}
html.dark .out { background: #0E1430; color: #E2E8F0; }
.out .sub { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.out .from { font-weight: 600; color: var(--ink); font-size: 13px; margin-bottom: 6px; }
.out .meta-row {
  display: flex; gap: 8px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
}

/* iMessage bubble */
.imessage {
  background: #007AFF; color: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 10px 14px;
  align-self: flex-end;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
}
.imessage-grey {
  background: #E9E9EB; color: #111;
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  align-self: flex-start;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
}
html.dark .imessage-grey { background: #262A34; color: #E2E8F0; }

/* Gmail compose */
.gmail-to { font-size: 12px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.gmail-sub { font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 14px; }

/* Slack */
.slack-msg { display: flex; gap: 10px; }
.slack-avatar {
  width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 13px;
}
.slack-name {
  font-weight: 700; font-size: 13px; color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
.slack-name .t { font-weight: 400; color: var(--muted); font-size: 11px; font-family: var(--font-mono); }
.slack-body { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
html.dark .slack-body { color: #E2E8F0; }

/* Docs */
.docs-ruler { height: 3px; background: var(--line); border-radius: 2px; margin-bottom: 12px; }
.docs-h { font-size: 18px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.docs-p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
html.dark .docs-p { color: #E2E8F0; }

/* ChatGPT */
.gpt-prompt {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: 0 8px 8px 0;
}
html.dark .gpt-prompt { color: #E2E8F0; }

/* Notion */
.notion-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.notion-bullet { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 3px 0; }
html.dark .notion-bullet { color: #E2E8F0; }
.notion-bullet::before { content: '•'; color: var(--ink-4); }

/* Persona cards */
.personas {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 800px)  { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .personas { grid-template-columns: repeat(4, 1fr); } }
.persona {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.persona .emo {
  font-size: 26px; margin-bottom: 10px;
  width: 44px; height: 44px;
  background: var(--paper-2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.persona h3 { font-size: 17px; margin-bottom: 4px; }
.persona .role {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.persona p { font-size: 14px; }
.persona .quote {
  font-size: 13.5px; color: var(--ink-2);
  padding: 14px 0 0; margin-top: 14px;
  border-top: 1px dashed var(--line);
  font-style: italic;
  line-height: 1.55;
}
html.dark .persona .quote { color: #E2E8F0; }

/* Big 'before/after' compare */
.compare {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: 40px;
}
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.col-compare {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.col-compare.slow { background: var(--paper-2); }
.col-compare .pill-top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.col-compare.slow .pill-top { background: #FEE2E2; color: #991B1B; }
.col-compare.fast .pill-top { background: var(--accent-soft); color: var(--accent-ink); }
html.dark .col-compare.slow .pill-top { background: rgba(239,68,68,.2); color: #FCA5A5; }
html.dark .col-compare.fast .pill-top { background: color-mix(in srgb, var(--accent) 25%, transparent); color: #fff; }
.col-compare h3 { font-size: 22px; margin-bottom: 8px; }
.col-compare .time-big {
  font-size: 56px; font-weight: 600; letter-spacing: -0.03em;
  line-height: 1; margin: 16px 0 4px;
  color: var(--ink);
}
.col-compare .time-lbl { color: var(--muted); font-size: 13px; }
.col-compare ul { list-style: none; padding: 0; margin: 20px 0 0; }
.col-compare li {
  padding: 8px 0; font-size: 14px;
  display: flex; gap: 10px;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
html.dark .col-compare li { color: #E2E8F0; }
.col-compare li:last-child { border-bottom: none; }

/* Steps */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { position: relative; }
.step .num-big {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--accent-ink);
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 8px;
}
html.dark .step .num-big { color: var(--accent); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step .big-vis {
  margin-top: 18px;
  border-radius: 12px;
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  min-height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-3);
}

/* Big number headline */
.headline-mega {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600; letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.headline-mega em {
  font-style: normal;
  color: var(--accent-ink);
}
html.dark .headline-mega em { color: var(--accent); }
