/* =========================================================
   ONDIS — design tokens
   Palette: midnight base + cyan→violet→magenta duotone neon
   ========================================================= */
:root {
  --bg-0: #06070d;
  --bg-1: #0a0c16;
  --bg-2: #0e1120;

  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);

  --cyan: #00e5d4;
  --violet: #8a5bff;
  --magenta: #ff3d81;
  --amber: #ffb84d;

  --text: #eaf0ff;
  --text-mute: #8d96b3;
  --text-dim: #5b6486;

  --neon-grad: linear-gradient(115deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  --glow-cyan: 0 0 28px rgba(0, 229, 212, 0.35);
  --glow-violet: 0 0 34px rgba(138, 91, 255, 0.32);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --maxw: 1180px;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  /* Reserves scrollbar space permanently so revealing content (e.g. the file
     panel appearing on upload) never triggers a sudden scrollbar-induced
     reflow that shifts full-width elements like the sliders. */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--f-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Ambient aurora background */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(138, 91, 255, 0.22), transparent 60%),
    radial-gradient(55% 45% at 8% 8%, rgba(0, 229, 212, 0.16), transparent 55%),
    radial-gradient(70% 60% at 50% 110%, rgba(255, 61, 129, 0.14), transparent 60%),
    var(--bg-0);
  animation: aurora-drift 26s ease-in-out infinite;
}
@keyframes aurora-drift {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(8deg) brightness(1.04); }
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
}

/* =========================================================
   Buttons & shared
   ========================================================= */
.btn {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 0.78rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.2s;
  color: var(--text);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--neon-grad);
  color: #05060c;
  box-shadow: var(--glow-violet);
}
.btn-primary:not(:disabled):hover { box-shadow: 0 0 44px rgba(138,91,255,0.5); transform: translateY(-1px); }

.btn-ghost {
  background: var(--glass);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:not(:disabled):hover { background: var(--glass-strong); border-color: rgba(0,229,212,0.4); }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.eyebrow {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.grad-text {
  background: var(--neon-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: var(--maxw); margin: 0 auto 2.4rem; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 2.4rem);
  background: rgba(6, 7, 13, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; flex-direction: column; gap: 0.05rem; }
.brand-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--neon-grad);
  box-shadow: var(--glow-cyan);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 5px 4px;
  border-left: 2px solid rgba(5,6,12,0.85);
  border-right: 2px solid rgba(5,6,12,0.85);
}
.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.12rem;
}
.brand-name span { color: var(--cyan); }
.brand-sub {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  margin-left: calc(22px + 0.6rem);
  transition: color 0.2s;
}
.brand-sub:hover, .brand-sub:focus-visible { color: var(--cyan); }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: var(--text-mute);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 4vw, 2rem) clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-mute);
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-trust {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; color: var(--text-dim);
}
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: var(--glow-cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(138,91,255,0.12), transparent 70%);
}
.hero-visual canvas { width: 100%; height: 100%; display: block; }
.hero-visual-frame {
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0,229,212,0.06);
}

/* =========================================================
   Console
   ========================================================= */
.console-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 4vw, 2rem);
}
.console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
  overflow: hidden;
}
.console-col {
  min-width: 0; /* allow this column to shrink below its content's natural width — */
  background: linear-gradient(180deg, rgba(12,14,26,0.7), rgba(8,9,18,0.7));
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.console-col--player { background: linear-gradient(180deg, rgba(14,17,32,0.8), rgba(9,11,21,0.8)); }

.panel-label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.55rem;
}
.panel-label span {
  color: #05060c;
  background: var(--cyan);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-weight: 700;
}
.panel-label em { color: var(--text-dim); font-style: normal; text-transform: none; letter-spacing: 0; }
.panel-label--mt { margin-top: 1.7rem; }
.panel-label--split { justify-content: space-between; margin-bottom: 1.2rem; }

