﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* QREL Nodes — shared site styles
   Single source of truth for the marketing/docs/legal pages.
   Inherited tokens originally drafted in website/index.html (Round prior); this
   file extracts them so all pages share one design system. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep:       #050608;
  --bg-surface:    #0b0f14;
  --bg-card:       #101720;
  --bg-card-hover: #151e28;
  --border:        #26313d;
  --border-soft:   #18222d;
  --text-primary:  #eef4f8;
  --text-secondary:#8fa0ad;
  --text-muted:    #526270;
  --accent:        #0e96fe;
  --accent-bright: #45b0ff;
  --accent-dim:    #0b6fbf;
  --accent-2:      #8528fd;   /* electric purple */
  --accent-glow:   rgba(14, 150, 254, 0.12);
  --accent-text:   var(--accent);   /* accent used as TEXT; darkened in light theme for contrast */
  --on-accent:     #050810;         /* ink on accent/amber FILLS; dark in both themes */
  --amber:         #d6b36a;
  --mint:          #7fe0b2;
  --lavender:      #b4a0d4;
  --teal:          #5dc0c8;
  --coral:         #e09a62;
  --danger:        #e07b7b;
  --gradient-hero: linear-gradient(168deg, #050608 0%, #0a0d13 46%, #10141b 100%);
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --max-w:         1180px;
  --max-w-prose:   720px;
  --section-pad:   clamp(4rem, 8vw, 7rem);
  --section-pad-tight: clamp(2.5rem, 5vw, 4rem);
  --radius-card:   8px;
  --shadow-soft:   0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-blue:   0 18px 60px rgba(14, 150, 254, 0.14);
}

/* ── Light theme ───────────────────────────────────────────────────
   Toggled by data-theme="light" on <html> (set pre-paint by an inline head
   script; flipped by the .theme-toggle button in site.js). Only the tokens +
   the handful of hardcoded-dark selectors need overriding — every other rule
   already reads the tokens above, so dark mode is unchanged. */
:root[data-theme="light"] {
  --bg-deep:       #eef2f7;
  --bg-surface:    #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #f1f5f9;
  --border:        #d3dde7;
  --border-soft:   #e6ecf2;
  --text-primary:  #0e1722;
  --text-secondary:#43525f;
  --text-muted:    #6b7a87;
  --accent:        #0e96fe;          /* electric blue */
  --accent-bright: #2f86d6;
  --accent-dim:    #4aa8ea;
  --accent-text:   #0b62a8;          /* darker blue for readable text on white */
  --accent-glow:   rgba(14, 150, 254, 0.12);
  --accent-2:      #7a1fe0;
  --gradient-hero: linear-gradient(168deg, #f7fafc 0%, #eef3f9 45%, #e8f1f6 100%);
}

/* Light-theme overrides for the few selectors with hardcoded dark colours. */
:root[data-theme="light"] nav.site-nav    { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .mono-callout    { background: linear-gradient(180deg, #f4f8fb, #eaf1f7); }
:root[data-theme="light"] .status-list li  { background: rgba(15, 30, 45, 0.04); }
:root[data-theme="light"] .btn-ghost:hover { background: rgba(15, 30, 45, 0.05); }

/* Theme toggle button (injected into the nav by site.js). */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 6px;
  min-width: 3.1rem; height: 2rem;
  padding: 0 0.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; line-height: 1; cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex: 0 0 auto;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--text-muted); }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-bright); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.container-prose { max-width: var(--max-w-prose); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

h1, h2, h3, h4 { font-weight: 650; line-height: 1.16; letter-spacing: 0; color: var(--text-primary); }
h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1rem 1.25rem; }
ul li, ol li { margin-bottom: 0.4rem; color: var(--text-secondary); }

code, kbd, pre {
  font-family: var(--font-mono);
  font-size: 0.88em;
}
code {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  color: var(--accent-text);
}
kbd {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  color: var(--text-primary);
}
pre {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
  display: block;
}

.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-amber     { color: var(--amber); }
.text-accent    { color: var(--accent-text); }

.lead-copy {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 760px;
}

.hero-kicker {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 660px;
  margin-top: 1.25rem;
}

.approval-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  margin: 2.25rem 0 0;
  border: 1px solid var(--border-soft);
  background: var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
}
.approval-strip li {
  margin: 0;
  padding: 1rem;
  background: rgba(11, 15, 20, 0.78);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1.35rem;
  min-height: 100%;
}
.info-panel h3 { margin-bottom: 0.65rem; }
.info-panel p { color: var(--text-secondary); }

