/* ==========================================================================
   MONTAJO STUDIO LANDING PAGE
   Edit-suite dark aesthetic: #121118 bg, #16141C ink, #1C1A24 surface,
   #F4B33D saffron, #E0457B magenta, #1F8A8A teal, #EEF0F5 frost.
   Fonts: Unbounded (titles & display), Figtree (UI body), JetBrains Mono (labels/timecode).
   ========================================================================== */

/* ---------- Font Faces ---------- */
@font-face {
  font-family: "Unbounded";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Unbounded-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Unbounded";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Unbounded-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Unbounded";
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Unbounded-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Figtree-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Figtree-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Figtree-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Figtree-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JetBrainsMono-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/JetBrainsMono-SemiBold.ttf") format("truetype");
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #121118;
  --ink: #16141C;
  --surface: #1C1A24;
  --surface-2: #232030;
  --hover: #2A2736;
  --line: #2E2B39;
  --line-2: #3C3849;
  --line-highlight: rgba(244, 179, 61, 0.4);

  --text: #EEF0F5;
  --text-2: #C3C6D1;
  --mute: #9DA1B0;
  --frost: #EEF0F5;

  --saffron: #F4B33D;
  --saffron-2: #FFC766;
  --saffron-weak: rgba(244, 179, 61, 0.12);
  --saffron-glow: rgba(244, 179, 61, 0.35);

  --magenta: #E0457B;
  --magenta-2: #F27CA3;
  --magenta-weak: rgba(224, 69, 123, 0.15);

  --teal: #1F8A8A;
  --teal-2: #4DB8B8;
  --teal-weak: rgba(31, 138, 138, 0.18);

  --ok: #4cc38a;
  --warn: #F08A4B;
  --bad: #ef6b6b;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;

  color-scheme: dark;
}

/* ---------- Global Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  font-feature-settings: "tnum" 1, "cv11" 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

.mono {
  font-family: var(--mono);
}

::selection {
  background: var(--saffron-weak);
  color: var(--saffron-2);
}

/* ---------- Aurora Glow Background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.glow-teal {
  width: 550px;
  height: 400px;
  left: -8%;
  top: -10%;
  background: var(--teal);
  opacity: 0.22;
  animation: drift1 28s ease-in-out infinite alternate;
}

.glow-saffron {
  width: 600px;
  height: 450px;
  right: 15%;
  top: -15%;
  background: var(--saffron);
  opacity: 0.16;
  animation: drift2 32s ease-in-out infinite alternate;
}

.glow-magenta {
  width: 500px;
  height: 380px;
  right: -5%;
  top: 30%;
  background: var(--magenta);
  opacity: 0.12;
  animation: drift3 26s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, 40px, 0) scale(1.1); }
}
@keyframes drift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, 50px, 0) scale(1.15); }
}
@keyframes drift3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-40px, -60px, 0) scale(0.95); }
}

/* ---------- Typography Utilities ---------- */
.text-saffron { color: var(--saffron); }
.text-magenta { color: var(--magenta); }
.text-teal { color: var(--teal); }
.text-frost { color: var(--frost); }
.text-ok { color: var(--ok); }
.text-bad { color: var(--bad); }
.text-mute { color: var(--mute); }

/* ---------- Buttons & UI Controls ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  user-select: none;
}

.btn:hover {
  background: var(--hover);
  border-color: #4a455a;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0.5px);
}

.btn.primary {
  background: linear-gradient(180deg, #ffc766, #f4b33d);
  border-color: #f4b33d;
  color: #121118;
  font-weight: 700;
  box-shadow: 0 4px 18px -4px var(--saffron-glow);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #ffd384, #ffbf4f);
  box-shadow: 0 6px 24px -4px rgba(244, 179, 61, 0.55);
}

.btn.outline {
  background: rgba(28, 26, 36, 0.7);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn.outline:hover {
  background: var(--hover);
  border-color: var(--line-highlight);
  color: var(--text);
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-2);
}

.btn.ghost:hover {
  background: var(--hover);
  color: var(--text);
}

.btn.sm {
  height: 30px;
  padding: 0 11px;
  font-size: 12.5px;
  gap: 5px;
}

.btn.lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 10px;
}

.btn.saffron-glow {
  background: var(--surface-2);
  border-color: var(--saffron);
  color: var(--saffron);
}

.btn.saffron-glow:hover {
  background: var(--saffron-weak);
  color: var(--saffron-2);
  box-shadow: 0 0 16px var(--saffron-weak);
}

.key-hint {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mute);
  margin-left: 2px;
}

/* ---------- Container & Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--saffron);
  background: var(--saffron-weak);
  border: 1px solid rgba(244, 179, 61, 0.25);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--frost);
  margin: 0 0 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 17, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: 64px;
  view-transition-name: site-header;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.host-pill {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  flex-shrink: 0;
}

.nav-item {
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 99px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulseStatus 2s infinite ease-in-out;
}

@keyframes pulseStatus {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--frost);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.badge-icon {
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--frost);
  margin: 0 0 20px;
  max-width: 900px;
}

.desk-break {
  display: block;
}

.hero-subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 780px;
  margin: 0 0 36px;
}

.hero-subhead strong {
  color: var(--frost);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(28, 26, 36, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 16px 28px;
  border-radius: var(--r-lg);
  max-width: 980px;
  width: 100%;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.stat-num {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 11.5px;
  color: var(--mute);
  max-width: 190px;
  line-height: 1.35;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ==========================================================================
   INTERACTIVE STUDIO SIMULATOR
   ========================================================================== */
.simulator-section {
  padding-top: 20px;
}

.studio-deck {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Deck Topbar */
.deck-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}

.deck-project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 10px var(--saffron);
}

.project-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.project-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--frost);
}

.project-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

.deck-format-switchers {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aspect-toggle {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.aspect-btn {
  border: 0;
  background: transparent;
  color: var(--mute);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.aspect-btn.active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.worker-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--teal-2);
  background: var(--teal-weak);
  border: 1px solid rgba(31, 138, 138, 0.35);
  padding: 4px 10px;
  border-radius: 99px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-2);
  animation: pulseStatus 1.5s infinite ease-in-out;
}

/* Stage Area (Viewport + Inspector) */
.deck-stage-area {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  background: var(--ink);
  align-items: start;
}

/* Phone Viewport */
.viewport-column {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 330px;
  height: 586px; /* 9:16 portrait standard */
  background: #000;
  border-radius: 28px;
  border: 2px solid #2e2a3b;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease, height 0.3s ease;
}

.phone-frame.aspect-16-9 {
  width: 100%;
  max-width: 440px;
  height: 248px; /* 16:9 landscape */
  border-radius: 16px;
}

.phone-frame.aspect-16-9 .stat-big-number {
  font-size: 38px;
}

.phone-frame.aspect-16-9 .hook-title-text {
  font-size: 20px;
}

.phone-frame.aspect-16-9 .caption-box {
  font-size: 13.5px;
}

.phone-frame.aspect-16-9 .caption-overlay {
  bottom: 12px;
}

.phone-frame.aspect-16-9 .motion-layer {
  padding: 12px 16px;
}

.phone-frame.aspect-16-9 .bars-header-text {
  font-size: 13px;
}

.phone-frame.aspect-16-9 .bar-track {
  height: 8px;
}

.phone-frame.aspect-16-9 .flow-step-box {
  padding: 4px 8px;
}

.stage-screen {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #14121a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Motion Canvas inside Phone */
.motion-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, #1e1b29 0%, #0e0d13 100%);
}

.remotion-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Dynamic Scene Templates rendered in Canvas */
/* Scene 1: Hook Title */
.scene-hook-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: springDrop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hook-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--saffron);
  text-transform: uppercase;
  background: var(--saffron-weak);
  padding: 3px 8px;
  border-radius: 4px;
}
.hook-title-text {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--frost);
  letter-spacing: -0.02em;
}
.hook-title-text .accent-word {
  color: var(--saffron);
  display: inline-block;
  transform: scale(1.04);
}

/* Scene 2: Stat View */
.scene-stat-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: springDrop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.stat-tag-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--magenta);
  text-transform: uppercase;
}
.stat-big-number {
  font-family: var(--display);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--saffron);
  text-shadow: 0 0 30px rgba(244, 179, 61, 0.4);
}
.stat-unit {
  font-size: 32px;
  margin-left: -4px;
}
.stat-descriptor {
  font-size: 13px;
  color: var(--text-2);
  max-width: 200px;
}

