/* ============================================================================
   VoxCast — getvoxcast.com landing styles v2. Direction: "Cinema of the Voice".
   One instrument (the live waveform), deep dark stage, orange as light source.
   Derived from the app CI (src/ui/theme/Colors.qml).
   ========================================================================== */

:root {
  /* stage */
  --bg: #0d0d11;
  --panel: #17171d;
  --elevated: #1e1e27;
  --surface: #282833;
  --border: #30304a;
  --border-soft: rgba(48, 48, 74, .55);

  /* ink */
  --ink: #eceaf2;
  --muted: #a0a0b8;
  --dim: #8f8fa8;

  /* brand */
  --accent: #fe6501;
  --accent-2: #ff9d4d;
  --accent-ink: #190c02;

  /* app state colors — semantic only */
  --st-ready: #40c060;
  --st-listening: #ff4d6a;
  --st-transcribe: #ffa040;
  --st-enhance: #a86bff;

  /* type */
  --display: "Archivo", "Archivo Fallback", system-ui, "Segoe UI", sans-serif;
  --body: "Archivo", "Archivo Fallback", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r: 18px;
  --r-sm: 12px;

  /* weighted easing set — used consistently so motion reads as one hand */
  --ease: cubic-bezier(.19, 1, .22, 1);          /* expo-out: entrances     */
  --ease-soft: cubic-bezier(.25, 1, .5, 1);      /* quart-out: hovers       */
  --ease-inout: cubic-bezier(.65, 0, .35, 1);    /* inout: state changes    */

  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 200;

  --maxw: 1220px;
  --gut: clamp(20px, 5vw, 56px);
  --sect: clamp(110px, 8vw + 70px, 200px);
}

/* fallback metrics matched to Archivo to eliminate font-swap layout shift */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Segoe UI");
  size-adjust: 99%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip;
  scrollbar-color: #2c2c40 var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2c40; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 15.4px + .2vw, 17.5px);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
a[href], button, summary, label, select, [role="button"], .btn, .chip, .lang-menu a,
.faq summary, .tile { cursor: pointer; }
input:not([type="text"]):not([type="email"]):not([type="search"]), select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(254, 101, 1, .3); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: var(--z-overlay);
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
  border-radius: 8px; font-weight: 700;
}
.skip:focus { left: 12px; }

/* ── atmosphere: breathing ember glow + drifting film grain ─────────────── */
.bg-fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 70% -12%, rgba(254, 101, 1, .13), transparent 60%),
    radial-gradient(900px 620px at 0% 110%, rgba(254, 101, 1, .06), transparent 62%),
    radial-gradient(1400px 900px at 50% 50%, rgba(20, 20, 30, .0), rgba(5, 5, 8, .55) 100%);
}
.grain {
  position: fixed; inset: -60px; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: no-preference) {
  .bg-fx::before { animation: bg-breathe 26s var(--ease-inout) infinite alternate; will-change: transform; }
  .grain { animation: grain-shift 1.4s steps(4) infinite; }
}
@keyframes bg-breathe { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2.4%, 2%, 0) scale(1.14); } }
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-22px, 14px); }
  50% { transform: translate(14px, -20px); } 75% { transform: translate(-10px, -12px); } 100% { transform: translate(0, 0); }
}
@media (max-width: 768px) { .grain { animation: none; opacity: .04; } }

/* ── type primitives ────────────────────────────────────────────────────── */
h1, h2, h3 { text-wrap: balance; margin: 0; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.02em; }

.kbd {
  font-family: var(--mono); font-size: .8em; font-weight: 500;
  background: var(--elevated); border: 1px solid var(--border);
  border-bottom-width: 2px; border-radius: 7px; padding: .28em .55em;
  color: var(--ink); white-space: nowrap;
  transition: border-color .25s, box-shadow .25s, color .25s;
}
/* lights up when the visitor actually presses the app hotkey on the page */
.kbd-hit { border-color: var(--accent); color: var(--accent-2);
  box-shadow: 0 0 14px rgba(254, 101, 1, .45); }
.label {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.label-listen { color: var(--st-listening); }
.label-ready { color: var(--st-ready); }
.label-enhance { color: var(--st-enhance); }

/* ── section scaffolding: cinematic chapters, generous air ──────────────── */
section { padding-block: var(--sect); position: relative; }
/* chapter seam: a thin signal line that draws itself in as the chapter begins */
.seam {
  width: 1px; height: 64px; margin: 0 auto clamp(44px, 6vw, 84px);
  background: linear-gradient(180deg, transparent, var(--accent) 45%, transparent);
  opacity: .65;
}
[id] { scroll-margin-top: 92px; }
.head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.head h2, .priv-h {
  font-family: var(--display); font-stretch: 116%; font-weight: 800;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); letter-spacing: -.032em; line-height: 1.02;
}
.head p { color: var(--muted); margin: 18px 0 0; font-size: 1.1rem; max-width: 58ch; }
.head-tight { margin-bottom: 18px; }
.sect-p { color: var(--muted); max-width: 50ch; margin: 0; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 15.5px;
  padding: 14px 24px; border-radius: 13px; border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
    background .2s, border-color .2s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn-lg { padding: 17px 30px; font-size: 16.5px; border-radius: 15px; }
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -10px rgba(254, 101, 1, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
}
/* sheen sweep: a light band crosses the button once per hover — the reset is
   instant (transition: none) so every re-hover sweeps fresh instead of
   animating backwards or getting stuck at the far side */
.btn-primary::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg); pointer-events: none; transition: none;
}
.btn-primary:hover::after { left: 125%; transition: left .75s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 52px -12px rgba(254, 101, 1, .65), inset 0 1px 0 rgba(255, 255, 255, .32); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-primary[aria-disabled="true"] { filter: grayscale(.4); opacity: .55; pointer-events: none; box-shadow: none; }
.btn-ghost { background: rgba(30, 30, 39, .72); border-color: var(--border); color: var(--ink);
  backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
/* magnetic buttons: GSAP owns their transform — CSS must not tween it too */
[data-magnetic] { transition-property: box-shadow, background, border-color, filter, color; }

/* ── header: glass rail ─────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-head.scrolled { border-bottom-color: var(--border-soft); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display);
  font-stretch: 110%; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 4px 14px rgba(254, 101, 1, .4)); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.lnk { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 9px 13px; border-radius: 9px;
  transition: color .18s, background .18s; }
.nav a.lnk:hover { color: var(--ink); background: var(--elevated); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.nav .btn svg { width: 16px; height: 16px; }
/* 6 text links + download button need more room since the Server link */
@media (max-width: 1120px) { .nav a.lnk { display: none; } }

/* language switcher — compact globe pill in the header; the picker itself is
   a dialog with a tile grid, graceful at 20+ languages, big touch targets */
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: .05em;
  color: var(--muted); background: var(--elevated); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px; margin-inline: 10px 12px;
  transition: color .18s, border-color .18s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--accent); }
