/* ============================================================
 * Voice & Speech page — local stylesheet (vo- prefix)
 * Design vocabulary: editorial · speech pipeline · coral accent
 * Mirrors the v2 / marketing conventions so AI & Automation reads as
 * one studio. LIME stays the site-wide primary accent; coral
 * (--vo-coral) flavors the demo / pipeline / dashboard internals only.
 * ============================================================ */

.vo-page {
  --vo-coral: #FB7185;
  --vo-coral-2: #FDA4AF;
  --vo-amber: #F59E0B;
  --vo-red: #F4796F;
  --vo-paper: #F4E9EC;
  --vo-ink: #100709;
  --vo-lime: #d4ff3a;
  --vo-paper-soft: rgba(244, 233, 236, 0.04);
  --vo-line: rgba(244, 233, 236, 0.12);
  --vo-line-strong: rgba(244, 233, 236, 0.22);
  --vo-mono: 'JetBrains Mono', ui-monospace, monospace;
  --vo-display: 'Fraunces', 'Bodoni Moda', serif;
  --vo-sans: 'Space Grotesk', system-ui, sans-serif;
  background: var(--vo-ink);
  color: var(--vo-paper);
}

/* ===== shared atoms ===== */
.vo-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--vo-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244, 233, 236, 0.62);
  padding: 8px 12px;
  border: 1px solid var(--vo-line);
  border-radius: 999px;
  background: var(--vo-paper-soft);
}
.vo-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: voPulse 2.4s ease-in-out infinite;
}
@keyframes voPulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.45 } }

.vo-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--vo-sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border: 1px solid var(--vo-line-strong);
  border-radius: 999px;
  color: var(--vo-paper);
  background: transparent;
  text-decoration: none;
  transition: background-color 0.35s cubic-bezier(0.16,1,0.3,1),
              color 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s cubic-bezier(0.16,1,0.3,1);
}
.vo-btn:hover { background: var(--vo-paper); color: var(--vo-ink); border-color: var(--vo-paper); }
/* Primary CTA — LIME per site convention. --vo-btn--coral aliases lime so
 * markup can opt into a "coral" name without ever colouring a primary CTA coral. */