/* Scene 3: Bars View */
.scene-bars-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: springDrop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bars-header-text {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--frost);
  text-align: left;
}
.bar-chart-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
}
.bar-track {
  width: 100%;
  height: 12px;
  background: var(--surface-2);
  border-radius: 6px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bar-fill.fill-saffron { background: var(--saffron); }
.bar-fill.fill-magenta { background: var(--magenta); }
.bar-fill.fill-teal { background: var(--teal); }

/* Scene 4: Flow View */
.scene-flow-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  animation: springDrop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.flow-step-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(28, 26, 36, 0.8);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
}
.flow-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--saffron-weak);
  color: var(--saffron);
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.flow-txt b {
  display: block;
  font-size: 12.5px;
  color: var(--frost);
}
.flow-txt small {
  display: block;
  font-size: 11px;
  color: var(--mute);
}

@keyframes springDrop {
  0% { opacity: 0; transform: scale(0.92) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Captions Overlay */
.caption-overlay {
  position: absolute;
  bottom: 32px;
  left: 16px;
  right: 16px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.caption-box {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  max-width: 280px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

/* Caption Words & Styles */
.cap-w {
  display: inline-block;
  transition: color 0.12s ease, background 0.12s ease, opacity 0.12s ease, transform 0.12s ease;
}

/* Montajo Preset */
.style-montajo .cap-w {
  color: var(--frost);
}
.style-montajo .cap-w.active {
  color: var(--saffron);
  transform: scale(1.06);
}

/* Marker Preset */
.style-marker .cap-w {
  color: var(--frost);
  padding: 0 3px;
  border-radius: 3px;
}
.style-marker .cap-w.active {
  background: var(--saffron);
  color: #121118;
  transform: scale(1.05);
}

/* Spotlight Preset */
.style-spotlight .cap-w {
  color: var(--frost);
  opacity: 0.28;
}
.style-spotlight .cap-w.active {
  opacity: 1;
  color: var(--frost);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
  transform: scale(1.08);
}

/* Karaoke Preset */
.style-karaoke .cap-w {
  color: var(--mute);
}
.style-karaoke .cap-w.passed,
.style-karaoke .cap-w.active {
  color: var(--saffron);
}

/* Stage Watermark */
.stage-watermark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  opacity: 0.35;
  pointer-events: none;
}

/* Audio VU Meter (Flavour) */
.vu-meter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 3px;
  height: 20px;
  align-items: flex-end;
  z-index: 5;
  opacity: 0.5;
}
.vu-bar {
  width: 3px;
  background: var(--ok);
  border-radius: 2px;
  height: 30%;
  transition: height 0.08s ease;
}

/* Cut Transition Overlay */
.transition-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s ease;
  background: var(--saffron);
}
.transition-overlay.flash {
  opacity: 0.6;
}

/* Stage Controls Bar below screen */
.stage-controls {
  padding: 10px 14px;
  background: #181520;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.play-btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--saffron);
  color: #121118;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.play-btn-circle:hover {
  transform: scale(1.08);
  background: var(--saffron-2);
}

.timecode-display {
  font-size: 11.5px;
  color: var(--text);
}

.speed-badge {
  font-size: 10.5px;
  color: var(--mute);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Inspector Column */
.inspector-column {
  display: flex;
  flex-direction: column;
}

.inspector-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--saffron);
}

.inspector-scene-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--frost);
  margin: 2px 0 0;
}

.badge-status {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.badge-status.ok {
  background: rgba(76, 195, 138, 0.14);
  color: var(--ok);
  border-color: rgba(76, 195, 138, 0.35);
}
.badge-status.rendering {
  background: var(--saffron-weak);
  color: var(--saffron);
  border-color: rgba(244, 179, 61, 0.4);
  animation: pulseStatus 0.8s infinite alternate;
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

.voice-badge {
  font-size: 11px;
  color: var(--mute);
}

.scene-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.scene-textarea:focus {
  outline: 0;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron-weak);
}

.form-hint {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.4;
}

.edit-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.render-speed-notice {
  font-size: 11.5px;
  color: var(--mute);
}

/* Caption Preset Buttons */
.caption-style-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.caption-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.caption-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.caption-preset-btn:hover {
  background: var(--hover);
  border-color: #4a455a;
}

.caption-preset-btn.active {
  border-color: var(--saffron);
  background: var(--saffron-weak);
}

.preset-name {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--frost);
}

.caption-preset-btn.active .preset-name {
  color: var(--saffron);
}

.preset-desc {
  font-size: 11px;
  color: var(--mute);
}

/* Template Selector Chips */
.template-selector-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.chip-item {
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.chip-item:hover {
  background: var(--hover);
  color: var(--text);
}

.chip-item.active {
  border-color: var(--saffron);
  background: var(--saffron-weak);
  color: var(--saffron);
}

/* ==========================================================================
   TIMELINE DECK
   ========================================================================== */
.deck-timeline-area {
  background: #171520;
  border-top: 1px solid var(--line);
  padding: 14px 20px 20px;
}

/* Timeline Transport */
.timeline-transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.transport-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.transport-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.transport-btn:hover {
  background: var(--hover);
  border-color: var(--line-2);
}

.transport-btn.primary {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #121118;
}

.transport-btn.primary:hover {
  background: var(--saffron-2);
}

.transport-timecode {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
}

.tc-current {
  color: var(--frost);
  font-weight: 700;
}

.tc-divider, .tc-total {
  color: var(--mute);
}

.tc-frame {
  color: var(--mute);
  font-size: 11px;
}

.timeline-legend {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legend-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--mute);
}

.legend-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.legend-chip .dot.saffron { background: var(--saffron); }
.legend-chip .dot.teal { background: var(--teal); }
.legend-chip .dot.magenta { background: var(--magenta); }

/* Timeline Multi-Track Container */
.timeline-lanes-container {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  user-select: none;
  cursor: pointer;
}

/* Ruler */
.timeline-ruler {
  height: 22px;
  background: #14131c;
  border-bottom: 1px solid var(--line);
  display: flex;
  position: relative;
  font-size: 10px;
  color: var(--mute);
}

.ruler-corner {
  width: 90px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: #15131e;
}

.ruler-lane {
  flex: 1;
  position: relative;
  height: 100%;
}

.ruler-lane span {
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
}

/* Tracks */
.tracks-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.track-row {
  display: flex;
  height: 34px;
  border-bottom: 1px solid rgba(46, 43, 57, 0.6);
  position: relative;
}

.track-row:last-child {
  border-bottom: 0;
}

.track-label {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--mute);
  background: #15131e;
  border-right: 1px solid var(--line);
  letter-spacing: 0.04em;
}

.track-lane {
  flex: 1;
  position: relative;
  height: 100%;
  background: var(--bg);
}

/* Scene Blocks */
.scene-block {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  color: #121118;
}

.scene-block:hover {
  filter: brightness(1.1);
}

.scene-block.active {
  box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.scene-block.s-saffron {
  background: var(--saffron);
  border-color: #f4b33d;
}

.scene-block.s-magenta {
  background: var(--magenta);
  border-color: #e0457b;
  color: #fff;
}

.scene-block.s-teal {
  background: var(--teal);
  border-color: #1f8a8a;
  color: #fff;
}

.scene-idx {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.8;
}

.scene-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}

.scene-len {
  font-size: 10px;
  opacity: 0.8;
}

/* Audio Waveform Track */
.audio-lane {
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.waveform-svg-wrap {
  width: 100%;
  height: 24px;
}

.waveform-svg {
  width: 100%;
  height: 100%;
}

/* Words Track */
.words-lane {
  display: flex;
  align-items: center;
}

.word-pill-timeline {
  position: absolute;
  top: 5px;
  height: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.12s ease;
}

.word-pill-timeline.active {
  background: var(--saffron);
  color: #121118;
  border-color: var(--saffron);
  font-weight: 700;
  z-index: 3;
}

/* SFX Track */
.sfx-lane {
  position: relative;
}

.sfx-marker {
  position: absolute;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--teal-weak);
  border: 1px solid var(--teal);
  cursor: pointer;
}

.sfx-marker::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-2);
}

/* Draggable Playhead Needle */
.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  pointer-events: none;
  z-index: 30;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.playhead-cap {
  position: absolute;
  top: 0;
  left: -5px;
  width: 12px;
  height: 14px;
  background: #ffffff;
  clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 50% 100%, 0% 65%);
}