.lang-btn svg { width: 15px; height: 15px; }
/* language picker flags: local SVGs, 4:3, softly rounded; the hairline
   outline keeps light flags (JP, PL) from bleeding into the dark card */
.lp-flag {
  width: 24px; height: 18px; flex: none; border-radius: 4px; object-fit: cover;
  background: var(--surface);
  outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px;
}
.lang-modal { width: min(560px, calc(100vw - 28px)); }
.lang-card { display: flex; flex-direction: column; max-height: min(78svh, 640px); }
.lp-grid {
  margin-top: 16px; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px; padding-right: 6px;
  scrollbar-width: thin; scrollbar-color: #2c2c40 transparent;
}
.lp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 11px; border: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--elevated) 70%, transparent);
  font-size: 14px; color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
}
.lp-item:hover { background: var(--elevated); color: var(--ink); border-color: var(--border); }
.lp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-item svg { width: 15px; height: 15px; color: var(--st-ready); flex: none; }
.lp-item[aria-current="true"] { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.lp-item[aria-current="true"] .lp-flag {
  outline: 2px solid color-mix(in srgb, var(--accent) 75%, transparent); outline-offset: 0;
}
/* tight header: language button collapses to the globe alone, download
   button steps down — the row stays comfortable even at 320px */
@media (max-width: 420px) {
  .nav { gap: 4px; }
  .lang-btn { padding: 8px; margin-inline: 6px 7px; }
  .lang-btn span { display: none; }
  .nav .btn { padding: 8px 12px; font-size: 13px; }
  .nav .btn svg { width: 14px; height: 14px; }
  .brand { font-size: 17px; }
  .site-head .wrap { padding-inline: 16px; }
}

/* ── HERO: full-viewport cinematic center ───────────────────────────────── */
/* the whole first act (header + hero) fits exactly one viewport: every
   vertical measure inside scales with svh so nothing spills past the fold —
   on phones (dynamic browser chrome), tablets and short laptops alike. */
.hero {
  min-height: calc(100svh - 72px);
  padding-block: clamp(4px, 1.2svh, 22px) clamp(14px, 2.4svh, 26px);
  /* flex column with auto margins: the inner act centers itself, the scroll
     cue lives in flow BELOW it — it can never overlap the content, on no
     viewport (it used to be absolute and collided on short screens). */
  display: flex; flex-direction: column;
  overflow: clip;
}
.hero .hero-inner { margin-block: auto; }
/* the image wave sits at the image's vertical center; object-fit: cover with a
   centered position therefore puts it at 50% of the hero on EVERY viewport —
   the canvas draws its live wave on exactly that line (cy = 0.5) so both
   layers share one horizon. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  -webkit-mask-image: radial-gradient(130% 100% at 50% 50%, #000 38%, transparent 82%);
          mask-image: radial-gradient(130% 100% at 50% 50%, #000 38%, transparent 82%);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  /* soft vertical fade on top of the radial mask: no hard edge against the
     page background at the hero's top and bottom */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 78%, transparent 100%);
}
.hero-field {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: .8;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 50%, #000 42%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 50%, #000 42%, transparent 80%);
}
.hero-wash {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 42%, rgba(13, 13, 17, .78), transparent 72%),
    linear-gradient(180deg, transparent 76%, var(--bg));
}
.hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0;
}
/* eyebrow: no pill, no border. A mono "system line" that dictates itself —
   tiny live equalizer bars (the app's waveform, miniaturized) + typed text.
   Ghost keeps layout + a11y + no-JS; the live overlay types over it. */
.eyebrow-status {
  display: inline-flex; align-items: center; gap: 11px;
  max-width: 100%;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  text-align: left;
}
.eyebrow-status .eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 13px; flex: none;
  padding-bottom: 1px; }
.eyebrow-status .eq i { width: 2.5px; height: 100%; border-radius: 2px; background: var(--st-ready);
  transform-origin: bottom; }
