/* ============================================================
   SCHEDULEIX — Design System
   Theme: Gold • White • Gray • Sage
   ============================================================ */

:root {
  /* Brand */
  --gold: #556B2F;
  --gold-light: #8A9A5B;
  --gold-dark: #3D4F1E;
  --gold-glow: rgba(85, 107, 47, 0.18);

  --sage: #7A8B5F;
  --sage-light: #A8B690;
  --sage-dark: #475437;
  --sage-glow: rgba(139, 159, 122, 0.20);

  /* Neutrals */
  --ink: #0E1015;
  --charcoal: #2A2D3A;
  --slate: #4A4F5C;
  --gray: #6B7280;
  --mute: #9CA3AF;
  --line: #E5E7EB;
  --whisper: #EFEDE4;
  --cream: #FAF7EF;
  --white: #FFFFFF;

  /* Surface */
  --bg: #F8F4EB;
  --surface: #FFFFFF;
  --surface-2: #F3EFE6;

  /* Effects — tighter, lower opacity, more refined */
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, 0.03);
  --shadow-md: 0 1px 2px rgba(20, 22, 28, 0.04), 0 8px 24px -10px rgba(20, 22, 28, 0.08);
  --shadow-lg: 0 1px 2px rgba(20, 22, 28, 0.04), 0 24px 48px -16px rgba(20, 22, 28, 0.10);
  --shadow-xl: 0 1px 2px rgba(20, 22, 28, 0.04), 0 40px 80px -24px rgba(20, 22, 28, 0.12);
  --shadow-gold: 0 8px 24px -8px rgba(197, 165, 114, 0.30);

  /* Type */
  --display: 'Fraunces', 'Source Serif Pro', Georgia, serif;
  --serif: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Geometry */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  text-wrap: balance;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
  font-variation-settings: "opsz" 96;
}

p, .lede {
  text-wrap: pretty;
}

.h-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
}

.h-eyebrow.sage { color: var(--sage-dark); }

.lede {
  font-size: 21px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
}

.italic { font-style: italic; }
.gold { color: var(--gold-dark); }
.sage-text { color: var(--sage-dark); }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 140px 0; position: relative; }
section.tight { padding: 80px 0; }

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(135deg, rgba(61, 79, 30, 0.97) 0%, rgba(85, 107, 47, 0.96) 100%);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

/* Olive nav — flip all inner text to cream. !important beats inline styles in page HTML. */
.nav .logo { color: var(--cream); }
.nav .logo span { color: var(--gold-light) !important; }
.nav .logo-mark { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28); }
.nav .nav-links a { color: rgba(250, 248, 242, 0.82) !important; font-weight: 500; }
.nav .nav-links a:hover { color: #FFFFFF !important; }
.nav .btn-ghost {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.32);
}
.nav .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}
.nav .btn-primary,
.nav .btn-gold {
  background: var(--cream);
  color: var(--gold-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.nav .btn-primary:hover,
.nav .btn-gold:hover {
  background: #FFFFFF;
  color: var(--gold-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%238A9A5B'/><stop offset='55%25' stop-color='%23556B2F'/><stop offset='100%25' stop-color='%233D4F1E'/></linearGradient></defs><rect width='80' height='80' rx='18' fill='url(%23g)'/><g stroke='%23FFF' fill='none'><line x1='22' y1='22' x2='22' y2='58' stroke-width='6' stroke-linecap='square'/><line x1='14' y1='22' x2='30' y2='22' stroke-width='4' stroke-linecap='square'/><line x1='14' y1='58' x2='30' y2='58' stroke-width='4' stroke-linecap='square'/><line x1='40' y1='22' x2='62' y2='58' stroke-width='6' stroke-linecap='round'/><line x1='62' y1='22' x2='40' y2='58' stroke-width='6' stroke-linecap='round'/></g></svg>");
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-gold);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--gold-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

@media (max-width: 800px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--charcoal);
}

.btn-gold {
  background: var(--gold-dark);
  color: white;
}
.btn-gold:hover {
  background: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 22, 28, 0.14);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(20, 22, 28, 0.22);
}

.btn-sage {
  background: var(--sage);
  color: white;
}
.btn-sage:hover {
  background: var(--sage-dark);
}

.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.btn-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 165, 114, 0.10), transparent 60%);
  filter: blur(60px);
}

.hero-grid {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--gold-dark);
}

.hero p.lede {
  font-size: clamp(18px, 2vw, 21px);
  margin: 0 auto 36px;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray);
}
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; }

/* ============================================================
   CALL VISUALIZER (hero showcase)
   ============================================================ */
.call-stage {
  margin: 80px auto 0;
  max-width: 1040px;
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(20, 22, 28, 0.06);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.call-stage-frame {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.call-dots { display: flex; gap: 6px; }
.call-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--line);
}
.call-dots span:nth-child(1) { background: #FF5F57; }
.call-dots span:nth-child(2) { background: #FEBC2E; }
.call-dots span:nth-child(3) { background: #27C840; }
.call-stage-title {
  font-size: 12px;
  color: var(--gray);
  font-family: var(--mono);
  margin-left: 12px;
}

.call-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 520px;
}
@media (max-width: 900px) {
  .call-body { grid-template-columns: 1fr; }
}

.call-left {
  padding: 32px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.call-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.call-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--sage-glow);
  color: var(--sage-dark);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.call-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-dark);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.call-timer {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
}

.transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 380px;
  overflow: hidden;
  position: relative;
  text-align: left;
  mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in 0.5s var(--ease-out) forwards;
}
@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

.bubble-avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.bubble.ai .bubble-avatar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
}
.bubble.human .bubble-avatar {
  background: var(--whisper);
  color: var(--slate);
}

.bubble-text {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 88%;
}
.bubble.ai .bubble-text {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border-top-left-radius: 4px;
}
.bubble.human .bubble-text {
  background: var(--whisper);
  color: var(--ink);
  border-top-left-radius: 4px;
}
.bubble-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 3px;
  font-weight: 600;
}

.call-right {
  padding: 32px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--cream) 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 6px;
}
.metric-value {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.metric-value .unit {
  font-size: 16px;
  color: var(--gray);
  margin-left: 4px;
}
.metric-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.metric-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--sage) 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s var(--ease-out);
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 3px;
  padding: 0 4px;
}
.waveform .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--sage) 100%);
  border-radius: 2px;
  min-height: 4px;
  animation: wave 1.2s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ============================================================
   LOGO BAR
   ============================================================ */