.playhead-line {
  width: 100%;
  height: 100%;
  background: #ffffff;
}

/* ==========================================================================
   THE THREE WORKSPACES
   ========================================================================== */
.workspace-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.ws-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.ws-tab:hover {
  background: var(--surface-2);
  border-color: #433e54;
  transform: translateY(-2px);
}

.ws-tab.active {
  background: var(--surface-2);
  border-color: var(--line-highlight);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.ws-tab-color {
  width: 10px;
  height: 40px;
  border-radius: 5px;
  flex-shrink: 0;
}
.ws-studio-color { background: var(--magenta); box-shadow: 0 0 12px var(--magenta); }
.ws-campaigns-color { background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.ws-channel-color { background: var(--saffron); box-shadow: 0 0 12px var(--saffron); }

.ws-tab-info {
  display: flex;
  flex-direction: column;
}

.ws-tab-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--frost);
}

.ws-tab-sub {
  font-size: 12px;
  color: var(--mute);
}

/* Workspace Panels */
.workspace-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.workspace-panel.active {
  display: block;
  animation: panelFade 0.3s ease;
}

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

.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ws-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.ws-badge-pill.magenta {
  background: var(--magenta-weak);
  color: var(--magenta);
  border: 1px solid rgba(224, 69, 123, 0.3);
}

.ws-badge-pill.teal {
  background: var(--teal-weak);
  color: var(--teal);
  border: 1px solid rgba(31, 138, 138, 0.3);
}

.ws-badge-pill.saffron {
  background: var(--saffron-weak);
  color: var(--saffron);
  border: 1px solid rgba(244, 179, 61, 0.3);
}

.ws-badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ws-headline {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--frost);
  line-height: 1.25;
  margin: 0 0 16px;
}

.ws-description {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.feature-bullets li strong {
  color: var(--frost);
}

.bullet-ico {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-ico.magenta { background: var(--magenta-weak); color: var(--magenta); }
.bullet-ico.teal { background: var(--teal-weak); color: var(--teal); }
.bullet-ico.saffron { background: var(--saffron-weak); color: var(--saffron); }

.ws-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.code-chip {
  font-size: 11.5px;
  color: var(--mute);
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 6px 12px;
  border-radius: 6px;
}

/* Mockup Suite Cards inside Panels */
.mockup-suite-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mock-dot.red { background: #ef6b6b; }
.mock-dot.yellow { background: #f4b33d; }
.mock-dot.green { background: #4cc38a; }

.mock-title {
  font-size: 11px;
  color: var(--mute);
  margin-left: 8px;
}

.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topic-research-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
}

.topic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.badge-fresh {
  font-size: 10px;
  background: rgba(76, 195, 138, 0.12);
  color: var(--ok);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(76, 195, 138, 0.3);
}

.topic-src {
  font-size: 10.5px;
  color: var(--mute);
}

.topic-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--frost);
  margin: 0 0 6px;
}

.topic-angle {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 0 0 10px;
}

.topic-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11px;
  color: var(--mute);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 4px;
}

.scene-pipeline-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 4px;
  border-radius: 6px;
}

.pipeline-step.done {
  border-color: rgba(76, 195, 138, 0.4);
}

.pipeline-step.active {
  border-color: var(--magenta);
  background: var(--magenta-weak);
}

.step-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
}

.step-txt {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--frost);
}

/* Campaigns Mockup Elements */
.campaign-brief-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.brief-k {
  color: var(--mute);
}

.brief-v {
  color: var(--frost);
  font-weight: 600;
}

.clip-cards-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-clip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11.5px;
}

.badge-appr {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ok);
  background: rgba(76, 195, 138, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-post {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--teal);
  background: var(--teal-weak);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Channel Mockup Elements */
.pkg-tabs-row {
  display: flex;
  gap: 6px;
}

.pkg-tab-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--mute);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pkg-tab-chip:hover {
  background: var(--hover);
  color: var(--text);
}

.pkg-tab-chip.active {
  background: var(--saffron-weak);
  border-color: var(--saffron);
  color: var(--saffron);
}

.pkg-content-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pkg-label {
  font-size: 10px;
  color: var(--mute);
}

.pkg-val {
  font-size: 12.5px;
  color: var(--frost);
  margin: 0;
}

/* ==========================================================================
   INCREMENTAL UPDATE ENGINE
   ========================================================================== */
.incremental-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-card.montajo {
  border-color: rgba(244, 179, 61, 0.4);
  box-shadow: 0 16px 40px -10px rgba(244, 179, 61, 0.15);
}

.comp-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.comp-pill.bad {
  background: rgba(239, 107, 107, 0.14);
  color: var(--bad);
  border: 1px solid rgba(239, 107, 107, 0.3);
}
.comp-pill.ok {
  background: rgba(76, 195, 138, 0.14);
  color: var(--ok);
  border: 1px solid rgba(76, 195, 138, 0.3);
}

.comp-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--frost);
  margin: 0;
}

.comp-timeline-viz {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.comp-lane {
  display: flex;
  gap: 4px;
  height: 38px;
}

.comp-block {
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 0 4px;
}

.comp-block.re-encode {
  background: rgba(239, 107, 107, 0.2);
  border: 1px dashed var(--bad);
  color: var(--bad);
}

.comp-block.cached {
  background: rgba(76, 195, 138, 0.15);
  border: 1px solid var(--ok);
  color: var(--ok);
}

.comp-block.touched {
  background: var(--saffron);
  color: #121118;
  border: 1px solid var(--saffron);
  font-weight: 700;
}

.comp-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.metric-k {
  color: var(--mute);
}

.metric-v {
  font-weight: 600;
}

/* Engine Steps Grid */
.engine-steps-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
}

.engine-card-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--frost);
  margin: 0 0 24px;
  text-align: center;
}

.engine-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.engine-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--saffron-weak);
  color: var(--saffron);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 179, 61, 0.3);
}

.engine-step h5 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--frost);
  margin: 0;
}

.engine-step p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   REMOTION MOTION & 3D BLENDER STAGE
   ========================================================================== */
.remotion-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.remotion-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rem-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rem-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rem-tag.saffron { color: var(--saffron); }
.rem-tag.teal { color: var(--teal); }
.rem-tag.magenta { color: var(--magenta); }

.remotion-card h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--frost);
  margin: 0;
}

.remotion-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

.rem-code-snippet {
  margin-top: auto;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--mute);
  overflow-x: auto;
}

/* 3D Blender Gallery */
.blender-gallery-wrapper {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
}

.gallery-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--frost);
  margin: 4px 0 6px;
}

.gallery-sub {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}

.aspect-gallery-toggle {
  display: flex;
  gap: 6px;
}

.blender-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blender-sample-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.blender-sample-card:hover {
  border-color: #433e54;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.sample-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
  overflow: hidden;
  transition: aspect-ratio 0.3s ease;
}

.blender-cards-grid.landscape .sample-img-wrap {
  aspect-ratio: 16/9;
}

.blender-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blender-sample-card:hover .blender-img {
  transform: scale(1.03);
}

.sample-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(18, 17, 24, 0.85);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  color: var(--text);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sample-caption {
  padding: 16px;
}

.sample-caption h5 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--frost);
  margin: 0 0 6px;
}

.sample-caption p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   CAPTION STYLE LABORATORY
   ========================================================================== */
.caption-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.caption-demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cap-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--saffron);
}

.caption-demo-card h4 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--frost);
  margin: 0;
}

.cap-sample-box {
  background: #100f15;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 16px 10px;
  min-height: 78px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
}

.cap-word {
  color: var(--frost);
}

.cap-word.active.saffron {
  color: var(--saffron);
}

.cap-word.marker-highlight {
  background: var(--saffron);
  color: #121118;
  padding: 0 4px;
  border-radius: 3px;
}

.cap-word.dimmed {
  opacity: 0.25;
}

.cap-word.spotlight-active {
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.cap-expl {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   TECH SPECS & DEPLOYMENT ARCHITECTURE
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.spec-card h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--frost);
  margin: 0;
}

.spec-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Terminal Quickstart */
.terminal-quickstart {
  background: #0f0e15;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.term-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #171520;
  border-bottom: 1px solid var(--line);
}