/* static, varied heights = reduced-motion / no-JS resting shape */
.eyebrow-status .eq i:nth-child(1) { transform: scaleY(.34); }
.eyebrow-status .eq i:nth-child(2) { transform: scaleY(.78); }
.eyebrow-status .eq i:nth-child(3) { transform: scaleY(.52); }
.eyebrow-status .eq i:nth-child(4) { transform: scaleY(1); }
.eyebrow-status .eq i:nth-child(5) { transform: scaleY(.44); }
@media (prefers-reduced-motion: no-preference) {
  .eyebrow-status .eq i { animation: eq-idle 1.7s var(--ease-inout) infinite; }
  .eyebrow-status .eq i:nth-child(1) { animation-delay: -.30s; }
  .eyebrow-status .eq i:nth-child(2) { animation-delay: -1.05s; animation-duration: 1.45s; }
  .eyebrow-status .eq i:nth-child(3) { animation-delay: -.65s; animation-duration: 1.9s; }
  .eyebrow-status .eq i:nth-child(4) { animation-delay: -1.35s; animation-duration: 1.55s; }
  .eyebrow-status .eq i:nth-child(5) { animation-delay: -.15s; }
}
@keyframes eq-idle { 0%, 100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }
.eyebrow-status .et { position: relative; min-width: 0; }
/* two ghost variants: full sentence on desktop/tablet, a compact one on
   phones so the line NEVER wraps (JS types whichever one is visible) */
.eyebrow-status .et-ghost-s { display: none; }
.eyebrow-status .et-live { position: absolute; inset: 0; display: none; }
.eyebrow-status.is-typing .et-ghost { opacity: 0; }
.eyebrow-status.is-typing .et-live { display: block; }
/* zero-width caret: takes NO horizontal space so it can never wrap into an
   empty next line at the end of a full line — the visible bar is painted by
   the ::after just outside the flow. */
.et-caret { display: inline-block; width: 0; height: 1.05em; vertical-align: text-bottom;
  position: relative; opacity: 1; animation: caret-blink 1s steps(1) infinite; }
.et-caret::after { content: ""; position: absolute; left: 2px; top: 0; width: 2px; height: 100%;
  background: var(--accent); }
@keyframes caret-blink { 50% { opacity: 0; } }
.eyebrow-status.typed .et-caret { animation: none; opacity: 0; transition: opacity .45s var(--ease); }

/* the 2-line iron rule: full-width centered H1, short brand lines */
.hero-h1 {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(2.55rem, min(0.55rem + 9.2vw, 11svh), 9rem);
  line-height: .96; letter-spacing: -.04em;
  margin: clamp(10px, 1.8svh, 24px) 0 0; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.hero-h1 .hl { display: block; overflow: hidden; padding-block: .04em; }
.hero-h1 .hl-in { display: inline-block; will-change: transform; }
.hero-h1 .accent { color: var(--accent); }
.hero .lead {
  color: var(--muted); font-size: clamp(1rem, .95rem + .45vw, 1.28rem);
  max-width: 52ch; margin: clamp(8px, 1.8svh, 24px) 0 0;
}
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: clamp(12px, 2.4svh, 30px); }
.hero .trust {
  margin-top: clamp(8px, 1.6svh, 24px); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 8px 16px; color: var(--dim); font-size: 13.5px;
}
.hero .trust .mono { color: var(--muted); }
.hero .trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

.scroll-cue {
  position: relative; z-index: 3; margin-top: clamp(12px, 2svh, 22px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); pointer-events: none;
}
.scroll-cue svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: cue-bob 2.2s var(--ease-inout) infinite; }
}
@keyframes cue-bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }


/* ── the recreated app PANEL (hero instrument) ──────────────────────────── */
.panel-stage { display: grid; gap: clamp(8px, 1.4svh, 14px); justify-items: center; width: 100%;
  margin-top: clamp(14px, 3.5svh, 48px); }
.panel[data-state="ready"] { --st: var(--st-ready); }
.panel[data-state="listening"] { --st: var(--st-listening); }
.panel[data-state="transcribing"] { --st: var(--st-transcribe); }
.panel[data-state="enhancing"] { --st: var(--st-enhance); }
.panel {
  --st: var(--st-ready);
  width: 100%; max-width: 480px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, #1d1d26, var(--panel));
  border: 1px solid var(--border); border-radius: 17px;
  padding: 15px 17px;
  box-shadow: 0 40px 90px -28px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset,
    0 0 70px -18px color-mix(in srgb, var(--st) 55%, transparent);
  transition: box-shadow .6s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .panel { animation: vx-float 8s var(--ease-inout) infinite; }
}
@keyframes vx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.panel .status { display: inline-flex; align-items: center; gap: 9px; min-width: 124px; }
.panel .status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--st);
  box-shadow: 0 0 12px var(--st); flex: none; }
.panel .status .txt { font-family: var(--mono); font-weight: 600; font-size: 13.5px; color: var(--st);
  letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel .wave { flex: 1 1 0; min-width: 0; overflow: hidden; height: 36px; }
.vx-wave { display: block; width: 100%; height: 100%; }
.panel .ctrl { display: inline-flex; align-items: center; gap: 6px; }
.panel .mic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink); transition: .3s var(--ease);
  cursor: pointer; padding: 0; appearance: none; -webkit-appearance: none; font: inherit; }