.vo-btn--lime,
.vo-btn--coral {
  background: var(--vo-lime);
  color: var(--vo-ink);
  border-color: var(--vo-lime);
}
.vo-btn--lime:hover,
.vo-btn--coral:hover { background: transparent; color: var(--vo-lime); border-color: var(--vo-lime); }
.vo-btn .arr { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.vo-btn:hover .arr { transform: translateX(4px); }

.vo-section {
  position: relative;
  padding: 140px 6vw 160px;
  z-index: 2;
}
.vo-speech, .vo-arch, .vo-tools, .vo-compound, .vo-ledger, .vo-cta {
  z-index: 5;
  isolation: isolate;
}
.vo-program { z-index: 1; }
.vo-program__sticky { z-index: 1; }
.vo-speech__stage, .vo-speech__panel, .vo-speech__slider,
.vo-tools__grid, .vo-tool {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.vo-section__head {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}
.vo-section__title {
  font-family: var(--vo-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 1;
}
.vo-section__title em { font-style: italic; color: var(--vo-lime); }
.vo-section__lede {
  font-family: var(--vo-sans);
  font-size: 17px; line-height: 1.62;
  color: rgba(244, 233, 236, 0.70);
  max-width: 640px; margin: 0 auto;
}
.vo-section__lede em {
  font-family: var(--vo-display); font-style: italic;
  color: var(--vo-paper); font-weight: 500;
}

/* ============================================================
 * 01 — HERO (voice console)
 * ============================================================ */
.vo-hero {
  position: relative; min-height: 100vh;
  padding: 120px 6vw 60px; overflow: hidden; z-index: 1;
}
.vo-hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image:
    radial-gradient(rgba(244, 233, 236, 0.6) 1px, transparent 1px),
    radial-gradient(rgba(244, 233, 236, 0.6) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px; background-position: 0 0, 2px 3px;
  mix-blend-mode: overlay;
}
.vo-hero__three {
  position: absolute; top: 6%; right: -8%;
  width: 72vw; max-width: 1000px; height: 76vh;
  pointer-events: none; opacity: 0.62; z-index: 0;
}
.vo-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; min-height: calc(100vh - 240px);
}
.vo-hero__left { padding-right: 20px; }
.vo-hero__title {
  font-family: var(--vo-display); font-weight: 400;
  font-size: clamp(48px, 6.4vw, 108px); line-height: 1.0;
  letter-spacing: -0.025em; margin: 28px 0 28px;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
}
.vo-hero__title em { font-style: italic; color: var(--vo-lime); }
.vo-hero__lede {
  font-family: var(--vo-sans); font-size: 18px; line-height: 1.62;
  color: rgba(244, 233, 236, 0.72); max-width: 540px;
}
.vo-hero__cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.vo-hero__caption {
  margin-top: 38px; font-family: var(--vo-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244, 233, 236, 0.45);
  display: flex; gap: 14px; align-items: baseline;
}
.vo-hero__caption .n {
  font-family: var(--vo-display); font-style: italic; font-size: 16px; color: var(--vo-lime);
}

/* voice console */
.vo-hero__console {
  position: relative; width: 100%;
  background: linear-gradient(180deg, #1a0c11 0%, #120a0e 100%);
  border: 1px solid var(--vo-line); border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(244,233,236,0.04);
  overflow: hidden; display: flex; flex-direction: column;
}
.vo-console__chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--vo-line);
  background: rgba(244, 233, 236, 0.02);
}
.vo-console__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--vo-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,233,236,0.6);
}
.vo-console__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime);
  animation: voPulse 1.6s ease-in-out infinite;
}
.vo-console__roas {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(244,233,236,0.55);
}
.vo-console__roas span {
  font-family: var(--vo-display); font-style: italic; font-size: 18px;
  color: var(--vo-lime); margin-left: 6px;
  font-variation-settings: 'opsz' 96, 'wght' 600;
}
.vo-console__query {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--vo-line);
  background: rgba(244,233,236,0.02);
  font-family: var(--vo-mono); font-size: 12.5px; color: rgba(244,233,236,0.82);
}
.vo-console__query-icon { color: var(--vo-coral); font-size: 14px; }
.vo-console__query-text { flex: 1; }
.vo-console__caret {
  width: 1.5px; height: 14px; background: var(--vo-coral);
  animation: voCaret 1.1s step-end infinite;
}
.vo-console__body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--vo-line);
}
.vo-console__metric {
  background: #120a0e; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.vo-console__metric .k {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(244,233,236,0.5);
}
.vo-console__metric .v {
  font-family: var(--vo-display); font-size: 30px; font-weight: 500; color: var(--vo-paper);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.vo-console__spark { display: block; width: 100%; height: 90px; background: #120a0e; }
.vo-console__control {
  padding: 16px 20px 20px; border-top: 1px solid var(--vo-line);
  background: rgba(244,233,236,0.02);
}
.vo-console__control-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(244,233,236,0.55); margin-bottom: 12px;
}
.vo-console__budget { font-family: var(--vo-display); font-style: italic; font-size: 18px; color: var(--vo-coral); }
.vo-console__slider, .vo-speech__slider {
  appearance: none; -webkit-appearance: none; width: 100%; height: 4px;
  background: var(--vo-line); border-radius: 2px; outline: none; cursor: ew-resize;
}
.vo-console__slider::-webkit-slider-thumb, .vo-speech__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime); cursor: ew-resize; box-shadow: 0 4px 12px rgba(212,255,58,0.5);
}
.vo-console__slider::-moz-range-thumb, .vo-speech__slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--lime);
  cursor: ew-resize; border: 0; box-shadow: 0 4px 12px rgba(212,255,58,0.5);
}
@keyframes voCaret { 0%,100% { opacity: 1 } 50% { opacity: 0 } }