.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3c3849;
}
.term-dot:nth-child(1) { background: #ef6b6b; }
.term-dot:nth-child(2) { background: #f4b33d; }
.term-dot:nth-child(3) { background: #4cc38a; }

.term-title {
  font-size: 11px;
  color: var(--mute);
  margin-left: 8px;
}

.term-body {
  padding: 18px 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  overflow-x: auto;
}

.term-body .prompt {
  color: var(--saffron);
  font-weight: 700;
}

.term-body .comment {
  color: var(--mute);
}

.term-body .log-ok {
  color: var(--ok);
  font-weight: 600;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner-card {
  background: linear-gradient(135deg, #1f1c2b 0%, #15131e 100%);
  border: 1px solid rgba(244, 179, 61, 0.35);
  border-radius: var(--r-xl);
  padding: 60px 32px;
  text-align: center;
  box-shadow: 0 20px 60px -10px rgba(244, 179, 61, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-mark {
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  color: var(--frost);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 32px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-footnote {
  font-size: 11.5px;
  color: var(--mute);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0d0c12;
  border-top: 1px solid var(--line);
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo img {
  height: 24px;
  width: auto;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ok);
  background: rgba(76, 195, 138, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  align-self: flex-start;
}

.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--frost);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--saffron);
}

.footer-bottom-bar {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 11.5px;
  color: var(--mute);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .deck-stage-area {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .viewport-column {
    width: 100%;
  }
  .inspector-column {
    width: 100%;
  }
  .ws-grid {
    grid-template-columns: 1fr;
  }
  .engine-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .remotion-feature-grid {
    grid-template-columns: 1fr;
  }
  .blender-cards-grid {
    grid-template-columns: 1fr;
  }
  .caption-demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-subhead {
    font-size: 15px;
  }
  .hero-stats-bar {
    flex-direction: column;
    gap: 16px;
  }
  .stat-sep {
    display: none;
  }
  .nav-links {
    display: none; /* Mobile menu can be toggled or kept streamlined */
  }
  .workspace-tabs {
    grid-template-columns: 1fr;
  }
  .incremental-comparison-grid {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .engine-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   MULTI-PAGE NAVIGATION & PAGER STYLES
   ========================================================================== */
.nav-item.active {
  color: var(--frost);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.nav-item.active::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--saffron);
  margin-left: 6px;
  vertical-align: middle;
}

/* Page Sequence Pager */
.page-sequence-pager {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin: 60px 0 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.pager-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.pager-card:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}
.pager-card.next {
  text-align: right;
  border-color: var(--accent-line);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(244,179,61,0.06) 100%);
}
.pager-card.next:hover {
  border-color: var(--saffron);
}
.pager-direction {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 8px;
}
.pager-card.next .pager-direction {
  color: var(--saffron);
  font-weight: 600;
}
.pager-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--frost);
  margin-bottom: 6px;
}
.pager-desc {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.45;
}

/* ==========================================================================
   PRICING PAGE STYLES
   ========================================================================== */
.pricing-header {
  text-align: center;
  max-width: 780px;
  margin: 40px auto 50px;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--accent-weak);
  border: 1px solid var(--accent-line);
  color: var(--saffron);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 10px;
}
.billing-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 30px;
  padding: 4px;
}
.billing-btn {
  background: transparent;
  border: 0;
  color: var(--mute);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
}
.billing-btn.active {
  background: var(--surface-2);
  color: var(--frost);
  border: 1px solid var(--line-2);
}
.save-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(76, 195, 138, 0.15);
  border: 1px solid rgba(76, 195, 138, 0.35);
  color: var(--ok);
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 60px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.pricing-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.pricing-card.featured {
  background: linear-gradient(180deg, var(--surface) 0%, #1d1927 100%);
  border: 1.5px solid var(--saffron);
  box-shadow: 0 16px 40px rgba(244,179,61,0.12);
}
.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--frost);
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 13.5px;
  color: var(--mute);
  min-height: 40px;
  line-height: 1.45;
  margin-bottom: 20px;
}
.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.currency-sym {
  font-family: var(--display);
  font-size: 24px;
  color: var(--text-2);
}
.price-val {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  color: var(--frost);
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--mute);
}
.plan-credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--saffron);
  margin-bottom: 24px;
}
.pricing-divider {
  height: 1px;
  background: var(--line);
  margin: 16px 0 24px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.features-list li {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.features-list li .check-icon {
  color: var(--ok);
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}
.features-list li.muted {
  color: var(--slate);
  text-decoration: line-through;
}

/* Credit Calculator */
.calc-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px;
  margin: 60px 0;
}
.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}
.calc-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-sub {
  color: var(--mute);
  font-size: 14px;
}
.calc-slider-box {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 24px;
  margin-bottom: 24px;
}
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.slider-val-badge {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--saffron);
}
.calc-slider-input {
  width: 100%;
  accent-color: var(--saffron);
  cursor: pointer;
}
.calc-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.calc-result-card {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.calc-result-number {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--frost);
  margin-bottom: 4px;
}
.calc-result-label {
  font-size: 12px;
  color: var(--mute);
}
.calc-result-rate {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--saffron);
  margin-top: 6px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 22px;
}
.faq-q {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--frost);
  margin-bottom: 8px;
}
.faq-a {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ==========================================================================
   ENGINE PAGE ENHANCEMENTS
   ========================================================================== */
.engine-diagram-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  margin: 30px 0;
}
.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
}
.pipeline-node {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 16px;
  flex: 1;
  min-width: 170px;
  text-align: center;
  position: relative;
}
.pipeline-node.active {
  border-color: var(--saffron);
  background: rgba(244,179,61,0.08);
}
.node-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: 4px;
}
.node-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--frost);
  margin-bottom: 4px;
}
.node-sub {
  font-size: 11.5px;
  color: var(--mute);
}
.pipeline-arrow {
  color: var(--mute);
  font-size: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER 1000PX SINGLE-LINE FIX, SHARED PAGER & INTRO METRICS POLISH
   ========================================================================== */
@media (max-width: 1120px) {
  .host-pill {
    display: none;
  }
  .header-inner {
    gap: 12px;
    padding: 0 18px;
  }
  .nav-links {
    gap: 4px;
  }
  .nav-item {
    padding: 6px 10px;
    font-size: 13px;
  }
}

@media (max-width: 920px) {
  .system-status {
    display: none;
  }
  .nav-item {
    padding: 5px 8px;
    font-size: 12.5px;
  }
}

/* Sequential Page Pager (shared across all 4 pages) */
.page-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.page-pager:has(> .container) {
  display: block;
}

.pager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pager-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pager-link:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.pager-prev {
  align-items: flex-start;
  text-align: left;
}

.pager-next {
  align-items: flex-end;
  text-align: right;
  grid-column: 2;
  border-color: rgba(244, 179, 61, 0.32);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(244, 179, 61, 0.06) 100%);
}

.pager-next:hover {
  border-color: var(--saffron);
  box-shadow: 0 12px 28px rgba(244, 179, 61, 0.12);
}

.pager-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.pager-next .pager-kicker {
  color: var(--saffron);
}

.pager-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--frost);
  line-height: 1.3;
}

/* Intro Mission & Creator Metrics Grid */
.intro-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.intro-metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.intro-metric-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.intro-metric-kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.intro-metric-value {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--frost);
}

.intro-metric-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

.intro-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.intro-pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro-pillar-card h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--frost);
  margin: 0;
}

.intro-pillar-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .calc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .page-sequence-pager {
    flex-direction: column;
  }
  .intro-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-pager,
  .pager-grid {
    grid-template-columns: 1fr;
  }
  .pager-next {
    grid-column: auto;
    align-items: flex-start;
    text-align: left;
  }
  .intro-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGE TRANSITIONS (Cross-Document View Transitions + Fallback)
   ========================================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vtPageOut 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-new(root) {
  animation: vtPageIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
}

@keyframes vtPageOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.995);
  }
}

@keyframes vtPageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fallback for browsers without @view-transition */
main {
  animation: pageEnter 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 150ms ease, transform 150ms ease;
}

body.is-page-leaving main,
main.is-page-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

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

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  main {
    animation: none !important;
    transition: none !important;
  }
  body.is-page-leaving main,
  main.is-page-leaving {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   2-COLUMN ANIMATED EDIT-SUITE HERO (index.html)
   ========================================================================== */
.hero-edit-suite {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  text-align: left;
}

/* Backdrop: Perspective Floor Grid & Flowing Waveform Ribbons */
.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-floor-grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -60px;
  height: 300px;
  background-image:
    linear-gradient(to right, rgba(244, 179, 61, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 179, 61, 0.08) 1px, transparent 1px);
  background-size: 64px 44px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 90%);
  animation: floorGridDrift 16s linear infinite;
}