.panel .mic:hover { border-color: var(--accent); transform: scale(1.07); }
.panel .mic:active { transform: scale(.94); }
.panel .mic svg { pointer-events: none; width: 18px; height: 18px; }
.panel[data-state="listening"] .mic { animation: micPulse 1.4s ease-in-out infinite;
  background: color-mix(in srgb, var(--st-listening) 22%, var(--surface));
  border-color: var(--st-listening); color: #fff; box-shadow: 0 0 0 5px rgba(255, 77, 106, .15); }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(255, 77, 106, .15); } 50% { box-shadow: 0 0 0 10px rgba(255, 77, 106, 0); } }
.panel .icn { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--dim); }
.panel .icn svg { width: 17px; height: 17px; }
@media (max-width: 480px) {
  .panel { padding: 12px; gap: 9px; overflow: hidden; }
  .panel .status { min-width: 0; }
  .panel .status .txt { min-width: 0; }
  .panel .ctrl { gap: 4px; }
  .panel .mic { width: 34px; height: 34px; }
  .panel .icn { width: 26px; height: 26px; }
}

.panel-caption { font-family: var(--mono); font-size: 12px; color: var(--dim); text-align: center;
  letter-spacing: .02em; }
.state-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-top: 4px; }
.state-legend span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 11.5px; color: var(--dim); }
.state-legend i { width: 7px; height: 7px; border-radius: 50%; }

/* fixed-height slot so the result card never shifts layout */
.panel-slot { position: relative; width: 100%; max-width: 480px;
  min-height: clamp(112px, 16.5svh, 172px); }
.panel-idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; transition: opacity .3s var(--ease); }
.panel-idle.hide { opacity: 0; pointer-events: none; }
.panel-out { position: absolute; inset: 0; border: 1px solid var(--border); border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px);
  overflow: hidden; opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease); text-align: left; }
.panel-out.in { opacity: 1; transform: none; pointer-events: auto; }
.po-bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-bottom: 1px solid var(--border); background: var(--elevated); }
.po-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface); }
.po-bar .po-t { margin-left: 6px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.po-body { margin: 0; padding: 15px 16px 8px; min-height: 4em; font-size: .96rem; line-height: 1.55; color: var(--ink); }
.po-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: text-bottom;
  margin-left: 1px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.po-actions { display: flex; align-items: center; gap: 14px; padding: 4px 16px 14px; }
.po-btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-family: var(--body); font-weight: 600;
  font-size: 13px; padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(168, 107, 255, .42);
  background: rgba(168, 107, 255, .12); color: var(--st-enhance); transition: background .2s, transform .2s; }
.po-btn:hover { background: rgba(168, 107, 255, .22); transform: translateY(-1px); }
.po-btn[hidden] { display: none; }
.po-btn svg { width: 15px; height: 15px; }
.po-again { cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--muted); background: none;
  border: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.po-again:hover { color: var(--ink); }
.panel-caption#panelHint { min-height: 1.3em; transition: color .2s, opacity .2s; }

/* ── how it works: three sticky stacking chapters ───────────────────────── */
.how { padding-bottom: clamp(60px, 6vw, 110px); }
/* generous gap = scroll "dwell" per card: each chapter is fully readable
   before the next one starts sliding over it */
.stack { display: grid; gap: clamp(56px, 14vh, 160px); }
.stack-card {
  position: sticky;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: min(62vh, 560px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: calc(var(--r) + 8px);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 160% at 85% -30%, rgba(254, 101, 1, .07), transparent 55%),
    linear-gradient(180deg, var(--elevated), var(--panel));
  box-shadow: 0 -18px 50px -30px rgba(0, 0, 0, .9);
  transform-origin: center top;
  will-change: transform, filter;
}
.stack-card:nth-child(1) { top: calc(92px + 0px); }
.stack-card:nth-child(2) { top: calc(92px + 16px); }
.stack-card:nth-child(3) { top: calc(92px + 32px); }
.sc-copy .n { font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.sc-copy .n::after { content: ""; height: 1px; width: 56px;
  background: linear-gradient(90deg, var(--accent), transparent); }
.sc-copy h3 { font-family: var(--display); font-stretch: 114%; font-weight: 800;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); letter-spacing: -.028em; margin: 18px 0 12px; }
.sc-copy p { color: var(--muted); margin: 0; font-size: 1.04rem; max-width: 42ch; }
.sc-copy .kbd-lg { margin-top: 20px; display: inline-block; font-size: .92em; }
.sc-visual { display: grid; place-items: center; min-height: 220px; border-radius: var(--r);
  border: 1px solid var(--border-soft); background: color-mix(in srgb, var(--bg) 72%, transparent); overflow: hidden; }
.sc-keys { display: flex; align-items: center; gap: 12px; font-size: clamp(1rem, .8rem + 1vw, 1.5rem); }
.sc-keys .kbd { padding: .5em .8em; border-radius: 10px; }
.sc-keys .plus { color: var(--dim); font-family: var(--mono); }
.sc-wave { width: 84%; height: 120px; }
.sc-v3 { padding: clamp(16px, 3vw, 32px); }
.sc-v3 .demo-target { width: 100%; }
@media (max-width: 860px) {
  .stack-card { grid-template-columns: 1fr; min-height: 0; gap: 22px; }
  .sc-visual { min-height: 150px; }
}

/* ── features: gapless bento ────────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense;
  gap: clamp(14px, 1.8vw, 20px); }
/* hover lift uses the independent `translate` property so GSAP owns `transform` */
.tile { border: 1px solid var(--border); border-radius: var(--r); padding: 30px;
  background: linear-gradient(180deg, var(--elevated), var(--panel)); position: relative; overflow: clip;
  transition: translate .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
/* cursor-tracked glow (JS feeds --mx / --my) */
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 320px at var(--mx, 50%) var(--my, 0%), rgba(254, 101, 1, .1), transparent 62%);
  transition: opacity .4s var(--ease-soft);
}
.tile:hover { translate: 0 -5px; border-color: #454564; box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .8); }
.tile:hover::before { opacity: 1; }
.tile .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(254, 101, 1, .12); border: 1px solid rgba(254, 101, 1, .22); color: var(--accent);
  transition: transform .5s var(--ease); }