/* hero metrics row */
.vo-hero__metrics {
  position: relative; z-index: 2; margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--vo-line);
}
.vo-hero__metric {
  padding: 22px 24px; border-right: 1px solid var(--vo-line);
  display: flex; flex-direction: column; gap: 8px;
}
.vo-hero__metric:last-child { border-right: 0; }
.vo-hero__metric .k {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(244,233,236,0.5);
}
.vo-hero__metric .v {
  font-family: var(--vo-display); font-size: 38px; font-weight: 500; color: var(--vo-paper);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.vo-hero__metric .v em { font-style: italic; color: var(--vo-lime); }

/* ============================================================
 * 02 — LEDGER
 * ============================================================ */
.vo-ledger__table { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--vo-line-strong); }
.vo-ledger__row {
  display: grid; grid-template-columns: 1.2fr 1fr 2.4fr 1fr; gap: 30px;
  padding: 26px 18px; border-bottom: 1px solid var(--vo-line);
  transition: background 0.3s ease, padding 0.3s ease; align-items: baseline;
}
.vo-ledger__row:hover { background: rgba(244,233,236,0.03); padding-left: 28px; }
.vo-ledger__name {
  font-family: var(--vo-display); font-style: italic; font-size: 28px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1; color: var(--vo-paper);
}
.vo-ledger__type {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(244,233,236,0.55);
}
.vo-ledger__beat {
  font-family: var(--vo-sans); font-size: 14px; line-height: 1.55; color: rgba(244,233,236,0.72);
}
.vo-ledger__metric { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.vo-ledger__metric em {
  font-family: var(--vo-display); font-style: italic; font-size: 32px; font-weight: 500;
  color: var(--vo-lime); font-variation-settings: 'opsz' 96, 'wght' 500;
}
.vo-ledger__metric span {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(244,233,236,0.45);
}

/* ============================================================
 * 03 — SPEECH PIPELINE (signature: live ASR → understand → speak)
 * ============================================================ */
.vo-speech__stage {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px;
  max-width: 1220px; margin: 0 auto; align-items: start;
}
/* left — waveform + streaming transcript */
.vo-speech__live {
  background: #150b0f; border: 1px solid var(--vo-line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
}
.vo-speech__live-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--vo-line); background: rgba(244,233,236,0.02);
}
.vo-speech__live-mark {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(244,233,236,0.74);
}
.vo-speech__live-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--vo-coral); box-shadow: 0 0 10px var(--vo-coral); }
.vo-speech__live-stage {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--vo-coral);
}

/* waveform frame */
.vo-wave__frame {
  position: relative; margin: 14px 14px 0; height: 140px; border-radius: 10px;
  background:
    radial-gradient(120% 80% at 50% 50%, rgba(251,113,133,0.07), transparent 70%),
    rgba(244,233,236,0.025);
  border: 1px solid var(--vo-line); overflow: hidden;
}
.vo-wave__canvas { display: block; width: 100%; height: 100%; }
.vo-wave__baseline {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251,113,133,0.32), transparent);
  pointer-events: none;
}

/* streaming transcript */
.vo-speech__transcript {
  margin: 12px 14px; padding: 16px 16px; border-radius: 10px;
  background: rgba(7,4,6,0.5); border: 1px solid var(--vo-line);
  min-height: 200px; max-height: 240px; overflow-y: auto;
}
.vo-transcript__stream {
  font-family: var(--vo-display); font-size: 19px; line-height: 1.55; color: var(--vo-paper);
  font-variation-settings: 'opsz' 40, 'SOFT' 20;
  display: flex; flex-wrap: wrap; gap: 2px 7px; align-content: flex-start;
}
.vo-transcript__placeholder {
  font-family: var(--vo-sans); font-style: italic; font-size: 14px;
  color: rgba(244,233,236,0.4);
}
/* each streamed word */
.vo-word {
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.28s ease, transform 0.28s ease, color 0.28s ease;
  color: rgba(244,233,236,0.92);
}
.vo-word.is-in { opacity: 1; transform: translateY(0); }
.vo-word.is-partial { color: rgba(244,233,236,0.5); font-style: italic; }
/* speaker tags (diarization) */
.vo-word--spkA { box-shadow: inset 0 -2px 0 rgba(251,113,133,0.55); }
.vo-word--spkB { box-shadow: inset 0 -2px 0 rgba(212,255,58,0.55); }
.vo-spk-tag {
  flex: 0 0 100%;
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 8px; display: inline-flex; align-items: center; gap: 7px;
}
.vo-spk-tag:first-child { margin-top: 0; }
.vo-spk-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.vo-spk-tag--A { color: var(--vo-coral-2); }
.vo-spk-tag--A::before { background: var(--vo-coral); box-shadow: 0 0 8px var(--vo-coral); }
.vo-spk-tag--B { color: var(--vo-lime); }
.vo-spk-tag--B::before { background: var(--vo-lime); box-shadow: 0 0 8px var(--vo-lime); }