.policy-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
  list-style: none;
}
.policy-list li {
  margin: 0;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-secondary);
}

.checkout-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(180deg, rgba(16, 23, 32, 0.95), rgba(10, 15, 21, 0.95));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}
.simple-table th,
.simple-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
  vertical-align: top;
}
.simple-table th {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.035);
}
.simple-table tr:last-child td { border-bottom: none; }

/* ── Navigation ───────────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 11, 15, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}

nav.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.nav-logo::before {
  content: '';
  width: 1.65rem;
  height: 1.65rem;
  display: inline-block;
  flex: 0 0 auto;
  background: url('favicon-192.png') center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(14,150,254,0.18));
}
.nav-logo:has(img)::before { display: none; }
.nav-logo img {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(14,150,254,0.18));
}
.nav-logo span { color: var(--accent-text); }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent) !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

/* Body spacing so fixed nav doesn't overlap top of page */
main.page { padding-top: 3.5rem; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.12), rgba(5,6,8,0.92)),
    url('hero-background.png') center top / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.hero:not(.hero-commercial) .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero .container { position: relative; }

.hero-commercial {
  padding: 5.25rem 0 2.75rem;
  display: flex;
  align-items: center;
}

.hero-commercial .container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  column-gap: clamp(2.5rem, 6vw, 5.5rem);
  row-gap: 0.75rem;
  align-items: center;
}

.hero-commercial .hero-badge,
.hero-commercial h1,
.hero-commercial .hero-sub,
.hero-commercial .hero-actions {
  grid-column: 1;
}

.hero-commercial .hero-badge {
  align-self: end;
  margin-bottom: 0;
}

.hero-commercial h1 {
  max-width: 760px;
  margin: 0 0 1.25rem;
}

.hero-commercial .hero-sub {
  max-width: 620px;
  margin-bottom: 0.75rem;
}

.hero-layout { display: contents; }
.hero-copy { display: contents; }

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 5;
  position: relative;
  isolation: isolate;
}

.hero-product-visual {
  width: 100%;
  margin-top: 0;
  border: 1px solid rgba(14,150,254,0.18);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft), 0 0 44px rgba(14,150,254,0.08);
  background: #050810;
}

.visual-card {
  position: absolute;
  right: -1.2rem;
  bottom: -1.15rem;
  width: min(320px, 72%);
  border: 1px solid rgba(69,176,255,0.25);
  border-radius: var(--radius-card);
  background: rgba(8, 12, 17, 0.88);
  box-shadow: var(--shadow-blue);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem;
}

.mix-map-head,
.mix-map-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr 4.2rem;
  gap: 0.7rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.mix-map-head {
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mix-map-head strong {
  justify-self: end;
  color: var(--mint);
  letter-spacing: 0;
}

.mix-map-row {
  color: var(--text-secondary);
  margin-top: 0.55rem;
}

.mix-map-row i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  width: var(--w);
  min-width: 20%;
}

.mix-map-row b {
  justify-self: end;
  color: var(--text-primary);
  font-weight: 600;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.brand-lockup img {
  width: 2.25rem;
  height: 2.25rem;
}

.mono-callout {
  border: 1px solid rgba(14,150,254,0.18);
  background: linear-gradient(180deg, rgba(18,29,41,0.86), rgba(8,13,20,0.92));
  border-radius: var(--radius-card);
  padding: 1.2rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.status-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0 0;
}

.status-list li {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background: rgba(18,29,41,0.58);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-glow);
  border: 1px solid rgba(14,150,254,0.18);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.75rem;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.hero h1 { max-width: 780px; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--accent-text); }

.hero-sub {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.proof-strip {
  display: flex;
  gap: 1.75rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-commercial .trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0.4rem 0 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: rgba(11, 15, 20, 0.72);
  overflow: hidden;
}

.hero-commercial .trust-strip li {
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid var(--border-soft);
  color: var(--text-secondary);
  text-align: center;
}

.hero-commercial .trust-strip li:last-child { border-right: 0; }
.proof-strip li {
  list-style: none;
  margin: 0;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}
.proof-strip li::before {
  content: '\2713';
  color: var(--accent-text);
  font-weight: 700;
}

.brand-stage {
  min-height: 0;
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  align-items: stretch;
  background: #03050a;
}

.brand-stage::before {
  display: none;
}

.brand-hero-media,
.brand-hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.brand-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.brand-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,5,10,0.94) 0%, rgba(3,5,10,0.70) 32%, rgba(3,5,10,0.30) 62%, rgba(3,5,10,0.72) 100%),
    linear-gradient(180deg, rgba(3,5,10,0.10) 0%, rgba(3,5,10,0.30) 58%, rgba(3,5,10,0.96) 100%);
}

