/* ═══════════════════════════════════════════════════════════
   RETRA — Showcase site
   Minimal professional / Swiss · light theme
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #64748b;
  --muted-dim: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --green: #059669;
  --cyan: #0891b2;
  --accent: #059669;
  --track-mic: #0891b2;
  --track-game: #059669;
  --track-desk: #d97706;
  --track-voice: #7c3aed;
  --track-music: #db2777;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px -6px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 48px -16px rgba(15, 23, 42, 0.16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --grad-v: linear-gradient(180deg, #0891b2, #059669);
  --grad-h: linear-gradient(90deg, #059669, #0891b2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1080px, 90%); margin: 0 auto; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  padding: 0.8rem 1.5rem;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.85rem; border-radius: 8px; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 148px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.3rem;
  color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--primary); }

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34em;
  margin-bottom: 2rem;
}
.lead strong { color: var(--text); font-weight: 600; }
.lead em { font-style: normal; color: var(--primary); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}
.stat-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.01em;
}
.stat-label { font-size: 0.82rem; color: var(--muted); }

/* Hero app screenshot */
.hero-shot {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.hs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.hs-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.hs-body img { width: 100%; display: block; }
.hs-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.hs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.28rem 0.7rem;
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
  flex-shrink: 0;
}
.dot-mic { background: var(--track-mic); }
.dot-game { background: var(--track-game); }
.dot-desk { background: var(--track-desk); }
.dot-disc { background: var(--track-voice); }
.dot-music { background: var(--track-music); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.4rem; }
.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.section-sub { color: var(--muted); font-size: 1.04rem; }

/* ── Cards / Bento ───────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--bg-soft);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.card-icon svg { width: 22px; height: 22px; }
.icon-accent, .icon-secondary { background: var(--bg-soft); color: var(--text-2); border-color: var(--border); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 0.94rem; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.bento-lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento-lg p { max-width: 40em; }

.card-tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
}

/* Replay buffer visual */
.replay-buffer {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 48px;
  position: relative;
  padding: 0 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  overflow: hidden;
}
.buf-bar {
  flex: 1;
  background: var(--grad-v);
  border-radius: 1px;
  height: var(--h);
  opacity: 0.8;
}
.buf-cut {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 24%;
  width: 3px;
  background: var(--accent);
}
.buf-label {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.08rem 0.35rem;
}

/* ── Split sections ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.split-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.5rem; }

.check-list { list-style: none; margin-bottom: 1.8rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #ecfdf5;
  color: var(--green);
  border: 1px solid #a7f3d0;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Replay card visual */
.replay-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.replay-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.replay-time { margin-left: auto; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.replay-frame { padding: 1.1rem; }
.replay-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f7, #f8fafc);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.replay-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--shadow-md);
}
.replay-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translateX(2px);
}
.thumb-sun, .thumb-grid { display: none; }
.thumb-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.22rem 0.55rem;
}

/* Replay duration picker */
.replay-duration {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1.1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.rd-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.rd-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.rd-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.34rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.rd-pill:hover { border-color: var(--primary); color: var(--primary); }
.rd-pill.rd-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.replay-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.replay-size { margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }

/* ── Screenshot frames ───────────────────────────────────── */
.shot {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.shot-splash { width: min(340px, 100%); }
.shot-caption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.shot-frame { display: flex; flex-direction: column; gap: 0.6rem; }
.shot-frame img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.shot-frame figcaption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.shot-large { max-width: 560px; margin: 0 auto; }

/* ── Mixer shots gallery ─────────────────────────────────── */
.mixer-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

/* ── Boot (splash) section ───────────────────────────────── */
.boot { padding-bottom: 40px; }
.boot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.boot-shot { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.boot-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.boot-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }

/* ── Quality panel ───────────────────────────────────────── */
.quality-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.qp-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.qp-preset {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.25rem 1.2rem;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  font-family: var(--font-body);
  text-align: left;
}
.qp-preset:last-child { border-right: none; }
.qp-preset::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.22s var(--ease);
}
.qp-preset:hover { background: var(--bg-soft); color: var(--text); }
.qp-preset[aria-selected="true"] { background: var(--primary-soft); color: var(--primary); }
.qp-preset[aria-selected="true"]::after { transform: scaleX(1); }
.qp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  margin-bottom: 0.3rem;
}
.qp-dot-custom { background: var(--accent); }
.qp-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.qp-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.qp-body { padding: 1.6rem; }
.qp-readout { margin-bottom: 1.6rem; }
.qp-read-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.qp-cell {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.qp-cell-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.qp-cell-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
}
.qp-unit { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

.qp-meter {
  height: 6px;
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
}
.qp-meter-fill {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 6px;
  background: var(--grad-h);
  transition: width 0.35s var(--ease);
}

.qp-controls {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.3rem;
}
.qp-control { display: flex; flex-direction: column; gap: 0.5rem; }
.qp-control-row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.7rem; }
.qc-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.qc-val { color: var(--primary); font-family: var(--font-mono); font-size: 0.85rem; }

.qc-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

