/* VoiceWink — voicewink.app
   Static implementation of the Claude Design draft "VoiceWink v3".
   Tokens + primitives ported verbatim from site2/styles.css; component
   classes converted from inline JSX styles; responsive breakpoints added. */

/* ---------- Tokens + base ---------- */
:root {
  --ink: #0B1220;
  --ink-2: #1A2236;
  --muted: #5A6478;
  /* --muted-2 darkened from the design's #8A93A6 for WCAG AA: it is body text on
     --paper-2 (its worst surface, 2.69) as well as on --paper and white. 4.58 / 4.95 / 5.25. */
  --muted-2: #636C82;
  --rule: #E6E3DB;
  --rule-2: #DCD8CE;
  --paper: #FAF8F4;
  --paper-2: #F3EFE6;
  --card: #FFFFFF;
  /* --blue darkened from the design's #1E6BFF for WCAG AA: it is used both as a fill
     (buttons, focus rings) and as text on --paper-2 / --paper (3.98 / 4.30 before).
     Now 4.55 / 4.92 / 5.22 on white, and white-on-blue rises 4.56 -> 5.22. */
  --blue: #095DFF;
  /* --blue-2 is the hover/lighter end. The design's #2D8BFF carries white button text
     at only 3.36 (.btn-blue:hover, 15px/600 — not large text, so 4.5 applies) and is
     2.93 as the right-hand .grad headline stop on --paper-2 (large text, needs 3.0).
     Neither state is reachable by axe. Reusing the design's original --blue keeps the
     "hover lightens" intent and the brand blue itself: 4.56 white-on-it, 3.98 on paper-2. */
  --blue-2: #1E6BFF;
  --blue-ink: #0F3FB3;
  --blue-50: #E8F0FF;
  --coral: #FF6B4A;
  --green: #1FBF75;
  /* --green as text fails on white (2.40); --green stays the brand dot colour and
     --green-ink is its AA-compliant text counterpart, mirroring --blue / --blue-ink. */
  --green-ink: #168652;
  --amber: #E9A93A;
  --font-display: 'Schibsted Grotesk', 'Inter', sans-serif;
  /* midnight theme (voice-to-image, privacy, free cloud) */
  --night: #0B1220;
  --night-2: #0E1730;
  --night-body: #A3B0CA;
  --night-faint: #5A6B8C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wide { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

img { max-width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Inter', sans-serif;
}
.btn:active { transform: translateY(1px); }
.btn-blue {
  background: var(--blue); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 24px -10px rgba(30,107,255,0.6);
}
.btn-blue:hover { background: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-ink {
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 24px -12px rgba(11,18,32,0.55);
}
.btn-ink:hover { background: #000; }

/* Keycaps */
.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 32px; padding: 0 10px;
  border-radius: 8px;
  background: #fff; color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--rule-2);
  box-shadow: 0 1px 0 #fff inset, 0 2px 0 var(--rule-2), 0 3px 0 rgba(0,0,0,0.04);
}

/* Sections */
.section { padding: 130px 0; position: relative; }
[id] { scroll-margin-top: 76px; }

a { color: inherit; }

/* Gradient headline text */
.grad {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue);
}

/* Caret + shared anims */
@keyframes vw-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.caret {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--ink); vertical-align: text-bottom;
  margin-left: 2px; animation: vw-blink 1s steps(1) infinite;
}

@keyframes vw-rec-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,74,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255,107,74,0); }
}

