/* ============================================================
   CIRA LANDING — production styles
   Dark · cinematic · premium · emerald-on-black · 2026
   ============================================================ */

/* ---------- 0. Self-hosted brand fonts (Figma) ---------- */
/* Apfel Grotezk — only the Mittel weight ships; cover 400–700 so headings don't faux-bold. */
@font-face {
  font-family: 'Apfel Grotezk';
  src: url('/assets/fonts/ApfelGrotezk-Mittel.otf') format('opentype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- 1. Design tokens ---------- */
:root {
  color-scheme: dark;

  /* Color — superwhisper monochrome: pure-black canvas, off-white text, white buttons, zinc grays. No gradients. */
  --bg: #000000;
  --bg-elev: #0c0c0e;
  --bg-elev-2: #161619;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-faint: #8a8a93;
  --border: #27272a;
  --border-strong: #3f3f46;
  --accent: #ffffff;
  --accent-hover: #e4e4e7;
  --accent-2: #a1a1aa;
  --accent-ink: #000000;
  --danger: #ff5c5c;

  --accent-rgb: 255, 255, 255;
  --accent-2-rgb: 161, 161, 170;

  /* "glow" tokens kept as names but neutralized to subtle monochrome (no color) */
  --glow-accent-soft: rgba(255, 255, 255, 0.10);
  --glow-accent-strong: rgba(255, 255, 255, 0.18);
  --glow-accent-faint: rgba(255, 255, 255, 0.05);
  --glow-teal: rgba(255, 255, 255, 0.06);

  --shadow-cta: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 30px rgba(0,0,0,0.6);
  --shadow-cta-hover: 0 0 0 1px rgba(255,255,255,0.18), 0 10px 44px rgba(0,0,0,0.7);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 40px rgba(0,0,0,0.55);
  --text-glow-hero: none;

  /* "grad" tokens kept as names but resolved to flat solids (no gradients anywhere) */
  --grad-accent: #ffffff;
  --grad-hero-orb: transparent;
  --grad-canvas: none;
  --grad-section-edge: transparent;

  /* Type */
  --font-display: 'Apfel Grotezk', system-ui, sans-serif;
  --font-body: 'Aeonik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Inter', ui-monospace, 'SF Mono', monospace;

  --fs-hero: clamp(3.25rem, 9vw + 0.5rem, 8rem);
  --fs-h1: clamp(2.5rem, 5vw + 0.5rem, 4.5rem);
  --fs-h2: clamp(2rem, 3.2vw + 0.5rem, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.4vw + 0.6rem, 1.75rem);
  --fs-lead: clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
  --fs-body: clamp(1rem, 0.25vw + 0.95rem, 1.0625rem);
  --fs-small: clamp(0.8125rem, 0.2vw + 0.78rem, 0.875rem);
  --fs-eyebrow: 0.8125rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 760px;
  --content-wide: 1320px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-py: clamp(5rem, 10vw, 9rem);
  --section-py-tight: clamp(3rem, 6vw, 5rem);
  --nav-h: 64px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-slow: 640ms;
  --reveal-shift: 24px;

  /* a11y */
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);

  /* Breakpoints (reference only) */
  --bp-sm: 640px;
  --bp-md: 900px;
  --bp-lg: 1200px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  background-image: var(--grad-canvas);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; }

p { margin: 0; }

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

img, svg { display: block; max-width: 100%; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(var(--accent-rgb), 0.30); color: var(--text); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-xs);
}