.brand-hero-canvas {
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.72;
  width: 100%;
  height: 100%;
  display: block;
}

.brand-stage .container {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.52fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  min-height: 0;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.brand-stage .hero-copy {
  display: block;
  max-width: 720px;
  min-width: 0;
  padding-top: 1.5rem;
}

.brand-stage .hero-badge {
  background: rgba(42, 168, 255, 0.10);
  border-color: rgba(42, 168, 255, 0.28);
  color: #9ed8ff;
  box-shadow: 0 0 40px rgba(42, 168, 255, 0.08);
}

.brand-stage h1 {
  text-shadow: 0 16px 70px rgba(0,0,0,0.72);
  overflow-wrap: break-word;
}

.brand-stage h1 .accent {
  color: #ffffff;
  text-shadow: 0 0 22px rgba(42,168,255,0.42), 0 0 38px rgba(138,47,255,0.24);
}

.brand-stage .hero-sub {
  color: rgba(232, 240, 248, 0.80);
  overflow-wrap: break-word;
}

.brand-stage .hero-actions {
  justify-content: flex-start;
}

.audio-scene-orbit {
  grid-column: 2;
  justify-self: stretch;
  align-self: center;
  position: relative;
  min-height: 330px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
    radial-gradient(circle at 50% 45%, rgba(42,168,255,0.18), transparent 48%),
    rgba(3, 6, 12, 0.36);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 30px 100px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.audio-scene-orbit::before,
.audio-scene-orbit::after {
  content: '';
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(42,168,255,0.22);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.35);
}

.audio-scene-orbit::after {
  inset: 27% 11%;
  border-color: rgba(138,47,255,0.22);
  transform: rotate(21deg) scaleX(1.18);
}

.audio-scene-orbit [data-qrel-node] {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px var(--c), 0 0 44px color-mix(in srgb, var(--c), transparent 58%);
  animation: nodeFloat 5.8s ease-in-out infinite;
  animation-delay: var(--d);
}

.audio-scene-orbit [data-qrel-node]::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid color-mix(in srgb, var(--c), transparent 45%);
  border-radius: 50%;
  opacity: 0.52;
}

@keyframes nodeFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.78; }
  50% { transform: translate3d(0, -12px, 0) scale(1.12); opacity: 1; }
}

.brand-stage .trust-strip {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 0.75rem;
  background: rgba(3, 7, 13, 0.66);
  border-color: rgba(255,255,255,0.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.brand-stage + #features {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

@media (prefers-reduced-motion: reduce) {
  .audio-scene-orbit [data-qrel-node] {
    animation: none;
  }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(14,150,254,0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-muted); background: rgba(255,255,255,0.03); color: var(--text-primary); }

.btn-amber {
  background: var(--amber);
  color: var(--on-accent);
}
.btn-amber:hover {
  background: #e7c47e;
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(214,179,106,0.18);
}

/* ── Pull Quote ───────────────────────────────────────────────── */
.pull-quote {
  margin-top: 4rem;
  max-width: 640px;
  text-align: center;
}

.pull-quote blockquote {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.75;
  position: relative;
  padding: 0 1.5rem;
}

.pull-quote blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent-text);
  opacity: 0.3;
  position: absolute;
  top: -1.2rem;
  left: -0.5rem;
  font-style: normal;
  line-height: 1;
}

/* ── Section ──────────────────────────────────────────────────── */
section { padding: var(--section-pad) 0; }
section + section { border-top: 1px solid var(--border); }

section.tight { padding: var(--section-pad-tight) 0; }

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-header-center {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header-center p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Feature Grid ─────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: border-color 0.25s, background 0.25s;
}

