/* ============== OWLE LANDING — isomeet-style, OWLE design system ==============
   Inherits all tokens from styles.css. Adds: marketing-only typography,
   layout helpers (.landing-*), badge modifiers, marquee carousel,
   audience grid, tabs, accordion. Dark default, light theme inherited. */

:root {
  /* Marketing-only typography */
  --font-size-display: 72px;
  --font-size-display-sm: 40px;
  --font-size-h2-mkt: 40px;
  --font-size-lead: 18px;
  --font-size-body-mkt: 16px;

  /* Section rhythm */
  --section-py-desktop: 112px;
  --section-py-mobile: 72px;
  --landing-max: 1200px;

  /* Marquee speed */
  --marquee-duration: 70s;

  /* Soft brand glow tokens (only for the landing) */
  --glow-blue:   rgba(155, 108, 245, 0.40);
  --glow-purple: rgba(168, 85, 247, 0.30);
  --glow-cyan:   rgba(125, 211, 252, 0.30);
}

:root[data-theme="light"] {
  --glow-blue:   rgba(155, 108, 245, 0.18);
  --glow-purple: rgba(168, 85, 247, 0.14);
  --glow-cyan:   rgba(3, 105, 161, 0.14);
}

/* ============== BASE ============== */
body.landing-body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-size: var(--font-size-body-mkt);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.landing-shell {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
.landing-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110vh;
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(0,0,0,0.55) 80%, var(--bg-deep) 100%),
    url("hero-bg.png") center top / cover no-repeat,
    var(--bg-deep);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="light"] .landing-shell::before {
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(250,250,250,0.55) 80%, var(--bg-deep) 100%),
    url("hero-bg.png") center top / cover no-repeat,
    var(--bg-deep);
}

.landing-container {
  width: 100%;
  max-width: var(--landing-max);
  margin: 0 auto;
  padding: 0 32px;
}

.landing-container.wide {
  max-width: 1440px;
}

.landing-section {
  padding: var(--section-py-desktop) 0;
  position: relative;
}

/* Gradient divider — the isomeet "bg-gradient" motif, on-brand */
.gradient-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--primary) 50%,
    var(--border) 80%,
    transparent 100%
  );
  opacity: 0.55;
}

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

.eyebrow {
  display: none;
}

.section-h2 {
  font-size: var(--font-size-h2-mkt);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-heading);
  margin: 0 0 18px;
  line-height: 1.1;
}
.section-sub {
  font-size: var(--font-size-lead);
  color: var(--text-tertiary);
  margin: 0 auto;
  line-height: 1.55;
  max-width: 64ch;
}