/* ---------- 3. Helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -100px; left: var(--gutter);
  z-index: 1000;
  padding: var(--space-3) var(--space-5);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

.eyebrow,
.hero__eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--text-glow-hero);
}

.section-inner,
.hero__inner,
.how__head, .how__steps,
.features__head, .bento,
.pricing__head, .pricing__grid,
.faq__head, .faq__list,
.privacy__panel {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

/* ---------- 4. Parallax background layers ---------- */
.bg-layers {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

[data-parallax] {
  position: absolute;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Colored glow orbs removed — superwhisper canvas is clean solid black, no gradients. */
.orb { display: none; }

/* Live dictation waveform — two layers scroll leftward at different speeds so it
   reads like a real voice being spoken (new sound enters at the right, flows left). */
.waveform {
  left: 0; right: 0; bottom: 16vh; height: 160px;
  opacity: 0.18;
  overflow: hidden;
}
.waveform::before,
.waveform::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="160"><g fill="none" stroke="%23ffffff" stroke-width="3" stroke-linecap="round"><line x1="20" y1="80" x2="20" y2="80"/><line x1="60" y1="55" x2="60" y2="105"/><line x1="100" y1="35" x2="100" y2="125"/><line x1="140" y1="62" x2="140" y2="98"/><line x1="180" y1="20" x2="180" y2="140"/><line x1="220" y1="50" x2="220" y2="110"/><line x1="260" y1="70" x2="260" y2="90"/><line x1="300" y1="30" x2="300" y2="130"/><line x1="340" y1="58" x2="340" y2="102"/><line x1="380" y1="40" x2="380" y2="120"/><line x1="420" y1="68" x2="420" y2="92"/><line x1="460" y1="25" x2="460" y2="135"/><line x1="500" y1="52" x2="500" y2="108"/><line x1="540" y1="72" x2="540" y2="88"/><line x1="580" y1="18" x2="580" y2="142"/><line x1="620" y1="48" x2="620" y2="112"/><line x1="660" y1="66" x2="660" y2="94"/><line x1="700" y1="34" x2="700" y2="126"/><line x1="740" y1="56" x2="740" y2="104"/><line x1="780" y1="42" x2="780" y2="118"/><line x1="820" y1="70" x2="820" y2="90"/><line x1="860" y1="28" x2="860" y2="132"/><line x1="900" y1="54" x2="900" y2="106"/><line x1="940" y1="74" x2="940" y2="86"/><line x1="980" y1="22" x2="980" y2="138"/><line x1="1020" y1="50" x2="1020" y2="110"/><line x1="1060" y1="64" x2="1060" y2="96"/><line x1="1100" y1="36" x2="1100" y2="124"/><line x1="1140" y1="58" x2="1140" y2="102"/><line x1="1180" y1="44" x2="1180" y2="116"/></g></svg>');
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 1200px 160px;
  will-change: background-position;
}
.waveform::before { animation: waveScroll 5.5s linear infinite; }
.waveform::after  { animation: waveScroll 9s linear infinite; opacity: 0.45; transform: scaleY(0.6); }
@keyframes waveScroll {
  from { background-position-x: 0; }
  to   { background-position-x: -1200px; }
}

.grain {
  position: absolute; inset: -50%;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)"/></svg>');
  background-repeat: repeat;
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-3%, 2%, 0); }
  50% { transform: translate3d(2%, -3%, 0); }
  75% { transform: translate3d(-2%, -2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow 200ms var(--ease-out),
    filter 200ms var(--ease-out),
    background var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn--sm { padding: 0.6em 1.1em; font-size: var(--fs-small); }
.btn--lg { padding: 1em 1.7em; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--accent {
  background: var(--grad-accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-cta);
}
.btn--accent::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.45);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
  pointer-events: none;
}
.btn--accent:hover {
  transform: translate3d(0, -1px, 0);
  filter: brightness(1.05);
  box-shadow: var(--shadow-cta-hover);
}
.btn--accent:hover::after { opacity: 1; }
.btn--accent:active { transform: translate3d(0, 0, 0) scale(0.985); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  transform: translate3d(0, -1px, 0);
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--accent-hover);
}
.btn--ghost:active { transform: translate3d(0, 0, 0) scale(0.985); }

.btn--pill { border-radius: var(--radius-pill); }

/* Dark solid pill — nav CTA + scrolled states */
.btn--dark {
  background: #0c0c0e;
  color: #ffffff;
  font-weight: 500;
  box-shadow: none;
}
.btn--dark:hover { background: #000000; transform: translate3d(0, -1px, 0); }
.btn--dark:active { transform: translate3d(0, 0, 0) scale(0.985); }

/* Soft translucent-dark pill — hero secondary on the light gradient */
.btn--soft {
  background: rgba(12, 12, 14, 0.08);
  color: #0c0c0e;
  font-weight: 500;
  border-color: transparent;
}
.btn--soft:hover { background: rgba(12, 12, 14, 0.14); transform: translate3d(0, -1px, 0); }
.btn--soft:active { transform: translate3d(0, 0, 0) scale(0.985); }

/* ---------- 6. Reveal / stagger ---------- */
/* Hidden state is opt-in: only applied once JS has flipped <html> from .no-js to .js.
   Without JS the content renders fully visible (progressive enhancement). */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-shift), 0);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