.feature-card:hover {
  border-color: rgba(14,150,254,0.25);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.feature-icon.blue   { background: rgba(14,150,254,0.12); color: var(--accent-text); }
.feature-icon.amber  { background: rgba(214,179,106,0.12); color: var(--amber); }
.feature-icon.mint   { background: rgba(127,224,178,0.12); color: var(--mint); }
.feature-icon.lav    { background: rgba(180,160,212,0.12); color: var(--lavender); }
.feature-icon.teal   { background: rgba(93,192,200,0.12); color: var(--teal); }
.feature-icon.coral  { background: rgba(224,154,98,0.12); color: var(--coral); }

.feature-card h3 { color: var(--text-primary); }
.feature-card p  { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ── Screenshot gallery ───────────────────────────────────────── */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.shot-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s;
}
.shot-card:hover { border-color: rgba(14,150,254,0.25); }
.shot-card--wide { grid-column: 1 / -1; }
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-soft);
}
.shot-card figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.shot-card figcaption strong { color: var(--text-primary); margin-right: 0.4rem; }
@media (max-width: 720px) { .shot-grid { grid-template-columns: 1fr; } }

/* ── How It Works (Steps) ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Use Cases Grid ───────────────────────────────────────────── */
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.use-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: border-color 0.25s;
}

.use-card:hover { border-color: rgba(14,150,254,0.2); }

.use-card .use-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.use-card .use-tag.studio   { background: rgba(14,150,254,0.12); color: var(--accent-text); }
.use-card .use-tag.live     { background: rgba(214,179,106,0.12); color: var(--amber); }
.use-card .use-tag.post     { background: rgba(180,160,212,0.12); color: var(--lavender); }
.use-card .use-tag.collab   { background: rgba(127,224,178,0.12); color: var(--mint); }

.use-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.use-card p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Compatibility ────────────────────────────────────────────── */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.compat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  text-align: center;
}

.compat-item .compat-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.compat-item .compat-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Pricing tiers ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier-card.featured {
  border-color: var(--accent-text);
  background: linear-gradient(180deg, rgba(14,150,254,0.06), var(--bg-card));
  box-shadow: 0 24px 80px rgba(14,150,254,0.08);
}

.tier-card .tier-badge {
  position: absolute;
  top: -0.7rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

.tier-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
}

.tier-card .price {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
}
.tier-card .price .currency { color: var(--text-muted); font-weight: 500; font-size: 0.7em; }
.tier-card .price-suffix {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tier-card ul {
  list-style: none;
  margin: 0 0 2rem 0;
  flex: 1;
}
.tier-card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.tier-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-text);
  font-weight: 700;
}
.tier-card ul li.muted { color: var(--text-muted); }
.tier-card ul li.muted::before { content: '\2014'; color: var(--text-muted); }

.tier-card .btn { width: 100%; justify-content: center; }

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent-text);
  transition: transform 0.2s;
}

.faq details[open] summary::after { content: '\2212'; transform: rotate(0deg); }
.faq details[open] summary { color: var(--accent-text); }
.faq details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
  line-height: 1.75;
}

/* ── Docs/legal prose ─────────────────────────────────────────── */
.prose {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}
.prose h2 {
  color: var(--text-primary);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}
.prose h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li { color: var(--text-secondary); margin-bottom: 0.35rem; }
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.prose .note {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.prose .note.warn { border-left-color: var(--amber); }
.prose .note strong { color: var(--text-primary); }

/* Commercial download page */
.download-hero .container {
  max-width: 840px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 2rem;
  align-items: start;
  border: 1px solid rgba(69,176,255,0.22);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(14,150,254,0.08), rgba(133,40,253,0.05)),
    var(--bg-card);
  box-shadow: var(--shadow-blue);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.download-panel h2 {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1.25;
  word-break: break-word;
}

.release-checklist {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.release-checklist div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.85rem;
}

.release-checklist div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.release-checklist dt {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-checklist dd {
  color: var(--text-secondary);
  margin: 0;
  min-width: 0;
}

/* Doc-page side ToC */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad-tight) clamp(1.25rem, 4vw, 2.5rem);
}

.docs-nav {
  position: sticky;
  top: 5rem;
  align-self: start;
  font-size: 0.88rem;
}
.docs-nav h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.docs-nav ul { list-style: none; margin: 0; }
.docs-nav li { margin-bottom: 0.4rem; }
.docs-nav a {
  color: var(--text-secondary);
  display: block;
  padding: 0.25rem 0;
}
.docs-nav a:hover, .docs-nav a.active { color: var(--accent-text); }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: var(--section-pad) 0;
}
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p  { color: var(--text-secondary); max-width: 540px; margin: 0 auto 2rem; }
.cta-actions    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
footer.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