.logo-bar {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.logo-bar-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray);
  margin-bottom: 28px;
}
.logo-bar-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.logo-bar-item {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.logo-bar-item:hover {
  opacity: 1;
  color: var(--slate);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(197, 165, 114, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(156, 175, 136, 0.12), transparent 50%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  text-align: left;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 350;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
}
.stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(250, 248, 242, 0.6);
  line-height: 1.4;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}
.section-head h2 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  line-height: 1.1;
}
.section-head h2 .accent {
  font-style: italic;
  color: var(--gold-dark);
}
.section-head p { color: var(--slate); font-size: 17px; line-height: 1.55; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--whisper) 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
}
.feature-icon.sage { color: var(--sage-dark); }
.feature h3 {
  font-size: 22px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 400;
}
.feature p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   STEPS / MODULES
   ============================================================ */
.modules {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
}

.module-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) {
  .module-tabs { grid-template-columns: repeat(2, 1fr); }
}

.module-tab {
  padding: 24px 20px;
  text-align: left;
  border-right: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: background 0.25s var(--ease);
  position: relative;
}
.module-tab:last-child { border-right: none; }
.module-tab:hover { background: var(--surface-2); }
.module-tab.active {
  background: var(--cream);
}
.module-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--sage) 100%);
}

.module-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.module-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 400;
}
.module-sub {
  font-size: 13px;
  color: var(--gray);
}

.module-panel {
  padding: 48px;
  display: none;
  animation: fadeIn 0.4s var(--ease);
}
.module-panel.active { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 800px) {
  .module-panel.active { grid-template-columns: 1fr; }
  .module-panel { padding: 28px; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.module-content h3 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
}
.module-content h3 .italic { color: var(--gold-dark); }
.module-content p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 16px;
}
.module-content ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}
.module-content ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.module-content ul li:last-child { border-bottom: none; }
.module-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  background: var(--sage-glow);
  color: var(--sage-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.module-visual {
  background: linear-gradient(135deg, var(--cream) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
@media (max-width: 800px) {
  .calc-grid { grid-template-columns: 1fr; }
}

.calc-inputs {
  padding: 40px;
  border-right: 1px solid var(--line);
}
@media (max-width: 800px) {
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--line); }
}

/* Industry preset chips above the sliders */
.industry-preset {
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; color: var(--slate);
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.industry-preset:hover { border-color: var(--gold); color: var(--ink); }
.industry-preset.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Annual / Monthly view toggle inside the output panel */
.view-toggle {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(250,248,242,0.08);
  border: 1px solid rgba(250,248,242,0.15);
  color: rgba(250,248,242,0.65);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.view-toggle:hover { color: var(--cream); }
.view-toggle.active { background: var(--gold-light); color: var(--ink); border-color: var(--gold-light); }

.calc-field { margin-bottom: 28px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.calc-field .val {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--whisper);
  border-radius: 3px;
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(197, 165, 114, 0.4);
  transition: transform 0.15s var(--ease);
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid white;
}

.calc-output {
  background: linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.calc-output::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}

.calc-output-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(250, 248, 242, 0.5);
  margin-bottom: 12px;
  font-weight: 600;
}
.calc-bignum {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 350;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.calc-subtext {
  margin-top: 8px;
  color: rgba(250, 248, 242, 0.7);
  font-size: 15px;
}
.calc-breakdown {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 248, 242, 0.1);
  display: grid;
  gap: 12px;
}
.calc-breakdown .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(250, 248, 242, 0.8);
}
.calc-breakdown .row strong {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.industry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.industry-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sage-glow);
  color: var(--sage-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.industry h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}
.industry p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
}
.industry-stat {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  background: linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border: none;
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}
.tier.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, var(--gold-glow), transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) { .tier.featured { transform: none; } }

.tier-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

.tier-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.tier-tag {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
}
.tier.featured .tier-tag { color: rgba(250, 248, 242, 0.6); }

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.tier-price .num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier.featured .tier-price .num {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.tier-price .per { color: var(--gray); font-size: 15px; }
.tier.featured .tier-price .per { color: rgba(250, 248, 242, 0.6); }
.tier-include {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
}
.tier.featured .tier-include { color: rgba(250, 248, 242, 0.6); }

.tier-features { list-style: none; margin: 24px 0; flex: 1; }
.tier-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.tier.featured .tier-features li {
  border-bottom-color: rgba(250, 248, 242, 0.08);
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 20px; height: 20px;
  background: var(--sage-glow);
  color: var(--sage-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  top: 9px;
}
.tier.featured .tier-features li::before {
  background: rgba(197, 165, 114, 0.2);
  color: var(--gold-light);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 16px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--sage-light) 100%);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  font-weight: 400;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--gold-dark);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding-bottom: 24px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, var(--gold-glow), transparent 50%),
    radial-gradient(circle at 75% 70%, var(--sage-glow), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 350;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--cream);
}
.cta-band h2 .italic {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cta-band p {
  font-size: 19px;
  color: rgba(250, 248, 242, 0.75);
  max-width: 60ch;
  margin: 0 auto 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(250, 248, 242, 0.6);
  padding: 80px 0 40px;
}
.footer .grid {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; transition: color 0.2s var(--ease); }
.footer ul a:hover { color: var(--gold-light); }
.footer .logo { color: var(--cream); margin-bottom: 16px; }
.footer .blurb { font-size: 14px; line-height: 1.5; max-width: 320px; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(250, 248, 242, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 32px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   SOURCE TILES (Module 1 visual)
   ============================================================ */
.src-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.src-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.src-letter {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.src-sub {
  font-size: 10px;
  color: var(--gray);
  font-family: var(--mono);
}

/* ============================================================
   VOICE CARDS (Module 2 visual)
   ============================================================ */
.voice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s var(--ease);
}
.voice-card:hover { border-color: var(--gold); }
.voice-card.featured {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border: none;
}
.voice-mono {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}
.voice-mono.sage {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
}
.voice-mono.dark {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--ink);
  font-weight: 700;
}
.voice-play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold-dark);
  font-size: 11px;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.voice-play:hover { transform: scale(1.05); background: var(--gold); color: white; }
.voice-play.sage { background: var(--sage-glow); color: var(--sage-dark); }
.voice-play.gold { background: var(--gold); color: white; }

/* ============================================================
   MSG ROWS (Module 3 visual & scenarios)
   ============================================================ */
.msg-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.msg-row.helix {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border: none;
}
.msg-tag {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 4px;
}
.msg-tag.gold { color: var(--gold-light); }
.msg-meta {
  background: var(--cream);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 600;
}
.msg-meta.sage {
  background: var(--sage-glow);
  border-color: var(--sage);
  color: var(--sage-dark);
}

/* ============================================================
   ROUTE ROWS (Module 4 visual)
   ============================================================ */
.route-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.route-row.gold {
  background: var(--cream);
  border-color: var(--gold);
}
.route-icon-flag {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--serif);
  flex-shrink: 0;
}
.route-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.route-icon-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage-glow);
  color: var(--sage-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.route-tag.live {
  background: var(--sage-dark);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

/* ============================================================
   CAPABILITY CARDS
   ============================================================ */
.cap-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(20, 22, 28, 0.10);
  border-radius: 0;
  padding: 32px 0 0;
  transition: opacity 0.3s var(--ease);
}
.cap-card:hover {
  opacity: 0.85;
}
.cap-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  line-height: 1;
}
.cap-num.sage { color: var(--sage-dark); }
.cap-card h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.cap-card p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  max-width: 38ch;
}