.reveal-stagger > .reveal {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* ---------- 7. Sticky nav (adaptive: dark over the light hero top → light over dark sections) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #0c0c0e;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  color: #fafafa;
  background: rgba(8, 9, 12, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-right: auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  opacity: 0.82;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__menu-cta { display: none; }
.nav__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.nav__logo { flex: none; }
.nav__cta { flex: none; }
.site-header.is-scrolled .nav__cta.btn--dark { background: #ffffff; color: #0c0c0e; }
.site-header.is-scrolled .nav__cta.btn--dark:hover { background: #e4e4e7; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  color: inherit;
  opacity: 0.8;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__burger,
.nav__burger::before,
.nav__burger::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav__burger { position: relative; }
.nav__burger::before { position: absolute; top: -6px; left: 0; }
.nav__burger::after { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Section scaffolding ---------- */
section {
  position: relative;
  padding-block: var(--section-py);
  padding-inline: var(--gutter);
}

/* ---------- 9. Hero (Figma 11:2633 — light→warm→navy gradient, dark type, white product card) ---------- */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #f8f8f8 0%, #d9542b 64.943%, #061127 99.912%);
  color: #0c0c0e;
  /* clear the fixed 80px nav, then the section's own breathing room */
  padding-top: calc(80px + clamp(2.5rem, 5vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero__inner { max-width: 920px; }
.hero .hero__eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(12, 12, 14, 0.3);
  margin-bottom: 0;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8.2vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: #0c0c0e;
  margin-block: 12px 0;
}
.hero__sub {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(12, 12, 14, 0.7);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}
.hero__meta {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(12, 12, 14, 0.4);
}

/* Kinetic hero removed — the headline is now a static two-line lockup (Figma). */

/* Hero product card + live dictation pill (Figma) */
.hero__visual {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 920px;
}
.hero__card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(280px, 42vw, 521px);
  padding: 24px 16px;
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}
.hud {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #0c0c0e;
  border: 1px solid #3f3f46;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.55);
}
.hud__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hud__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}
.hud__wave span {
  width: 3px;
  border-radius: 2px;
  background: #ffffff;
  animation: wave 1.1s ease-in-out infinite;
}
.hud__wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.hud__wave span:nth-child(2) { height: 65%; animation-delay: -0.9s; }
.hud__wave span:nth-child(3) { height: 100%; animation-delay: -0.2s; }
.hud__wave span:nth-child(4) { height: 50%; animation-delay: -0.6s; }
.hud__wave span:nth-child(5) { height: 80%; animation-delay: -0.4s; }
.hud__wave span:nth-child(6) { height: 35%; animation-delay: -1s; }
.hud__wave span:nth-child(7) { height: 95%; animation-delay: -0.1s; }
.hud__wave span:nth-child(8) { height: 55%; animation-delay: -0.7s; }
.hud__wave span:nth-child(9) { height: 75%; animation-delay: -0.3s; }
.hud__wave span:nth-child(10) { height: 40%; animation-delay: -0.85s; }
.hud__wave span:nth-child(11) { height: 88%; animation-delay: -0.15s; }
.hud__wave span:nth-child(12) { height: 60%; animation-delay: -0.55s; }
.hud__wave span:nth-child(13) { height: 100%; animation-delay: -0.25s; }
.hud__wave span:nth-child(14) { height: 45%; animation-delay: -0.75s; }
.hud__wave span:nth-child(15) { height: 70%; animation-delay: -0.5s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.hud__label {
  font-family: var(--font-mono); /* Inter Medium */
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
}

/* ---------- 10. Ubiquity strip ---------- */
.ubiquity { text-align: center; padding-block: var(--section-py-tight); }
.ubiquity__line {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-7);
}
.marquee {
  position: relative;
  max-width: var(--content-wide);
  margin-inline: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__viewport { display: flex; width: max-content; }
.marquee__track {
  display: flex;
  flex: none;
  gap: var(--space-3);
  padding-inline: calc(var(--space-3) / 2);
  animation: marquee 32s linear infinite;
}
.marquee[data-paused="true"] .marquee__track,
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}
.marquee__item {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.marquee__item:hover { color: var(--text); border-color: var(--border-strong); }
.marquee__pause {
  position: absolute;
  top: 0; right: var(--gutter);
  z-index: 2;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.marquee__pause:hover { opacity: 1; }
.marquee__pause-icon {
  display: block;
  width: 10px; height: 12px;
  border-left: 3px solid var(--text);
  border-right: 3px solid var(--text);
}
.marquee__pause[aria-pressed="true"] .marquee__pause-icon {
  width: 0; height: 0;
  border: none;
  border-left: 11px solid var(--text);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* ---------- 11. Three-step ---------- */
.how { text-align: center; }
.how__head { margin-bottom: var(--space-8); }
.how__title { font-size: var(--fs-h2); letter-spacing: -0.02em; line-height: 1.1; }
.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  text-align: left;
  list-style: none;
  padding-left: 0;
}
.step::marker { content: ""; }
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: var(--radius-md);
}
.step__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.step__body { color: var(--text-muted); }

/* ---------- 12. Wedges ---------- */
.wedge {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  max-width: var(--content-max);
  margin-inline: auto;
}
.wedge__kicker {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.wedge__title { font-size: var(--fs-h2); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: var(--space-5); }
.wedge__body { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.55; max-width: 48ch; }

.wedge__media {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: var(--space-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* wedge art: setup chips */
.wedge-art { width: 100%; max-width: 360px; }
.wedge-art--setup { display: grid; gap: var(--space-3); }
.chip {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
}
.chip--ok { color: var(--text); }
.chip__tick {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  position: relative;
}
.chip__tick::after {
  content: "";
  position: absolute;
  left: 6px; top: 3px;
  width: 5px; height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.chip--ready {
  justify-content: center;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--grad-accent);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.25);
}

/* wedge art: price bars */
.wedge-art--price { display: grid; gap: var(--space-4); }
.price-bar { display: grid; gap: var(--space-2); }
.price-bar__label { font-size: var(--fs-small); color: var(--text-muted); }
.price-bar__fill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 52px;
  padding-inline: var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
}
.price-bar__amt small { font-size: 0.6em; font-weight: 500; opacity: 0.7; }
.price-bar__fill--them {
  width: 100%;
  color: var(--text-muted);
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
}
.price-bar__fill--cira {
  width: 53%;
  min-width: 130px;
  color: var(--accent-ink);
  background: var(--grad-accent);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.25);
}
.wedge-art__note { font-size: var(--fs-small); color: var(--text-faint); text-align: center; margin-top: var(--space-1); }

/* wedge art: language chips */
.wedge-art--lang {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  max-width: 340px;
}
.lang-chip {
  padding: 0.7rem 1.15rem;
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.lang-chip--device {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--accent-ink);
  background: var(--grad-accent);
  border-color: transparent;
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.25);
}
.lang-chip__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(4, 19, 12, 0.25);
}

/* ---------- 13. Features bento ---------- */
.features { text-align: center; }
.features__head { margin-bottom: var(--space-8); }
.features__title { font-size: var(--fs-h2); letter-spacing: -0.02em; line-height: 1.1; }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  text-align: left;
}
.bento__cell {
  padding: var(--space-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.bento__cell:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.35); }
.bento__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--space-4);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.30);
  border-radius: var(--radius-md);
}
.bento__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.bento__body { color: var(--text-muted); }

