/* ==========================================================================
   EarCast Cinema Audio — Onyx Cinema & Amber Glow Design System
   Mobile-First Responsiveness & Zero Text-Bloat Architecture
   Soloship Studio (soloship.store)
   ========================================================================== */

:root {
  /* Onyx Cinema Palette */
  --bg-deep: #0B0C0E;
  --bg-surface: #14161A;
  --bg-card: #181B20;
  --bg-card-hover: #1E2229;
  --bg-hud: rgba(14, 16, 20, 0.85);

  /* Warm Projector Amber Glow Accents */
  --amber: #F59E0B;
  --amber-hover: #D97706;
  --amber-light: #FBBF24;
  --amber-glow: rgba(245, 158, 11, 0.28);
  --amber-soft: rgba(245, 158, 11, 0.08);
  --amber-border: rgba(245, 158, 11, 0.25);

  /* Audio Status & Indicators */
  --emerald-live: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --rose-bad: #EF4444;

  /* Cinema Typography Colors */
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-faint: #6B7280;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-amber: rgba(245, 158, 11, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 10px 30px -4px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 40px -6px rgba(0, 0, 0, 0.7);
  --shadow-amber: 0 10px 28px -4px rgba(245, 158, 11, 0.35);

  /* Transitions */
  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Atmospheric Cinema Projector Glow Backdrop */
.cinema-ambient-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cinema-lamp-beam {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.04) 45%, transparent 70%);
  filter: blur(50px);
}

.cinema-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

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

.section-intro-center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 10px;
}

/* ==========================================================================
   Cinema Navbar
   ========================================================================== */
.navbar-wrap {
  position: fixed;
  top: 12px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}

.cinema-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 960px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 16px;
  background: rgba(20, 22, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.brand-anchor {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #000000;
  border: 1px solid var(--amber-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-name span {
  color: var(--amber);
}

.brand-subtitle-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--amber-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-item {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.nav-link-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link-item.active {
  color: var(--cinema-gold);
  background: rgba(246, 168, 32, 0.12);
}

.mobile-nav-link.active {
  color: var(--cinema-gold);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-amber {
  background: var(--amber);
  color: #000000;
  font-weight: 800;
  box-shadow: var(--shadow-amber);
}

.btn-amber:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
}

.btn-cinema-dark {
  background: var(--bg-card);
  color: #FFFFFF;
  border: 1px solid var(--border-subtle);
}

.btn-cinema-dark:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.btn-outline-amber:hover {
  background: var(--amber-soft);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 7px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 14, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition-smooth);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 0;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 8px 0;
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-support-emails {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.mobile-support-emails a {
  color: var(--amber);
  font-weight: 700;
}

/* ==========================================================================
   Section 1: Hero Cinema
   ========================================================================== */
.hero-cinema {
  padding-top: 130px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-content-center {
  max-width: 780px;
  margin: 0 auto 40px auto;
}

.hero-screen-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.hero-headline {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}

.cinema-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--amber-light) 60%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-narrative {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 28px auto;
}

.hero-cta-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.telemetry-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

/* Widescreen Theater Stage Mockup */
.theater-stage-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.theater-screen-frame {
  position: relative;
  width: 100%;
  background: #000000;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.08);
}

.theater-display-bezel {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #08090B;
}

.theater-display-bezel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Paired Companion Phone */
.floating-companion-phone {
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: 190px;
  background: #000000;
  border: 2px solid var(--amber-border);
  border-radius: 28px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px var(--amber-glow);
  z-index: 10;
}

.companion-phone-tag {
  display: block;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 0 6px 0;
}

.floating-companion-phone img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
}

/* ==========================================================================
   Section 2: Interactive Lip-Sync Calibrator
   ========================================================================== */
.section-calibrator {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.calibrator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  max-width: 860px;
  margin: 0 auto;
}

.tag {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.calibrator-stage {
  background: #000000;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.calibrator-monitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.monitor-device-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.monitor-icon {
  font-size: 1.4rem;
}

.monitor-name {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.monitor-sub {
  font-size: 0.78rem;
  color: var(--amber);
}

.latency-readout {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.latency-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.latency-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sync-status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald-live);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

/* Real-Time Audio Waveform */
.waveform-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 52px;
  padding: 8px 0;
}

.waveform-bar {
  width: 4px;
  background: var(--amber);
  border-radius: var(--radius-pill);
  min-height: 6px;
  transition: height 0.08s ease;
  opacity: 0.85;
}

.slider-container {
  margin-bottom: 24px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.slider-mid-hint {
  color: var(--amber);
  font-weight: 700;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid #000000;
  box-shadow: 0 0 10px var(--amber-glow);
  cursor: pointer;
}

.preset-chips-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.preset-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.preset-chip.active {
  background: var(--amber-soft);
  border-color: var(--amber);
  color: var(--amber);
}

.preset-chip-offset {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-faint);
}

.preset-chip.active .preset-chip-offset {
  color: var(--amber-light);
}

/* ==========================================================================
   Section 3: Contrast Cards (Silent TV vs Full Immersion)
   ========================================================================== */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contrast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.contrast-card.good {
  border-color: var(--amber-border);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
}

.contrast-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contrast-badge.bad {
  background: rgba(239, 68, 68, 0.12);
  color: var(--rose-bad);
}

.contrast-badge.good {
  background: var(--amber-soft);
  color: var(--amber);
}

.contrast-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.contrast-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contrast-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contrast-card.good .contrast-list li {
  color: var(--text-main);
}

/* ==========================================================================
   Section 4: Engineering Features Grid (4 Cards)
   ========================================================================== */
.features-cinema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-cinema-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition-smooth);
}

.feature-cinema-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber-border);
  box-shadow: var(--shadow-hover);
}

.feature-cinema-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.feature-cinema-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-cinema-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 5: Setup Steps (3 Cards)
   ========================================================================== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.7;
  display: block;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 6: FAQs (Concise Accordion)
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--amber-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--amber);
  background: var(--amber-soft);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.2s ease;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 140px;
  padding: 0 22px 18px 22px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Section 7: Final CTA
   ========================================================================== */