/* ============================================================
   TRAILER v2 — landscape + portrait, particles, light streak
   ============================================================ */
.trailer-section.v2 .trailer-stage {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  transition: max-width 0.4s var(--ease-out);
}
.trailer-section.v2 .trailer-stage[data-aspect="portrait"] {
  max-width: 440px;
}
@media (max-width: 700px) {
  .trailer-section.v2 .trailer-stage,
  .trailer-section.v2 .trailer-stage[data-aspect="portrait"] { max-width: 100%; }
}

.trailer-section.v2 .trailer-screen {
  aspect-ratio: 16 / 9;
  transition: aspect-ratio 0.4s var(--ease-out);
}
.trailer-section.v2 .trailer-stage[data-aspect="portrait"] .trailer-screen {
  aspect-ratio: 9 / 16;
}

/* Aspect toggle pills */
.trailer-aspect-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(250, 248, 242, 0.06);
  border: 1px solid rgba(250, 248, 242, 0.08);
  border-radius: var(--radius-full);
  margin: 0 auto 28px;
  display: flex;
  width: fit-content;
}
.trailer-aspect-toggle button {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(250, 248, 242, 0.55);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--mono);
  transition: all 0.2s var(--ease);
}
.trailer-aspect-toggle button:hover { color: var(--cream); }
.trailer-aspect-toggle button.active {
  background: var(--gold-dark);
  color: white;
}

/* Particles — constant ambient motion */
.trailer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.trailer-particles::before,
.trailer-particles::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(232, 211, 160, 0.6);
  box-shadow:
    100px 200px 0 rgba(232, 211, 160, 0.4),
    300px 100px 0 rgba(232, 211, 160, 0.3),
    500px 350px 0 rgba(232, 211, 160, 0.5),
    700px 50px 0 rgba(232, 211, 160, 0.4),
    150px 400px 0 rgba(232, 211, 160, 0.3),
    400px 250px 0 rgba(232, 211, 160, 0.4),
    600px 480px 0 rgba(232, 211, 160, 0.3),
    850px 200px 0 rgba(232, 211, 160, 0.5),
    950px 400px 0 rgba(232, 211, 160, 0.3),
    250px 530px 0 rgba(232, 211, 160, 0.4),
    750px 350px 0 rgba(232, 211, 160, 0.3),
    50px 100px 0 rgba(232, 211, 160, 0.4);
  animation: particle-float 18s linear infinite;
}
.trailer-particles::after {
  animation-delay: -9s;
  animation-duration: 22s;
  opacity: 0.6;
}
@keyframes particle-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, -60px); }
}