/* ============== TOP NAV — Floating glass pill (logo · centered links · CTA) ============== */
.landing-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: calc(100% - 32px);
  width: min(1180px, calc(100% - 32px));
}
:root[data-theme="light"] .landing-nav {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 24, 27, 0.08);
  box-shadow:
    0 20px 50px -28px rgba(24, 24, 27, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.landing-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding: 0 8px 0 22px;
  gap: 12px;
}
.landing-nav-inner > .landing-nav-left  { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.landing-nav-inner > .landing-nav-links { justify-self: center; }
.landing-nav-inner > .landing-nav-cta   { justify-self: end; }

/* ============== PRODUCT SWITCHER ============== */
.pai-switcher { position: relative; }
.pai-switcher-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-switcher-btn svg { width: 18px; height: 18px; display: block; }
.pai-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-heading);
}
.pai-switcher-btn[aria-expanded="true"] {
  background: rgba(155, 108, 245, 0.14);
  border-color: rgba(155, 108, 245, 0.32);
  color: var(--primary-light);
}
:root[data-theme="light"] .pai-switcher-btn {
  background: rgba(24, 24, 27, 0.04);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-switcher-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 340px;
  padding: 8px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 32px 80px -28px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 51;
}
:root[data-theme="light"] .pai-switcher-menu {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-switcher.is-open .pai-switcher-menu {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.psm-head {
  padding: 10px 12px 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}
.psm-item {
  display: grid !important;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background 0.25s cubic-bezier(0.32, 0.72, 0, 1), color 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.psm-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-heading); }
:root[data-theme="light"] .psm-item:hover { background: rgba(24, 24, 27, 0.04); }
.psm-item-current {
  background: rgba(155, 108, 245, 0.12);
  border: 1px solid rgba(155, 108, 245, 0.32);
}
.psm-item-current:hover { background: rgba(155, 108, 245, 0.18); }
.psm-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  flex-shrink: 0;
}
:root[data-theme="light"] .psm-mark {
  background: rgba(24, 24, 27, 0.04);
  border-color: rgba(24, 24, 27, 0.06);
}
.psm-mark svg { width: 22px; height: 22px; display: block; }
.psm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.psm-name { font-size: 14px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.01em; }
.psm-tag { font-size: 12px; color: var(--text-tertiary); line-height: 1.35; }
.psm-chev {
  color: var(--text-quaternary);
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.psm-chev svg { width: 16px; height: 16px; }
.psm-item:hover .psm-chev { color: var(--text-secondary); transform: translateX(2px); }
@media (max-width: 540px) {
  .pai-switcher-menu { width: calc(100vw - 32px); left: 0; }
}
@media (max-width: 860px) {
  .landing-nav { top: 14px; }
  .landing-nav-inner { grid-template-columns: 1fr auto; padding: 0 8px 0 16px; height: 52px; }
}
.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-heading);
  text-decoration: none;
}
.landing-nav-logo img { height: 24px; width: auto; display: block; }
.landing-nav-logo-svg { height: 26px; width: auto; display: block; color: var(--text-heading); }
:root[data-theme="light"] .landing-nav-logo-svg { color: #0a0a0e; }
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.landing-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: background 0.12s ease, color 0.12s ease;
}
.landing-nav-link:hover {
  color: var(--text-heading);
  background: var(--bg-hover);
}
.landing-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 20px -8px rgba(155, 108, 245, 0.55);
  transition: background 380ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 380ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.landing-nav-cta:hover {
  background: var(--primary-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px -8px rgba(155, 108, 245, 0.7);
}
.landing-nav-cta:active { transform: scale(0.98); }
@media (max-width: 860px) {
  .landing-nav-links { display: none; }
}

/* ============== HERO ============== */
.hero {
  padding: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}
.hero::before { content: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  padding: 32px;
  margin-top: -80px;
}
.hero-copy { max-width: 600px; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-tagline .new-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: var(--primary-subtle);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
:root[data-theme="light"] .hero-tagline .new-pill { color: var(--primary); }
.hero-tagline .sep { color: var(--text-muted); }

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.28;
  color: var(--text-heading);
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero h1 .accent {
  background: var(--primary);
  color: #ffffff;
  padding: 2px 14px 6px;
  margin: 0 -2px;
  border-radius: 10px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  box-shadow: 0 14px 30px -16px rgba(155, 108, 245, 0.6);
  letter-spacing: -1.6px;
}
/* Hero copy always sits on a dark stage — keep light text in light mode */
:root[data-theme="light"] .hero h1 { color: #fafafa; }
:root[data-theme="light"] .hero-sub { color: #a3a3a3; }

.hero-sub {
  font-size: 18px;
  color: var(--text-tertiary);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.btn-mkt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
}
.btn-mkt-primary {
  background: var(--text-heading);
  color: var(--bg-deep);
}
.btn-mkt-primary:hover { filter: brightness(0.92); }
.btn-mkt-ghost {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.btn-mkt-ghost:hover { background: var(--bg-hover); border-color: var(--border-input); }
.btn-mkt-blue {
  background: var(--primary);
  color: var(--text-on-primary);
}
.btn-mkt-blue:hover { background: var(--primary-hover); }
.btn-mkt.sm { height: 40px; padding: 0 16px; font-size: 13.5px; }

.hero-meta {
  font-size: 13px;
  color: var(--text-quaternary);
  margin: 0;
}
.hero-meta .dot { color: var(--text-muted); padding: 0 6px; }

/* ============== HERO STAGE (video + floating cards) ============== */
.hero-stage {
  position: relative;
  width: 100%;
  transform: translate(40px, -60px);
}
@media (max-width: 980px) {
  .hero-stage { transform: none; }
}

/* ============== FLOATING GLASS CARDS ============== */
.float-card {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 20px 50px -24px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
  animation: float-bob 5s ease-in-out infinite;
  white-space: nowrap;
}
:root[data-theme="light"] .float-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(24, 24, 27, 0.06);
}
.float-card .float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  color: var(--primary-light);
  flex-shrink: 0;
}
:root[data-theme="light"] .float-card .float-icon { color: var(--primary); }
.float-card .float-icon svg { width: 18px; height: 18px; }
.float-card .float-icon.dot-icon { background: rgba(239, 68, 68, 0.12); }
.float-card .live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
  animation: live-pulse 1.4s ease-out infinite;
}
.float-card .float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.float-card .float-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}
.float-card .float-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

/* Positioning — top-left, bottom-right, bottom-left of the stage */
.float-card-tl { top: 12%; left: -10%; animation-delay: -0.5s; }
.float-card-tr { top: -8%; right: -8%; animation-delay: -3.5s; }
.float-card-br { bottom: 18%; right: -8%; animation-delay: -2s; }
.float-card-bl { bottom: -5%; left: -6%; animation-delay: -3.5s; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}
@media (max-width: 1100px) {
  .float-card-tl { left: 4%; }
  .float-card-tr { right: 4%; top: -4%; }
  .float-card-br { right: 4%; }
  .float-card-bl { left: 4%; bottom: -8%; }
}
@media (max-width: 720px) {
  .float-card { display: none; }
}

/* ============== HERO VIDEO FRAME ============== */
.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 30% 30%, rgba(155, 108, 245,0.55), transparent 65%),
    radial-gradient(50% 60% at 80% 25%, rgba(168,85,247,0.40), transparent 65%),
    radial-gradient(70% 60% at 50% 100%, rgba(15,23,42,1), rgba(10,10,15,1) 85%);
  box-shadow:
    0 30px 80px -40px rgba(155, 108, 245,0.55),
    0 18px 50px -28px rgba(0,0,0,0.7);
  isolation: isolate;
}

/* Studio bokeh ambient */
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(125,211,252,0.55), transparent 18%),
    radial-gradient(circle at 14% 78%, rgba(192,132,252,0.45), transparent 14%),
    radial-gradient(circle at 86% 76%, rgba(192, 132, 252,0.40), transparent 16%);
  filter: blur(8px);
  z-index: 0;
}

