/* ============================================================
   MixFlow site — styles
   Dark "control surface". Colours inherited from the shipped app
   (MixFlowSession Constants.swift) as exact sRGB hex so the site
   reads as one surface with the product. See DESIGN.md.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* App surfaces (exact tokens) */
  --surface: #0f1117;
  --ghost: #181b24;
  --panel: #1a1d27;
  --cell: #22262f;
  --cell-hover: #2a2f3a;
  --border: #2e3340;
  --accent: #3b82f6;
  --accent-strong: #2563eb; /* AA-safe for white text on fills (5.17:1) */
  --accent-ink: #ffffff;

  /* Ink (AA on --surface) */
  --ink: #f4f6fb;
  --ink-2: #c3cad8;
  --ink-3: #8b94a7;
  --ink-faint: #5b6478;

  /* Waveform / energy palette */
  --bass: #dc2626;
  --mid: #22c55e;
  --breakdown: #6366f1;
  --tension: #cdd7ff;
  --key-green: #22c55e;
  --key-yellow: #eab308;
  --key-red: #ef4444;

  /* Accent glows / tints (composed in OKLCH around the app blue) */
  --accent-soft: oklch(0.62 0.19 256 / 0.14);
  --accent-glow: oklch(0.65 0.2 256 / 0.35);

  /* Type */
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Fluid scale */
  --fs-hero: clamp(2.75rem, 1.6rem + 5vw, 5.25rem);
  --fs-h2: clamp(1.7rem, 1.1rem + 2.4vw, 2.75rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.55vw, 1.38rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.45vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Layout */
  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --side: 196px; /* board channel sidebar width */
  --radius: 10px;
  --radius-sm: 6px;

  /* z-index scale */
  --z-cursor: 5;
  --z-nav: 50;
  --z-skip: 100;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

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

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: var(--z-skip);
  background: var(--accent); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 600;
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: var(--fs-body); line-height: 1;
  padding: 0.85rem 1.4rem; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out),
              transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
  white-space: nowrap;
}
.btn--sm { padding: 0.55rem 0.95rem; font-size: var(--fs-sm); }

.btn--primary { background: var(--accent-strong); color: var(--accent-ink); box-shadow: 0 1px 0 oklch(0.62 0.16 256 / 0.6) inset; }
.btn--primary:hover { background: #3b6fe0; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-soft); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: var(--cell); color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { background: var(--cell-hover); border-color: #3b4150; transform: translateY(-1px); }
.btn--ghost:active { transform: translateY(0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(0.18 0.02 264 / 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.nav.is-stuck { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.02em;
}
.wordmark__mark { width: 17px; height: 17px; flex: none; }
.wordmark--sm { font-size: 1rem; }

.nav__links { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.6rem); }
.nav__link { color: var(--ink-3); font-size: var(--fs-sm); font-weight: 500; transition: color 0.15s; }
.nav__link:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); position: relative; }
.hero::before {
  /* soft accent aura behind the headline, not glassmorphism, just light */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, oklch(0.4 0.13 264 / 0.28), transparent 70%);
  z-index: -1;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.hero__title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.035em; }
.hero__sub {
  font-size: var(--fs-lead); color: var(--ink-2); max-width: 48ch;
  margin-top: 1.4rem; line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }

/* The screen / board frame */
.hero__screen { width: 100%; max-width: 1000px; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; }
.screen {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.04) inset,
    0 40px 80px -40px oklch(0 0 0 / 0.8),
    0 0 90px -30px var(--accent-soft);
}
.screen__chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.85rem; background: var(--panel); border-bottom: 1px solid var(--border);
}
.screen__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4151; }
.screen__dot:nth-child(1) { background: #ec6a5e; }
.screen__dot:nth-child(2) { background: #f3be4e; }
.screen__dot:nth-child(3) { background: #61c554; }
.screen__title { margin-left: 0.5rem; font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: 0.06em; }

.hero__cap { font-size: var(--fs-sm); color: var(--ink-3); text-align: center; margin-top: 1.1rem; max-width: 52ch; margin-inline: auto; }
.hero__video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface); }

/* ============================================================
   Board — recreation of the live session view
   ============================================================ */
.board { background: var(--surface); font-size: 12px; user-select: none; }

/* ---- transport / header bar ---- */
.board__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.4rem 0.7rem; background: var(--panel); border-bottom: 1px solid var(--border);
  min-height: 40px;
}
.bbar__group { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.bbar__group--right { justify-content: flex-end; }
.bbar__div { width: 1px; height: 17px; background: var(--border); flex: none; }
.bbar__brand { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-3); }
.bbar__transport, .bbar__jump { display: inline-flex; align-items: center; gap: 3px; }
.bbar__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; flex: none; padding: 0;
  border: 0; border-radius: 4px; background: var(--cell); color: var(--ink-2);
}
.bbar__ico svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.bbar__ico.is-play { color: var(--accent); background: oklch(0.62 0.19 256 / 0.16); }
.bbar__undo { font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.12em; }
.bbar__lbl { font-size: 0.58rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.bbar__bpm { display: inline-flex; align-items: center; gap: 0.2rem; }
.bbar__step { background: none; border: 0; color: var(--ink-faint); font-size: 0.85rem; padding: 0 2px; line-height: 1; }
.bbar__num { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: 0; }

.bbar__rec {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: 0.58rem; letter-spacing: 0.08em; color: var(--ink-3);
  background: var(--cell); border: 1px solid var(--border);
  padding: 0.2rem 0.45rem; border-radius: 5px;
}
.bbar__recdot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink-faint); }
.bbar__dev {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: 0.56rem; color: var(--ink-3);
  background: var(--cell); border: 1px solid var(--border);
  padding: 0.22rem 0.45rem; border-radius: 5px;
  max-width: 140px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.bbar__devico { width: 11px; height: 11px; flex: none; fill: currentColor; }
.bbar__gain { position: relative; width: 52px; height: 4px; flex: none; border-radius: 2px;
  background: linear-gradient(90deg, var(--cell-hover) 60%, oklch(0.55 0.12 75 / 0.7)); }
.bbar__gainthumb { position: absolute; top: 50%; left: 66%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-2); transform: translate(-50%, -50%); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.bbar__clock { font-size: 0.66rem; color: var(--ink-3); flex: none; }
.bbar__acct { width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--cell-hover); border: 1px solid var(--border); }

/* ---- channels ---- */
.board__channels { position: relative; }

.chan { display: flex; border-bottom: 1px solid var(--border); }