/* Tier toggle (Free / Pro demo switch) */
.tier-toggle { display: flex; gap: 0.3rem; background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 99px; padding: 0.2rem; }
.tier-btn {
  border: none; background: transparent; color: var(--text-dim);
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 99px; cursor: pointer; transition: all 0.2s;
}
.tier-btn.is-active { background: var(--neon-grad); color: #05060c; font-weight: 700; }
.tier-btn:not(.is-active):hover { color: var(--text); }

/* Dropzone */
.dropzone {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  padding: 1.8rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  background: rgba(255,255,255,0.015);
}
.dropzone:hover, .dropzone:focus-visible { border-color: rgba(0,229,212,0.55); background: rgba(0,229,212,0.04); outline: none; }
.dropzone.is-drag { border-color: var(--cyan); background: rgba(0,229,212,0.08); transform: scale(1.01); }
.dropzone-icon { color: var(--cyan); margin-bottom: 0.6rem; }
.dropzone-title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.dropzone-hint { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.25rem; }

.file-meta { margin-top: 1rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,0.02); }
.file-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.file-name { min-width: 0; font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta-row .link-btn { flex-shrink: 0; }
.file-stats { font-size: 0.74rem; color: var(--text-dim); margin-top: 0.3rem; }
.link-btn { background: none; border: none; color: var(--magenta); cursor: pointer; font-size: 0.8rem; font-weight: 600; }

/* Reference */
.ref-btn {
  width: 100%;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02); color: var(--text);
  cursor: pointer; font-size: 0.88rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.ref-btn:hover { border-color: rgba(138,91,255,0.5); background: rgba(138,91,255,0.05); }
.ref-btn svg { color: var(--violet); flex-shrink: 0; }
.btn-match {
  margin-top: 0.6rem; width: 100%;
  background: rgba(138,91,255,0.12);
  border: 1px solid rgba(138,91,255,0.35);
  color: var(--text); font-size: 0.86rem; padding: 0.6rem;
}
.btn-match:not(:disabled):hover { background: rgba(138,91,255,0.2); }

/* Reference match controls */
.match-strength-row { margin-top: 0.9rem; }
.match-strength-row .control-head { margin-bottom: 0.35rem; }
.match-curve {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.25rem;
  margin-top: 0.7rem;
  padding: 0.6rem 0.4rem;
  border: 1px solid rgba(138,91,255,0.3);
  border-radius: var(--r-sm);
  background: rgba(138,91,255,0.06);
}
.match-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 0.15rem;
  font-size: 0.68rem;
  color: var(--cyan);
  font-weight: 700;
}
.match-band em {
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 400;
}
.match-reset { display: block; margin-top: 0.55rem; padding: 0; }

/* Inline checkbox toggle (e.g. bass-mono) nested inside a slider control */
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.76rem;
  color: var(--text-mute);
  cursor: pointer;
  line-height: 1.4;
}
.toggle-row input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--cyan);
  width: 15px; height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.toggle-row em { font-style: normal; color: var(--text-dim); }
.hint-text { font-size: 0.74rem; color: var(--text-dim); margin-top: 0.5rem; }
.hint-text--tier { margin: -0.3rem 0 1.1rem; padding: 0.6rem 0.7rem; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: rgba(255,255,255,0.02); }

/* Presets */
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.preset {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.12s;
  color: var(--text);
}
.preset:hover { transform: translateY(-1px); border-color: rgba(0,229,212,0.4); }
.preset.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(0,229,212,0.16), rgba(138,91,255,0.12));
  box-shadow: inset 0 0 0 1px rgba(0,229,212,0.5);
}
.preset-name { display: block; font-family: var(--f-display); font-weight: 600; font-size: 0.86rem; }
.preset-desc { display: block; font-size: 0.68rem; color: var(--text-dim); margin-top: 0.15rem; }