.tile:hover .ic { transform: translateY(-2px) scale(1.05); }
.tile .ic svg { width: 23px; height: 23px; }
.tile .ic-listen { background: rgba(255, 77, 106, .12); border-color: rgba(255, 77, 106, .24); color: var(--st-listening); }
.tile .ic-enhance { background: rgba(168, 107, 255, .13); border-color: rgba(168, 107, 255, .24); color: var(--st-enhance); }
.tile h3 { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; margin: 0 0 8px; }
.tile p { color: var(--muted); margin: 0; font-size: .97rem; }
.tile.col-3 { grid-column: span 3; } .tile.col-2 { grid-column: span 2; } .tile.col-6 { grid-column: span 6; }
.tile.wide { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.tile.wide .ic { width: 52px; height: 52px; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .tile.col-3, .tile.col-2 { grid-column: span 1; } .tile.col-6 { grid-column: span 2; }
  .tile.wide { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; }
  .tile.col-6 { grid-column: span 1; } .tile { padding: 24px; } }

.demo-target { background: color-mix(in srgb, var(--bg) 86%, transparent); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px; font-family: var(--body); }
.demo-target .cursor-line { display: flex; align-items: center; gap: 2px; color: var(--ink); }
.demo-target .typed { color: var(--ink); }
.demo-target .caret { width: 2px; height: 1.15em; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
.demo-target .meta { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-bottom: 10px; }

/* ── split sections (meetings / files / settings) ───────────────────────── */
.fmt { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .fmt { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.chip { font-family: var(--mono); font-size: 12.5px; font-weight: 500; padding: 8px 13px; border-radius: 9px;
  background: var(--elevated); border: 1px solid var(--border); color: var(--muted);
  transition: color .2s, border-color .2s, transform .3s var(--ease-soft); }
.chip:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.chip b { color: var(--accent); font-weight: 500; }
.chips-set { margin-top: 22px; }
.fmt-h { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 22px 0 0; }
.convert-card { border: 1px solid var(--border); border-radius: var(--r); background: var(--panel); padding: 22px;
  overflow: hidden; display: grid; gap: 12px; }
.convert-row { display: flex; align-items: center; gap: 14px; }
.convert-row .file { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 11px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); border: 1px solid var(--border); }
.convert-row .file svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.convert-row .arrow { color: var(--accent); flex: none; }
.convert-row .file .nm { font-family: var(--mono); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convert-row .file .nm small { display: block; color: var(--dim); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.md-badge { color: var(--accent); border-color: rgba(254, 101, 1, .3); }

/* ── meetings ───────────────────────────────────────────────────────────── */
.meetings .fmt { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 860px) {
  .meetings .fmt { grid-template-columns: 1fr; }
  .meetings .meet-card { order: 2; }
}
.meet-card { border: 1px solid var(--border); border-radius: var(--r); background: var(--panel);
  padding: 24px; overflow: hidden; position: relative;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -30px rgba(255, 77, 106, .25); }
.meet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rec-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--st-listening);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 77, 106, .3);
  background: rgba(255, 77, 106, .08); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-listening);
  animation: recPulse 1.6s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.meet-time { font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meet-lines { display: grid; gap: 10px; }
.meet-line { display: flex; gap: 12px; align-items: baseline; margin: 0; padding: 12px 14px;
  border-radius: 11px; background: color-mix(in srgb, var(--bg) 86%, transparent);
  border: 1px solid var(--border); font-size: .95rem; }
.meet-line .ts { font-family: var(--mono); font-size: 11.5px; color: var(--dim); flex: none;
  font-variant-numeric: tabular-nums; }
.meet-sum { display: grid; gap: 5px; margin-top: 14px; padding: 14px; border-radius: 11px;
  background: rgba(168, 107, 255, .08); border: 1px solid rgba(168, 107, 255, .22); }
.meet-sum b { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--st-enhance); }
.meet-sum b svg { width: 14px; height: 14px; }
.meet-sum span { color: var(--muted); font-size: .93rem; }
.meet-legal { margin-top: 22px; padding: 12px 14px; border-left: 2px solid var(--accent);
  color: var(--dim); font-size: .86rem; max-width: 52ch; }

/* ── VoxCast Server section ─────────────────────────────────────────────── */
.sv-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 56ch; }
.sv-steps li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: .97rem; }
.sv-n { flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border); background: var(--panel);
  font-family: var(--mono); font-size: 12.5px; color: var(--accent); transform: translateY(5px); }
.sv-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.sv-mini { margin-top: 12px; color: var(--dim); font-size: .86rem; }
.sv-mini a { color: var(--accent); } .sv-mini a:hover { text-decoration: underline; }
.sv-card { border: 1px solid var(--border); border-radius: var(--r); background: var(--panel);
  overflow: hidden; position: relative; align-self: center;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -30px rgba(254, 101, 1, .22); }
.sv-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.sv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.sv-title { margin-left: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); }
.sv-body { padding: 20px 18px; display: grid; gap: 10px; }
.sv-line { margin: 0; font-family: var(--mono); font-size: 13.5px; color: var(--ink);
  overflow-wrap: anywhere; }