/* Pulsing gold glow */
.trailer-section.v2 .trailer-glow {
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Light streak between scenes */
.trailer-streak {
  position: absolute;
  top: 0; bottom: 0;
  left: -30%;
  width: 18%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(232, 211, 160, 0.18) 50%,
    rgba(255, 255, 255, 0.04) 70%,
    transparent 100%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 4;
  transform: skewX(-12deg);
  opacity: 0;
}
.trailer-streak.fire {
  animation: streak-swipe 0.7s var(--ease-out);
}
@keyframes streak-swipe {
  0% { left: -30%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

/* Word-by-word reveals */
.trailer-section.v2 .scene-headline,
.trailer-section.v2 .scene-headline-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  justify-content: center;
}
.trailer-section.v2 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
}
.trailer-scene.active .word {
  animation: word-in 0.55s var(--ease-out) forwards;
}
.trailer-scene.active .word.w1 { animation-delay: 0.10s; }
.trailer-scene.active .word.w2 { animation-delay: 0.22s; }
.trailer-scene.active .word.w3 { animation-delay: 0.34s; }
.trailer-scene.active .word.w4 { animation-delay: 0.46s; }
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.trailer-section.v2 .scene-caption {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(250, 248, 242, 0.55);
  font-family: var(--mono);
  letter-spacing: 0.01em;
  max-width: 38ch;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
}
.trailer-scene.active .scene-caption {
  animation: word-in 0.6s var(--ease-out) 0.7s forwards;
}

/* Animated element reveals inside devices */
.trailer-section.v2 .anim-in {
  opacity: 0;
  transform: translateY(8px);
}
.trailer-scene.active .anim-in {
  animation: word-in 0.5s var(--ease-out) forwards;
}
.trailer-scene.active .anim-in.d1 { animation-delay: 0.30s; }
.trailer-scene.active .anim-in.d2 { animation-delay: 0.55s; }
.trailer-scene.active .anim-in.d3 { animation-delay: 0.85s; }
.trailer-scene.active .anim-in.d4 { animation-delay: 1.15s; }
.trailer-scene.active .anim-in.d5 { animation-delay: 1.45s; }
.trailer-scene.active .anim-in.d6 { animation-delay: 1.75s; }

/* Split-scene layout — landscape: text left / device right, portrait: stacked */
.split-scene {
  flex-direction: row !important;
  gap: 40px;
  padding: 40px 56px !important;
}
.trailer-stage[data-aspect="portrait"] .split-scene {
  flex-direction: column !important;
  padding: 32px 28px !important;
  gap: 24px;
}
.split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.split-text .scene-headline-top {
  justify-content: flex-start;
  margin-bottom: 0;
}
.trailer-stage[data-aspect="portrait"] .split-text {
  align-items: center;
  text-align: center;
}
.trailer-stage[data-aspect="portrait"] .split-text .scene-headline-top {
  justify-content: center;
}
.split-device {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

/* Landscape mode sizing for the device mockups */
.trailer-stage[data-aspect="landscape"] .device-phone,
.trailer-stage[data-aspect="landscape"] .device-cal,
.trailer-stage[data-aspect="landscape"] .device-card,
.trailer-stage[data-aspect="landscape"] .device-kb {
  width: 100%;
  max-width: 320px;
}

/* Hook scene — phone icon pulse */
.hook-phone {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  color: var(--gold-light);
  animation: hook-shake 1.6s ease-in-out infinite;
  opacity: 0;
  transform: scale(0.85);
}
.trailer-scene.active .hook-phone {
  animation: hook-in 0.5s var(--ease-out) forwards, hook-shake 1.6s ease-in-out 0.6s infinite;
}
.hook-phone svg { width: 100%; height: 100%; }
@keyframes hook-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes hook-shake {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(0deg); }
}

/* Brand counter */
.brand-counter {
  margin-top: 14px;
  padding: 10px 18px;
  background: rgba(250, 248, 242, 0.05);
  border: 1px solid rgba(232, 211, 160, 0.2);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: word-in 0.6s var(--ease-out) 0.9s forwards;
}
.trailer-scene:not(.active) .brand-counter { animation: none; opacity: 0; }
.counter-label {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250, 248, 242, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.counter-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

/* Score climb on handoff card */
.score-climb {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}

/* Bigger headline on landscape */
.trailer-stage[data-aspect="landscape"] .scene-headline {
  font-size: clamp(40px, 5vw, 64px);
}
.trailer-stage[data-aspect="landscape"] .scene-headline-top {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 8px;
}

/* Calendar pulse — make it lively */
.cal-c.open.pulse {
  animation: cal-pulse-trailer 1.4s ease-in-out infinite, word-in 0.5s var(--ease-out) 0.55s both;
}

/* Subtle device breathing */
.split-device .device-phone,
.split-device .device-cal,
.split-device .device-card,
.split-device .device-kb {
  animation: device-breathe 5s ease-in-out infinite;
}
@keyframes device-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Smaller scene padding on landscape so devices fit */
.trailer-stage[data-aspect="landscape"] .trailer-scene {
  padding: 32px 48px;
}

/* ============================================================
   TRAILER — cinematic SaaS reel (v1 — preserved for non-v2 fallback)
   ============================================================ */
.trailer-section {
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.trailer-section .section-head h2,
.trailer-section .section-head p { color: inherit; }
.trailer-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(197, 165, 114, 0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.trailer-stage {
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 500px) {
  .trailer-stage { max-width: 100%; }
}

.trailer-screen {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #060810;
  border: 1px solid rgba(250, 248, 242, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(197, 165, 114, 0.06),
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 100px -20px rgba(197, 165, 114, 0.15);
}

.trailer-glow {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 320px;
  background: radial-gradient(ellipse, rgba(197, 165, 114, 0.55) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.trailer-scene {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  z-index: 1;
}
.trailer-scene.active {
  opacity: 1;
  transform: scale(1);
}

/* Scene typography */
.scene-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 9vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--cream);
  text-wrap: balance;
}
.scene-headline-top {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(26px, 6.5vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 36px;
  text-wrap: balance;
  max-width: 16ch;
}
.scene-italic {
  font-style: italic;
  background: linear-gradient(135deg, #E8D3A0 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.scene-sub {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(250, 248, 242, 0.55);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* Brand orbit scene */
.brand-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.brand-pill {
  position: absolute;
  padding: 8px 14px;
  background: rgba(250, 248, 242, 0.06);
  border: 1px solid rgba(250, 248, 242, 0.10);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  animation: pill-float 4.5s ease-in-out infinite;
}
.orbit-p1 { top: 14%; left: 8%; animation-delay: 0s; }
.orbit-p2 { top: 12%; right: 6%; animation-delay: 0.4s; }
.orbit-p3 { top: 38%; left: 4%; animation-delay: 0.8s; }
.orbit-p4 { top: 40%; right: 4%; animation-delay: 1.2s; }
.orbit-p5 { bottom: 18%; left: 10%; animation-delay: 1.6s; }
.orbit-p6 { bottom: 16%; right: 8%; animation-delay: 2.0s; }
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.brand-mark-lg {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%238A9A5B'/><stop offset='55%25' stop-color='%23556B2F'/><stop offset='100%25' stop-color='%233D4F1E'/></linearGradient></defs><rect width='80' height='80' rx='18' fill='url(%23g)'/><g stroke='%23FFF' fill='none'><line x1='22' y1='22' x2='22' y2='58' stroke-width='6' stroke-linecap='square'/><line x1='14' y1='22' x2='30' y2='22' stroke-width='4' stroke-linecap='square'/><line x1='14' y1='58' x2='30' y2='58' stroke-width='4' stroke-linecap='square'/><line x1='40' y1='22' x2='62' y2='58' stroke-width='6' stroke-linecap='round'/><line x1='62' y1='22' x2='40' y2='58' stroke-width='6' stroke-linecap='round'/></g></svg>");
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 12px 40px -8px rgba(197, 165, 114, 0.5);
}
.brand-name-lg {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-top: 4px;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Close scene */
.close-scene .brand-center { gap: 18px; }
.close-line {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: rgba(250, 248, 242, 0.7);
  margin-top: 6px;
}
.close-cta {
  margin-top: 12px;
  padding: 12px 22px;
  background: var(--gold-dark);
  color: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s var(--ease);
}
.close-cta:hover { background: var(--gold); }

/* Generic device chrome */
.scene-device {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.device-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 100px;
  background: radial-gradient(ellipse, rgba(197, 165, 114, 0.5), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

/* Phone device (scene 3) */
.device-phone {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 18px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.dp-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 12px;
}
.dp-status { color: var(--sage-dark); font-size: 14px; }
.dp-caller {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--whisper);
  border-radius: 10px;
  margin-bottom: 10px;
}
.dp-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: grid; place-items: center;
  color: white; font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.dp-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.dp-meta { font-size: 11px; color: var(--gray); font-family: var(--mono); }
.dp-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 6px;
  max-width: 88%;
}
.dp-bubble.caller {
  background: var(--whisper);
  color: var(--ink);
  border-top-left-radius: 4px;
}
.dp-bubble.helix {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  border-top-right-radius: 4px;
  margin-left: auto;
}
.dp-wave {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-top: 10px;
  height: 18px;
}
.dp-wave i {
  flex: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--sage) 100%);
  border-radius: 1px;
  min-height: 3px;
  animation: wave 1.1s ease-in-out infinite;
}
.dp-wave i:nth-child(odd) { animation-delay: 0.15s; }

/* Calendar device (scene 4) */
.device-cal {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.cal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.cal-arrow {
  color: var(--mute);
  font-size: 16px;
  cursor: pointer;
}
.cal-grid-mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.cal-d {
  font-size: 9px;
  font-weight: 700;
  color: var(--mute);
  text-align: center;
  padding: 2px 0;
}
.cal-c {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 4px;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  color: var(--mute);
  min-height: 26px;
  font-family: var(--mono);
}
.cal-c.booked { background: var(--whisper); color: var(--slate); }
.cal-c.open {
  background: rgba(156, 175, 136, 0.15);
  color: var(--sage-dark);
  border-color: rgba(156, 175, 136, 0.4);
}
.cal-c.open.pulse {
  animation: cal-pulse-trailer 1.6s ease-in-out infinite;
}
@keyframes cal-pulse-trailer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(156, 175, 136, 0); }
  50% { box-shadow: 0 0 0 4px rgba(156, 175, 136, 0.4); }
}
.cal-c.new {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  border-color: var(--gold-dark);
}
.cal-toast {
  margin-top: 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cal-toast .dot {
  width: 6px; height: 6px;
  background: var(--sage-light);
  border-radius: 50%;
}

/* CRM card device (scene 5) */
.device-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.dc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: var(--gold-glow);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.dc-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.dc-detail {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 12px;
}
.dc-route {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 12px;
}
.dc-arrow {
  color: var(--gold-dark);
  font-weight: 700;
}
.dc-live {
  margin-left: auto;
  background: var(--sage-dark);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.dc-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-action {
  font-size: 11px;
  color: var(--sage-dark);
  font-weight: 500;
}

/* Knowledge base device (scene 6) */
.device-kb {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.kb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--whisper);
  border-radius: 8px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--slate);
}
.kb-row > span:nth-child(2) { flex: 1; }
.kb-pill {
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.kb-ok {
  color: var(--sage-dark);
  font-weight: 700;
}
.kb-arrow-down {
  text-align: center;
  color: var(--gold-dark);
  font-size: 18px;
  margin: 4px 0;
}
.kb-result {
  text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Controls */
.trailer-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(250, 248, 242, 0.04);
  border: 1px solid rgba(250, 248, 242, 0.08);
  border-radius: var(--radius-full);
}
.trailer-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.10);
  color: var(--cream);
  font-size: 12px;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease);
}
.trailer-btn:hover { background: rgba(250, 248, 242, 0.20); }
.trailer-track {
  flex: 1;
  position: relative;
  height: 4px;
  background: rgba(250, 248, 242, 0.10);
  border-radius: 2px;
}
.trailer-track-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  border-radius: 2px;
  transition: width 0.2s linear;
}
.trailer-dots {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trailer-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.18);
  border: 2px solid #0B0D14;
  transition: background 0.3s var(--ease);
}
.trailer-dots span.passed { background: var(--gold); }
.trailer-dots span.current {
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.3);
}

/* ============================================================
   VIDEO MODAL (vt-fs fullscreen view)
   ============================================================ */
.vt-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 28, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 32px;
  animation: vt-modal-in 0.25s var(--ease-out);
}
@keyframes vt-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.vt-modal-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 1100px;
  width: 100%;
  overflow: hidden;
  position: relative;
  animation: vt-card-in 0.35s var(--ease-out);
  box-shadow: 0 40px 80px -16px rgba(0, 0, 0, 0.4);
}
@keyframes vt-card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.vt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.85);
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 0.2s var(--ease);
}
.vt-modal-close:hover {
  background: var(--ink);
}
.vt-modal-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cream);
  overflow: hidden;
}
.vt-modal-meta { padding: 32px 40px 36px; }
.vt-modal-meta .vt-tag { margin-bottom: 14px; }
.vt-modal-meta h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.vt-modal-meta p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================================
   VOICE PLAY FEEDBACK
   ============================================================ */