/* Visualizer */
.visualizer {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 7;
  min-height: 150px;
}
.visualizer canvas { width: 100%; height: 100%; display: block; }
.visualizer-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
  font-size: 0.84rem; color: var(--text-dim);
}

/* A/B */
.ab-toggle { display: flex; gap: 0.5rem; margin-top: 1rem; }
.ab-btn {
  flex: 1;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
  color: var(--text-mute);
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.ab-btn.is-active { color: #05060c; background: var(--neon-grad); border-color: transparent; font-weight: 700; }

/* Transport */
.transport { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.play-btn {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  color: var(--cyan);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.25s, transform 0.15s;
}
.play-btn:not(:disabled):hover { box-shadow: var(--glow-cyan); transform: scale(1.05); }
.play-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.scrubber { flex: 1; }
.scrubber input[type="range"] { width: 100%; }
.time-row { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-dim); margin-top: 0.3rem; }

/* Meters */
.meters { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.meter {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem;
  background: rgba(0,0,0,0.25);
  text-align: center;
}
.meter-label { display: block; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--text-dim); }
.meter-value { display: block; font-size: 1.55rem; font-weight: 700; color: var(--cyan); margin: 0.2rem 0; }
.meter-unit { display: block; font-size: 0.6rem; color: var(--text-dim); }

/* Controls */
.control { margin-bottom: 1.05rem; }

/* PRO badge, shown next to gated control labels */
.pro-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #05060c;
  background: var(--neon-grad);
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 0.35rem;
  box-shadow: 0 0 10px rgba(255, 61, 129, 0.45);
}

/* Locked control: dimmed, inert, until the user is on Pro */
.control.slider-locked {
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}
.control.slider-locked .slider { cursor: not-allowed; }
.control.slider-locked .slider::-webkit-slider-thumb { box-shadow: none; }
.control.slider-locked .slider::-moz-range-thumb { box-shadow: none; }
.control.slider-locked .pro-tag { animation: pro-pulse 2.2s ease-in-out infinite; }
@keyframes pro-pulse { 0%, 100% { box-shadow: 0 0 10px rgba(255,61,129,0.45); } 50% { box-shadow: 0 0 16px rgba(255,61,129,0.75); } }
.control-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.45rem; }
.control-head label { font-size: 0.84rem; font-weight: 500; color: var(--text); }
.control-val { font-size: 0.78rem; color: var(--cyan); }
.select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
}
.select:focus-visible { outline: 2px solid rgba(0,229,212,0.6); }

/* Slider */
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); outline: none; cursor: pointer; }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 3px solid var(--violet);
  box-shadow: 0 0 12px rgba(138,91,255,0.6); cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 3px solid var(--violet);
  box-shadow: 0 0 12px rgba(138,91,255,0.6); cursor: pointer;
}
#seek { background: linear-gradient(90deg, var(--cyan), var(--magenta)); }

/* Progress */
.progress { margin-top: 1rem; }
.progress-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0%; background: var(--neon-grad); transition: width 0.2s; }
.progress-label { font-size: 0.72rem; color: var(--text-mute); margin-top: 0.4rem; }

/* Downloads */
.downloads { margin-top: 1.1rem; padding: 1rem; border: 1px solid rgba(0,229,212,0.35); border-radius: var(--r-md); background: rgba(0,229,212,0.05); }
.downloads-title { font-family: var(--f-display); font-weight: 600; margin-bottom: 0.7rem; }
.downloads-row { display: flex; gap: 0.6rem; }
.btn-dl { flex: 1; background: var(--cyan); color: #05060c; font-size: 0.85rem; padding: 0.65rem; }
.btn-dl:hover { box-shadow: var(--glow-cyan); }
.btn-dl--alt { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line); }

.console-foot { text-align: center; color: var(--text-dim); font-size: 0.78rem; margin-top: 1.4rem; }

/* =========================================================
   Features
   ========================================================= */