.sv-ok { color: var(--st-ready, #40c060); }
.sv-ok::before { content: "● "; }
.sv-dim { color: var(--dim); }
@media (max-width: 860px) {
  .server .fmt { grid-template-columns: 1fr; }
  .server .sv-card { order: 2; }
}

/* ── privacy manifesto ──────────────────────────────────────────────────── */
.privacy {
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 60%, var(--bg)), var(--bg));
  border-block: 1px solid var(--border-soft);
}
.priv-h { margin-top: 14px; font-size: clamp(2.3rem, 1.3rem + 4.4vw, 5.2rem); max-width: 16ch; }
.priv-h .g { color: var(--st-ready); text-shadow: 0 0 80px rgba(64, 192, 96, .3); }
.priv-manifesto {
  font-family: var(--display); font-stretch: 106%; font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); line-height: 1.45; letter-spacing: -.015em;
  color: var(--ink); max-width: 62ch; margin: clamp(28px, 4vw, 48px) 0 0;
}
.priv-manifesto .w { display: inline-block; }
.privacy .checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
@media (max-width: 880px) { .privacy .checks { grid-template-columns: 1fr; } }
.checks li { list-style: none; display: flex; align-items: flex-start; gap: 12px; padding: 18px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 13px; }
.checks .tick { width: 26px; height: 26px; border-radius: 7px; background: rgba(64, 192, 96, .14);
  color: var(--st-ready); display: grid; place-items: center; flex: none; }
.checks .tick svg { width: 16px; height: 16px; }
.checks b { font-weight: 600; } .checks span { color: var(--muted); font-size: .94rem; display: block; }

/* ── data-flow promise: local lane vs. key-gated enhancement lane ───────── */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 880px) { .flow-grid { grid-template-columns: 1fr; } }
.flow-card {
  position: relative; overflow: clip; border-radius: calc(var(--r) + 6px);
  border: 1px solid var(--border); background: linear-gradient(180deg, var(--elevated), var(--panel));
  display: flex; flex-direction: column;
  transition: translate .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.flow-card:hover { translate: 0 -5px; }
.flow-local { border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); }
.flow-local:hover { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85), 0 0 70px -30px rgba(254, 101, 1, .4); }
.flow-opt { border-color: color-mix(in srgb, var(--st-enhance) 28%, var(--border)); }
.flow-opt:hover { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85), 0 0 70px -30px rgba(168, 107, 255, .38); }
.fc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.fc-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--elevated)); }
.fc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02);
  transition: transform 1.2s var(--ease); }
.flow-card:hover .fc-img img { transform: scale(1.07); }
.fc-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; flex: 1; }
.fc-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 999px; margin-bottom: 16px;
}
.fc-tag svg { width: 14px; height: 14px; }
.fc-tag-local { color: var(--st-ready); border: 1px solid rgba(64, 192, 96, .35); background: rgba(64, 192, 96, .1); }
.fc-tag-opt { color: var(--st-enhance); border: 1px solid rgba(168, 107, 255, .35); background: rgba(168, 107, 255, .1); }
.fc-body h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); letter-spacing: -.024em; margin: 0 0 10px; }
.fc-body > p { color: var(--muted); margin: 0 0 18px; font-size: .99rem; }
.fc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fc-list li { display: flex; align-items: baseline; gap: 10px; font-size: .95rem; color: var(--ink); }
.fc-list svg { width: 15px; height: 15px; flex: none; align-self: center; color: var(--st-ready); }
.fc-list-opt svg { color: var(--st-enhance); }
.fc-modes { margin-top: auto; padding-top: 20px; }
.flow-note {
  display: flex; align-items: baseline; gap: 10px; max-width: 62ch;
  margin: clamp(24px, 3vw, 36px) 0 0; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: color-mix(in srgb, var(--panel) 80%, transparent);
  color: var(--muted); font-size: .93rem;
}
.flow-note svg { width: 16px; height: 16px; flex: none; align-self: center; color: var(--accent); }

/* ── audience ───────────────────────────────────────────────────────────── */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 880px) { .aud { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .aud { grid-template-columns: 1fr; } }
.aud .a { padding: 26px; border-radius: var(--r); border: 1px solid var(--border); background: var(--panel);
  transition: translate .4s var(--ease), border-color .25s; }
.aud .a:hover { translate: 0 -4px; border-color: #454564; }
.aud .a .ic { color: var(--accent); margin-bottom: 14px; } .aud .a .ic svg { width: 24px; height: 24px; }
.aud .a h3 { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.06rem; margin: 0 0 6px; letter-spacing: -.01em; }
.aud .a p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ── settings showcase ──────────────────────────────────────────────────── */
.shot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .shot { grid-template-columns: 1fr; } }
.frame { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--panel);
  box-shadow: 0 40px 90px -32px rgba(0, 0, 0, .85); margin: 0; will-change: transform; }
.frame .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--elevated); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface); }
.frame .bar .t { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.frame img { width: 100%; height: auto; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 880px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); margin-bottom: 12px;
  overflow: hidden; transition: border-color .25s, background .25s; }
.faq details[open] { border-color: #454564; background: var(--elevated); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 21px 23px; font-family: var(--display); font-stretch: 104%; font-weight: 600; font-size: 1.08rem;
  letter-spacing: -.01em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--accent);
  transition: transform .45s var(--ease); }
.faq summary .pm svg { width: 22px; height: 22px; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 23px 22px; color: var(--muted); max-width: 70ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .ans { animation: ans-in .5s var(--ease) both; }
}
@keyframes ans-in { from { opacity: 0; transform: translateY(-7px); } }