input[type="range"]#qcRange {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary) var(--val, 30%), var(--border) var(--val, 30%));
  cursor: pointer;
}
input[type="range"]#qcRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
input[type="range"]#qcRange::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.qp-controls.disabled { opacity: 0.5; pointer-events: none; }

.segmented {
  display: inline-flex;
  gap: 0.3rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.3rem;
  flex-wrap: wrap;
}
.seg-btn {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.seg-btn:hover { color: var(--primary); }
.seg-btn.seg-active {
  background: var(--primary);
  color: #fff;
}

/* ── Settings list ───────────────────────────────────────── */
.settings-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.set-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.set-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.set-ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.set-ic svg { width: 20px; height: 20px; }
.set-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.set-item p { color: var(--muted); font-size: 0.86rem; }

/* ── Hotkeys ─────────────────────────────────────────────── */
.hotkey-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.hk-wide { grid-column: span 2; }
.hk-grid .hotkey-card { padding: 1.3rem; }
.hk-keys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.hk-keys kbd {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  box-shadow: var(--shadow-sm);
}
.hk-plus { color: var(--muted-dim); font-family: var(--font-mono); font-size: 0.72rem; }
.hotkey-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.hotkey-card p { font-size: 0.84rem; color: var(--muted); }

/* ── Specs ───────────────────────────────────────────────── */
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.spec-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--bg-soft);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.spec-icon svg { width: 20px; height: 20px; }
.spec-value {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.spec-card p:not(.spec-value) { color: var(--muted); font-size: 0.88rem; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-bottom: 2.2rem;
}
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card .btn { margin-top: auto; }
.price-top { margin-bottom: 1.3rem; }
.price-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.price-amount {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price-cur { font-size: 1.3rem; vertical-align: top; margin-right: 2px; color: var(--muted); }
.price-cents { font-size: 1.5rem; color: var(--text); }
.price-period { font-size: 0.84rem; color: var(--muted); margin-top: 0.5rem; }

.price-list { list-style: none; margin-bottom: 1.8rem; }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.price-featured {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: var(--shadow-md);
}
.price-featured:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-featured .price-name { color: var(--primary); }
.price-featured .price-amount { color: var(--text); }

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pricing-note {
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta-card {
  position: relative;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--primary-soft);
  padding: 4rem 2rem;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  left: 50%;
  top: -70%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 65%);
  pointer-events: none;
}
.cta-card h2 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-sub {
  position: relative;
  color: var(--text-2);
  max-width: 40em;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}
.cta-card .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-note {
  position: relative;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; background: var(--bg-soft); }
.footer-inner { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; max-width: 30em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--primary); }
.footer-note { color: var(--muted-dim); font-size: 0.78rem; }

/* ── Privacy page ────────────────────────────────────────── */
.privacy { padding: 128px 0 96px; }
.privacy .container { max-width: 760px; }
.privacy h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.privacy .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.4rem; }
.privacy article { color: var(--text-2); font-size: 0.96rem; }
.privacy h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.6rem 0 0.9rem;
  letter-spacing: -0.01em;
}
.privacy h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 1.6rem 0 0.5rem; }
.privacy p { margin-bottom: 1rem; }
.privacy ul { list-style: none; margin: 0 0 1rem; }
.privacy ul li { padding-left: 1.3rem; position: relative; margin-bottom: 0.5rem; }
.privacy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary);
}
.privacy a { color: var(--primary); font-weight: 500; }
.privacy .callout {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin: 1.4rem 0;
  color: var(--text-2);
  font-size: 0.92rem;
}
.privacy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.4rem;
}
.privacy th, .privacy td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  vertical-align: top;
}
.privacy th { background: var(--bg-soft); font-weight: 600; color: var(--text); }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 130%);
  width: min(620px, 92%);
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.4rem;
  transition: transform 0.45s var(--ease);
}
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; }
.cookie-copy strong { font-size: 0.98rem; font-weight: 600; color: var(--text); }
.cookie-copy p { color: var(--muted); font-size: 0.88rem; margin-top: 0.3rem; }
.cookie-copy a { color: var(--primary); font-weight: 500; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

@media (min-width: 520px) {
  .cookie-inner { flex-direction: row; align-items: center; }
  .cookie-copy { flex: 1; }
}

/* ── Reveal animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner, .split, .boot-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding-top: 126px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-featured { order: -1; grid-column: span 2; }
  .hk-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 5%;
    gap: 1.1rem;
    box-shadow: var(--shadow-md);
  }
  .bento, .specs-grid, .pricing-grid { grid-template-columns: 1fr; }
  .bento-lg, .price-featured { grid-column: span 1; }
  .qp-presets { grid-template-columns: repeat(2, 1fr); }
  .qp-preset:nth-child(2) { border-right: none; }
  .qp-read-grid { grid-template-columns: repeat(2, 1fr); }
  .mixer-shots { grid-template-columns: 1fr; }
  .hk-grid { grid-template-columns: 1fr; }
  .hk-wide { grid-column: span 1; }
  .shot-large { max-width: 100%; }
  .hero { padding-top: 112px; }
  .hero-stats { gap: 1.2rem; }
  .split { gap: 2.5rem; }
  .section { padding: 72px 0; }
  .footer-inner { align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}