footer.site-footer .footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

footer.site-footer .footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

footer.site-footer .footer-col ul { list-style: none; margin: 0; }
footer.site-footer .footer-col li { margin-bottom: 0.5rem; }
footer.site-footer .footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
footer.site-footer .footer-col a:hover { color: var(--text-primary); }
footer.site-footer .footer-brand-blurb {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
  margin-top: 0.75rem;
}

footer.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

footer.site-footer .copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer.site-footer .footer-meta-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
}

footer.site-footer .footer-meta-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}
footer.site-footer .footer-meta-links a:hover { color: var(--text-secondary); }

/* ── 404 ─────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.error-page .code {
  font-family: var(--font-mono);
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.error-page p { color: var(--text-secondary); max-width: 460px; margin-bottom: 2rem; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 880px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .hero-commercial {
    padding: 4.5rem 0 3rem;
  }
  .hero-commercial .container {
    grid-template-columns: 1fr;
  }
  .brand-stage {
    min-height: auto;
  }
  .brand-stage .container {
    grid-template-rows: auto;
    min-height: 0;
  }
  .brand-stage .hero-copy {
    padding-top: 0;
  }
  .brand-stage .hero-badge {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    line-height: 1.35;
  }
  .audio-scene-orbit {
    grid-column: 1;
    min-height: 260px;
    max-width: 620px;
    width: 100%;
    justify-self: center;
  }
  .hero-commercial .hero-badge,
  .hero-commercial h1,
  .hero-commercial .hero-sub,
  .hero-commercial .hero-actions,
  .hero-visual,
  .hero-commercial .trust-strip {
    grid-column: 1;
  }
  .hero-visual {
    grid-row: auto;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }
  .download-panel {
    grid-template-columns: 1fr;
  }
  .approval-strip,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card {
    flex-direction: column;
  }
  footer.site-footer .footer-cols { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.55rem; }
  h2 { font-size: 1.9rem; }
  .hero-sub { font-size: 1.05rem; }
  .hero-commercial { padding: 4rem 0 2rem; }
  .brand-stage .container,
  .brand-stage .hero-copy,
  .brand-stage h1,
  .brand-stage .hero-sub,
  .brand-stage .hero-actions,
  .audio-scene-orbit {
    width: 100%;
    max-width: 100%;
  }
  .brand-stage h1 { font-size: 2.14rem; }
  .brand-stage .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .brand-stage .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-commercial .hero-visual { display: none; }
  .audio-scene-orbit {
    display: none;
  }
  .brand-stage .trust-strip { display: none; }
  .hero-commercial .trust-strip { grid-template-columns: 1fr 1fr; }
  .hero-commercial .trust-strip li:nth-child(2) { border-right: 0; }
  .hero-commercial .trust-strip li {
    border-bottom: 1px solid var(--border-soft);
  }
  .hero-commercial .trust-strip li:nth-last-child(-n+2) { border-bottom: 0; }
  .theme-toggle { margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 3.5rem;
    left: 0; right: 0;
    background: var(--bg-surface);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .approval-strip,
  .info-grid {
    grid-template-columns: 1fr;
  }
  footer.site-footer .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .brand-stage h1 { font-size: 2.02rem; }
  .brand-stage .hero-badge { font-size: 0.66rem; padding: 0.38rem 0.72rem; }
  .brand-stage .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .audio-scene-orbit { min-height: 190px; }
  .visual-card {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }
  .hero-commercial .trust-strip { grid-template-columns: 1fr; }
  .hero-commercial .trust-strip li,
  .hero-commercial .trust-strip li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .hero-commercial .trust-strip li:last-child { border-bottom: 0; }
  .release-checklist div { grid-template-columns: 1fr; gap: 0.25rem; }
  .tier-card .price { font-size: 2.25rem; }
  .error-page .code { font-size: 4.5rem; }
  .compat-grid { grid-template-columns: 1fr; }
}

/* ── Scroll Animations ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Brand alignment: Orbitron display + electric-purple signature ── */
.nav-logo, .brand-lockup { font-family: var(--font-display); letter-spacing: 0.04em; }
.section-label { font-family: var(--font-display); letter-spacing: 0.16em; }
.nav-logo span, .hero h1 .accent {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tier-card.featured { border-color: var(--accent-2); }