/* ── final CTA ──────────────────────────────────────────────────────────── */
.final { text-align: center; }
.final .card { border: 1px solid var(--border); border-radius: 28px; padding: clamp(44px, 7vw, 88px);
  background:
    radial-gradient(130% 150% at 50% -30%, rgba(254, 101, 1, .18), transparent 62%),
    linear-gradient(180deg, var(--elevated), var(--panel));
  position: relative; overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(254, 101, 1, .35); }
.final h2 { font-family: var(--display); font-stretch: 120%; font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.8rem); letter-spacing: -.038em; line-height: 1; }
.final p { color: var(--muted); margin: 18px auto 0; max-width: 44ch; }
.final .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.final .mini { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.final .fwave { display: block; width: 100%; max-width: 560px; height: 48px; margin: 0 auto 32px; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--border-soft); background: color-mix(in srgb, var(--panel) 72%, var(--bg));
  overflow: clip; }
/* signature: oversized ghost wordmark closing the page */
.foot-mark {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(4.5rem, 16.5vw, 16rem); line-height: .78; letter-spacing: -.045em;
  text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  color: transparent;
  background: linear-gradient(180deg, rgba(236, 234, 242, .075), rgba(236, 234, 242, .012));
  -webkit-background-clip: text; background-clip: text;
  margin-top: clamp(8px, 2vw, 28px);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: clamp(44px, 6vw, 68px); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { color: var(--muted); max-width: 34ch; margin: 14px 0 0; font-size: .92rem; }
.foot-col h3 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .94rem; transition: color .18s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--border-soft); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  justify-content: space-between; align-items: center; color: var(--dim); font-size: 12.5px; }
.foot-bottom .mono { color: var(--muted); }

/* ── legal pages (impressum / datenschutz share this stylesheet) ────────── */
.legal { max-width: 820px; padding-top: clamp(40px, 6vw, 72px); }
.legal h1 { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  letter-spacing: -.03em; margin: 0 0 8px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 36px; }
.legal h2 { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em;
  margin: 40px 0 12px; }
.legal h3 { font-weight: 700; font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); } .legal a:hover { text-decoration: underline; }
.legal .box { border: 1px solid var(--border); border-radius: 12px; background: var(--panel); padding: 22px 24px; margin: 16px 0; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--mono);
  font-size: 13px; margin-bottom: 28px; } .legal .back:hover { color: var(--accent); }
.legal .back svg { width: 16px; height: 16px; }

/* ── download / free-key modal ──────────────────────────────────────────── */
.dl-modal { width: min(440px, calc(100vw - 32px)); max-width: 100%; border: 1px solid var(--border);
  border-radius: 22px; background: linear-gradient(180deg, var(--elevated), var(--panel)); color: var(--ink);
  padding: 0; box-shadow: 0 40px 100px -30px #000; }
.dl-modal::backdrop { background: rgba(5, 5, 8, .7); backdrop-filter: blur(5px); }
.dl-card { position: relative; padding: clamp(24px, 5vw, 36px); }
.dl-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
.dl-x:hover { color: var(--ink); border-color: var(--accent); }
.dl-x svg { width: 16px; height: 16px; }
.dl-wave { display: block; width: calc(100% - 52px); height: 30px; margin-bottom: 16px; }
.dl-h { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; margin: 0; padding-right: 36px; }
.dl-sub { color: var(--muted); font-size: .95rem; margin: 8px 0 22px; }
.dl-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dl-input { width: 100%; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--border); background: var(--bg);
  color: var(--ink); font-size: 15px; font-family: var(--body); }
.dl-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254, 101, 1, .18); }
.dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dl-err { color: var(--st-listening); font-size: .9rem; margin: 10px 0 0; min-height: 1.1em; }
.dl-go { width: 100%; justify-content: center; margin-top: 16px; }
.dl-go[disabled] { opacity: .45; filter: grayscale(.45); box-shadow: none; cursor: not-allowed; transform: none; }
.dl-go[disabled]:hover { transform: none; box-shadow: none; }
.dl-consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; cursor: pointer;
  color: var(--muted); font-size: .82rem; line-height: 1.5; }
.dl-consent a { color: var(--accent); }
.dl-check { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0;
  border-radius: 5px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; position: relative;
  transition: background .18s, border-color .18s; }
.dl-check:hover { border-color: var(--accent); }
.dl-check:checked { background: var(--accent); border-color: var(--accent); }
.dl-check:checked::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px;
  border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dl-check:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dl-reissued { gap: 9px; align-items: flex-start; margin: 0 0 14px; padding: 11px 13px;
  border-radius: 11px; border: 1px solid color-mix(in oklab, var(--st-transcribe) 45%, transparent);
  background: color-mix(in oklab, var(--st-transcribe) 12%, transparent);
  color: var(--ink); font-size: .88rem; line-height: 1.45; text-align: left; }
/* display only when shown — otherwise the [hidden] attribute must win */
.dl-reissued:not([hidden]) { display: flex; }
.dl-reissued::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--st-transcribe); color: var(--bg); font-family: var(--mono); font-weight: 700; font-size: 12px;
  display: grid; place-items: center; }
.dl-key-title { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--st-ready); margin: 0 0 10px; }
.dl-key { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px dashed var(--accent);
  border-radius: 12px; padding: 14px 16px; }
.dl-key code { font-family: var(--mono); font-size: clamp(1rem, .9rem + 1vw, 1.3rem); font-weight: 600; color: var(--accent);
  letter-spacing: .02em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dl-copy { font-family: var(--mono); font-size: 12px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); cursor: pointer; flex: none; }