.voice-play.voice-playing {
  background: var(--gold-dark);
  color: white;
}
.voice-playing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.voice-playing-dots i {
  display: block;
  width: 3px;
  height: 10px;
  background: currentColor;
  border-radius: 1px;
  animation: voice-bar 0.8s ease-in-out infinite;
}
.voice-playing-dots i:nth-child(2) { animation-delay: 0.15s; }
.voice-playing-dots i:nth-child(3) { animation-delay: 0.30s; }
@keyframes voice-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ============================================================
   PREFERS REDUCED MOTION (accessibility)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   SCN2 — Premium scenario gallery (Doctor / HVAC / Sports)
   ============================================================ */
.scn2-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 0 auto 28px;
}
@media (max-width: 700px) { .scn2-pick { grid-template-columns: 1fr; } }

.scn2-pick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid rgba(20, 22, 28, 0.08);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: left;
}
.scn2-pick-card:hover {
  border-color: rgba(197, 165, 114, 0.5);
  background: var(--cream);
}
.scn2-pick-card.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.scn2-pick-letter {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--whisper);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}
.scn2-pick-card.active .scn2-pick-letter {
  background: var(--gold-dark);
  color: white;
}
.scn2-pick-body { flex: 1; min-width: 0; }
.scn2-pick-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.scn2-pick-meta {
  font-size: 12px;
  margin-top: 2px;
  color: var(--gray);
}
.scn2-pick-card.active .scn2-pick-meta { color: rgba(250, 248, 242, 0.55); }

/* Stage */
.scn2-stage {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid rgba(20, 22, 28, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.scn2-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 580px;
}
@media (max-width: 900px) {
  .scn2-grid { grid-template-columns: 1fr; }
}

/* LEFT — phone call */
.scn2-call {
  background: linear-gradient(180deg, #161922 0%, #1F222D 100%);
  color: var(--cream);
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.scn2-call-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(250, 248, 242, 0.07);
}
.scn2-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(250, 248, 242, 0.7);
  font-family: var(--mono);
  font-weight: 500;
}
.scn2-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #65D49C;
  position: relative;
}
.scn2-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #65D49C;
  animation: pulse 1.8s var(--ease-out) infinite;
}
.scn2-controls { display: flex; gap: 6px; }
.scn2-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.06);
  color: rgba(250, 248, 242, 0.75);
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
  font-size: 12px;
}
.scn2-btn:hover {
  background: rgba(250, 248, 242, 0.12);
  color: var(--cream);
}
.scn2-btn.primary {
  background: var(--gold-dark);
  color: white;
}
.scn2-btn.primary:hover { background: var(--gold); }

.scn2-caller {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(250, 248, 242, 0.04);
  border: 1px solid rgba(250, 248, 242, 0.06);
  border-radius: 14px;
  margin-bottom: 18px;
}
.scn2-av {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  color: white;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  flex-grow: 0;
}
.scn2-caller-body { flex: 1; min-width: 0; }
.scn2-name { font-weight: 600; font-size: 15px; }
.scn2-meta {
  font-size: 12px;
  color: rgba(250, 248, 242, 0.55);
  margin-top: 2px;
  font-family: var(--mono);
}
.scn2-call-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(101, 212, 156, 0.15);
  color: #65D49C;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.scn2-transcript {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 360px;
  padding-right: 4px;
  margin-bottom: 16px;
}
.scn2-transcript::-webkit-scrollbar { width: 4px; }
.scn2-transcript::-webkit-scrollbar-thumb { background: rgba(250, 248, 242, 0.12); border-radius: 2px; }