/* ---------- 14. Privacy ---------- */
.privacy { }
.privacy__panel {
  max-width: var(--content-narrow);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.privacy__title { font-size: var(--fs-h2); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: var(--space-5); }
.privacy__lede { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.6; }
.privacy__points {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-7);
  text-align: left;
  max-width: 480px;
  margin-inline: auto;
}
.privacy__point {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
}
.privacy__check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  position: relative;
}
.privacy__check::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 5px; height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- 15. Pricing ---------- */
.pricing { text-align: center; }
.pricing__head { margin-bottom: var(--space-8); }
.pricing__title { font-size: var(--fs-h2); letter-spacing: -0.02em; line-height: 1.1; max-width: 18ch; margin-inline: auto; }
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 860px;
  text-align: left;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.plan--featured {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: var(--bg-elev-2);
  box-shadow: var(--shadow-card);
}
.plan__badge {
  align-self: flex-start;
  margin-bottom: var(--space-3);
  padding: 0.3rem 0.8rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--grad-accent);
  border-radius: var(--radius-pill);
}
.plan__name { font-family: var(--font-display); font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.plan__price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: var(--space-3); }
.plan__amount { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
.plan__period { color: var(--text-muted); font-weight: 500; }
.plan__for { color: var(--text-muted); margin-bottom: var(--space-5); }
.plan__features {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex: 1;
}
.plan__features li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--text);
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border: solid var(--accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.pricing__note {
  max-width: 640px;
  margin: var(--space-7) auto 0;
  font-size: var(--fs-small);
  color: var(--text-faint);
}

/* ---------- 16. FAQ ---------- */
.faq__head { text-align: center; margin-bottom: var(--space-8); }
.faq__title { font-size: var(--fs-h2); letter-spacing: -0.02em; line-height: 1.1; }
.faq__list { max-width: var(--content-narrow); }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
  padding: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding: 0 var(--space-5) var(--space-5); }