/* Portrait media (SVG or video) */
.hero-video .portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-video .portrait-video {
  object-fit: cover;
  background: #000;
}
/* Overlay vignette + grade applied on top of video to integrate with the frame */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60% 60% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* Top chrome — live indicator + timestamp */
.video-chrome {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px 0 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-pill .red-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22);
  animation: live-pulse 1.4s ease-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.05); }
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Bottom waveform */
.video-waveform {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 84px;
  height: 26px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  z-index: 2;
}
.video-waveform span {
  width: 3px;
  background: rgba(255,255,255,0.78);
  border-radius: 2px;
  animation: wave-bar 1.2s ease-in-out infinite;
}
.video-waveform span:nth-child(1) { height: 30%; animation-delay: -0.0s; }
.video-waveform span:nth-child(2) { height: 60%; animation-delay: -0.1s; }
.video-waveform span:nth-child(3) { height: 90%; animation-delay: -0.2s; }
.video-waveform span:nth-child(4) { height: 50%; animation-delay: -0.3s; }
.video-waveform span:nth-child(5) { height: 80%; animation-delay: -0.4s; }
.video-waveform span:nth-child(6) { height: 35%; animation-delay: -0.5s; }
.video-waveform span:nth-child(7) { height: 70%; animation-delay: -0.6s; }
.video-waveform span:nth-child(8) { height: 55%; animation-delay: -0.7s; }
.video-waveform span:nth-child(9) { height: 90%; animation-delay: -0.8s; }
.video-waveform span:nth-child(10) { height: 40%; animation-delay: -0.9s; }
.video-waveform span:nth-child(11) { height: 65%; animation-delay: -1.0s; }
.video-waveform span:nth-child(12) { height: 30%; animation-delay: -1.1s; }
@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* Subtitle overlay (live captioning) */
.subtitle-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  z-index: 4;
  pointer-events: none;
  min-height: 52px;
}
.subtitle-line {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
  padding: 8px 14px;
  border-radius: 4px;
  text-align: center;
  max-width: 88%;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,0.7);
  animation: subtitle-cycle 16s infinite;
  white-space: nowrap;
}
.subtitle-line .caret {
  display: inline-block;
  width: 1px;
  height: 16px;
  vertical-align: text-bottom;
  background: currentColor;
  margin-left: 3px;
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink {
  50% { opacity: 0; }
}
.subtitle-line:nth-child(1) { animation-delay: 0s; }
.subtitle-line:nth-child(2) { animation-delay: 4s; }
.subtitle-line:nth-child(3) { animation-delay: 8s; }
.subtitle-line:nth-child(4) { animation-delay: 12s; }
@keyframes subtitle-cycle {
  0%             { opacity: 0; transform: translateY(8px); }
  3%, 23%        { opacity: 1; transform: translateY(0); }
  26%, 100%      { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .subtitle-line,
  .video-waveform span,
  .live-pill .red-dot { animation: none; }
  .subtitle-line:nth-child(1) { opacity: 1; transform: translateY(0); }
  .subtitle-line:nth-child(2),
  .subtitle-line:nth-child(3),
  .subtitle-line:nth-child(4) { display: none; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: 40px; letter-spacing: -0.8px; max-width: 18ch; }
  .hero-sub { font-size: 16.5px; }
  .hero-video { max-width: 520px; margin: 0 auto; aspect-ratio: 16 / 11; }
  .subtitle-line { font-size: 13px; }
}

/* ============== UPLOAD CARD ============== */
.upload-band {
  padding: 0 0 112px;
  margin-top: -200px;
  position: relative;
  z-index: 2;
}
.upload-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 auto 20px;
  text-align: center;
}
.upload-heading svg {
  width: 18px;
  height: 18px;
  opacity: 0.55;
  animation: nudge-down 1.8s ease-in-out infinite;
}
@keyframes nudge-down {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .upload-heading svg { animation: none; }
}
.upload-card {
  position: relative;
  margin: 0 auto;
  background: rgba(24, 24, 27, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 30px 80px -40px rgba(155, 108, 245, 0.20),
    0 18px 50px -28px rgba(0, 0, 0, 0.45);
}
:root[data-theme="light"] .upload-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(24, 24, 27, 0.08);
}
.upload-zone {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 32px 56px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  background: var(--bg-deep);
  text-align: center;
}
.upload-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.upload-icon svg { width: 64px; height: 64px; display: block; }
.upload-prompt {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.1px;
}
.upload-hint {
  font-size: 12.5px;
  color: var(--text-quaternary);
  margin: 0;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.upload-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.upload-meta {
  font-size: 13px;
  color: var(--text-quaternary);
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
}
.upload-meta .dot { color: var(--text-muted); padding: 0 8px; }
.upload-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.upload-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.upload-tool-btn:not(.with-label) { width: 38px; padding: 0; justify-content: center; }
.upload-tool-btn:hover {
  background: var(--bg-hover);
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.upload-tool-btn svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .upload-card { padding: 20px; }
  .upload-zone { min-height: 220px; padding: 36px 16px 40px; }
  .upload-footer { flex-direction: column; align-items: stretch; }
  .upload-footer .btn-mkt { justify-content: center; }
}

/* ============== PROBLEM / WHY ============== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.why-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.why-card .icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-subtle);
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card .icon-tile svg { width: 26px; height: 26px; }
.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.why-card p {
  font-size: 14.5px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }

/* ============== AUDIENCE GRID (static, solid icons) ============== */
.aud-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.aud-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px 18px;
  background: rgba(20, 20, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: aud-cell-in 700ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  animation-delay: var(--d, 0s);
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
:root[data-theme="light"] .aud-cell {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(24, 24, 27, 0.06);
}
.aud-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 108, 245, 0.30);
  background: rgba(155, 108, 245, 0.04);
}
@keyframes aud-cell-in {
  to { opacity: 1; transform: translateY(0); }
}
.aud-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 25%, rgba(192, 132, 252, 0.22), rgba(155, 108, 245, 0.12)),
    rgba(20, 20, 24, 0.6);
  border: 1px solid rgba(155, 108, 245, 0.20);
  color: var(--primary-light, #c084fc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 14px -8px rgba(155, 108, 245, 0.45);
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.aud-ic svg {
  width: 22px;
  height: 22px;
  display: block;
}
.aud-cell:hover .aud-ic {
  transform: scale(1.08) translateY(-1px);
}
.aud-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  line-height: 1.3;
}

@media (max-width: 1100px) { .aud-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 780px)  { .aud-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .aud-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

@media (prefers-reduced-motion: reduce) {
  .aud-cell { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ============== AUDIENCE MARQUEE (legacy, hidden) ============== */
.audience-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 16px 0;
  background: transparent;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.audience-band::before,
.audience-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}
.audience-band::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.audience-band::after { right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }
.audience-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll calc(var(--marquee-duration) - 18s) linear infinite;
}
.audience-track.reverse {
  animation-direction: reverse;
  animation-duration: calc(var(--marquee-duration) - 12s);
}
.audience-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  color: var(--text-heading);
  white-space: nowrap;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 26px 18px 64px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] .audience-chip {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(24, 24, 27, 0.08);
}
.audience-chip .a-icon {
  position: absolute;
  left: -10px;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light, #c084fc);
  opacity: 0.5;
  filter: drop-shadow(0 4px 10px rgba(155, 108, 245, 0.25));
}
.audience-chip .a-icon svg { width: 56px; height: 56px; display: block; }
.audience-chip .a-name { font-weight: 600; letter-spacing: -0.2px; }

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .audience-chip .a-icon { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .audience-track { animation: none; }
}