@keyframes floorGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 44px, 0 44px; }
}

.hero-wave-svg {
  position: absolute;
  left: 0;
  width: 200%;
  top: 32%;
  height: 240px;
  opacity: 0.65;
  pointer-events: none;
}

.wave-track {
  will-change: transform;
}

.wave-track-saffron {
  animation: waveSlideLeft 14s linear infinite;
}

.wave-track-teal {
  animation: waveSlideRight 18s linear infinite;
}

.wave-track-magenta {
  animation: waveSlideLeft 22s linear infinite;
}

.wave-ribbon {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.wave-saffron {
  stroke: rgba(244, 179, 61, 0.36);
}

.wave-teal {
  stroke: rgba(77, 184, 184, 0.34);
}

.wave-magenta {
  stroke: rgba(224, 69, 123, 0.32);
}

.wave-pulse {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 180 540;
  animation: wavePulseDash 6s linear infinite;
}

.pulse-saffron {
  stroke: rgba(244, 179, 61, 0.92);
  filter: drop-shadow(0 0 6px rgba(244, 179, 61, 0.75));
  animation-duration: 5.5s;
}

.pulse-teal {
  stroke: rgba(77, 184, 184, 0.92);
  filter: drop-shadow(0 0 6px rgba(77, 184, 184, 0.75));
  animation-duration: 7s;
  animation-direction: reverse;
}

.pulse-magenta {
  stroke: rgba(224, 69, 123, 0.9);
  filter: drop-shadow(0 0 6px rgba(224, 69, 123, 0.72));
  animation-duration: 8.5s;
}

@keyframes waveSlideLeft {
  0% { transform: translate3d(0, -4px, 0); }
  50% { transform: translate3d(-25%, 6px, 0); }
  100% { transform: translate3d(-50%, -4px, 0); }
}

@keyframes waveSlideRight {
  0% { transform: translate3d(-50%, 5px, 0); }
  50% { transform: translate3d(-25%, -5px, 0); }
  100% { transform: translate3d(0, 5px, 0); }
}

@keyframes wavePulseDash {
  from { stroke-dashoffset: 720; }
  to { stroke-dashoffset: 0; }
}

/* 2-Column Split Layout */
.hero-split-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-edit-suite .hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-title-stacked {
  font-size: clamp(36px, 4.3vw, 54px);
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: none;
}

.hero-title-line {
  display: block;
}

.hero-edit-suite .hero-subhead {
  font-size: 16.5px;
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-edit-suite .hero-cta-group {
  justify-content: flex-start;
  margin-bottom: 32px;
}

.hero-edit-suite .hero-stats-bar {
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: 560px;
}

.hero-edit-suite .stat-num {
  font-size: 20px;
}

.hero-edit-suite .stat-label {
  font-size: 11px;
  max-width: none;
  white-space: nowrap;
}

/* Right Column: NLE Edit-Suite Tablet */
.hero-right-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 14px 10px 18px;
}

.hero-stage-card {
  position: relative;
  background: linear-gradient(165deg, rgba(28, 26, 36, 0.94) 0%, rgba(16, 15, 22, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 16px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(244, 179, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg) rotateZ(-1.5deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  animation: heroCardFloat 6.5s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-stage-card:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) rotateZ(-0.5deg) translateY(-6px);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(244, 179, 61, 0.28);
}

@keyframes heroCardFloat {
  0% { transform: perspective(1200px) rotateY(-10deg) rotateX(4deg) rotateZ(-1.5deg) translateY(0px); }
  50% { transform: perspective(1200px) rotateY(-8.5deg) rotateX(4.8deg) rotateZ(-1deg) translateY(-8px); }
  100% { transform: perspective(1200px) rotateY(-10.5deg) rotateX(3.5deg) rotateZ(-1.8deg) translateY(-3px); }
}

.hero-tablet-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  align-items: stretch;
}

/* Left Inner Pane: 9:16 Preview */
.hero-preview-pane {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(31, 138, 138, 0.34) 0%, #101017 72%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 12px;
}

.hero-preview-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(244, 179, 61, 0.16) 0%, transparent 55%);
  pointer-events: none;
}

.hero-speaker-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Speaker Silhouette */
.speaker-silhouette {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: speakerSway 4.5s ease-in-out infinite alternate;
}

@keyframes speakerSway {
  from { transform: translate(-4px, 0); }
  to { transform: translate(5px, -3px); }
}

.speaker-head {
  width: 58px;
  height: 70px;
  border-radius: 30px 30px 26px 26px;
  background: linear-gradient(180deg, #4b475e 0%, #2a2737 100%);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.speaker-mouth {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 14px;
  height: 7px;
  border-radius: 99px;
  background: #121118;
  transform: translateX(-50%);
  animation: mouthSpeak 0.45s ease-in-out infinite alternate;
}

@keyframes mouthSpeak {
  from { height: 4px; width: 12px; }
  to { height: 9px; width: 15px; }
}

.speaker-shoulders {
  width: 112px;
  height: 34px;
  margin-top: -6px;
  border-radius: 34px 34px 10px 10px;
  background: linear-gradient(180deg, #353145 0%, #1c1a26 100%);
}

/* AI Follow Dashed Teal Tracking Reticle */
.hero-reticle {
  position: absolute;
  width: 108px;
  height: 112px;
  border: 1.5px dashed rgba(77, 184, 184, 0.72);
  border-radius: 8px;
  pointer-events: none;
  animation: reticleTrack 4.5s ease-in-out infinite alternate;
}

@keyframes reticleTrack {
  from { transform: translate(-4px, -4px); }
  to { transform: translate(5px, -7px); }
}

.reticle-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--teal-2);
  white-space: nowrap;
}

.reticle-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--teal-2);
  border-style: solid;
}
.reticle-corner.tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.reticle-corner.tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.reticle-corner.bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.reticle-corner.br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

/* Safe-Zone X-Ray Overlay */
.hero-safezone-overlay {
  position: absolute;
  inset: 14px 10px 52px;
  border: 1.5px dashed rgba(244, 179, 61, 0.75);
  border-radius: 10px;
  background: rgba(244, 179, 61, 0.04);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 6px;
}