.chan__side {
  width: var(--side); flex: none; padding: 0.45rem 0.55rem;
  background: var(--panel); border-right: 1px solid var(--border);
  display: flex; gap: 0.45rem; align-items: stretch;
}
.side__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.18rem; }
.side__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem; }
.side__artist { color: var(--ink-3); font-size: 0.62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__clear { background: none; border: 0; padding: 0; color: oklch(0.65 0.16 25 / 0.85); font-size: 0.56rem; flex: none; }
.side__track { color: var(--ink); font-weight: 600; font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__tags { display: flex; align-items: center; gap: 0.22rem; flex-wrap: wrap; margin-top: 0.05rem; }
.side__empty { color: var(--ink-faint); font-size: 0.62rem; }
.chan__side--empty .side__main { justify-content: space-between; }

/* horizontal bass bar (5 stops, quiet→loud) */
.bassbar { display: flex; gap: 2px; height: 6px; margin-top: auto; padding-top: 0.4rem; }
.bassbar span { flex: 1; border-radius: 1px; background: oklch(0.34 0.015 264); }
.bassbar span.on { background: oklch(0.55 0.17 25 / 0.85); }
.bassbar--off span { background: oklch(0.3 0.01 264); }

/* vertical volume bar (5 stops, loud top→mute bottom) */
.volbar { width: 10px; flex: none; display: flex; flex-direction: column; gap: 1px; }
.volbar span { flex: 1; border-radius: 1px; background: oklch(0.34 0.015 264); }
.volbar span.on { background: oklch(0.85 0 0 / 0.5); }
.volbar--off span { background: oklch(0.3 0.01 264); }

/* warnings row, aligned to columns */
.chan--warn { border-bottom: 1px solid var(--border); }
.chan__side--warn { width: var(--side); flex: none; background: var(--panel); border-right: 1px solid var(--border); }
.grid--warn { background: transparent; }
.grid--warn > span { display: flex; align-items: center; justify-content: center; min-height: 16px; }
.wtri { width: 11px; height: 11px; }
.wtri path { fill: none; stroke-width: 2; stroke-linejoin: round; }
.wtri rect { fill: currentColor; }
.wtri--amber { color: oklch(0.74 0.15 70); }
.wtri--amber path { stroke: currentColor; }
.wtri--red { color: var(--bass); }
.wtri--red path { stroke: currentColor; }

/* ---- grid ---- */
.grid {
  flex: 1; display: grid; grid-template-columns: repeat(9, 1fr);
  gap: 1px; background: var(--border); min-width: 0;
}
.cell { background: var(--cell); position: relative; overflow: hidden; min-height: 48px; }
.cell--ghost { background: var(--ghost); border-left: 2px dashed #3a4456; opacity: 0.5; }

.cell__tag { position: absolute; left: 5px; bottom: 4px; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.02em; z-index: 2; }
.cell__tag--green { color: oklch(0.8 0.16 150); }
.cell__tag--red { color: oklch(0.78 0.16 25); font-weight: 700; }
.cell__tag--red-dim { color: oklch(0.7 0.13 25 / 0.75); }
.cell__tag--indigo { color: oklch(0.78 0.12 280); }

/* in-cell primary-bass marker ("B") */
.cell__b {
  position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); z-index: 3;
  font-family: var(--mono); font-size: 0.5rem; font-weight: 700; line-height: 1;
  padding: 2px 3px; border-radius: 3px;
}
.cell__b--on { background: var(--bass); color: #fff; box-shadow: 0 0 0 1.2px rgba(255,255,255,0.7); }
.cell__b--off { background: rgba(0,0,0,0.5); color: oklch(0.62 0.15 25 / 0.7); }

/* waveform gradients (from the app's phrase colours) */
.wave--buildup { background:
  linear-gradient(90deg, rgba(34,80,50,0.25) 0%, rgba(34,160,80,0.4) 45%, rgba(80,200,100,0.6) 80%, rgba(180,90,70,0.7) 100%); }
.wave--drop { background:
  linear-gradient(90deg, rgba(180,40,40,0.4) 0%, rgba(220,38,38,0.85) 25%, rgba(200,50,50,0.9) 55%, rgba(220,38,38,0.8) 100%); }
.wave--drop2 { background:
  linear-gradient(90deg, rgba(220,38,38,0.8) 0%, rgba(220,38,38,0.82) 40%, rgba(190,50,50,0.7) 75%, rgba(160,50,50,0.45) 100%); }
.wave--breakdown { background:
  linear-gradient(90deg, rgba(60,62,120,0.5) 0%, rgba(99,102,241,0.62) 50%, rgba(70,72,150,0.4) 100%); }

.cell.is-bassoff { filter: saturate(0.15) brightness(0.7); }
.cell.is-bassoff::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2;
  background: repeating-linear-gradient(90deg, #5a5f6e 0 4px, transparent 4px 8px);
}

/* density bars injected by main.js */
.cell__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 1px; padding: 3px 2px; z-index: 1; }
.cell__bars .bar { flex: 1; min-width: 1px; border-radius: 1px 1px 0 0; }

/* selected empty cell (next placement) */
.cell--pick { background: var(--cell); border: 1.5px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-soft) inset; }
.cell__plus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: oklch(0.7 0.16 256 / 0.8); font-size: 1.1rem; font-weight: 300; }