.scn2-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 90%;
  opacity: 0;
  transform: translateY(6px);
  animation: scn2-in 0.4s var(--ease-out) forwards;
}
@keyframes scn2-in {
  to { opacity: 1; transform: translateY(0); }
}
.scn2-bubble.caller {
  background: rgba(250, 248, 242, 0.08);
  color: var(--cream);
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.scn2-bubble.helix {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.scn2-bubble-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 3px;
  font-family: var(--mono);
}

.scn2-foot {
  padding-top: 14px;
  border-top: 1px solid rgba(250, 248, 242, 0.07);
}
.scn2-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
}
.scn2-wave .b {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-light) 0%, rgba(197, 165, 114, 0.4) 100%);
  border-radius: 2px;
  min-height: 4px;
  animation: wave 1.3s ease-in-out infinite;
}

/* RIGHT — AI brain */
.scn2-ai {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.scn2-ai-block { display: flex; flex-direction: column; }
.scn2-ai-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.scn2-states {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scn2-state {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid rgba(20, 22, 28, 0.06);
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-6px);
  animation: scn2-state-in 0.45s var(--ease-out) forwards;
}
@keyframes scn2-state-in {
  to { opacity: 1; transform: translateX(0); }
}
.scn2-state-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-glow);
  color: var(--sage-dark);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.scn2-state.processing .scn2-state-icon {
  background: var(--gold-glow);
  color: var(--gold-dark);
  animation: spin 1s linear infinite;
}
.scn2-state-body { flex: 1; min-width: 0; }
.scn2-state-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.scn2-state-detail {
  font-size: 11px;
  color: var(--gray);
  font-family: var(--mono);
  margin-top: 2px;
}

.scn2-ai-divider {
  height: 1px;
  background: rgba(20, 22, 28, 0.08);
  margin: 24px 0;
}

.scn2-outcome-wrap {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.scn2-outcome-wrap.show {
  opacity: 1;
  transform: translateY(0);
}
.scn2-outcome {
  background: linear-gradient(135deg, var(--cream) 0%, #F1EBD9 100%);
  border: 1px solid rgba(197, 165, 114, 0.4);
  border-radius: 14px;
  padding: 20px;
}
.scn2-outcome-head {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.scn2-outcome-detail {
  margin-top: 6px;
  color: var(--gold-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.scn2-out-actions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(197, 165, 114, 0.4);
}
.scn2-out-actions li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
}
.scn2-out-actions li::before {
  content: "✓";
  color: var(--sage-dark);
  background: rgba(156, 175, 136, 0.18);
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   VIDEO TILES (Training section)
   ============================================================ */
.video-tile {
  background: var(--surface);
  border: 1px solid rgba(20, 22, 28, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.video-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.vt-frame {
  background: var(--surface);
  position: relative;
}

.vt-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(20, 22, 28, 0.05);
}
.vt-chrome .call-dots span {
  background: rgba(20, 22, 28, 0.12);
}
.vt-chrome .call-dots span:nth-child(1) { background: rgba(20, 22, 28, 0.12); }
.vt-chrome .call-dots span:nth-child(2) { background: rgba(20, 22, 28, 0.12); }
.vt-chrome .call-dots span:nth-child(3) { background: rgba(20, 22, 28, 0.12); }
.vt-url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

.vt-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cream);
  overflow: hidden;
}

.vt-screen-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px;
}

/* CSV import animation */
.csv-icon {
  animation: csv-slide 5s ease-in-out infinite;
}
@keyframes csv-slide {
  0%, 20% { transform: translateX(-30px); opacity: 0; }
  30%, 70% { transform: translateX(0); opacity: 1; }
  85%, 100% { transform: translateX(0); opacity: 1; }
}

.vt-arrow {
  font-size: 32px;
  color: var(--gold-dark);
  font-weight: 300;
  animation: arrow-pulse 2s ease-in-out infinite;
}
@keyframes arrow-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-4px); }
  50% { opacity: 1; transform: translateX(0); }
}

.csv-grid {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  width: 220px;
  font-size: 11px;
  box-shadow: var(--shadow-sm);
}
.csv-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  color: var(--slate);
}
.csv-row:last-child { border-bottom: none; }
.csv-row.csv-header {
  background: var(--whisper);
  font-weight: 700;
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.csv-row.dim { color: var(--mute); font-size: 10px; font-style: italic; }
.csv-row .ok { color: var(--sage-dark); font-weight: 700; }
.csv-row .loading {
  color: var(--gold-dark);
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Calendar animation */
.cal-content { padding: 24px; flex-direction: column; gap: 14px; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 380px;
}
.cal-day {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--gray);
  padding: 4px 0;
}
.cal-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 4px;
  font-size: 10px;
  text-align: center;
  font-family: var(--mono);
  color: var(--mute);
  min-height: 38px;
  font-weight: 600;
}
.cal-cell span {
  display: block;
  font-size: 8px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 2px;
}
.cal-cell.booked {
  background: var(--whisper);
  color: var(--slate);
}
.cal-cell.booked span { color: var(--gray); }
.cal-cell.open {
  background: var(--sage-glow);
  color: var(--sage-dark);
}
.cal-cell.open span { color: var(--sage-dark); }
.cal-cell.pulse-cal {
  animation: cal-pulse 2s ease-in-out infinite;
}
@keyframes cal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--sage-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.cal-cell.new-book {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  animation: book-flash 4s ease-in-out infinite;
  border-color: var(--gold-dark);
}
.cal-cell.new-book span { color: rgba(255,255,255,0.9); }
@keyframes book-flash {
  0%, 60% { background: var(--surface); color: var(--mute); transform: scale(1); }
  70%, 100% { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: white; transform: scale(1.05); }
}
.cal-toast {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  animation: toast-in 4s ease-in-out infinite;
}
.cal-toast .dot {
  width: 8px; height: 8px;
  background: var(--sage-light);
  border-radius: 50%;
  animation: blink 1.4s infinite;
}
@keyframes toast-in {
  0%, 50% { transform: translateY(20px); opacity: 0; }
  60%, 90% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}

/* Knowledge base animation */
.kb-content { padding: 24px; align-items: center; gap: 24px; }
.kb-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  max-width: 220px;
}
.kb-file {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  box-shadow: var(--shadow-sm);
}
.kb-file .kb-icon { font-size: 14px; }
.kb-file > span:nth-child(2) { flex: 1; color: var(--slate); font-family: var(--mono); font-size: 10px; }
.kb-status {
  font-size: 9px;
  background: var(--sage-glow);
  color: var(--sage-dark);
  padding: 3px 6px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kb-status.processing {
  background: var(--gold-glow);
  color: var(--gold-dark);
}

.kb-brain {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}
.kb-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}
.kb-node {
  position: absolute;
  width: 16px; height: 16px;
  background: var(--sage);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
  animation: node-float 3s ease-in-out infinite;
}
.kb-node.n1 { top: 10%; left: 10%; animation-delay: 0s; }
.kb-node.n2 { top: 10%; right: 10%; animation-delay: 0.5s; background: var(--gold); }
.kb-node.n3 { bottom: 10%; left: 10%; animation-delay: 1s; background: var(--gold); }
.kb-node.n4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }
@keyframes node-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3px, -3px); }
}
.kb-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.kb-lines line {
  stroke: var(--gold);
  stroke-width: 0.5;
  stroke-dasharray: 4 4;
  opacity: 0.5;
  animation: dash-flow 2s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -16; }
}