.safezone-tag {
  font-size: 9px;
  color: var(--saffron);
  background: rgba(18, 17, 24, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
}

.hero-stage-card[data-mode="safezone"] .hero-safezone-overlay {
  opacity: 1;
}

.hero-stage-card[data-mode="telemetry"] .hero-reticle {
  border-color: var(--saffron);
  box-shadow: 0 0 18px rgba(244, 179, 61, 0.25);
}

/* Live Word-by-Word Highlighted Captions */
.hero-caption-words {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
}

.hero-cap-word {
  display: inline-block;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(238, 240, 245, 0.82);
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.14s ease, color 0.14s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.hero-cap-word.active {
  background: linear-gradient(180deg, #ffd378 0%, #f4b33d 100%);
  color: #121118;
  transform: translateY(-3px) scale(1.14);
  box-shadow: 0 4px 14px rgba(244, 179, 61, 0.52), 0 0 0 1px rgba(255, 222, 148, 0.45);
  animation: capWordPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-cap-word.pop {
  animation: capWordPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes capWordPop {
  0% {
    transform: translateY(2px) scale(0.92);
  }
  55% {
    transform: translateY(-5px) scale(1.2);
  }
  100% {
    transform: translateY(-3px) scale(1.14);
  }
}

/* Right Inner Pane: Timecode, Spectrum & Timeline */
.hero-timeline-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-tc-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(14, 13, 20, 0.9);
  border: 1px solid var(--line);
}

.tc-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
  animation: pulseStatus 1.2s infinite ease-in-out;
}

.hero-timecode {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frost);
  letter-spacing: 0.06em;
}

/* Audio Spectrum Bars */
.hero-spectrum {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  height: 54px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(14, 13, 20, 0.85);
  border: 1px solid var(--line);
}

.spec-bar {
  flex: 1;
  height: var(--h, 60%);
  border-radius: 3px;
  transform-origin: bottom;
  animation: specBounce 0.9s ease-in-out var(--d, 0s) infinite alternate;
}

.spec-bar.saffron { background: var(--saffron); }
.spec-bar.magenta { background: var(--magenta); }
.spec-bar.teal { background: var(--teal-2); }

@keyframes specBounce {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}

/* Timeline Tracks + Playhead */
.hero-timeline-tracks {
  position: relative;
  flex: 1;
  min-height: 185px;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(14, 13, 20, 0.9);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.hero-track-row {
  display: flex;
  gap: 5px;
  height: 16px;
}

.hero-track-row.dim {
  opacity: 0.55;
  height: 12px;
}

.ht-block {
  height: 100%;
  border-radius: 5px;
  transition: filter 0.2s ease;
}

.ht-block.saffron { background: var(--saffron); }
.ht-block.teal { background: var(--teal-2); }
.ht-block.magenta { background: var(--magenta); }
.ht-block.ok { background: var(--ok); }

.hero-stage-card[data-mode="flow"] .ht-block {
  box-shadow: 0 0 12px rgba(244, 179, 61, 0.28);
}

.hero-playhead {
  position: absolute;
  top: 6px;
  bottom: 8px;
  left: 22%;
  width: 2px;
  pointer-events: none;
  transition: left 0.12s linear;
}

.hero-playhead-cap {
  position: absolute;
  top: 0;
  left: -4px;
  width: 10px;
  height: 6px;
  border-radius: 2px;
  background: var(--magenta);
}

.hero-playhead-line {
  position: absolute;
  top: 5px;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--magenta) 0%, rgba(224, 69, 123, 0.25) 100%);
}

/* Floating Telemetry Cards */
.hero-telemetry-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(20, 19, 28, 0.92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.telemetry-hook {
  top: -4px;
  left: -18px;
  animation: floatCardA 5.5s ease-in-out infinite alternate;
}

.telemetry-qa {
  top: 48%;
  right: -22px;
  animation: floatCardB 6.2s ease-in-out infinite alternate;
}

.telemetry-delta {
  bottom: 42px;
  left: -14px;
  animation: floatCardA 6.8s ease-in-out infinite alternate-reverse;
}

@keyframes floatCardA {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@keyframes floatCardB {
  from { transform: translateY(4px); }
  to { transform: translateY(-5px); }
}

.telemetry-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.telemetry-icon.saffron { background: var(--saffron-weak); color: var(--saffron); }
.telemetry-icon.teal { background: var(--teal-weak); color: var(--teal-2); }
.telemetry-icon.ok { background: rgba(76, 195, 138, 0.16); color: var(--ok); }

.telemetry-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.telemetry-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--frost);
  white-space: nowrap;
}

.telemetry-sub {
  font-size: 10.5px;
  color: var(--mute);
  white-space: nowrap;
}

/* Interactive Mode Pills */
.hero-mode-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-mode-pill {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hero-mode-pill:hover {
  background: var(--hover);
  color: var(--frost);
}

.hero-mode-pill.active {
  background: rgba(244, 179, 61, 0.16);
  border-color: rgba(244, 179, 61, 0.55);
  color: var(--saffron-2);
}

/* Responsive Hero Stack */
@media (max-width: 1060px) {
  .hero-split-container {
    gap: 28px;
  }
  .telemetry-qa {
    right: -6px;
  }
  .telemetry-hook,
  .telemetry-delta {
    left: -6px;
  }
}

@media (max-width: 960px) {
  .hero-edit-suite {
    padding: 48px 0 56px;
    text-align: center;
  }
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-left-col {
    align-items: center;
  }
  .hero-edit-suite .hero-cta-group {
    justify-content: center;
  }
  .hero-stage-card {
    transform: none;
    animation: none;
  }
  .hero-stage-card:hover {
    transform: translateY(-2px);
  }
  .telemetry-hook,
  .telemetry-qa,
  .telemetry-delta {
    position: static;
    animation: none;
  }
  .hero-stage-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
  .hero-stage-wrap .hero-telemetry-card {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-floor-grid,
  .wave-track,
  .wave-pulse,
  .wave-saffron,
  .wave-teal,
  .wave-magenta,
  .hero-stage-card,
  .speaker-silhouette,
  .speaker-mouth,
  .hero-reticle,
  .spec-bar,
  .telemetry-hook,
  .telemetry-qa,
  .telemetry-delta,
  .tc-rec-dot,
  .hero-cap-word.active,
  .hero-cap-word.pop,
  .ascii-cursor {
    animation: none !important;
  }
  .hero-stage-card {
    transform: none;
  }
}

/* ==========================================================================
   ASCII / TERMINAL ART DESIGN LAYER
   ========================================================================== */
.hero-ascii-coord {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(238, 240, 245, 0.22);
  pointer-events: none;
  user-select: none;
}

.ascii-terminal-section {
  padding: 24px 0 36px;
}

.ascii-terminal-window {
  background: linear-gradient(180deg, rgba(22, 20, 28, 0.96) 0%, rgba(15, 14, 21, 0.98) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(244, 179, 61, 0.08);
}

.ascii-terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.ascii-term-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ascii-term-title {
  font-size: 11.5px;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ascii-term-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--saffron);
  background: var(--saffron-weak);
  border: 1px solid rgba(244, 179, 61, 0.28);
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.ascii-art-pre {
  margin: 0;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: clamp(10px, 1.15vw, 13px);
  line-height: 1.5;
  color: var(--text-2);
  white-space: pre;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--line-2) transparent;
}

.ascii-art-pre code {
  font-family: inherit;
}

.ascii-accent { color: var(--saffron); font-weight: 600; }
.ascii-frost { color: var(--frost); }
.ascii-teal { color: var(--teal-2); }
.ascii-magenta { color: var(--magenta-2); }
.ascii-ok { color: var(--ok); font-weight: 600; }
.ascii-mute { color: var(--mute); }

.ascii-spinner {
  display: inline-block;
  color: var(--saffron);
  font-weight: 700;
}

.ascii-cursor {
  display: inline-block;
  color: var(--saffron);
  animation: asciiBlink 1s steps(2, start) infinite;
}

@keyframes asciiBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
  .hero-ascii-coord {
    display: none;
  }
  .ascii-art-pre {
    padding: 16px;
    font-size: 10.5px;
  }
}

/* ==========================================================================
   FULL-VIEWPORT ASCII HANDS CANVAS BACKDROP (index.html only)
   ========================================================================== */
.ascii-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  display: block;
  filter: blur(0.15px) drop-shadow(0 0 4px rgba(220, 220, 230, 0.28)) contrast(1.1);
}

body.page-intro-ascii {
  background-color: #0b0a0f;
}

body.page-intro-ascii::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 2px,
      rgba(0, 0, 0, 0.18) 3px
    ),
    radial-gradient(
      ellipse at center,
      transparent 58%,
      rgba(0, 0, 0, 0.36) 100%
    );
}

body.page-intro-ascii::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 35%,
    rgba(11, 10, 15, 0.34) 0%,
    rgba(11, 10, 15, 0.08) 48%,
    rgba(11, 10, 15, 0.28) 100%
  );
}

/* Centered Hero Layout so left & right ASCII hands frame the hero uncovered */
body.page-intro-ascii .hero-edit-suite {
  padding: 56px 0 64px;
  text-align: center;
}

body.page-intro-ascii .hero-split-container {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 56px;
}

body.page-intro-ascii .hero-left-col {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  text-shadow: 0 2px 18px rgba(11, 10, 15, 0.92), 0 1px 4px rgba(11, 10, 15, 0.95);
}

body.page-intro-ascii .hero-left-col::before {
  content: "";
  position: absolute;
  inset: -28px -36px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(11, 10, 15, 0.62) 0%,
    rgba(11, 10, 15, 0.24) 55%,
    transparent 80%
  );
  border-radius: 32px;
}

body.page-intro-ascii .hero-subhead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body.page-intro-ascii .hero-cta-group {
  justify-content: center;
}

body.page-intro-ascii .hero-stats-bar {
  margin: 0 auto;
}

body.page-intro-ascii .hero-right-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

body.page-intro-ascii .hero-stage-wrap {
  max-width: 560px;
  margin: 0 auto;
}