/* Marquee */
.marquee {
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 48px;
  animation: vw-scroll-x 42s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes vw-scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Waveform (bars are built by main.js) */
.waveform { display: flex; align-items: center; gap: 3px; }
.waveform span {
  width: 3px; border-radius: 2px;
  transition: height 80ms ease;
}

/* Windows caption buttons */
.win-caption { display: flex; align-items: stretch; align-self: stretch; }
.win-caption span {
  width: 42px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 10px;
}
.win-caption span:hover { background: rgba(0,0,0,0.06); }
.win-caption span:last-child:hover { background: #E81123; color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.logo img { display: block; }
.logo-type {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: -0.02em; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a:not(.btn) { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { padding: 8px 14px; font-size: 14px; }
.nav-links .btn-blue { padding: 8px 16px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 110px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 18% 0%, rgba(30,107,255,0.08), transparent 70%),
    radial-gradient(900px 400px at 100% 12%, rgba(255,107,74,0.05), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 72px; align-items: start;
}
.hero-h1 {
  font-size: clamp(52px, 6.4vw, 92px);
  margin: 0 0 22px; font-weight: 700;
  text-wrap: balance; line-height: 1.02;
}
.hero-sub {
  font-size: 19px; color: var(--muted);
  max-width: 500px; margin: 0 0 34px; line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-checks { display: flex; gap: 10px 22px; flex-wrap: wrap; max-width: 560px; }
.check {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-2);
}
.check svg { flex-shrink: 0; }

.hero-right { display: flex; flex-direction: column; gap: 40px; }

/* Demo window */
.hero-demo { position: relative; }
.hw-frame {
  background: #fff;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,30,70,0.22), 0 2px 0 rgba(0,0,0,0.02);
}
.win-titlebar {
  display: flex; align-items: stretch; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  height: 40px;
}
.win-title {
  display: flex; align-items: center; gap: 8px;
  padding-left: 14px; min-width: 0; flex: 1;
}
.win-title-icon {
  position: relative; width: 16px; height: 16px;
  flex-shrink: 0; display: inline-block;
}
.win-title-icon img {
  position: absolute; inset: 0; width: 16px; height: 16px;
  opacity: 0;
}
.win-title-icon img.on { opacity: 1; }
.win-title-text {
  font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-right { display: flex; align-items: center; gap: 12px; flex-shrink: 1; min-width: 0; }
.win-chip {
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-ink);
  letter-spacing: 0.06em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.hw-body { padding: 26px 24px; }
.hw-text {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px; line-height: 1.6; color: var(--ink);
  white-space: pre-wrap;
  height: 216px; overflow: hidden;
}
.hw-text.code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px; color: var(--blue-ink);
}
.hw-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  min-height: 46px;
}
.hw-status-left { display: flex; align-items: center; gap: 10px; }
.hw-dot {
  width: 8px; height: 8px; border-radius: 8px;
  background: var(--muted);
  transition: background 200ms;
}
.hw-status-label {
  font-size: 11.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.09em;
}

/* Floating mini recorder */
.mini-rec {
  position: absolute;
  left: 50%; bottom: -26px;
  transform: translateX(-50%) translateY(14px) scale(0.9);
  opacity: 0;
  transition: all 220ms cubic-bezier(.2,.9,.3,1.2);
  pointer-events: none;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: #0B1220;
  border-radius: 999px;
  box-shadow: 0 16px 40px -12px rgba(11,18,32,0.55);
}
.mini-rec.on { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
.rec-dot {
  width: 9px; height: 9px; border-radius: 9px; background: var(--coral);
  animation: vw-rec-pulse 1.2s ease-in-out infinite;
}
.rec-timer { font-size: 12px; color: #C6D0E0; min-width: 30px; }

/* The big hero key */
.hero-key-block {
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.hero-key-stage { position: relative; display: inline-block; }
.hero-key {
  --key-depth: 8px;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 150px; height: 72px; padding: 0 28px;
  border-radius: 15px;
  background: linear-gradient(180deg, #FFFFFF, #F4F1EA);
  border: 1px solid var(--rule-2);
  box-shadow:
    0 1px 0 #fff inset,
    0 var(--key-depth) 0 #D8D3C7,
    0 calc(var(--key-depth) + 10px) 24px -8px rgba(15,30,70,0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: transform 90ms ease, box-shadow 90ms ease, background 90ms ease;
}
.hero-key:hover { background: linear-gradient(180deg, #FFFFFF, #F8F5EE); }
.hero-key.held {
  transform: translateY(var(--key-depth));
  box-shadow:
    0 1px 0 #fff inset,
    0 0 0 #D8D3C7,
    0 6px 14px -6px rgba(15,30,70,0.3),
    0 0 0 4px rgba(30,107,255,0.18);
  background: linear-gradient(180deg, #F2F7FF, #E8F0FF);
  border-color: var(--blue);
  color: var(--blue-ink);
}
.hero-key:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.ghost-key {
  position: absolute; z-index: 0;
  height: 38px; padding: 0 13px; font-size: 12px;
  opacity: 0.45;
}
.ghost-key.left { left: -52px; bottom: 10px; transform: rotate(-7deg); }
.ghost-key.right { right: -74px; bottom: 14px; transform: rotate(6deg); }
.hero-key-badge {
  position: absolute; top: -12px; right: -34px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: var(--paper); border: 1px dashed var(--rule-2);
  font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em;
  transform: rotate(3deg); white-space: nowrap;
}
.hero-key-caption {
  font-size: 12px; color: var(--muted);
  text-align: center; letter-spacing: 0.02em;
}

/* ---------- Provider strip ---------- */
.providers {
  padding: 44px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.providers .container { display: flex; align-items: center; gap: 40px; }
.providers-label {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.14em; flex-shrink: 0;
}
.providers .marquee { flex: 1; }
.providers .marquee-track { align-items: center; }
.provider-item { display: inline-flex; align-items: center; gap: 9px; }
.provider-item img { display: block; flex-shrink: 0; }
.provider-name { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.provider-role { font-size: 10.5px; color: var(--muted-2); }

/* ---------- Use cases: coffee orbit ---------- */
.use-cases { padding-bottom: 100px; }
.use-cases-head { margin-bottom: 52px; }
.h2 { font-size: clamp(36px, 4.2vw, 54px); margin: 0; }

.orbit-center { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.orbit-stage { position: relative; width: 640px; height: 600px; max-width: 100%; }
.orbit-glow {
  position: absolute; inset: 14%;
  background: radial-gradient(circle, rgba(30,107,255,0.08), transparent 65%);
  border-radius: 50%;
}
.orbit-guide {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  border: 1.5px dashed var(--rule-2); border-radius: 50%;
}
.orbit-guide.inner { width: 372px; height: 372px; }
.orbit-guide.outer { width: 568px; height: 568px; }

@keyframes vw-orbit { to { transform: rotate(360deg); } }
@keyframes vw-orbit-rev { to { transform: rotate(-360deg); } }
.orbit-ring {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  animation: vw-orbit var(--dur, 80s) linear infinite;
}
.orbit-ring.reverse { animation-name: vw-orbit-rev; }
.orbit-chip { animation: vw-orbit-rev var(--dur, 80s) linear infinite; }
.orbit-ring.reverse .orbit-chip { animation-name: vw-orbit; }
.orbit-item { position: absolute; left: 0; top: 0; }
.orbit-bubble {
  position: absolute; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 6px 16px -8px rgba(15,30,70,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 20px;
}
.orbit-bubble.more { background: var(--paper); border: 1px dashed var(--rule-2); }
.orbit-bubble img { display: block; }

@keyframes vw-steam {
  0% { opacity: 0; transform: translateY(8px) scale(0.96); }
  25% { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-30px) scale(1.05); }
}
.steam { animation: vw-steam 3.8s ease-out infinite; transform-origin: 50% 100%; }
@keyframes vw-float {
  0%, 100% { transform: translate(-50%, -52%) translateY(0); }
  50% { transform: translate(-50%, -52%) translateY(-7px); }
}
.cup-float {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  animation: vw-float 6s ease-in-out infinite;
  transform: translate(-50%, -52%);
}
.cup-print { font-family: 'Caveat', cursive; font-weight: 700; }
.orbit-caption { font-size: 11.5px; color: var(--muted-2); }

/* ---------- AI enhancement (adapts) ---------- */
.adapts {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 88px;
}
.adapts-head { max-width: 760px; margin-bottom: 52px; }
.adapts-head .h2 { margin: 0 0 16px; }
.adapts-head p { font-size: 17px; color: var(--muted); line-height: 1.6; margin: 0; }

.enh-grid {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 24px; align-items: stretch;
}
.enh-card {
  background: #fff; border: 1px solid var(--rule);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column;
}
.enh-card.lands {
  border-color: rgba(30,107,255,0.3);
  box-shadow: 0 20px 44px -24px rgba(30,107,255,0.3);
}
.enh-label { display: flex; align-items: center; gap: 8px; }
.enh-label .dot { width: 8px; height: 8px; border-radius: 8px; }
.enh-label .dot.coral { background: var(--coral); }
.enh-label .dot.green { background: var(--green); }
.enh-label span:last-child {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.enh-said-text { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.enh-said-text .filler {
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  color: var(--muted-2); padding: 0 2px;
}
.enh-said-foot { margin-top: auto; padding-top: 18px; }
.enh-said-foot span { font-size: 11px; color: var(--muted-2); }
.enh-said-foot s { text-decoration-color: var(--coral); }

.enh-lands-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.enh-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--rule);
}
.enh-toggle button {
  all: unset; cursor: pointer; white-space: nowrap;
  padding: 4px 13px; border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  transition: all 140ms;
}
.enh-toggle button.on {
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 4px rgba(15,30,70,0.14);
}
.enh-toggle button:focus-visible,
.enh-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.enh-chip-rows { display: grid; margin-bottom: 18px; }
.enh-chip-row {
  grid-area: 1 / 1;
  display: flex; gap: 6px; flex-wrap: wrap; align-content: flex-start;
  visibility: hidden; pointer-events: none;
}
.enh-chip-row.on { visibility: visible; pointer-events: auto; }
.enh-chip {
  all: unset; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 600;
  background: var(--paper-2); border: 1px solid transparent;
  color: var(--muted);
  transition: all 140ms;
}
.enh-chip.on {
  background: var(--blue-50);
  border-color: rgba(30,107,255,0.4);
  color: var(--blue-ink);
}
.enh-chip img { display: block; }
.enh-chip .fkey {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  padding: 1.5px 6px; border-radius: 5px;
  background: #fff; border: 1px solid var(--rule-2);
  box-shadow: 0 1.5px 0 var(--rule-2);
  color: var(--ink); line-height: 1.4;
}
.enh-out {
  margin: 0; white-space: pre-wrap; min-height: 216px;
  font-size: 17px; line-height: 1.7; color: var(--ink);
}
.enh-out.code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--blue-ink);
}
.enh-meta {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 14px;
}
.enh-meta > div { min-width: 0; }
.enh-meta .k {
  font-size: 9.5px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.enh-meta .v {
  font-size: 12.5px; color: var(--blue-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.enh-meta .v.accent { color: var(--green-ink); font-weight: 600; }
.enh-byok {
  margin: 18px 0 0; text-align: center;
  font-size: 11.5px; color: var(--muted-2);
}
.enh-features {
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.enh-feature .k {
  font-size: 10.5px; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 7px;
}
.enh-feature p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Mid CTA ---------- */
.mid-cta {
  background: var(--blue-50);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
}
.mid-cta .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 28px; flex-wrap: wrap;
}
.mid-cta h2 { margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 30px); }
.mid-cta p { margin: 0; color: var(--muted); font-size: 16px; }
.mid-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-blue { background: #fff; color: var(--ink); border-color: rgba(30,107,255,0.25); }
.btn-outline-blue:hover { background: var(--blue-50); }

/* ---------- Languages ---------- */
.languages { padding: 96px 0; }
.languages-head { text-align: center; margin-bottom: 44px; }
.languages-head .h2 { margin: 0 0 12px; }
.lang-rows { display: flex; flex-direction: column; gap: 14px; }
.lang-rows .marquee-track { gap: 0; }
.lang-rows .marquee-track.row-a { animation-duration: 80s; }
.lang-rows .marquee-track.row-b { animation-duration: 72s; animation-direction: reverse; }
.lang-set { display: flex; gap: 14px; padding-right: 14px; flex: 0 0 auto; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.lang-chip img {
  border-radius: 3px; display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
.lang-greeting { font-size: 15px; color: var(--ink); font-weight: 500; }
.lang-name { font-size: 10.5px; color: var(--muted-2); }

/* ---------- Voice-to-image (midnight stage) ---------- */
@keyframes vwig-sweep { from { transform: translateX(-45%); } to { transform: translateX(45%); } }
.imagegen {
  background: var(--night);
  color: var(--night-body);
  position: relative; overflow: hidden;
}
.imagegen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 460px at 20% 10%, rgba(30,107,255,0.16), transparent 65%),
    radial-gradient(700px 400px at 85% 90%, rgba(255,107,74,0.07), transparent 65%);
}
.imagegen .container {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.ig-eyebrow {
  color: #FF9B82; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.ig-prompt {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.9vw, 40px); font-weight: 600; color: #fff;
  text-align: center; max-width: 920px; min-height: 2.4em;
  margin: 22px 0 10px; line-height: 1.2; letter-spacing: -0.02em;
}
.ig-dot {
  display: inline-block; width: 11px; height: 11px; border-radius: 11px;
  margin-right: 14px; vertical-align: middle;
  position: relative; top: -2px;
  background: rgba(128,140,170,0.4);
}
.ig-dot.rec { background: var(--coral); animation: vw-rec-pulse 1.2s ease-in-out infinite; }
.ig-prompt .caret { background: #8FB6FF; height: 0.95em; display: none; }
.ig-prompt .caret.on { display: inline-block; }
.ig-status {
  font-size: 11px; color: var(--night-faint);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
}
.ig-frame {
  position: relative; max-width: 100%;
  overflow: hidden;
  transition: width 400ms ease;
  border-radius: 18px;
  border: 1px solid rgba(143,182,255,0.2);
  background: var(--night-2);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8);
}
.ig-art { position: absolute; inset: 0; display: none; }
.ig-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ig-art.active {
  display: block;
  clip-path: inset(0 100% 0 0);
  filter: blur(16px);
}
.ig-art.active.reveal {
  clip-path: inset(0 0 0 0);
  filter: blur(0px);
  transition: clip-path 950ms cubic-bezier(0.7, 0, 0.2, 1), filter 800ms ease 150ms;
}
.ig-wave {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ig-wave.off { display: none; }
.ig-sweep { position: absolute; inset: 0; overflow: hidden; display: none; }
.ig-sweep.on { display: block; }
.ig-sweep::before {
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(100deg, transparent 34%, rgba(143,182,255,0.13) 50%, transparent 66%);
  animation: vwig-sweep 1.05s linear infinite;
}
.ig-tag, .ig-note {
  /* scrim alpha raised from the design's 0.55: these labels sit over user artwork, so
     the worst case is near-white output. At 0.55 they were 3.50/3.10 over white (3.76/3.31
     measured on the checked-in iso.webp); 0.75 gives 6.67/5.65 over pure white, i.e. AA
     regardless of what the image generator returns. They only appear in the JS .revealed
     state, so axe's default snapshot sees them at opacity:0 and never tests them. */
  position: absolute; font-size: 10.5px; pointer-events: none;
  background: rgba(11,18,32,0.75);
  padding: 4px 10px; border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
}
.ig-tag {
  left: 14px; top: 12px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: opacity 400ms 250ms;
}
.ig-note {
  right: 14px; bottom: 12px;
  color: rgba(255,255,255,0.75);
  transition: opacity 400ms 350ms;
}
.ig-frame.revealed .ig-tag, .ig-frame.revealed .ig-note { opacity: 1; }
.ig-thumbs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: 18px;
}
.ig-thumb {
  position: relative; height: 40px; border-radius: 8px; overflow: hidden;
  cursor: pointer; padding: 0; flex-shrink: 0;
  background: #101A30;
  border: 1px solid rgba(143,182,255,0.2);
  opacity: 0.55;
  transition: opacity 200ms, border-color 200ms;
}
.ig-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ig-thumb.on { opacity: 1; border: 1.5px solid #FF9B82; }
.ig-thumb:focus-visible { outline: 2px solid #8FB6FF; outline-offset: 2px; opacity: 1; }
.ig-copy {
  color: var(--night-body); font-size: 16px; line-height: 1.6;
  max-width: 540px; margin: 34px 0 16px; text-align: center;
}
.ig-providers { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ig-provider-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ig-provider-chips span {
  padding: 5px 12px; border-radius: 999px; font-size: 11.5px;
  background: rgba(143,182,255,0.08);
  border: 1px solid rgba(143,182,255,0.15);
  color: #B3C6ED;
}
.ig-rates { font-size: 11px; color: var(--night-faint); }

/* ---------- Tour ---------- */
.tour-head { margin-bottom: 48px; max-width: 720px; }
.tour-grid {
  display: grid; grid-template-columns: 290px 1fr;
  gap: 36px; align-items: flex-start;
}
.tour-side { position: sticky; top: 96px; }
.tour-tabs { display: flex; flex-direction: column; gap: 4px; }
.tour-tab {
  all: unset; cursor: pointer;
  padding: 13px 18px; border-radius: 10px;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid transparent;
  transition: all 160ms;
}
.tour-tab:focus-visible { outline: 2px solid var(--blue); }
.tour-tab.on { background: #fff; border-color: var(--rule-2); }
.tour-tab .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--muted-2); min-width: 18px;
}
.tour-tab.on .num { color: var(--blue); }
.tour-tab .lab { font-size: 15px; font-weight: 500; color: var(--muted); }
.tour-tab.on .lab { font-weight: 600; color: var(--ink); }
.tour-tab .tick {
  display: none;
  margin-left: auto; width: 6px; height: 6px;
  background: var(--blue); border-radius: 6px;
}
.tour-tab.on .tick { display: block; }
.tour-info { margin-top: 24px; padding: 20px 18px 0; border-top: 1px solid var(--rule); }
.tour-info h3 { font-size: 19px; margin: 0; }
.tour-info p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tour-info .note { font-size: 10.5px; color: var(--muted-2); margin-top: 14px; }
.tour-shot-wrap { max-width: 780px; }
.tour-shot {
  border-radius: 14px; background: #0B1220;
  border: 1px solid #000;
  box-shadow: 0 40px 80px -30px rgba(15,30,70,0.3);
  overflow: hidden;
}
.tour-shot img { display: block; width: 100%; height: auto; }

/* ---------- Privacy ---------- */
.privacy {
  background: var(--night); color: #E7ECF5;
  overflow: hidden; position: relative;
}
.privacy::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(30,107,255,0.16), transparent 70%);
  pointer-events: none;
}
.privacy .container { position: relative; max-width: 880px; }
.privacy-head { text-align: center; margin-bottom: 44px; }
.privacy-eyebrow {
  display: block; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #6F9AF3; margin-bottom: 16px;
}
.privacy-head h2 { font-size: clamp(36px, 4vw, 52px); margin: 0 0 14px; color: #fff; }
.privacy-head p { color: var(--night-body); font-size: 17px; line-height: 1.6; margin: 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.privacy-cell {
  padding: 13px; border: 1px solid rgba(143,182,255,0.12);
  border-radius: 10px; background: rgba(255,255,255,0.02);
}
.privacy-cell .k {
  font-size: 10px; color: #6F9AF3;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px;
}
.privacy-cell .v { font-size: 12.5px; color: #fff; }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-2); border-top: 1px solid var(--rule); }
.pricing-head { text-align: center; margin-bottom: 28px; }
.pricing-trust {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.pricing-trust span {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.pricing-trust svg { color: var(--blue); flex-shrink: 0; }
.included {
  max-width: 1000px; margin: 0 auto 22px;
  padding: 22px 28px;
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
}
.included .k {
  font-size: 11px; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; }
.included-grid > div {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-2);
}
.included-grid svg { margin-top: 2.5px; flex-shrink: 0; }
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1000px; margin: 0 auto;
}
.tier {
  position: relative; padding: 28px; border-radius: 16px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 4px;
}
.tier.highlight {
  background: var(--night); color: #fff;
  border-color: var(--night);
  box-shadow: 0 30px 60px -30px rgba(15,30,70,0.35);
}
.tier-badge {
  position: absolute; top: -12px; right: 24px;
  /* dark ink rather than the design's white: white on --coral is 2.82, --ink is 6.65.
     Darkening --coral enough to carry white text would change the brand accent
     everywhere it is used as a dot or strike-through, so the text moves instead. */
  padding: 4px 12px; background: var(--coral); color: var(--ink);
  border-radius: 999px; font-size: 12px; font-weight: 600;
}
.tier-kicker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--blue-ink); margin-bottom: 6px;
}
.tier.highlight .tier-kicker { color: #8FB6FF; }
.tier h3 { font-size: 24px; margin: 0; }
.tier-price { display: flex; align-items: baseline; gap: 7px; margin: 16px 0 20px; }
.tier-price .amount { font-size: 46px; }
.tier-price .per { color: var(--muted); font-size: 14px; }
.tier.highlight .tier-price .per { color: var(--night-body); }
.tier .btn { justify-content: center; background: var(--ink); color: #fff; }
.tier .btn:hover { background: #000; }
.tier.highlight .btn { background: var(--blue); }
.tier.highlight .btn:hover { background: var(--blue-2); }
.tier-note { text-align: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.tier.highlight .tier-note { color: var(--night-body); }
.pricing-foot { text-align: center; margin-top: 32px; }
.pricing-foot .trial { margin: 0; font-size: 15px; color: var(--ink-2); }
.pricing-foot .small {
  margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6;
}
/* underlined, not colour-only: this link sits inside a --muted paragraph, and blue
   against --muted is 1.14 — far under the 3:1 axe/WCAG 1.4.1 wants for colour alone. */
.pricing-foot a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Free cloud tiers ---------- */
.free-cloud { background: var(--night); }
.free-cloud-head { max-width: 720px; margin-bottom: 32px; }
.free-cloud-head h2 { margin: 0 0 16px; color: #fff; }
.grad-sky {
  background: linear-gradient(90deg, #6FA0FF, #9EC1FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6FA0FF;
}
.free-cloud-head .lede { font-size: 17px; color: var(--night-body); line-height: 1.6; margin: 0; }
.free-cloud-head .sub { font-size: 15px; color: #8794AF; line-height: 1.6; margin: 14px 0 0; }
.ledger {
  max-width: 880px;
  background: rgba(143,182,255,0.05);
  border: 1px solid rgba(143,182,255,0.16);
  border-radius: 18px; overflow: hidden;
}
.ledger-row {
  display: grid; grid-template-columns: 185px 1fr 235px; gap: 26px;
  align-items: center; padding: 22px 26px;
}
.ledger-row + .ledger-row, .ledger-home + .ledger-row { border-top: 1px solid rgba(143,182,255,0.12); }
/* Local-engines block: the tinted home row plus one sub-row per engine */
.ledger-home { background: rgba(143,182,255,0.07); padding: 22px 26px 6px; }
.ledger-home .ledger-row { padding: 0; }
.ledger-sub {
  display: grid; grid-template-columns: 185px 1fr 235px; gap: 26px;
  align-items: baseline; padding: 14px 0 14px 40px;
}
.ledger-sub + .ledger-sub { border-top: 1px solid rgba(143,182,255,0.10); }
.ledger-sub:last-child { padding-bottom: 20px; }
.ledger-sub-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ledger-sub-name > span:first-child { font-size: 12.5px; font-weight: 600; color: #DCE6FA; }
.ledger-sub-tag {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #0B1220; background: #8FB6FF; border-radius: 4px; padding: 2px 6px;
}
.ledger-sub > p { margin: 0; font-size: 13.5px; color: var(--night-body); line-height: 1.55; }
.ledger-sub .sub-stat { font-size: 14px; color: #DCE6FA; white-space: nowrap; }
.ledger-name { display: flex; align-items: center; gap: 12px; }
.ledger-icon {
  width: 28px; height: 28px; border-radius: 8px; background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ledger-icon.wave { background: rgba(143,182,255,0.12); }
.ledger-name span:last-child { font-size: 13px; font-weight: 600; color: #fff; }
.ledger-row > p { margin: 0; font-size: 14px; color: var(--night-body); line-height: 1.55; }
.ledger-stat { text-align: right; }
.ledger-stat .stat {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; color: #8FB6FF; letter-spacing: -0.02em; white-space: nowrap;
}
.ledger-stat .note {
  margin-top: 3px; font-size: 10.5px; color: #8794AF;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.free-cloud-foot {
  /* alpha raised from the design's 0.65 (4.27 over --night) to 0.75 -> 5.31 */
  font-size: 11.5px; color: rgba(163,176,202,0.75);
  max-width: 880px; line-height: 1.6; margin: 20px 0 0;
}

/* ---------- FAQ ---------- */
.faq-head { margin-bottom: 48px; max-width: 720px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--rule); border-radius: 12px;
  align-self: start;
  transition: border-color 200ms;
}
.faq-item:hover { border-color: var(--rule-2); }
.faq-item[open] { border-color: rgba(30,107,255,0.35); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 24px;
  cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--blue-ink); }
.faq-item summary .ind {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--rule-2);
  color: var(--muted); font-size: 16px; font-weight: 400;
  transition: transform 200ms, background 200ms;
}
.faq-item[open] summary .ind {
  transform: rotate(45deg);
  background: var(--blue-50); border-color: transparent; color: var(--blue);
}
.faq-item .faq-a {
  margin: 0; padding: 0 24px 22px;
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
}
.faq-a a, .faq-more a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(30,107,255,0.4);
  text-underline-offset: 2px;
}
.faq-a a:hover, .faq-more a:hover { text-decoration-color: var(--blue); }
.faq-a a:focus-visible, .faq-more a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.faq-more { margin: 28px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Final CTA ---------- */
/* Deepened from the design's #1453D9 -> #2D8BFF (and the ::before glow cut 0.2 -> 0.08)
   so white text clears AA across the whole surface. Measured at the worst composite —
   the gradient's light end under the full glow, #2564CB — white is 5.58 here vs 2.62
   before. axe reports this section as `incomplete` (gradient background) and never
   flagged it; every ratio below was computed by hand. */
.final-cta {
  background: linear-gradient(135deg, #0C3CA6, #1257C6);
  color: #fff; overflow: hidden; position: relative;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 85% 40%, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; text-align: center; }
.final-cta .brandmark { display: flex; justify-content: center; margin-bottom: 26px; }
.final-cta h2 { font-size: clamp(42px, 5vw, 68px); margin: 0 0 18px; color: #fff; }
/* Text alphas raised (.88/.72/.60 -> .95/.92/.88). Very faint white cannot reach 4.5 on
   any mid-blue, so the hierarchy here comes from size and weight rather than opacity. */
.final-cta .lede {
  font-size: 18px; color: rgba(255,255,255,0.95);
  max-width: 540px; margin: 0 auto 32px;
}
.final-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta-btns .btn { padding: 16px 26px; font-size: 16px; }
/* Smoke tint, not a white tint: the design's rgba(255,255,255,.14/.22) made the button
   LIGHTER than its own section, so white label text fell to 2.27 (2.10 on hover) at the
   worst composite — a lighter fill can never win under white text. Tinting dark instead
   keeps the translucent "glass pill" read while the label rises to 7.1 / 8.4, and hover
   now deepens rather than washes out. Border raised .45 -> .70 so the control boundary
   clears the 3:1 of WCAG 1.4.11 against both its own fill (4.83) and the section (3.60);
   the fill alone is only 1.34 against the section, so the border is what identifies it. */
.btn-glass {
  background: rgba(11,18,32,0.22); color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}
.btn-glass:hover { background: rgba(11,18,32,0.34); }
.final-cta .req { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,0.92); }
.final-cta .mail-note { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.88); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 40px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-tagline {
  font-size: 13px; color: var(--muted);
  margin-top: 12px; max-width: 280px; line-height: 1.5;
}
.footer-col .k {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.footer-col nav { display: flex; flex-direction: column; gap: 8px; }
.footer-col nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.footer-col nav a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--muted); gap: 16px; flex-wrap: wrap;
}

/* ---------- Legal pages ---------- */
.legal-main { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.legal-main h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 10px; }
.legal-meta { font-size: 13px; color: var(--muted); margin: 0 0 36px; }
.legal-main h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal-main h3 { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; margin: 28px 0 10px; }
.legal-main p, .legal-main li { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal-main li { margin: 6px 0; }
/* underlined for the same reason as .pricing-foot a and .footer-lite a: these links sit
   in a real text run, and colour alone is WCAG 1.4.1. This one was the marginal case —
   --blue vs --ink-2 is 3.03, which technically clears the 3.0 that technique G183 asks
   for when the only cue is colour, but 0.03 of headroom that survives solely because of
   the 2026-08-11 blue darkening is not a floor worth standing on, and axe's
   link-in-text-block heuristic cannot see it regress. The underline IS the non-colour
   cue, so contrast between link and body text stops mattering here. (Decided
   2026-08-20; replaced a hover-only underline, which left the resting state bare.) */
.legal-main a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-main code { font-family: 'JetBrains Mono', monospace; font-size: 13px; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.legal-note {
  margin: 0 0 32px; padding: 12px 16px;
  background: var(--blue-50); border: 1px solid rgba(30,107,255,0.25); border-radius: 10px;
  font-size: 13.5px; color: var(--blue-ink); line-height: 1.6;
}
.legal-main table {
  border-collapse: collapse; margin: 16px 0; width: 100%;
  font-size: 14.5px; line-height: 1.6;
}
.legal-main th, .legal-main td {
  border: 1px solid var(--rule); padding: 8px 14px;
  text-align: left; vertical-align: top; color: var(--ink-2);
  overflow-wrap: anywhere;
}
.legal-main th { background: var(--paper-2); font-weight: 600; }
.legal-main blockquote {
  margin: 16px 0; padding: 14px 18px;
  border-left: 3px solid var(--rule-2);
  background: var(--paper-2); border-radius: 0 8px 8px 0;
}
.legal-main blockquote p, .legal-main blockquote li { font-size: 14px; }
.footer-lite {
  border-top: 1px solid var(--rule);
  padding: 28px 32px; text-align: center;
  font-size: 12.5px; color: var(--muted);
}
/* underlined for the same reason as .pricing-foot a: these links sit in a real text run
   ("© 2025–2026 DV Studio · …") whose --muted text differs from the blue by only 1.14,
   so colour alone fails WCAG 1.4.1. axe's link-in-text-block heuristic does not flag it. */
.footer-lite a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-sub, .hero-checks { max-width: 640px; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-side { position: static; }
  .tour-tabs { flex-direction: row; flex-wrap: wrap; }
  .tour-tab { padding: 9px 14px; gap: 8px; border-color: var(--rule); }
  .tour-tab .num { min-width: 0; }
  .tour-tab.on .tick { display: none; }
  .tour-shot-wrap { max-width: 100%; }
}
@media (max-width: 940px) {
  .section { padding: 90px 0; }
  .enh-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 22px; }
  .ledger-home { padding: 20px 22px 4px; }
  .ledger-home .ledger-row { padding: 0; }
  .ledger-sub { grid-template-columns: 1fr; gap: 4px; padding: 14px 0 14px 14px; }
  .ledger-stat { text-align: left; }
}
@media (max-width: 900px) {
  .orbit-stage { transform: scale(0.78); transform-origin: 50% 0; margin-bottom: -130px; }
}
@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; max-width: 460px; }
  .faq-grid { grid-template-columns: 1fr; }
  .enh-features { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container, .wide { padding: 0 20px; }
  .hero { padding: 56px 0 90px; }
  .hero-h1 { font-size: clamp(42px, 11vw, 64px); }
  .providers .container { gap: 20px; }
  .orbit-stage { transform: scale(0.52); margin-bottom: -280px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .ghost-key.right { right: -40px; }
  .hero-key-badge { right: -12px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav-links { gap: 10px; }
  .nav-links .btn-ghost { display: none; }
  .logo-type { display: none; }
}
@media (max-width: 400px) {
  .orbit-stage { transform: scale(0.42); margin-bottom: -350px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .orbit-ring, .orbit-chip, .steam, .cup-float { animation: none; }
  .rec-dot, .ig-dot.rec { animation: none; }
  .ig-sweep::before { animation: none; }
  .caret { animation: none; }
  .ig-art.active { clip-path: inset(0 0 0 0); filter: none; }
}

/* Pre-launch placeholder buttons: visibly inert, not dead links. */
.btn-soon { opacity: .55; cursor: default; pointer-events: none; }