.features { padding: clamp(3rem, 7vw, 5rem) 0; }
.feature-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature { padding: 1.6rem; transition: transform 0.2s, border-color 0.2s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(0,229,212,0.35); }
.feature-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, rgba(0,229,212,0.18), rgba(138,91,255,0.18));
  color: var(--cyan); margin-bottom: 1rem;
}
.feature h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.45rem; }
.feature p { font-size: 0.9rem; color: var(--text-mute); }

/* =========================================================
   How it works
   ========================================================= */
.how { padding: clamp(2rem, 5vw, 4rem) 0; }
.steps {
  max-width: var(--maxw); margin: 0 auto; list-style: none;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.step { position: relative; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.step-num { font-size: 0.8rem; color: var(--magenta); letter-spacing: 0.1em; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; margin: 0.6rem 0 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-mute); }

/* =========================================================
   Pricing
   ========================================================= */
.pricing { padding: clamp(3rem, 7vw, 5rem) 0; }
.price-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  align-items: start;
}
.price-card { padding: 1.8rem; position: relative; }
.price-card--featured { border-color: rgba(138,91,255,0.5); box-shadow: var(--glow-violet); }
.price-flag {
  position: absolute; top: -10px; right: 1.4rem;
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  background: var(--neon-grad); color: #05060c; padding: 0.2rem 0.6rem; border-radius: 99px; font-weight: 700;
}
.price-tier { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; color: var(--cyan); }
.price-amount { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; margin: 0.5rem 0 0.1rem; letter-spacing: -0.02em; }
.price-amount span { font-size: 1.3rem; color: var(--text-mute); vertical-align: super; }
.price-amount small { font-size: 0.9rem; color: var(--text-mute); font-weight: 400; }
.price-note { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1.2rem; }
.price-list { list-style: none; margin-bottom: 1.4rem; }
.price-list li { font-size: 0.88rem; color: var(--text-mute); padding: 0.4rem 0 0.4rem 1.4rem; position: relative; border-bottom: 1px solid var(--line-soft); }
.price-list li::before { content: "+"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  max-width: var(--maxw); margin: 2rem auto 0;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
}
.footer-top { margin-bottom: 2rem; }
.footer-tag { color: var(--text-mute); margin-top: 0.6rem; font-size: 0.95rem; }
.footer-story {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 0.9rem;
}
.footer-story em { color: var(--text-mute); font-style: italic; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-soft); }
.footer-head { font-family: var(--f-display); font-weight: 600; margin-bottom: 0.7rem; font-size: 0.95rem; }
.footer-text { font-size: 0.85rem; color: var(--text-dim); max-width: 42ch; }
.footer-col a { display: block; color: var(--text-mute); text-decoration: none; font-size: 0.88rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; font-size: 0.72rem; color: var(--text-dim); }
.footer-cookie-link { display: block; margin-top: 0.7rem; padding: 0; }

/* =========================================================
   Cookie consent banner
   Floats over the top of the page with a dimmed scrim behind
   it. The scrim is visual only (pointer-events: none) so the
   page underneath stays fully clickable/scrollable — this is
   a prominent prompt, not a blocking modal.
   ========================================================= */
.cookie-scrim {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(2, 3, 7, 0.6);
  pointer-events: none; /* page stays fully interactive behind the dim */
}
.cookie-banner {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 100;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 4vw, 2rem);
  background: rgba(6, 7, 13, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.45);
}
.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner-copy { flex: 1; min-width: 260px; }
.cookie-banner-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.cookie-banner-text {
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 62ch;
}
.cookie-banner-actions { display: flex; gap: 0.9rem; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 0.75rem 1.5rem; font-size: 0.92rem; }

/* =========================================================
   Responsive
   Three tiers: desktop (default, 3-col grids) → tablet
   (≤980px collapses nav/hero/console, ≤860px drops grids to
   2-col) → mobile (≤560px, everything single column).
   ========================================================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }
  .console { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .feature-grid, .steps, .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .presets { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Accessibility */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