/* NOW cursor */
.now {
  position: absolute; top: 0; bottom: 0; width: 2px; left: var(--side);
  background: var(--accent); z-index: var(--z-cursor); pointer-events: none;
  box-shadow: 0 0 12px var(--accent-glow);
  --range: calc(100% - var(--side));
  animation: sweep 15s linear infinite;
}
.now__head { position: absolute; top: -1px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 10px var(--accent-glow); }
@keyframes sweep {
  0%   { left: calc(var(--side) + var(--range) * 0.02); opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: calc(var(--side) + var(--range) * 0.86); opacity: 0; }
}

/* ---- recommendations panel ---- */
.board__recs { background: var(--panel); border-top: 1px solid var(--border); }
.recs__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.7rem; border-bottom: 1px solid var(--border); }
.recs__search {
  display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; max-width: 210px;
  background: var(--cell); border: 1px solid var(--border); border-radius: 5px;
  padding: 0.3rem 0.5rem; color: var(--ink-faint); font-size: 0.6rem;
}
.recs__searchico { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }
.recs__count { font-size: 0.6rem; color: var(--ink-3); white-space: nowrap; flex: none; }
.recs__filters { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.chip { font-family: var(--mono); font-size: 0.56rem; padding: 0.16rem 0.4rem; border-radius: 4px;
  background: var(--cell); border: 1px solid var(--border); color: var(--ink-3); white-space: nowrap; flex: none; }
.chip--on { background: oklch(0.42 0.1 150 / 0.3); border-color: transparent; color: oklch(0.84 0.16 150); font-weight: 600; }
.recs__import { display: inline-flex; align-items: center; gap: 3px; flex: none;
  font-family: var(--mono); font-size: 0.58rem; color: var(--accent);
  background: none; border: 1px solid var(--border); border-radius: 5px; padding: 0.24rem 0.5rem; }

.recs__body { display: flex; align-items: stretch; }
.keystrip { display: flex; flex-direction: column; gap: 1px; padding: 0.3rem 0.3rem; border-right: 1px solid var(--border); flex: none; }
.keystrip span { font-size: 0.5rem; line-height: 1.45; text-align: center; color: oklch(0.65 0 0 / 0.22); }
.keystrip span.on { color: oklch(0.82 0.16 150); }

.recs__list { list-style: none; padding: 0; flex: 1; min-width: 0; }
.rec { display: flex; align-items: center; gap: 0.5rem; padding: 0.32rem 0.7rem; border-bottom: 1px solid oklch(0.28 0.015 264 / 0.5); transition: background-color 0.15s; }
.rec:last-child { border-bottom: 0; }
.rec:hover { background: var(--accent-soft); }
.rec--faded { opacity: 0.5; filter: saturate(0.4); }
.rec__score { flex: none; width: 22px; text-align: center; font-size: 0.58rem; font-weight: 700; padding: 0.12rem 0; border-radius: 3px; }
.rec__score--hi { background: oklch(0.42 0.1 150 / 0.3); color: oklch(0.84 0.16 150); }
.rec__score--mid { background: oklch(0.5 0.11 85 / 0.3); color: var(--key-yellow); }
.rec__score--deck { background: transparent; color: var(--ink-faint); }
.rec__artist { color: var(--ink-3); font-size: 0.64rem; white-space: nowrap; flex: none; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.rec__name { color: var(--ink); font-size: 0.7rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.rec__tags { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; flex: none; }
.rec__state { flex: none; font-size: 0.54rem; padding: 0.12rem 0.35rem; border-radius: 3px; white-space: nowrap; }
.rec__state--deck { background: oklch(0.55 0.13 60 / 0.22); color: oklch(0.82 0.13 60); font-weight: 600; }
.rec__state--played { color: var(--ink-faint); }
.rec__play { flex: none; color: var(--ink-faint); font-size: 0.66rem; }

/* tags / chips (shared) */
.tag { font-size: 0.55rem; font-weight: 700; padding: 0.16rem 0.36rem; border-radius: 4px; letter-spacing: 0.02em; line-height: 1; flex: none; }
.tag--key-g { background: oklch(0.42 0.1 150 / 0.4); color: oklch(0.84 0.16 150); }
.tag--key-y { background: oklch(0.5 0.11 85 / 0.35); color: var(--key-yellow); }
.tag--energy { background: oklch(0.45 0.12 25 / 0.3); color: oklch(0.8 0.14 25); font-weight: 600; }
.tag--tension { background: oklch(0.5 0.08 200 / 0.3); color: oklch(0.82 0.1 200); font-weight: 600; }
.tag--indigo { background: oklch(0.45 0.12 275 / 0.32); color: oklch(0.83 0.11 285); font-weight: 600; }
.tag--amber { background: oklch(0.5 0.12 75 / 0.3); color: oklch(0.86 0.13 82); font-weight: 600; }
.tag--pink { background: oklch(0.5 0.16 352 / 0.3); color: oklch(0.85 0.15 352); font-weight: 600; }
.tag--green { background: oklch(0.42 0.1 150 / 0.32); color: oklch(0.84 0.16 150); font-weight: 600; }

/* ============================================================
   Content bands
   ============================================================ */
.band { padding-block: clamp(3.5rem, 9vw, 7rem); }
.band--alt { background: var(--ghost); border-block: 1px solid var(--border); }
.band__title { font-size: var(--fs-h2); font-weight: 700; }

/* what it does — airy matter-of-fact list */
.more__title { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem); }
.li { border-top: 1px solid var(--border); padding-top: 1rem; }
.li__h { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.li__b { color: var(--ink-2); margin-top: 0.45rem; line-height: 1.55; max-width: 42ch; }

/* get in — sequential steps */
.getsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); --step-gap: clamp(1.25rem, 3vw, 2rem); gap: var(--step-gap); }
.getstep { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; }
.getstep__n { font-size: 0.76rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; }
.getstep__h { font-size: var(--fs-h3); font-weight: 700; color: var(--ink); }
.getstep__b { color: var(--ink-2); font-size: var(--fs-sm); flex: 1; line-height: 1.55; }
.getstep .btn { margin-top: 0.5rem; }
/* connector chevrons: point right between steps, down when they stack */
.getstep:not(:last-child)::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  top: calc(50% - 5px); right: calc(var(--step-gap) * -0.5 - 5px);
  transform: rotate(45deg);
}