.faq__a p { color: var(--text-muted); }

/* ---------- 17. Final CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta__bg .orb--emerald {
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.22;
}
.cta__inner {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.cta__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-4);
}
.cta__sub { color: var(--text-muted); font-size: var(--fs-lead); margin-bottom: var(--space-7); }

/* ---------- 18. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--section-py-tight) var(--gutter) var(--space-7);
  background: var(--bg);
}
.site-footer__top {
  max-width: var(--content-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
.site-footer__brand { max-width: 320px; }
.site-footer__tag { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--fs-small); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.site-footer__col ul { display: grid; gap: var(--space-3); }
.site-footer__col a {
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-footer__col a:hover { color: var(--accent-hover); }
.site-footer__legal {
  max-width: var(--content-max);
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: var(--fs-small);
}

/* ============================================================
   RESPONSIVE — mobile-first, min-width up
   ============================================================ */

/* >= 640px */
@media (min-width: 640px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .wedge-art--setup { max-width: 380px; }
}

/* >= 900px : nav inline, side-by-side layouts */
@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; position: static; }

  .wedge { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
  .wedge--media-left .wedge__copy { order: 2; }
  .wedge--media-left .wedge__media { order: 1; }
  .wedge__media { min-height: 320px; }

  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); }
  .bento__cell--lg { grid-column: span 2; grid-row: span 2; }
  .bento__cell--md { grid-column: span 2; }
  .bento__cell--sm { grid-column: span 2; }
  .bento__cell--wide { grid-column: span 4; }

  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: scale(1.03); }

  .site-footer__top { grid-template-columns: 1.4fr 2fr; }
  .site-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* >= 1200px */
@media (min-width: 1200px) {
  .bento__cell--sm { grid-column: span 1; }
  .bento__cell--md { grid-column: span 2; }
}

/* Mobile nav overlay (< 900px when open) */
@media (max-width: 899.98px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav { min-height: 64px; }
  .nav__brand { position: static; transform: none; margin-right: auto; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    margin: 0;
    padding: var(--space-5) var(--gutter) var(--space-7);
    background: var(--bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__link {
    display: block;
    padding: var(--space-3) 0;
    font-size: 1.125rem;
    color: var(--text);
  }
  .nav__menu-cta { display: block; margin-top: var(--space-3); }
  .nav__menu-cta .btn { width: 100%; }
  .nav__menu-cta .btn--dark { background: #ffffff; color: #0c0c0e; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-parallax] { transform: none !important; }
  .grain { animation: none !important; }
  .waveform::before, .waveform::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .hud__wave span, .hud__dot, .hud-out__cursor { animation: none !important; }
  .hero__title .word { overflow: visible; }
  .hero__title .word__inner {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}