/* Live answering */
.live-content { flex-direction: column; padding: 20px; align-items: stretch; gap: 12px; }
.live-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.live-dot {
  width: 8px; height: 8px;
  background: #E11D48;
  border-radius: 50%;
  animation: blink 1.4s infinite;
}
.live-search {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.live-q {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.live-found { display: flex; flex-direction: column; gap: 6px; }
.live-found-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--slate);
}
.live-found-item.dim { opacity: 0.5; }
.live-match {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--sage-glow);
  color: var(--sage-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.live-found-item.dim .live-match { background: var(--whisper); color: var(--gray); }
.live-answer {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border-radius: 8px;
  padding: 12px;
}
.live-answer-label {
  font-size: 10px;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.live-answer-text { font-size: 12px; line-height: 1.5; }

.vt-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(20, 22, 28, 0.06);
  pointer-events: none;
}
.vt-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--sage) 100%);
  animation: vt-progress 5s linear infinite;
}
@keyframes vt-progress {
  0% { width: 0%; }
  90%, 100% { width: 100%; }
}

.vt-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border-top: 1px solid rgba(20, 22, 28, 0.05);
  color: var(--slate);
}
.vt-play {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  font-size: 10px;
}
.vt-play:hover {
  transform: scale(1.06);
  background: var(--charcoal);
}
.vt-play-icon { line-height: 1; }
.vt-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray);
}
.vt-bar {
  flex: 1;
  height: 3px;
  background: var(--whisper);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}
.vt-bar-fill {
  height: 100%;
  width: 23%;
  background: var(--gold-dark);
  border-radius: 2px;
}
.vt-fs {
  color: var(--mute);
  font-size: 13px;
}

.vt-meta {
  padding: 32px 36px 36px;
}
.vt-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.vt-tag.sage { color: var(--sage-dark); }
.vt-meta h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.vt-meta p { color: var(--slate); font-size: 15px; line-height: 1.6; }

/* ============================================================
   DEMO APP-SPECIFIC
   ============================================================ */
.demo-shell {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 100px;
  padding-bottom: 80px;
}
.demo-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 1000px) {
  .demo-layout { grid-template-columns: 1fr; }
}

.demo-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.demo-sidebar h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--sans);
}

.scenario-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border: 1px solid transparent;
}
.scenario-card:hover { background: var(--surface-2); }
.scenario-card.active {
  background: var(--cream);
  border-color: var(--gold);
}
.scenario-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--whisper);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
}
.scenario-card.active .scenario-icon {
  background: var(--gold-glow);
}
.scenario-letter {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.scenario-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.scenario-meta { font-size: 12px; color: var(--gray); }

.demo-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.demo-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.demo-h-left h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 4px;
}
.demo-h-left p { font-size: 14px; color: var(--gray); }

.demo-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.demo-stage {
  padding: 32px;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .demo-stage { grid-template-columns: 1fr; padding: 20px; }
}

.demo-call {
  background: linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.demo-call-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 248, 242, 0.08);
}
.demo-call-head .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-call-head .who .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: grid; place-items: center; font-weight: 700;
  color: white;
}
.demo-call-head .who .name { font-weight: 600; font-size: 14px; }
.demo-call-head .who .role { font-size: 12px; color: rgba(250, 248, 242, 0.55); }
.demo-call-status {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(156, 175, 136, 0.15);
  color: var(--sage-light);
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
}
.demo-call-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-light);
  animation: blink 1.4s infinite;
}

.demo-transcript {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 8px;
}
.demo-transcript::-webkit-scrollbar { width: 6px; }
.demo-transcript::-webkit-scrollbar-thumb {
  background: rgba(250, 248, 242, 0.15);
  border-radius: 3px;
}
.demo-transcript .bubble.ai .bubble-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
}
.demo-transcript .bubble.human .bubble-text {
  background: rgba(250, 248, 242, 0.08);
  color: var(--cream);
}
.demo-transcript .bubble-name { color: rgba(250, 248, 242, 0.5); }

.demo-call-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 248, 242, 0.08);
}
.demo-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
}
.demo-wave .b {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--sage-light) 100%);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.demo-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.demo-panel-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-panel-title .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: blink 1.4s infinite;
}

.qual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.qual-row:last-child { border-bottom: none; }
.qual-row .lbl { color: var(--gray); }
.qual-row .val {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.qual-row .val.empty { color: var(--mute); font-weight: 400; }
.qual-row .val.filled { color: var(--sage-dark); }

.score-circle {
  width: 100px; height: 100px;
  margin: 0 auto;
  position: relative;
}
.score-circle svg {
  transform: rotate(-90deg);
  width: 100%; height: 100%;
}
.score-circle .bg-ring { stroke: var(--whisper); fill: none; stroke-width: 8; }
.score-circle .fg-ring { stroke: url(#scoreGrad); fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray 0.6s var(--ease-out); }
.score-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--ink);
}

.demo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.demo-actions .btn { padding: 9px 14px; font-size: 12px; }

/* ============================================================
   FUNNEL VISUALIZATION
   ============================================================ */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
}
.funnel-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--cream);
  border-left: 3px solid var(--gold);
  position: relative;
  transition: transform 0.25s var(--ease);
}
.funnel-step.completed { background: var(--sage-glow); border-left-color: var(--sage-dark); }
.funnel-step.active {
  background: linear-gradient(90deg, var(--gold-glow) 0%, transparent 100%);
  border-left-color: var(--gold-dark);
  transform: scale(1.02);
}
.funnel-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  flex-shrink: 0;
}
.funnel-step.completed .funnel-num {
  background: var(--sage-dark);
  color: white;
  border-color: var(--sage-dark);
}
.funnel-step.active .funnel-num {
  background: var(--gold-dark);
  color: white;
  border-color: var(--gold-dark);
}
.funnel-label { font-size: 13px; font-weight: 600; color: var(--ink); flex: 1; }
.funnel-meta { font-size: 11px; color: var(--gray); font-family: var(--mono); }

/* ============================================================
   BOOK / FORM PAGE
   ============================================================ */
.book-shell {
  min-height: 100vh;
  background: var(--bg);
  padding: 100px 0 80px;
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; gap: 32px; }
}

.book-left h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 350;
  letter-spacing: -0.025em;
  margin: 16px 0 20px;
}
.book-left h1 .italic { color: var(--gold-dark); }
.book-left p { color: var(--slate); font-size: 17px; margin-bottom: 32px; }