/* honest alpha note */
.note { padding-block: clamp(2.5rem, 6vw, 4rem); }
.note__inner { display: flex; align-items: center; gap: 1.1rem; max-width: 760px; margin-inline: auto; background: oklch(0.42 0.11 70 / 0.12); border: 1px solid oklch(0.5 0.1 70 / 0.3); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.note__badge { flex: none; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--key-yellow); background: oklch(0.45 0.11 75 / 0.25); padding: 0.3rem 0.6rem; border-radius: var(--radius-sm); }
.note__text { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }

/* footer */
.foot { border-top: 1px solid var(--border); padding-block: 2.5rem; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.foot__links { display: flex; gap: 1.4rem; }
.foot__links a { color: var(--ink-3); font-size: var(--fs-sm); transition: color 0.15s; }
.foot__links a:hover { color: var(--ink); }
.foot__fine { color: var(--ink-3); font-size: var(--fs-xs); letter-spacing: 0.04em; }

/* ---------- Reveal (progressive enhancement: visible by default) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .getsteps { grid-template-columns: 1fr; }
  .getstep:not(:last-child)::after {
    top: auto; right: auto;
    bottom: calc(var(--step-gap) * -0.5 - 5px); left: calc(50% - 5px);
    transform: rotate(135deg);
  }
}
@media (max-width: 600px) {
  .list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --side: 150px; }
  .board { font-size: 11px; }
  .bbar__undo, .bbar__jump, .bbar__dev, .bbar__gain { display: none; }
  .bbar__group:has(.bbar__jump) .bbar__div:nth-of-type(3) { display: none; }
  .keystrip { display: none; }
  .rec__artist, .rec__tags { display: none; }
}
@media (max-width: 460px) {
  :root { --side: 124px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .bbar__brand, .bbar__rec, .bbar__clock, .bbar__acct { display: none; }
  .recs__filters { display: none; }
  .side__tags .tag--tension { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .now { animation: none; left: calc(var(--side) + (100% - var(--side)) * 0.30); opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