/* pipeline stepper (ASR → Understand → Speak) */
.vo-speech__pipe {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px 18px; flex-wrap: wrap;
}
.vo-speech__pipe-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--vo-line);
  color: rgba(244,233,236,0.5); background: rgba(7,4,6,0.4);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.vo-speech__pipe-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(244,233,236,0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.vo-speech__pipe-step.is-active {
  color: var(--vo-paper); border-color: rgba(251,113,133,0.5); background: rgba(251,113,133,0.08);
}
.vo-speech__pipe-step.is-active .vo-speech__pipe-dot { background: var(--vo-coral); box-shadow: 0 0 9px var(--vo-coral); }
.vo-speech__pipe-step.is-done { color: var(--vo-coral-2); border-color: rgba(251,113,133,0.3); }
.vo-speech__pipe-step.is-done .vo-speech__pipe-dot { background: var(--vo-coral-2); }
.vo-speech__pipe-arr { color: rgba(244,233,236,0.3); font-size: 14px; }

/* right — control panel */
.vo-speech__panel {
  display: flex; flex-direction: column; gap: 18px; padding: 24px;
  background: rgba(244,233,236,0.03); border: 1px solid var(--vo-line); border-radius: 14px;
}
.vo-speech__utterances { display: flex; gap: 8px; flex-wrap: wrap; }
.vo-speech__u {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--vo-line); background: transparent; color: rgba(244,233,236,0.7);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.vo-speech__u:hover { border-color: var(--vo-line-strong); color: var(--vo-paper); }
.vo-speech__u.is-on { background: var(--vo-coral); color: #1a0810; border-color: var(--vo-coral); }

.vo-speech__controls { display: flex; flex-direction: column; gap: 14px; }
.vo-speech__playrow { display: flex; gap: 10px; }
.vo-speech__play {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 16px; border-radius: 10px; cursor: pointer;
  font-family: var(--vo-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--vo-lime); background: var(--vo-lime); color: var(--vo-ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.vo-speech__play:hover { background: transparent; color: var(--vo-lime); }
.vo-speech__play-glyph { font-size: 11px; }
.vo-speech__play.is-playing .vo-speech__play-glyph { color: inherit; }
.vo-speech__restart {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-radius: 10px; cursor: pointer;
  font-family: var(--vo-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--vo-line); background: rgba(7,4,6,0.4); color: rgba(244,233,236,0.7);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.vo-speech__restart:hover { color: var(--vo-paper); border-color: var(--vo-line-strong); }

.vo-speech__toggles { display: flex; gap: 10px; }
.vo-speech__toggle {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--vo-line); background: rgba(7,4,6,0.4); color: rgba(244,233,236,0.55);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.vo-speech__toggle-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(244,233,236,0.3);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.vo-speech__toggle.is-on { color: var(--vo-paper); border-color: rgba(251,113,133,0.5); }
.vo-speech__toggle.is-on .vo-speech__toggle-dot { background: var(--vo-coral); box-shadow: 0 0 9px var(--vo-coral); }

/* detected intent */
.vo-speech__intent {
  border-radius: 12px; padding: 16px 18px; border: 1px solid var(--vo-line);
  background: rgba(7,4,6,0.5); transition: border-color 0.35s ease, background 0.35s ease;
}
.vo-speech__intent.is-detected { border-color: rgba(251,113,133,0.45); background: rgba(251,113,133,0.06); }
.vo-speech__intent-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.vo-speech__intent-label {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,233,236,0.55);
}
.vo-speech__intent-flag {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.vo-speech__intent-flag.is-resolved { color: var(--vo-coral-2); background: rgba(251,113,133,0.14); }
.vo-speech__intent-flag.is-warn { color: var(--vo-red); background: rgba(244,121,111,0.16); }
.vo-speech__intent-name {
  font-family: var(--vo-display); font-style: italic; font-size: 24px; color: var(--vo-paper);
  font-variation-settings: 'opsz' 72, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.vo-speech__intent-slots { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.vo-slot {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--vo-mono); font-size: 11px;
  padding: 5px 11px; border-radius: 7px; background: rgba(244,233,236,0.04); border: 1px solid var(--vo-line);
}
.vo-slot .k { color: rgba(244,233,236,0.5); letter-spacing: 0.06em; text-transform: uppercase; font-size: 9px; }
.vo-slot .v { color: var(--vo-coral-2); }

/* response + TTS speaking indicator */
.vo-speech__response {
  border-radius: 12px; padding: 18px; border: 1px solid var(--vo-line);
  background: rgba(7,4,6,0.5); transition: border-color 0.35s ease, background 0.35s ease;
}
.vo-speech__response.is-speaking { border-color: rgba(251,113,133,0.5); background: rgba(251,113,133,0.07); }
.vo-speech__response-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.vo-speech__response-label {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,233,236,0.55);
}
.vo-speech__response-text {
  font-family: var(--vo-display); font-size: 18px; line-height: 1.5; color: var(--vo-paper);
  font-variation-settings: 'opsz' 40, 'SOFT' 20;
}
/* speaking indicator — animated bars, hidden until active */
.vo-speech__speaking {
  display: inline-flex; align-items: center; gap: 4px; opacity: 0;
  font-family: var(--vo-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--vo-coral-2); transition: opacity 0.3s ease;
}
.vo-speech__speaking.is-on { opacity: 1; }
.vo-speaking__bar {
  width: 3px; height: 12px; border-radius: 2px; background: var(--vo-coral);
  animation: voSpeak 0.9s ease-in-out infinite;
}
.vo-speech__speaking.is-on .vo-speaking__bar:nth-child(1) { animation-delay: 0s; }
.vo-speech__speaking.is-on .vo-speaking__bar:nth-child(2) { animation-delay: 0.15s; }
.vo-speech__speaking.is-on .vo-speaking__bar:nth-child(3) { animation-delay: 0.3s; }
.vo-speech__speaking.is-on .vo-speaking__bar:nth-child(4) { animation-delay: 0.45s; }
.vo-speech__speaking:not(.is-on) .vo-speaking__bar { animation: none; height: 4px; }
.vo-speaking__txt { margin-left: 4px; }
@keyframes voSpeak { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

.vo-speech__readout {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--vo-line); border: 1px solid var(--vo-line); border-radius: 10px; overflow: hidden;
}
.vo-speech__stat { background: rgba(244,233,236,0.02); padding: 13px 12px; display: flex; flex-direction: column; gap: 5px; }
.vo-speech__stat .k {
  font-family: var(--vo-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,233,236,0.5);
}
.vo-speech__stat .v {
  font-family: var(--vo-display); font-size: 21px; color: var(--vo-paper);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.vo-speech__stat--hero { background: rgba(251,113,133,0.08); }
.vo-speech__stat--hero .v { color: var(--vo-lime); font-style: italic; }
.vo-speech__note {
  font-family: var(--vo-display); font-style: italic; font-size: 15px;
  color: rgba(244,233,236,0.7); line-height: 1.5;
}

/* ============================================================
 * 04 — ARCHITECTURE (mock voice pipeline dashboard)
 * ============================================================ */
.vo-arch__app {
  max-width: 1200px; margin: 0 auto;
  background: #150b0f; border: 1px solid var(--vo-line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}
.vo-arch__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--vo-line); background: rgba(244,233,236,0.02);
  flex-wrap: wrap; gap: 10px;
}
.vo-arch__bar-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--vo-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(244,233,236,0.78);
}
.vo-arch__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--vo-coral); box-shadow: 0 0 10px var(--vo-coral); }
.vo-arch__bar-strat {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(244,233,236,0.55);
}
.vo-arch__bar-strat strong { color: var(--vo-paper); font-weight: 600; }
.vo-arch__body { display: grid; grid-template-columns: 200px 1fr; }
.vo-arch__tree {
  border-right: 1px solid var(--vo-line); padding: 18px 0; display: flex; flex-direction: column;
  background: rgba(244,233,236,0.01);
}
.vo-tree__node {
  font-family: var(--vo-sans); font-size: 13px; color: rgba(244,233,236,0.7);
  padding: 9px 22px; cursor: default; transition: background 0.2s ease, color 0.2s ease;
}
.vo-tree__node--root { font-weight: 600; color: var(--vo-paper); font-size: 13px; }
.vo-tree__node--stage { color: rgba(244,233,236,0.78); }
.vo-tree__node.is-on { background: rgba(251,113,133,0.1); color: var(--vo-paper); box-shadow: inset 3px 0 0 var(--vo-coral); }
.vo-tree__node--stage:hover { background: rgba(244,233,236,0.04); }
.vo-arch__table { padding: 4px 0; overflow-x: auto; }
.vo-st__head, .vo-st__row {
  display: grid; grid-template-columns: 1fr 1.4fr 2.5fr 0.9fr; gap: 12px;
  padding: 13px 24px; align-items: center;
}
.vo-st__head {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,233,236,0.45); border-bottom: 1px solid var(--vo-line);
}
.vo-st__row {
  border-bottom: 1px solid rgba(244,233,236,0.06);
  font-family: var(--vo-sans); font-size: 13px; color: rgba(244,233,236,0.82);
}
.vo-st__row:last-child { border-bottom: 0; }
.vo-st__row.is-active { background: rgba(251,113,133,0.07); box-shadow: inset 3px 0 0 var(--vo-coral); }
.vo-st__stage { font-family: var(--vo-display); font-style: italic; font-size: 17px; color: var(--vo-paper); font-variation-settings: 'opsz' 72, 'wght' 500; }
.vo-st__tool { font-family: var(--vo-mono); font-size: 12px; color: var(--vo-coral-2); }
.vo-st__role { color: rgba(244,233,236,0.7); line-height: 1.4; }
.vo-st__sig {
  justify-self: start; font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 999px; text-transform: lowercase; white-space: nowrap;
}
.vo-st__sig--ok { background: rgba(251,113,133,0.16); color: var(--vo-coral-2); }
.vo-st__sig--live { background: rgba(212,255,58,0.16); color: var(--vo-lime); }
.vo-st__sig--warn { background: rgba(245,158,11,0.16); color: var(--vo-amber); }
.vo-arch__foot {
  display: flex; gap: 28px; flex-wrap: wrap; padding: 16px 24px;
  border-top: 1px solid var(--vo-line); background: rgba(244,233,236,0.02);
}
.vo-arch__legend {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(244,233,236,0.55);
}

/* ============================================================
 * 05 — PROGRAM (pinned cadence)
 * ============================================================ */
.vo-program {
  position: relative; padding: 0;
  background: linear-gradient(180deg, transparent, rgba(244,233,236,0.02), transparent);
}
.vo-program__inner { position: relative; height: 600vh; }
.vo-program__sticky {
  position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden;
}
.vo-program__num {
  position: absolute; top: 8vh; right: 6vw;
  font-family: var(--vo-display); font-style: italic; font-size: clamp(120px, 18vw, 280px);
  line-height: 1; color: rgba(244,233,236,0.05);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1; pointer-events: none;
}
.vo-program__scene {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease; padding: 0 6vw;
}
.vo-program__scene.is-active { opacity: 1; transform: translateY(0); }
.vo-program__scene-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; width: 100%; max-width: 1200px;
}
.vo-program__copy h3 {
  font-family: var(--vo-display); font-size: clamp(40px, 5.6vw, 88px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 24px 0 20px;
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.vo-program__copy h3 em { font-style: italic; color: var(--vo-lime); }
.vo-program__copy p {
  font-family: var(--vo-sans); font-size: 17px; line-height: 1.62;
  color: rgba(244,233,236,0.72); max-width: 480px;
}
.vo-program__step {
  margin-top: 24px; font-family: var(--vo-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime);
}
.vo-program__visual {
  position: relative; height: 56vh; border-radius: 8px; overflow: hidden;
  background: rgba(244,233,236,0.03); border: 1px solid var(--vo-line);
}
.vo-program__rail {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 2px; background: rgba(244,233,236,0.12); border-radius: 1px;
  overflow: hidden; z-index: 50; opacity: 0; transition: opacity 0.4s ease;
}
.vo-program__rail.is-on { opacity: 1; }
.vo-program__rail-fill { height: 100%; width: 0%; background: var(--vo-lime); transition: width 0.2s linear; }

/* program visuals */
.vo-pv { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.vo-pv--scope { gap: 12px; }
.vo-pv__find {
  display: flex; gap: 14px; align-items: baseline; padding: 14px 18px;
  background: rgba(244,233,236,0.04); border-left: 2px solid var(--vo-coral); border-radius: 0 6px 6px 0;
}
.vo-pv__find-tag {
  flex: 0 0 auto; font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--vo-coral); min-width: 80px;
}
.vo-pv__find span:last-child { font-family: var(--vo-sans); font-size: 14px; color: rgba(244,233,236,0.85); line-height: 1.45; }
.vo-pv--ingest, .vo-pv--report { padding: 22px 26px; gap: 0; }
.vo-pv__row, .vo-pv__report {
  display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 13px 0;
  border-bottom: 1px solid var(--vo-line); align-items: baseline;
}
.vo-pv__row:last-child, .vo-pv__report:last-child { border-bottom: 0; }
.vo-pv__row .k, .vo-pv__report .k {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--vo-lime);
}
.vo-pv__row .v { font-family: var(--vo-sans); font-size: 14px; color: rgba(244,233,236,0.9); }
.vo-pv__report .v {
  font-family: var(--vo-display); font-style: italic; font-size: 16px; color: rgba(244,233,236,0.92);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.vo-pv--launch { padding: 22px 26px; gap: 10px; }
.vo-pv__check {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border: 1px solid var(--vo-line); border-radius: 8px;
  font-family: var(--vo-sans); font-size: 13.5px; color: rgba(244,233,236,0.7);
}
.vo-pv__check::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--vo-line-strong); flex: 0 0 auto;
}
.vo-pv__check.is-done { color: var(--vo-paper); border-color: rgba(251,113,133,0.4); }
.vo-pv__check.is-done::before {
  border-color: var(--vo-coral); background: var(--vo-coral);
  box-shadow: inset 0 0 0 2px #150b0f;
}
.vo-pv--ground { padding: 18px; }
.vo-pv__terms { display: flex; flex-direction: column; gap: 6px; }
.vo-pv__term {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 9px 14px; border-radius: 7px; background: rgba(244,233,236,0.03);
  border: 1px solid var(--vo-line); font-family: var(--vo-mono); font-size: 12px;
}
.vo-pv__term-q { font-family: var(--vo-sans); color: rgba(244,233,236,0.85); }
.vo-pv__term-act { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.vo-pv__term-act--add { background: rgba(251,113,133,0.16); color: var(--vo-coral-2); }
.vo-pv__term-act--neg { background: rgba(244,121,111,0.16); color: var(--vo-red); }
.vo-pv__term-roas { color: var(--vo-lime); }
.vo-pv--scale { flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 28px; }
.vo-pv__chip {
  padding: 8px 14px; border: 1px solid var(--vo-line); border-radius: 999px;
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244,233,236,0.7);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.vo-pv__chip:hover { background: var(--vo-coral); color: #1a0810; border-color: var(--vo-coral); }

/* ============================================================
 * 06 — COMPOUND chart
 * ============================================================ */
.vo-compound__wrap {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
}
.vo-compound__chart {
  display: block; width: 100%; height: 380px;
  background: rgba(244,233,236,0.02); border: 1px solid var(--vo-line); border-radius: 12px;
}
.vo-compound__legend { display: flex; flex-direction: column; gap: 18px; }
.vo-compound__key {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--vo-sans); font-size: 15px; color: rgba(244,233,236,0.85); line-height: 1.5;
}
.vo-compound__key span {
  flex: 0 0 auto; width: 14px; height: 14px; border-radius: 4px; margin-top: 2px;
}
.vo-compound__key--managed span { background: var(--vo-lime); }
.vo-compound__key--auto span { background: rgba(244,233,236,0.3); }
.vo-compound__caption {
  font-family: var(--vo-mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(244,233,236,0.4); line-height: 1.6; margin-top: 8px;
}

/* ============================================================
 * 07 — TOOLS
 * ============================================================ */
.vo-tools__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  max-width: 1200px; margin: 0 auto; background: var(--vo-line);
  border: 1px solid var(--vo-line); border-radius: 12px; overflow: hidden;
}
.vo-tool {
  background: var(--vo-ink); padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; min-height: 110px; position: relative;
}
.vo-tool:hover { background: var(--vo-coral); color: #1a0810; }
.vo-tool .cat {
  font-family: var(--vo-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,233,236,0.45); margin-bottom: 6px;
}
.vo-tool:hover .cat { color: rgba(26,8,16,0.7); }
.vo-tool .nm {
  font-family: var(--vo-display); font-style: italic; font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.vo-tool .glyph svg {
  width: 28px; height: 28px; fill: none; stroke: var(--lime); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.3s ease;
}
.vo-tool:hover .glyph svg { stroke: #1a0810; transform: rotate(8deg); }

/* ============================================================
 * 08 — CTA
 * ============================================================ */
.vo-cta { position: relative; padding: 160px 6vw 200px; text-align: center; overflow: hidden; }
.vo-cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.vo-cta__inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.vo-cta__title {
  font-family: var(--vo-display); font-weight: 400; font-size: clamp(48px, 7vw, 112px);
  line-height: 1.04; letter-spacing: -0.025em; margin: 24px 0 24px;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
}
.vo-cta__title em { font-style: italic; color: var(--vo-lime); }
.vo-cta__lede {
  font-family: var(--vo-sans); font-size: 18px; line-height: 1.6;
  color: rgba(244,233,236,0.7); max-width: 580px; margin: 0 auto 36px;
}

/* tweaks/sound hidden on production */
.vo-page .v2-tweaks, .vo-page .v2-sound { display: none !important; }

/* ============================================================
 * Trusted — client logo-loop strip (React Bits "Logo Loop")
 * ============================================================ */
.vo-trust {
  position: relative; z-index: 2;
  padding: 44px 0 52px;
  border-top: 1px solid var(--vo-line);
  border-bottom: 1px solid var(--vo-line);
  overflow: hidden;
}
.vo-trust__label {
  text-align: center;
  font-family: var(--vo-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244, 233, 236, 0.45);
  margin-bottom: 26px;
}
.vo-trust__loop { width: 100%; }
.vo-trust__track { display: flex; align-items: center; }
.vo-trust__logo {
  flex: 0 0 auto;
  padding: 0 42px;
  font-family: var(--vo-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  color: rgba(244, 233, 236, 0.40);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.vo-trust__logo:hover { color: var(--vo-paper); }

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 1024px) {
  .vo-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .vo-hero__three { display: none; }
  .vo-hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .vo-hero__metric { border-bottom: 1px solid var(--vo-line); }
  .vo-hero__metric:nth-child(2) { border-right: 0; }
  .vo-program__scene-inner { grid-template-columns: 1fr; gap: 30px; }
  .vo-program__visual { height: 40vh; }
  .vo-speech__stage { grid-template-columns: 1fr; gap: 30px; }
  .vo-compound__wrap { grid-template-columns: 1fr; gap: 28px; }
  .vo-arch__body { grid-template-columns: 1fr; }
  .vo-arch__tree { display: grid; grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--vo-line); }
  .vo-tools__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .vo-section { padding: 80px 5vw 100px; }
  .vo-hero { padding: 100px 5vw 40px; }
  .vo-ledger__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 12px; }
  .vo-ledger__metric { text-align: left; }
  .vo-console__body { grid-template-columns: 1fr 1fr; }
  .vo-speech__readout { grid-template-columns: 1fr 1fr; }
  .vo-arch__tree { grid-template-columns: 1fr; }
  .vo-st__head { display: none; }
  .vo-st__row { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .vo-program__inner { height: auto; }
  .vo-program__sticky { position: static; height: auto; padding: 60px 0; }
  .vo-program__scene { position: relative; opacity: 1; transform: none; padding: 30px 5vw; height: auto; }
  .vo-program__visual { height: 44vh; }
  .vo-program__rail { display: none; }
  .vo-tools__grid { grid-template-columns: 1fr; }
  .vo-trust { padding: 32px 0 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .vo-program__scene { transition: none; }
  .vo-word { transition: none; }
  .vo-console__pulse, .vo-eyebrow .dot, .vo-console__caret, .vo-speech__live-pulse,
  .vo-speaking__bar { animation: none; }
}