.dl-copy:hover { border-color: var(--accent); }
.dl-hint { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
.dl-download { display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 20px 0 0; padding: 14px 20px; border-radius: 12px; border: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .12s ease; }
.dl-download:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dl-download:active { transform: translateY(0); }
.dl-download:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dl-download svg { flex: none; }
.dl-os-note { color: var(--muted); font-size: .82rem; text-align: center; margin: 10px 0 0; }
.dl-manual:hover { color: var(--accent); }

/* Fallback beneath the primary (web) installer: offline/managed setups.
   Always underlined so it reads as a link, not as a caption. */
.dl-full-note { text-align: center; margin: 10px 0 0; }
.dl-full-note a {
  color: var(--muted); font-size: .78rem; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.dl-full-note a:hover,
.dl-full-note a:focus-visible { color: var(--ink); border-bottom-color: var(--accent); }
.dl-full-note a[hidden] { display: none; }

/* ── changelog modal: the download modal's construction, sized for reading ── */
.cl-modal { width: min(720px, calc(100vw - 28px)); }
.cl-card { display: flex; flex-direction: column; max-height: min(82svh, 780px); }
.cl-scroll {
  overflow-y: auto; margin-top: 6px; padding-right: 10px;
  display: grid; gap: clamp(20px, 3vw, 30px);
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #2c2c40 transparent;
}
.cl-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.cl-rel { border-top: 1px solid var(--border-soft); padding-top: 18px; }
.cl-rel:first-child { border-top: 0; padding-top: 2px; }
.cl-rel-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cl-ver { font-family: var(--mono); font-weight: 600; color: var(--accent); font-size: 1.08rem; }
.cl-date { font-family: var(--mono); font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.cl-current {
  margin-left: auto; font-family: var(--mono); font-weight: 600; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--st-ready);
  border: 1px solid rgba(64, 192, 96, .35); background: rgba(64, 192, 96, .1);
  padding: 4px 10px; border-radius: 999px;
}
.cl-group { margin-bottom: 14px; }
.cl-group:last-child { margin-bottom: 0; }
.cl-group h4 {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 500;
}
.cl-group h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.cl-g-new h4::before { background: var(--accent); }
.cl-g-improved h4::before { background: var(--st-ready); }
.cl-g-fixed h4::before { background: var(--st-transcribe); }
.cl-group ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.cl-group li { color: var(--ink); font-size: .96rem; line-height: 1.5; }
.cl-group li::marker { color: var(--dim); }
@media (max-width: 560px) {
  .cl-card { max-height: 88svh; }
  .cl-group li { font-size: .92rem; }
}

/* ── hero fold-fit tiers (LAST in file: they must win the cascade) ──────────
   phones: drop the desktop-only extras so the whole act fits one screen
   (the hotkey trust line targets keyboard users; the legend repeats what the
   playable panel demonstrates anyway) */
@media (max-width: 599px) {
  .hero .trust { display: none; }
  .state-legend { display: none; }
  .eyebrow-status { font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  .eyebrow-status .et-ghost-l { display: none; }
  .eyebrow-status .et-ghost-s { display: inline; }
  /* denser result card: more room for the full text + the enhance button
     (the slot floor is raised by JS to fit the longest demo text exactly) */
  .po-bar { padding: 7px 11px; }
  .po-body { min-height: 2.6em; padding: 10px 12px 4px; font-size: .9rem; line-height: 1.45; }
  .po-actions { padding: 2px 12px 10px; gap: 10px; }
  .po-btn { font-size: 12px; padding: 6px 11px; }
  /* file -> markdown demo: stack vertically so neither box gets cut off */
  .convert-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .convert-row .arrow { align-self: center; line-height: 0; }
  .convert-row .arrow svg { transform: rotate(90deg); }
  .convert-row .file .nm { white-space: normal; overflow: visible; }
  .convert-row .file .nm small { overflow: visible; white-space: normal; }
}
/* narrow phones: the mono face is wide — step the eyebrow down so even the
   longest short variant (DE, 32 chars) stays on one line at 320px */
@media (max-width: 479px) {
  .eyebrow-status { font-size: 10px; letter-spacing: .05em; gap: 9px; }
}
/* very short phones (or phones with heavy browser chrome): tighten further —
   the secondary CTA duplicates the scroll cue's job there */
@media (max-width: 599px) and (max-height: 799px) {
  .hero .btn-ghost { display: none; }
  .hero-h1 { font-size: clamp(2.25rem, min(0.55rem + 9.2vw, 11svh), 9rem); }
  .hero .lead { font-size: .97rem; max-width: 40ch; }
  .panel-slot { min-height: 104px; }
  .po-body { min-height: 2.8em; }
}
/* desktop: the LIVE voice field leads the scene, the photo recedes to a
   faint backdrop (mobile/tablet have no canvas and keep the stronger image) */
@media (min-width: 1024px) {
  .hero-bg { opacity: .32; }
  .hero-field { opacity: 1; }
}

/* short desktops / landscape tablets: same act, denser staging */
@media (min-width: 941px) and (max-height: 830px) {
  .hero-h1 { font-size: clamp(2.4rem, min(0.55rem + 9.2vw, 9svh), 9rem); }
  .state-legend { display: none; }
  .panel-slot { min-height: 112px; }
  .hero .lead { max-width: 46rem; font-size: 1.02rem; }
  .hero { padding-bottom: clamp(12px, 1.8svh, 22px); }
  .panel-stage { margin-top: 3svh; }
  .hero .trust { margin-top: 1svh; font-size: 12.5px; }
}

/* ── reduced motion: honor it everywhere ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .scroll-cue, .grain { display: none; }
  .stack-card { position: static; }
  .hero-field { opacity: .35; }
}