body.page-intro-ascii .hero-stage-card {
  background: rgba(18, 17, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.page-intro-ascii .hero-preview-pane {
  background: radial-gradient(circle at 50% 45%, rgba(31, 138, 138, 0.28) 0%, rgba(16, 16, 23, 0.62) 72%);
}

body.page-intro-ascii .hero-tc-bar,
body.page-intro-ascii .hero-spectrum,
body.page-intro-ascii .hero-timeline-tracks {
  background: rgba(14, 13, 20, 0.58);
}

body.page-intro-ascii main,
body.page-intro-ascii .site-footer {
  position: relative;
  z-index: 1;
}

body.page-intro-ascii .aurora,
body.page-intro-ascii .hero-backdrop {
  display: none !important;
}

body.page-intro-ascii .section,
body.page-intro-ascii .hero-section,
body.page-intro-ascii .workspaces-section {
  background: transparent;
}

body.page-intro-ascii .site-header {
  background: rgba(11, 10, 15, 0.82);
}

body.page-intro-ascii .hero-stats-bar,
body.page-intro-ascii .intro-metric-card,
body.page-intro-ascii .intro-pillar-card,
body.page-intro-ascii .ws-tab,
body.page-intro-ascii .workspace-panel,
body.page-intro-ascii .pager-link,
body.page-intro-ascii .ascii-terminal-window {
  background: rgba(20, 18, 27, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.page-intro-ascii .site-footer {
  background: rgba(11, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Monochrome ASCII Terminal Theme (scoped to body.page-intro-ascii) */
body.page-intro-ascii .nav-item {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #9A9AA6;
}

body.page-intro-ascii .nav-item:hover {
  color: #E6E6EB;
}

body.page-intro-ascii .nav-item.active {
  color: #E6E6EB;
  border-color: rgba(244, 179, 61, 0.35);
  background: rgba(244, 179, 61, 0.08);
}

body.page-intro-ascii .hero-badge {
  font-family: var(--mono);
  font-size: 12px;
  color: #E6E6EB;
  background: rgba(14, 13, 20, 0.85);
  border: 1px solid rgba(230, 230, 235, 0.18);
  border-radius: 8px;
}

body.page-intro-ascii .hero-title-stacked {
  font-family: var(--mono);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #E6E6EB;
}

body.page-intro-ascii .hero-title-glow {
  position: relative;
  color: #F4B33D;
  text-shadow: 0 0 24px rgba(244, 179, 61, 0.32), 0 2px 12px rgba(11, 10, 15, 0.9);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(11, 10, 15, 0.18) 3px,
    rgba(11, 10, 15, 0.18) 4px
  );
}

body.page-intro-ascii .hero-subhead {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: #9A9AA6;
}

body.page-intro-ascii .hero-btn-terminal {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  border-radius: 8px;
}

body.page-intro-ascii .hero-btn-terminal-ghost {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: #E6E6EB;
  border-color: rgba(230, 230, 235, 0.24);
  background: rgba(14, 13, 20, 0.65);
  border-radius: 8px;
}

body.page-intro-ascii .hero-btn-terminal-ghost:hover {
  border-color: rgba(244, 179, 61, 0.55);
  color: #F4B33D;
}

body.page-intro-ascii .stat-num {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #E6E6EB;
}

body.page-intro-ascii .stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: #9A9AA6;
}

body.page-intro-ascii .section-title,
body.page-intro-ascii .intro-metric-value,
body.page-intro-ascii .intro-pillar-card h3,
body.page-intro-ascii .ws-tab-name,
body.page-intro-ascii .ws-headline,
body.page-intro-ascii .pager-title {
  font-family: var(--mono);
  letter-spacing: -0.025em;
}

body.page-intro-ascii .section-desc,
body.page-intro-ascii .intro-metric-desc,
body.page-intro-ascii .intro-pillar-card p,
body.page-intro-ascii .ws-description {
  font-family: var(--mono);
  font-size: 13.5px;
  color: #9A9AA6;
}

body.page-intro-ascii .section-tag {
  border-radius: 6px;
}

body.page-intro-ascii .hero-cap-word {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(230, 230, 235, 0.85);
}

body.page-intro-ascii .hero-cap-word.active {
  color: #121118;
  background: linear-gradient(180deg, #ffd378 0%, #f4b33d 100%);
}

body.page-intro-ascii .hero-mode-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #9A9AA6;
  background: rgba(14, 13, 20, 0.72);
  border-color: rgba(230, 230, 235, 0.16);
  border-radius: 6px;
}

body.page-intro-ascii .hero-mode-pill:hover {
  color: #E6E6EB;
  border-color: rgba(230, 230, 235, 0.34);
}

body.page-intro-ascii .hero-mode-pill.active {
  color: #F4B33D;
  background: rgba(244, 179, 61, 0.14);
  border-color: rgba(244, 179, 61, 0.55);
}

body.page-intro-ascii .hero-telemetry-card {
  font-family: var(--mono);
  background: rgba(14, 13, 20, 0.86);
  border-color: rgba(230, 230, 235, 0.16);
  border-radius: 8px;
}

body.page-intro-ascii .telemetry-title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #E6E6EB;
}

body.page-intro-ascii .telemetry-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: #9A9AA6;
}

/* Soft CRT Phosphor Text-Shadow Bloom */
body.page-intro-ascii .hero-title-stacked,
body.page-intro-ascii .section-title,
body.page-intro-ascii .ws-headline,
body.page-intro-ascii .pager-title,
body.page-intro-ascii .nav-item.active,
body.page-intro-ascii .hero-badge {
  text-shadow: 0 0 10px rgba(230, 230, 235, 0.22);
}

body.page-intro-ascii .text-saffron,
body.page-intro-ascii .hero-title-glow,
body.page-intro-ascii .hero-mode-pill.active,
body.page-intro-ascii .hero-btn-terminal-ghost:hover,
body.page-intro-ascii .ascii-accent {
  text-shadow: 0 0 14px rgba(244, 179, 61, 0.32);
}

body.page-intro-ascii .hero-btn-terminal {
  box-shadow: 0 0 18px rgba(244, 179, 61, 0.28);
}

/* ==========================================================================
   MONOCHROME + SAFFRON (#F4B33D) PHOSPHOR TERMINAL PALETTE (all 4 pages)
   ========================================================================== */
/* Hero Stage Card (#heroStageCard) Monochrome + Saffron Restyle */
body.page-intro-ascii .hero-stage-card {
  border: 1px solid rgba(230, 230, 235, 0.14);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(244, 179, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.page-intro-ascii .hero-stage-card:hover {
  border-color: rgba(244, 179, 61, 0.42);
}

body.page-intro-ascii .hero-preview-pane {
  background: radial-gradient(
    circle at 50% 42%,
    rgba(230, 230, 235, 0.12) 0%,
    rgba(244, 179, 61, 0.06) 35%,
    rgba(11, 10, 15, 0.72) 75%
  );
  border-color: rgba(230, 230, 235, 0.12);
}

body.page-intro-ascii .hero-preview-glow {
  background: radial-gradient(circle at 50% 42%, rgba(244, 179, 61, 0.14) 0%, transparent 55%);
}

body.page-intro-ascii .speaker-head {
  background: linear-gradient(180deg, #5a5a68 0%, #262630 100%);
}

body.page-intro-ascii .speaker-shoulders {
  background: linear-gradient(180deg, #3c3c48 0%, #17171e 100%);
}

body.page-intro-ascii .hero-reticle {
  border-color: rgba(244, 179, 61, 0.75);
  box-shadow: 0 0 14px rgba(244, 179, 61, 0.14);
}

body.page-intro-ascii .reticle-label {
  color: #F4B33D;
}

body.page-intro-ascii .reticle-corner {
  border-color: #F4B33D;
}

body.page-intro-ascii .tc-rec-dot {
  background: #F4B33D;
  box-shadow: 0 0 8px #F4B33D;
}

body.page-intro-ascii .spec-bar.saffron { background: #F4B33D; }
body.page-intro-ascii .spec-bar.magenta { background: #E6E6EB; }
body.page-intro-ascii .spec-bar.teal { background: #6A6A78; }

body.page-intro-ascii .ht-block.saffron { background: #F4B33D; }
body.page-intro-ascii .ht-block.teal { background: #C3C6D1; }
body.page-intro-ascii .ht-block.magenta { background: #7E7E8C; }
body.page-intro-ascii .ht-block.ok { background: rgba(244, 179, 61, 0.55); }

body.page-intro-ascii .hero-playhead-cap {
  background: #F4B33D;
}

body.page-intro-ascii .hero-playhead-line {
  background: linear-gradient(180deg, #F4B33D 0%, rgba(244, 179, 61, 0.2) 100%);
}

body.page-intro-ascii .telemetry-icon.saffron {
  background: rgba(244, 179, 61, 0.16);
  color: #F4B33D;
}

body.page-intro-ascii .telemetry-icon.teal,
body.page-intro-ascii .telemetry-icon.ok {
  background: rgba(230, 230, 235, 0.1);
  color: #E6E6EB;
}

/* Monochrome + Saffron Terminal Dots (replace red/yellow/green traffic lights) */
body.page-intro-ascii .mock-dot,
body.page-intro-ascii .term-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

body.page-intro-ascii .mock-dot.red,
body.page-intro-ascii .term-dot:first-child {
  background: #F4B33D;
  box-shadow: 0 0 6px rgba(244, 179, 61, 0.45);
}

body.page-intro-ascii .mock-dot.yellow,
body.page-intro-ascii .term-dot:nth-child(2) {
  background: rgba(230, 230, 235, 0.55);
}

body.page-intro-ascii .mock-dot.green,
body.page-intro-ascii .term-dot:nth-child(3) {
  background: rgba(230, 230, 235, 0.25);
}

/* Monochrome + Saffron Text & ASCII Accents */
body.page-intro-ascii .text-magenta { color: #E6E6EB; }
body.page-intro-ascii .text-teal { color: #9A9AA6; }
body.page-intro-ascii .ascii-teal { color: #C3C6D1; }
body.page-intro-ascii .ascii-magenta { color: #E6E6EB; }
body.page-intro-ascii .ascii-ok { color: #F4B33D; }

/* Dark-Glass Phosphor Cards across all 4 pages */
body.page-intro-ascii .hero-stats-bar,
body.page-intro-ascii .intro-metric-card,
body.page-intro-ascii .intro-pillar-card,
body.page-intro-ascii .ws-tab,
body.page-intro-ascii .workspace-panel,
body.page-intro-ascii .pager-link,
body.page-intro-ascii .pager-card,
body.page-intro-ascii .ascii-terminal-window,
body.page-intro-ascii .spec-card,
body.page-intro-ascii .comparison-card,
body.page-intro-ascii .engine-steps-card,
body.page-intro-ascii .terminal-quickstart,
body.page-intro-ascii .cta-banner-card,
body.page-intro-ascii .pricing-card,
body.page-intro-ascii .calc-section,
body.page-intro-ascii .faq-item {
  background: rgba(14, 13, 20, 0.78);
  border-color: rgba(230, 230, 235, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.page-intro-ascii .intro-metric-card:hover,
body.page-intro-ascii .intro-pillar-card:hover,
body.page-intro-ascii .ws-tab:hover,
body.page-intro-ascii .pager-link:hover,
body.page-intro-ascii .pager-card:hover,
body.page-intro-ascii .spec-card:hover,
body.page-intro-ascii .pricing-card:hover,
body.page-intro-ascii .faq-item:hover {
  border-color: rgba(244, 179, 61, 0.42);
}

body.page-intro-ascii .ws-tab.active {
  border-color: rgba(244, 179, 61, 0.55);
  box-shadow: 0 0 20px rgba(244, 179, 61, 0.1);
}

body.page-intro-ascii .ws-tab-color,
body.page-intro-ascii .ws-badge-pill,
body.page-intro-ascii .bullet-ico {
  border-color: rgba(230, 230, 235, 0.2);
}

/* ==========================================================================
   SUBTLE SCROLL REVEAL (shared across all 4 pages)
   ========================================================================== */
.scroll-reveal-init {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.6s ease;
  will-change: opacity, transform;
}

.scroll-reveal-init.scroll-reveal-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   GLITCHED ASCII TOP HEADER & PAGE SWITCHER (shared across all 4 pages)
   ========================================================================== */
body.page-intro-ascii .site-header {
  background: rgba(11, 10, 15, 0.88);
  border-bottom: 1px solid rgba(230, 230, 235, 0.16);
}

body.page-intro-ascii .host-pill {
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 2px;
  border-color: rgba(244, 179, 61, 0.35);
  color: var(--saffron);
  background: rgba(244, 179, 61, 0.06);
}

body.page-intro-ascii .nav-links {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 4px;
  border-radius: 3px;
  background: rgba(9, 8, 13, 0.92);
  border: 1px solid rgba(230, 230, 235, 0.22);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.75),
    0 0 16px rgba(244, 179, 61, 0.05);
  overflow: hidden;
}

body.page-intro-ascii .nav-links::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 1;
}

body.page-intro-ascii .nav-item {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid transparent;
  color: #9A9AA6;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    text-shadow 0.15s ease;
}

body.page-intro-ascii .nav-item::before {
  content: "[" attr(data-nav-idx) "] ";
  color: rgba(230, 230, 235, 0.38);
  font-weight: 500;
  transition: color 0.15s ease;
}

body.page-intro-ascii .nav-item:hover,
body.page-intro-ascii .nav-item:focus-visible {
  color: #F3F3F7;
  background: rgba(230, 230, 235, 0.06);
  border-color: rgba(244, 179, 61, 0.42);
  text-shadow:
    -1.5px 0 rgba(244, 179, 61, 0.75),
    1.5px 0 rgba(230, 230, 235, 0.65);
  animation: navAsciiGlitch 0.28s steps(2, end);
}

body.page-intro-ascii .nav-item:hover::before,
body.page-intro-ascii .nav-item:focus-visible::before {
  color: var(--saffron);
}

body.page-intro-ascii .nav-item.active {
  color: var(--saffron);
  background: rgba(244, 179, 61, 0.11);
  border: 1px solid rgba(244, 179, 61, 0.62);
  box-shadow:
    0 0 14px rgba(244, 179, 61, 0.18),
    inset 0 0 8px rgba(244, 179, 61, 0.08);
  text-shadow: 0 0 8px rgba(244, 179, 61, 0.45);
}

body.page-intro-ascii .nav-item.active::before {
  content: "> " attr(data-nav-idx) "//";
  color: #F3F3F7;
  margin-right: 5px;
}

body.page-intro-ascii .nav-item.active::after {
  content: "_";
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  vertical-align: baseline;
  color: var(--saffron);
  margin-left: 2px;
  font-weight: 700;
  animation: asciiBlink 1s steps(2, start) infinite;
}

@keyframes navAsciiGlitch {
  0% {
    transform: translate(0, 0);
    text-shadow:
      -2px 0 rgba(244, 179, 61, 0.85),
      2px 0 rgba(230, 230, 235, 0.75);
  }
  25% {
    transform: translate(-1.5px, 0.5px);
    text-shadow:
      2px 0 rgba(244, 179, 61, 0.9),
      -2px 0 rgba(230, 230, 235, 0.8);
  }
  50% {
    transform: translate(1.5px, -0.5px);
    text-shadow:
      -1px 0 rgba(244, 179, 61, 0.8),
      1px 0 rgba(230, 230, 235, 0.7);
  }
  75% {
    transform: translate(-0.5px, 0);
    text-shadow:
      1.5px 0 rgba(244, 179, 61, 0.75),
      -1.5px 0 rgba(230, 230, 235, 0.65);
  }
  100% {
    transform: translate(0, 0);
    text-shadow:
      -1.5px 0 rgba(244, 179, 61, 0.75),
      1.5px 0 rgba(230, 230, 235, 0.65);
  }
}

body.page-intro-ascii .header-actions .btn {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  text-transform: lowercase;
}

body.page-intro-ascii .header-actions .btn.ghost.sm {
  border: 1px solid rgba(230, 230, 235, 0.22);
  background: rgba(14, 13, 20, 0.75);
  color: #E6E6EB;
}

body.page-intro-ascii .header-actions .btn.ghost.sm:hover {
  border-color: rgba(244, 179, 61, 0.55);
  color: var(--saffron);
}

body.page-intro-ascii .header-actions .btn.primary.sm {
  background: var(--saffron);
  color: #0B0A0F;
  border: 1px solid var(--saffron);
  box-shadow: 0 0 14px rgba(244, 179, 61, 0.28);
  font-weight: 700;
}

body.page-intro-ascii .header-actions .btn.primary.sm:hover {
  background: var(--saffron-2);
  border-color: var(--saffron-2);
  box-shadow: 0 0 18px rgba(244, 179, 61, 0.42);
}

@media (max-width: 1120px) {
  body.page-intro-ascii .nav-links {
    gap: 3px;
    padding: 3px;
  }
  body.page-intro-ascii .nav-item {
    padding: 5px 9px;
    font-size: 11px;
  }
}

@media (max-width: 920px) {
  body.page-intro-ascii .nav-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-intro-ascii .nav-item:hover,
  body.page-intro-ascii .nav-item:focus-visible {
    animation: none;
  }
  body.page-intro-ascii .nav-item.active::after {
    animation: none;
  }
}