/* ============== FEATURE TABS ============== */
.tabs {
  display: inline-flex;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 auto 40px;
  gap: 2px;
}
.tabs-wrap { text-align: center; }
.tab-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: 0;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.tab-btn:hover { color: var(--text-heading); }
.tab-btn.active {
  background: var(--bg-elevated);
  color: var(--text-heading);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade-in 0.25s ease; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-row.four-up { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.12s ease;
}
.feature-card:hover { border-color: var(--border-strong); }
.feature-card .feature-visual {
  height: 200px;
  background:
    radial-gradient(80% 80% at 50% 0%, var(--primary-subtle), transparent 70%),
    var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-row);
  position: relative;
}
.feature-card .feature-visual svg { width: 86%; height: 78%; }
.feature-card .feature-body {
  padding: 22px 24px 26px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.55;
}
.feature-card .corner-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

@media (max-width: 880px) {
  .feature-row,
  .feature-row.four-up { grid-template-columns: 1fr; }
}

/* ============== FEATURES BENTO ============== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: minmax(220px, auto) minmax(220px, auto);
  gap: 16px;
  margin-bottom: 96px;
}
.bento-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.15s ease;
}
.bento-card:hover {
  transform: translateY(-2px);
}
.bento-a { grid-column: span 2; grid-row: span 1; }
.bento-b { grid-column: span 2; grid-row: span 2; }
.bento-c { grid-column: span 1; grid-row: span 1; }
.bento-d { grid-column: span 1; grid-row: span 1; }

.bento-visual {
  position: relative;
  flex: 1;
  min-height: 200px;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(155, 108, 245, 0.10), transparent 70%),
    rgba(20, 20, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  isolation: isolate;
}
:root[data-theme="light"] .bento-visual {
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(155, 108, 245, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 24, 27, 0.06);
}
.bento-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(155, 108, 245, 0.18), transparent 30%);
  opacity: 0.5;
}

/* ===== Shared atoms ===== */
.bv-mono {
  font-family: 'Geist Mono', ui-monospace, "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--text-quaternary);
}
.bv-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  background: rgba(20, 20, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.bv-pill.bv-mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.bv-pill-live {
  color: #fff;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 9.5px;
}
.bv-pill-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: bv-live-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes bv-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ===== CARD A · Automated speech-to-text ===== */
.bv-stt {
  padding: 18px 22px 20px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.bv-stt-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: radial-gradient(120% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.bv-stt > * { position: relative; z-index: 1; }
.bv-stt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bv-wave {
  width: 100%;
  height: 80px;
  display: block;
}
.bv-wave .wb {
  transform-box: fill-box;
  transform-origin: center;
  animation: bv-wave-bar 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  animation-delay: calc(var(--i) * 60ms);
  will-change: transform;
}
@keyframes bv-wave-bar {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50%      { transform: scaleY(1.05); opacity: 1; }
}
.bv-playhead {
  animation: bv-playhead 4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes bv-playhead {
  0%   { transform: translateX(-160px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(220px); opacity: 0; }
}
.bv-cap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: rgba(10, 10, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.bv-cap-tc {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.bv-cap-text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bv-caret {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background: currentColor;
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: bv-caret 0.95s steps(1) infinite;
}
@keyframes bv-caret { 50% { opacity: 0; } }

/* ===== CARD B · AI subtitle translation ===== */
.bv-trans {
  flex-direction: column;
  padding: 22px;
  gap: 14px;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
}
.bv-trans-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.bv-trans > * { position: relative; z-index: 1; }

.bv-trans-source {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.bv-trans-source-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.bv-trans-source-body {
  font-size: 12.5px;
  color: var(--text-heading);
  line-height: 1.45;
}

.bv-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(155, 108, 245, 0.18);
  border: 1px solid rgba(155, 108, 245, 0.30);
  color: var(--primary-light, #c084fc);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.bv-flag-src {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-heading);
}

.bv-trans-wires {
  display: none; /* hidden because targets are stacked — wires would not align cleanly. kept in DOM for accessibility but unused. */
}

.bv-trans-targets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bv-target {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: bv-target-in 700ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  animation-delay: var(--d);
  transition: border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.bv-target:hover {
  border-color: rgba(155, 108, 245, 0.30);
  background: rgba(155, 108, 245, 0.06);
}
@keyframes bv-target-in {
  to { opacity: 1; transform: translateY(0); }
}
.bv-target-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bv-conf {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--success-fg, #4ade80);
  letter-spacing: 0.02em;
}

/* ===== CARD C · Broadcast-grade subtitles ===== */
.bv-broadcast {
  padding: 18px;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.bv-player {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.bv-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 12px;
  background: rgba(20, 20, 24, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.bv-player-head .bv-mono { color: var(--primary-light, #c084fc); }
.bv-player-fmt { color: var(--text-quaternary) !important; }
.bv-stage {
  position: relative;
  flex: 1;
  min-height: 88px;
  background: #000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}
.bv-safe {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  pointer-events: none;
}
.bv-rec {
  position: absolute;
  top: 8px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
  animation: bv-live-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
.bv-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 1;
}
.bv-sub-line {
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 8px;
  border-radius: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  line-height: 1.35;
}
.bv-timeline {
  display: flex;
  gap: 4px;
  height: 18px;
  padding: 6px 12px;
  background: rgba(20, 20, 24, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}
.bv-timeline i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.10);
}
.bv-timeline i.active {
  background: var(--primary-light, #c084fc);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.55);
}
.bv-fmt-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bv-fmt-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
}
.bv-fmt-active {
  background: rgba(155, 108, 245, 0.15);
  border-color: rgba(155, 108, 245, 0.32);
  color: var(--primary-light, #c084fc);
}
.bv-fmt-meta {
  margin-left: auto;
  font-size: 9px !important;
  color: var(--text-quaternary) !important;
}

/* ===== CARD D · Codecs ===== */
.bv-codecs {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 22px 22px 24px;
}
.bv-codec-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.bv-codec-label {
  font-size: 9.5px !important;
  color: var(--text-quaternary) !important;
}
.bv-codec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bv-codec {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 7px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1),
              color 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.bv-codec:hover {
  border-color: rgba(155, 108, 245, 0.32);
  background: rgba(155, 108, 245, 0.08);
  color: var(--primary-light, #c084fc);
}
.bv-codec-dim {
  opacity: 0.45;
  border-style: dashed;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bv-wave .wb,
  .bv-playhead,
  .bv-caret,
  .bv-pill-live i,
  .bv-rec,
  .bv-target { animation: none !important; }
  .bv-target { opacity: 1; transform: none; }
}

.bento-body { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.bento-body .badge { align-self: flex-start; margin-bottom: 4px; }
.bento-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.2px;
}
.bento-body p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .bento-a, .bento-b, .bento-c, .bento-d { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
}

/* ============== EXPLORER (list + preview) ============== */
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}
.explorer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.explorer-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.explorer-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}
.explorer-item.active {
  background: rgba(155, 108, 245, 0.10);
  border-color: rgba(155, 108, 245, 0.35);
}
.explorer-item.active::before {
  content: "";
  position: absolute;
  left: -1px; top: 12px; bottom: 12px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}
.explorer-item .ex-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease, color 0.12s ease;
}
.explorer-item .ex-icon svg { width: 18px; height: 18px; }
.explorer-item.active .ex-icon {
  background: var(--primary);
  color: #fff;
}
.explorer-item .ex-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.explorer-item .ex-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.1px;
}
.explorer-item .ex-sub {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.explorer-preview {
  position: relative;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
:root[data-theme="light"] .explorer-preview {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(24, 24, 27, 0.08);
}
.explorer-preview .preview {
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.explorer-preview .preview.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.explorer-preview .preview svg {
  width: 100%;
  height: 100%;
  max-height: 380px;
}

/* ============== PREMIUM PREVIEW SHELLS (8 illustrations) ============== */
.pv-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(155, 108, 245, 0.06), transparent 35%),
    rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
:root[data-theme="light"] .pv-shell {
  background:
    linear-gradient(180deg, rgba(155, 108, 245, 0.05), transparent 35%),
    rgba(255, 255, 255, 0.75);
  border-color: rgba(24, 24, 27, 0.06);
}
.pv-shell--dark {
  background: #000;
  padding: 14px;
}
.pv-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}
.pv-shell > * { position: relative; z-index: 1; }

.pv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pv-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-quaternary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pv-eyebrow--inset { color: var(--text-tertiary); }
.pv-tc {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
}
.pv-tc--ok { color: var(--success-fg, #4ade80); }
.pv-tc--white { color: rgba(255, 255, 255, 0.85); }
.pv-tc--mono { font-family: 'Geist Mono', ui-monospace, monospace; }

/* ---- 1. NOISE ---- */
.pv-noise-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 170px;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.pv-wave-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  min-height: 0;
}
.pv-wave-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.16em;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.pv-wave-label--clean { color: var(--primary-light, #c084fc); }
.pv-wave-svg {
  flex: 1;
  height: 60px;
  width: 100%;
  display: block;
  overflow: visible;
}
.pv-wave-svg--noisy { opacity: 0.7; }
.pv-wave-row--after .pv-wave-svg g rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: bv-wave-bar 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.pv-noise-panel {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(20, 20, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.pv-noise-head {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2px;
}
.pv-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.pv-switch {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pv-switch b {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b6b75;
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1), background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pv-switch--on {
  background: rgba(155, 108, 245, 0.35);
  border-color: rgba(155, 108, 245, 0.45);
}
.pv-switch--on b { transform: translateX(12px); background: var(--primary-light, #c084fc); }
.pv-apply {
  margin-top: auto;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1), background 380ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 6px 16px -8px rgba(155, 108, 245, 0.6);
}
.pv-apply:hover { background: var(--primary-hover, var(--primary)); }
.pv-apply:active { transform: scale(0.98); }

/* ---- 2. LANGID ---- */
.pv-radar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.pv-radar-svg {
  width: 100%;
  height: 100%;
  max-height: 240px;
}
.pv-radar-beam-g {
  transform-origin: 180px 110px;
  animation: pv-radar-spin 6s linear infinite;
}
@keyframes pv-radar-spin { to { transform: rotate(360deg); } }
/* Wrapper handles position + centering; inner pill handles the float drift */
.pv-lang-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
}
.pv-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px 0 5px;
  border-radius: 8px;
  background: rgba(20, 20, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-tertiary);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  animation: pv-lang-float var(--dur, 5s) cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: calc(var(--i, 0) * -0.6s);
  will-change: transform;
}
@keyframes pv-lang-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(var(--dx, 0px), var(--dy, -3px)); }
}
.pv-lang--active {
  background: rgba(155, 108, 245, 0.22);
  border-color: rgba(155, 108, 245, 0.55);
  color: var(--primary-light, #c084fc);
  box-shadow:
    0 0 0 4px rgba(155, 108, 245, 0.10),
    0 6px 16px -8px rgba(155, 108, 245, 0.55);
}

/* Flag swatch — circular (high specificity to beat .explorer-preview .preview svg) */
.explorer-preview .preview svg.pv-flag,
svg.pv-flag {
  display: block;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Center radar core — gentle breathing pulse */
.pv-radar-core {
  transform-origin: 180px 110px;
  transform-box: view-box;
  animation: pv-core-pulse 2.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes pv-core-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.78; }
}
.pv-lang-meter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pv-meter-row {
  display: grid;
  grid-template-columns: 28px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-secondary);
}
.pv-meter-row--dim { opacity: 0.55; }
.pv-meter-code { font-weight: 700; }
.pv-meter-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pv-meter-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(155, 108, 245, 0.4), var(--primary-light, #c084fc));
  border-radius: 2px;
}
.pv-meter-val { text-align: right; color: var(--text-tertiary); }

/* ---- 3. QUEUE ---- */
.pv-jobs {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.pv-job {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 11px;
  position: relative;
}
.pv-job--active {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.20);
}
.pv-job--queued {
  background: rgba(251, 191, 36, 0.04);
  border-color: rgba(251, 191, 36, 0.15);
}
.pv-job--live {
  background: rgba(125, 211, 252, 0.05);
  border-color: rgba(125, 211, 252, 0.20);
}
.pv-job-id {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
}
.pv-job-body { min-width: 0; }
.pv-job-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-job-meta {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.03em;
  margin-top: 2px;
}
.pv-job-progress {
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1px;
  overflow: hidden;
}
.pv-job-progress i {
  display: block; height: 100%;
  background: var(--success-fg, #4ade80);
  border-radius: 1px;
  position: relative;
}
.pv-job-progress i::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: pv-shimmer 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes pv-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.pv-job-state {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.08em;
}
.pv-job-state--ok { color: var(--success-fg, #4ade80); }
.pv-job-state--warn { color: #fbbf24; }
.pv-job-state--live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7dd3fc;
}
.pv-job-state--live i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7dd3fc;
  animation: pv-blink 1.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes pv-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- 4. ON-PREM ---- */
.pv-deploy {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 14px;
}
.pv-deploy-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  min-height: 0;
  height: 100%;
}
.pv-deploy-card--accent {
  background: linear-gradient(180deg, rgba(155, 108, 245, 0.08), rgba(155, 108, 245, 0.02));
  border-color: rgba(155, 108, 245, 0.30);
}
.pv-deploy-head { display: flex; align-items: center; justify-content: space-between; }
.pv-deploy-tag {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.pv-deploy-tag--accent {
  background: rgba(155, 108, 245, 0.18);
  color: var(--primary-light, #c084fc);
}
.pv-deploy-sub {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pv-deploy-stack { display: flex; flex-direction: column; gap: 4px; }
.pv-stack-row {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-secondary);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.pv-stack-row:last-child { border-bottom: 0; }
.pv-stack-row i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light, #c084fc);
  opacity: 0.6;
}
.pv-stack-row b {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}
.pv-deploy-foot {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: auto;
}
.pv-deploy-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: center;
}
.pv-bridge-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  min-height: 20px;
}
.pv-bridge-or {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- 5. FORMATTING ---- */
.pv-fmt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pv-fmt-row {
  display: grid;
  grid-template-columns: 1fr 100px 64px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pv-fmt-row:last-child { border-bottom: 0; }
.pv-fmt-key {
  font-size: 11.5px;
  color: var(--text-secondary);
}
.pv-fmt-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pv-fmt-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(155, 108, 245, 0.4), var(--primary-light, #c084fc));
  border-radius: 2px;
}
.pv-fmt-val {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-heading);
  text-align: right;
  letter-spacing: 0.02em;
}
.pv-fmt-val em {
  font-style: normal;
  font-weight: 400;
  font-size: 9.5px;
  color: var(--text-quaternary);
  margin-left: 3px;
}
.pv-fmt-preview {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.pv-fmt-tc {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pv-fmt-cue { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.pv-fmt-line {
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* ---- 6. METADATA ---- */
.pv-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pv-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  position: relative;
}
.pv-meta-key {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: var(--text-quaternary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pv-meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}
.pv-meta-val--ok { color: var(--success-fg, #4ade80); }
.pv-meta-tag {
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 8.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}
.pv-meta-tag--ok { color: var(--success-fg, #4ade80); background: rgba(74, 222, 128, 0.08); }
.pv-moments {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.pv-moments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pv-moments li {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--text-secondary);
}
.pv-mom-tc {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.04em;
}
.pv-mom-conf {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-tertiary);
}

/* ---- 7. LIVE (refined dual-channel waveform) ---- */
.pv-live-frame {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.pv-live-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pv-live-channel {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.pv-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 9px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.40);
  border-radius: 999px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.pv-live-pill i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ef4444;
  animation: bv-live-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
.pv-live-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(70% 50% at 50% 40%, rgba(155, 108, 245, 0.10), transparent 70%),
    #050505;
  overflow: hidden;
}

/* faint dot-grid for technical feel */
.pv-live-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(90% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* center 0-axis */
.pv-live-axis {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10) 20%, rgba(255, 255, 255, 0.10) 80%, transparent);
  transform: translateY(-0.5px);
}

/* VU meter strip — left side */
.pv-live-vu {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: auto 36px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 8px;
  z-index: 2;
}
.pv-live-vu-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}
.pv-live-vu-track {
  position: relative;
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pv-live-vu-track i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.8) 0%, rgba(251, 191, 36, 0.8) 75%, rgba(239, 68, 68, 0.9) 100%);
  border-radius: 2px;
}

/* dual-channel waveform — top + bottom mirrored
   (higher specificity overrides .explorer-preview .preview svg max-height:380px) */
.explorer-preview .preview svg.pv-live-wave {
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  width: 80% !important;
  max-width: 80%;
  height: 30px !important;
  max-height: 30px;
  pointer-events: none;
}
.explorer-preview .preview svg.pv-live-wave--top {
  bottom: calc(50% + 4px);
}
.explorer-preview .preview svg.pv-live-wave--bottom {
  top: calc(50% + 4px);
}
.pv-live-wave .wb {
  transform-box: fill-box;
  transform-origin: center;
  animation: pv-live-bar 1.8s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  animation-delay: calc(var(--i) * 25ms);
  will-change: transform;
}
.pv-live-wave--bottom .wb {
  transform-origin: top;
}
.pv-live-wave--top .wb {
  transform-origin: bottom;
}
@keyframes pv-live-bar {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1); }
}

.pv-live-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  padding: 5px 11px;
  border-radius: 2px;
  max-width: 82%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
}
.pv-live-caption span {
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.005em;
}
.pv-live-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 10px;
}
.pv-live-foot .pv-tc--mono {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

/* ---- 8. ADBREAK ---- */
.pv-timeline2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.pv-timeline2-track {
  display: flex;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}
.pv-seg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-seg--content { background: rgba(125, 211, 252, 0.18); border-right: 1px solid rgba(0, 0, 0, 0.3); }
.pv-seg--content:last-child { border-right: 0; }
.pv-seg--pause {
  background: rgba(251, 191, 36, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.55);
  position: relative;
}
.pv-seg--pause b {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pv-timeline2-ticks {
  display: flex;
  justify-content: space-between;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
}
.pv-candidates {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pv-candidates li {
  display: grid;
  grid-template-columns: 60px 1fr 110px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.pv-cand-tc {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.02em;
}
.pv-cand-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
}
.pv-cand-meta {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.03em;
  margin-top: 2px;
}
.pv-cand-score { display: flex; align-items: center; gap: 8px; }
.pv-cand-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pv-cand-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(155, 108, 245, 0.4), var(--primary-light, #c084fc));
  border-radius: 2px;
}
.pv-cand-val {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pv-radar-beam-g,
  .pv-job-progress i::after,
  .pv-live-wave .wb,
  .pv-live-pill i,
  .pv-wave-row--after .pv-wave-svg g rect,
  .pv-job-state--live i,
  .pv-lang,
  .pv-radar-core { animation: none !important; }
}

@media (max-width: 880px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer-preview { position: static; min-height: 280px; }
  .pv-noise-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .pv-noise-panel { grid-row: auto; }
  .pv-deploy { grid-template-columns: 1fr; }
  .pv-deploy-bridge { flex-direction: row; }
  .pv-bridge-line { width: 100%; height: 1px; min-height: 0; }
}

/* ============== EARLY ACCESS — single bento waitlist (PAI Subtitles violet) ============== */
.ps-access {
  position: relative;
}
.ps-access::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(155, 108, 245, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ps-access .landing-container { position: relative; z-index: 1; }

.ps-access-shell {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 50px 100px -40px rgba(0, 0, 0, 0.55),
    0 30px 60px -30px rgba(155, 108, 245, 0.30);
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 900ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 900ms cubic-bezier(0.32, 0.72, 0, 1),
              filter 900ms cubic-bezier(0.32, 0.72, 0, 1);
}
.ps-access-shell.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.ps-access-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(155, 108, 245, 0.45), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
:root[data-theme="light"] .ps-access-shell {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.05), rgba(24, 24, 27, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 40px 90px -40px rgba(0, 0, 0, 0.18),
    0 24px 50px -30px rgba(155, 108, 245, 0.25);
}

.ps-access-core {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 72px);
  border-radius: calc(40px - 8px);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(155, 108, 245, 0.12), transparent 60%),
    rgba(14, 14, 16, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
}
:root[data-theme="light"] .ps-access-core {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(155, 108, 245, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ps-access-core::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(155, 108, 245, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ps-access-core > * { position: relative; z-index: 1; }

.ps-access-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(155, 108, 245, 0.14);
  border: 1px solid rgba(155, 108, 245, 0.32);
  color: var(--primary-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.ps-access-title {
  margin: 22px auto 16px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text-heading);
  max-width: 18ch;
}

.ps-access-sub {
  margin: 0 auto 36px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-tertiary);
  line-height: 1.55;
  max-width: 56ch;
}

.ps-access-form {
  max-width: 560px;
  margin: 0 auto 28px;
}
.ps-access-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  transition: border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
:root[data-theme="light"] .ps-access-input-wrap {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(24, 24, 27, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.ps-access-input-wrap:focus-within {
  border-color: rgba(155, 108, 245, 0.55);
  box-shadow: 0 0 0 6px var(--primary-ring);
  background: rgba(255, 255, 255, 0.06);
}
.ps-access-input-wrap input[type="email"] {
  flex: 1;
  height: 100%;
  padding: 0 8px 0 22px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  min-width: 0;
}
.ps-access-input-wrap input[type="email"]::placeholder {
  color: var(--text-quaternary);
  font-weight: 400;
}
.ps-access-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 8px 0 22px;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 380ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 10px 30px -10px rgba(155, 108, 245, 0.55);
}
.ps-access-submit:hover { background: var(--primary-hover); }
.ps-access-submit:active { transform: scale(0.98); }
.ps-access-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.ps-access-submit-icon svg { width: 14px; height: 14px; }
.ps-access-submit:hover .ps-access-submit-icon {
  transform: translate(2px, -2px) scale(1.04);
}
.ps-access-success {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--success-fg, var(--primary-light));
  font-weight: 500;
}

.ps-access-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-quaternary);
}
.ps-access-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ps-access-points li svg {
  width: 12px;
  height: 12px;
  color: var(--primary-light);
}

@media (max-width: 620px) {
  .ps-access-core { padding: 40px 24px; }
  .ps-access-input-wrap {
    height: auto;
    flex-direction: column;
    gap: 8px;
    border-radius: 22px;
    padding: 10px;
  }
  .ps-access-input-wrap input[type="email"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
  }
  .ps-access-submit {
    width: 100%;
    height: 52px;
    justify-content: center;
    padding: 0 18px;
  }
}

/* ============== EARLY ACCESS / RESERVE (legacy, unused) ============== */
.reserve {
  text-align: center;
}
.reserve-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 32px 36px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
}
.reserve-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.reserve-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--queue-fg);
  margin-bottom: 16px;
}
.reserve-card h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-heading);
  margin: 0 0 12px;
  line-height: 1.15;
}
.reserve-card .reserve-sub {
  font-size: 15px;
  color: var(--text-tertiary);
  margin: 0 auto 28px;
  max-width: 50ch;
  line-height: 1.55;
}
.reserve-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 18px;
}
.reserve-form input[type="email"] {
  flex: 1;
  height: 52px;
  padding: 0 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.reserve-form input[type="email"]::placeholder { color: var(--text-quaternary); }
.reserve-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-ring);
}
.reserve-form button {
  height: 52px;
  padding: 0 24px;
  background: var(--primary);
  color: var(--text-on-primary);
  border: 0;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
  white-space: nowrap;
}
.reserve-form button:hover { background: var(--primary-hover); }
.reserve-form.success {
  justify-content: center;
  color: var(--success-fg);
  font-size: 14.5px;
  align-items: center;
}

.reserve-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--text-quaternary);
}
.reserve-points span { display: inline-flex; align-items: center; gap: 6px; }
.reserve-points svg { width: 13px; height: 13px; color: var(--success-fg); }

@media (max-width: 620px) {
  .reserve-form { flex-direction: column; }
  .reserve-card h2 { font-size: 26px; }
}

/* ============== FAQ ACCORDION ============== */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.12s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 20px 56px 20px 24px;
  position: relative;
  cursor: pointer;
  line-height: 1.4;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--text-tertiary);
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.18s ease;
}
.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-tertiary);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============== STATS STRIP ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
}
.stat-cell {
  position: relative;
  padding: 36px 28px;
  text-align: left;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(155, 108, 245,0.10), transparent 55%),
    rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.15s ease;
}
:root[data-theme="light"] .stat-cell {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(155, 108, 245,0.08), transparent 55%),
    rgba(255, 255, 255, 0.55);
}
.stat-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,0.14), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.stat-cell:hover { transform: translateY(-3px); }
.stat-num {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.5px;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, var(--text-heading) 30%, rgba(250,250,250,0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-num .unit {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 13.5px;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 48px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-cell { padding: 24px 20px; }
}

/* ============== FINAL CTA ============== */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 128px 0;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 70% at 50% 100%, var(--glow-blue), transparent 65%),
    radial-gradient(40% 40% at 80% 0%, var(--glow-purple), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.final-cta > .landing-container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--text-heading);
  margin: 0 auto 18px;
  max-width: 18ch;
}
.final-cta p {
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 56ch;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.final-cta .hero-ctas { justify-content: center; margin-bottom: 0; }

@media (max-width: 720px) {
  .final-cta { padding: 80px 0; }
  .final-cta h2 { font-size: 36px; letter-spacing: -0.8px; }
}

/* ============== FOOTER ============== */
.landing-footer {
  padding: 56px 0 40px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-col-wide { grid-column: span 1; }

/* Horizontal brand-mark pill row — Across Perception AI */
.footer-marks { display: flex; flex-wrap: wrap; gap: 8px; }
.fm {
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.fm:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-heading);
  transform: translateY(-1px);
}
.fm svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
/* Current-page indicator — OWLE/Subtitles uses violet --primary */
.fm-current {
  background: rgba(155, 108, 245, 0.10);
  border-color: rgba(155, 108, 245, 0.30);
  color: var(--primary-light);
}
.fm-current:hover {
  background: rgba(155, 108, 245, 0.16);
  border-color: rgba(155, 108, 245, 0.42);
  color: var(--primary-light);
}
:root[data-theme="light"] .fm {
  background: rgba(24, 24, 27, 0.03);
  border-color: rgba(24, 24, 27, 0.08);
}
:root[data-theme="light"] .fm:hover {
  background: rgba(24, 24, 27, 0.06);
  border-color: rgba(24, 24, 27, 0.14);
}
.footer-brand img { height: 24px; width: auto; margin-bottom: 14px; }
.footer-brand p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-tertiary);
  max-width: 32ch;
  line-height: 1.55;
}
.made-in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-quaternary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-base);
}
.made-in .flag {
  display: inline-block;
  width: 14px; height: 10px;
  background: linear-gradient(180deg, #005bbb 0 50%, #ffd500 50% 100%);
  border-radius: 2px;
}
.footer-col-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-quaternary);
  margin: 4px 0 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.12s ease;
}
.footer-col a:hover { color: var(--text-heading); }

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-quaternary);
}
.footer-meta .footer-social { display: flex; align-items: center; gap: 4px; }
.footer-meta .footer-social a {
  width: 32px; height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  transition: color 0.15s ease, background 0.15s ease;
}
.footer-meta .footer-social a:hover { color: var(--text-heading); background: var(--bg-hover); }
.footer-meta .footer-social svg { width: 16px; height: 16px; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* ============== BADGE MODIFIERS ============== */
.badge-available  { background: var(--success-bg); color: var(--success-fg); }
.badge-in-progress{ background: var(--warning-bg); color: var(--warning-fg); }
.badge-coming     { background: var(--queue-bg);   color: var(--queue-fg); }
.badge-player     { background: var(--bg-elevated); color: var(--text-tertiary); }
.badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  margin-right: 6px;
}

/* ============== RESPONSIVE TUNE ============== */
@media (max-width: 980px) {
  .hero { padding: 64px 0 0; }
  .hero h1 { font-size: var(--font-size-display-sm); letter-spacing: -1px; max-width: 16ch; }
  .hero-sub { font-size: 17px; }
  .hero-marquee { margin-top: 40px; }
  .shot { width: 280px; height: 188px; }
  .section-h2 { font-size: 28px; letter-spacing: -0.5px; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 720px) {
  .landing-section { padding: var(--section-py-mobile) 0; }
  .landing-container { padding: 0 20px; }
}