.book-quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
  border-left: 3px solid var(--gold);
}
.book-quote blockquote {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.book-quote cite { font-style: normal; font-size: 13px; color: var(--gray); }

.book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) {
  .book-card { padding: 28px 24px; }
}

.book-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.book-progress .step {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.book-progress .step.done,
.book-progress .step.current {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.book-step { display: none; }
.book-step.active { display: block; animation: fadeIn 0.4s var(--ease); }

.book-step h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.book-step .sub { color: var(--slate); font-size: 15px; margin-bottom: 28px; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 12px;
}
.choice:hover {
  border-color: var(--gold);
  background: var(--cream);
}
.choice.selected {
  border-color: var(--gold-dark);
  background: var(--cream);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.choice-icon {
  width: 40px; height: 40px;
  background: var(--whisper);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.choice.selected .choice-icon { background: var(--gold-glow); }
.choice-letter {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.choice-text .lbl { font-weight: 600; font-size: 14px; }
.choice-text .desc { font-size: 12px; color: var(--gray); margin-top: 2px; }

.book-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.book-foot .step-of {
  font-size: 13px;
  color: var(--gray);
  font-family: var(--mono);
}

.routing-banner {
  background: linear-gradient(135deg, var(--sage-glow) 0%, var(--gold-glow) 100%);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 12px;
}
.routing-banner.show { display: flex; }
.routing-banner.hot { border-color: var(--gold); }
.routing-banner .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.routing-banner .msg { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.routing-banner .msg strong { font-weight: 700; }

.success-state {
  text-align: center;
  padding: 32px 0;
}
.success-state .check {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 12px 24px rgba(156, 175, 136, 0.4);
  animation: pop 0.5s var(--ease-spring);
}
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success-state h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 12px;
}
.success-state p { color: var(--slate); margin-bottom: 24px; max-width: 40ch; margin-left: auto; margin-right: auto; }

.next-card {
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.next-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.next-card .body { flex: 1; }
.next-card .ttl { font-weight: 700; font-size: 14px; }
.next-card .sub { font-size: 13px; color: var(--gray); margin-top: 2px; }

/* ============================================================
   MOBILE OPTIMIZATION (max-width: 700px)
   Tightens spacing, scales typography, fixes overflow on phones.
   ============================================================ */
@media (max-width: 700px) {
  /* Global rhythm */
  section { padding: 80px 0; }
  section.tight { padding: 56px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .section-head { margin: 0 auto 48px; }
  .section-head h2 { font-size: clamp(28px, 8vw, 38px); }
  .section-head p { font-size: 15px; }

  /* Hero */
  .hero { padding: 120px 0 56px; }
  .hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .hero .lede { font-size: 16px; line-height: 1.55; }
  .hero-cta { gap: 10px; margin-bottom: 40px; }
  .hero-cta .btn { padding: 12px 18px; font-size: 14px; }
  .hero-trust { gap: 14px; font-size: 12px; }

  /* Hero call-stage */
  .call-stage { margin-top: 56px; border-radius: var(--radius-lg); }
  .call-body { min-height: auto; }
  .call-left, .call-right { padding: 20px; }
  .transcript { height: 320px; gap: 10px; }
  .bubble-text { font-size: 13px; padding: 9px 12px; line-height: 1.5; }
  .bubble-avatar { width: 28px; height: 28px; font-size: 10px; }
  .metric-card { padding: 14px; }
  .metric-value { font-size: 24px; }

  /* Modules */
  .module-tabs { grid-template-columns: 1fr 1fr; }
  .module-tab { padding: 16px 14px; }
  .module-title { font-size: 15px; }
  .module-sub { font-size: 11px; }
  .module-panel.active { padding: 24px; gap: 28px; }
  .module-content h3 { font-size: 26px; }

  /* Training tiles */
  .vt-meta { padding: 24px 24px 28px; }
  .vt-meta h3 { font-size: 22px; }

  /* Scenarios */
  .scn2-pick { grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
  .scn2-stage { border-radius: var(--radius-lg); }
  .scn2-call, .scn2-ai { padding: 20px; }
  .scn2-transcript { max-height: 280px; }
  .scn2-bubble { font-size: 13px; padding: 9px 12px; }
  .scn2-name { font-size: 14px; }
  .scn2-meta { font-size: 11px; }

  /* ROI calc */
  .calc-inputs, .calc-output { padding: 28px 22px; }
  .calc-bignum { font-size: 44px; }

  /* Capabilities — tighter editorial spacing */
  .cap-card { padding: 24px 0 0; }
  .cap-card h3 { font-size: 22px; }

  /* Pricing */
  .tier { padding: 28px 24px; }
  .tier-price .num { font-size: 48px; }

  /* CTA band */
  .cta-band { padding: 48px 24px; border-radius: var(--radius-lg); }
  .cta-band h2 { font-size: clamp(28px, 8vw, 36px); }
  .cta-band p { font-size: 16px; }

  /* FAQ */
  .faq-item summary { font-size: 16px; padding: 18px 0; }

  /* Footer */
  .footer { padding: 56px 0 32px; }
  .footer .grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Demo page */
  .demo-shell { padding-top: 80px; }
  .demo-stage { padding: 16px; gap: 20px; }
  .demo-call, .demo-side { padding: 18px; }
  .demo-transcript { max-height: 320px; }

  /* Book page */
  .book-shell { padding: 80px 0 56px; }
  .book-grid { gap: 28px; padding: 0 20px; }
  .book-card { padding: 24px 20px; }
  .book-step h3 { font-size: 22px; }
  .choice { padding: 14px 16px; }
  .book-foot { flex-wrap: wrap; gap: 10px; }

  /* Video modal — full bleed on mobile */
  .vt-modal { padding: 16px; }
  .vt-modal-meta { padding: 20px; }
  .vt-modal-meta h3 { font-size: 22px; }
}

/* Narrower — most phones (max 500px) */
@media (max-width: 500px) {
  .nav-actions .btn-ghost { display: none; }
  .nav-actions { gap: 8px; }
}

/* Even narrower — small phones (max 380px) */
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .module-tabs { grid-template-columns: 1fr; }
  .scn2-pick-card { padding: 14px 16px; }
  .tier-price .num { font-size: 40px; }
}


/* === BRAND v2: Italic accents use Instrument Serif for romantic contrast === */
.italic,
.accent,
.scene-italic,
.display .accent,
h1 .accent, h2 .accent, h3 .accent,
.section-head h2 .accent,
em, i {
  font-family: var(--serif) !important;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

/* Fraunces — country-club serif with backbone */
.display, h1, h2 {
  letter-spacing: -0.022em;
  font-feature-settings: "ss01", "liga", "kern";
}
h3, h4 {
  letter-spacing: -0.025em;
}