.cinema-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-xl);
  padding: 44px 28px;
  text-align: center;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

.cinema-cta-card h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  margin-bottom: 10px;
}

.cinema-cta-card p {
  font-size: 1rem;
  margin-bottom: 26px;
}

.cta-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.cinema-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 30px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--amber);
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */
.legal-page-wrap {
  padding: 110px 0 70px 0;
  max-width: 780px;
  margin: 0 auto;
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
}

.legal-box h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.legal-box h2 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--amber);
}

.legal-box p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.legal-box ul {
  margin: 12px 0 20px 24px;
}

.legal-box li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.legal-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

/* ==========================================================================
   Responsive Breakpoints: Desktop (1024px), Tablet (768px), Mobile (390px)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-cinema-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preset-chips-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-companion-phone {
    width: 160px;
    right: -10px;
    bottom: -24px;
  }
}

@media (max-width: 768px) {
  .cinema-ambient-wrap {
    display: none !important;
  }

  section {
    padding: 50px 0;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .nav-menu-links, .nav-actions .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .hero-cinema {
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 6.5vw, 2.3rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .hero-screen-tag {
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-cta-cluster {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
  }

  .hero-cta-cluster .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .telemetry-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 6px;
  }

  .telemetry-pill {
    text-align: center;
    box-sizing: border-box;
  }

  .theater-screen-frame {
    padding: 4px;
    border-radius: var(--radius-md);
  }

  .floating-companion-phone {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 16px auto 0 auto;
    width: 150px;
  }

  .calibrator-card {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .calibrator-stage {
    padding: 16px;
  }

  .contrast-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-cinema-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cinema-cta-card {
    padding: 30px 16px;
    border-radius: var(--radius-lg);
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    padding: 12px 18px;
  }

  .hero-cta-cluster {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .preset-chips-row {
    grid-template-columns: 1fr;
  }
}
