/* ============================================================
   SPONSTIFY — $SPONSTIFY
   Charcoal + coral only. No other hue enters this palette.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */

:root {
  --charcoal: #121215;
  --panel: #1C1C21;
  --panel-hi: #232329;
  --coral: #FF4D6D;          /* backgrounds, borders, rules, icons */
  --coral-text: #FF6E87;     /* coral used AS TEXT on dark — 6.97:1 vs 5.82:1 */
  --coral-dim: rgba(255, 77, 109, .14);
  --cream: #F4F1EC;
  --muted: #8A8A94;

  --line: rgba(244, 241, 236, .09);
  --line-soft: rgba(244, 241, 236, .05);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --font-display: "Outfit", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --sidebar-w: 240px;
  --ticker-h: 36px;
  --player-h: 76px;
  --tabbar-h: 0px;

  --ease: cubic-bezier(.2, .7, .3, 1);

  /* blank cover tiles — five muted tones, cycling. no art, ever. */
  --tone-1: #2E2A33;
  --tone-2: #3A2F31;
  --tone-3: #29303A;
  --tone-4: #383028;
  --tone-5: #322A38;
}

/* ---------- 2. RESET ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ticker-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, p, ul, ol, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--font-mono); }

/* components set their own display, so the hidden attribute needs the last word */
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--coral);
  color: var(--charcoal);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. SHARED TYPE ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 14px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  max-width: 20ch;
}

.section__lede {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 34px;
  font-size: 16px;
}

.tick {
  font-family: var(--font-mono);
  font-size: .92em;
  color: var(--coral-text);
  white-space: nowrap;
}

/* ---------- 4. BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--coral { background: var(--coral); color: var(--charcoal); }
.btn--coral:hover { background: #ff6280; }

.btn--outline { border-color: rgba(244, 241, 236, .3); color: var(--cream); }
.btn--outline:hover { border-color: var(--cream); background: rgba(244, 241, 236, .05); }

.btn--ghost { background: var(--panel-hi); color: var(--cream); }
.btn--ghost:hover { background: #2c2c34; }

.btn--link {
  padding: 12px 6px;
  color: var(--muted);
  font-weight: 600;
}
.btn--link:hover { color: var(--cream); }

.btn--block { display: flex; width: 100%; }

.btn--copy {
  background: var(--coral);
  color: var(--charcoal);
  font-weight: 700;
  padding: 10px 22px;
  font-size: 14px;
  min-height: 44px;
  min-width: 96px;
}
.btn--copy:hover { background: #ff6280; }

.btn--x {
  background: var(--cream);
  color: var(--charcoal);
  min-height: 48px;
}
.btn--x:hover { background: #fff; }

.btn--buy {
  background: transparent;
  border: 2px solid var(--coral);
  color: var(--coral-text);
  min-height: 48px;
}
.btn--buy:hover { background: var(--coral); color: var(--charcoal); }

/* ---------- 5. TICKER ---------- */

.ticker {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.ticker__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  animation: ticker-scroll 46s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  flex: none;
  padding-right: 0;
}

.ticker__item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--cream);
  padding: 0 2px;
}

.ticker__sep {
  color: var(--coral-text);
  padding: 0 14px;
  font-size: 12px;
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 6. SIDEBAR ---------- */

.sidebar {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  bottom: var(--player-h);
  z-index: 50;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

/* ---------- BRAND ---------- */
/* logo.png already carries its own rounded corners + alpha — no backing box. */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--cream);
  margin-bottom: 28px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  filter: drop-shadow(0 0 10px rgba(255, 77, 109, .3));
}

.brand__text em {
  color: var(--coral-text);
  font-style: normal;
  letter-spacing: .04em;
}

.brand--sm { font-size: 17px; margin-bottom: 0; }
.brand--sm .brand__mark { width: 28px; height: 28px; opacity: .85; }

.libnav__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px;
  margin-bottom: 10px;
}

.libnav__list { display: flex; flex-direction: column; gap: 2px; }

.libnav__link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.libnav__link:hover { color: var(--cream); background: rgba(244, 241, 236, .05); }
.libnav__link[aria-current] { color: var(--cream); background: var(--panel-hi); }

.sidebar__foot { margin-top: auto; padding-top: 24px; }

.sidebar__note {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 0 4px;
  margin-bottom: 14px;
}

.sidebar__social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.iconlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.iconlink:hover { color: var(--charcoal); background: var(--cream); border-color: var(--cream); }

.sidebar__social .btn { flex: 1; padding-inline: 12px; font-size: 13px; }

/* ---------- 7. LAYOUT ---------- */

.content {
  margin-left: var(--sidebar-w);
  padding-top: var(--ticker-h);
  /* player bar (+ mobile tab bar) must never cover the last section */
  padding-bottom: calc(var(--player-h) + var(--tabbar-h) + 32px);
}

.section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 72px 32px;
}

/* ---------- 7b. HERO MEDIA ---------- */

/* Full-bleed inside .content; the inner wrapper keeps the 1060px measure. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 32px clamp(56px, 7vw, 88px);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__video,
.hero__still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ready for the swap: adding .is-video hides the still with no other change. */
.hero__media.is-video .hero__still { display: none; }

/* The listener sits centre-right in hero.jpg, so the copy side — the left —
   is what gets darkened. Bottom vignette blends the hero into the page. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 21, 0) 62%, rgba(18, 18, 21, .92) 100%),
    linear-gradient(90deg,
      rgba(18, 18, 21, .95) 0%,
      rgba(18, 18, 21, .88) 34%,
      rgba(18, 18, 21, .58) 62%,
      rgba(18, 18, 21, .26) 100%);
}

/* ---------- 8. REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 9. BLANK COVER TILES ---------- */
/* brand law: no album art, ever. flat colour, nothing on it. */

.cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--tone-1);
  border: 1px solid var(--line-soft);
  flex: none;
}
.cover--sm { width: 46px; height: 46px; aspect-ratio: auto; border-radius: var(--radius-sm); }
.cover--lg { width: 84px; height: 84px; aspect-ratio: auto; }

.cover[data-tone="1"] { background: var(--tone-1); }
.cover[data-tone="2"] { background: var(--tone-2); }
.cover[data-tone="3"] { background: var(--tone-3); }
.cover[data-tone="4"] { background: var(--tone-4); }
.cover[data-tone="5"] { background: var(--tone-5); }

/* ---------- 10. HERO ---------- */

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7vw, 76px);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  max-width: 15ch;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: #A9A9B2;              /* lifted off --muted: this sits over imagery */
  max-width: 46ch;
  margin-bottom: 28px;
}

.ca {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.ca--stack { margin: 18px 0 14px; }

.ca__pill {
  display: inline-block;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px dashed var(--coral);
  border-radius: var(--radius-pill);
  background: var(--coral-dim);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 11. THE ONLY TRACK (anti-scam) ---------- */
/* Loudest block on the page by design. */

.onlytrack {
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px clamp(20px, 3vw, 40px) 32px;
}

.onlytrack__panel {
  background: var(--panel);
  border: 2px solid rgba(255, 77, 109, .55);
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(255, 77, 109, .14);
  padding: clamp(24px, 3.4vw, 40px);
}

.onlytrack__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 12px;
}

.onlytrack__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--cream);
  margin-bottom: 10px;
}

.onlytrack__sub {
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 58ch;
}

.onlytrack__ca {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.onlytrack__ca-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  flex: 1 0 100%;
}

/* Second-largest type on the page after the h1 — people must read it. */
.onlytrack__ca-value {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--coral-text);
  background: rgba(255, 77, 109, .08);
  border: 1px dashed rgba(255, 110, 135, .45);
  border-radius: 10px;
  padding: 16px 20px;
  user-select: all;
  -webkit-user-select: all;
  word-break: break-all;
  flex: 1 1 340px;
  min-width: 0;
}

.onlytrack__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.onlytrack__warning {
  background: rgba(255, 77, 109, .09);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 18px;
}
.onlytrack__warning strong { color: var(--coral-text); font-weight: 700; }

.onlytrack__disclaimer {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 76ch;
}

/* footer condensate */
.ftrack {
  border: 1px solid rgba(255, 77, 109, .34);
  border-radius: var(--radius);
  background: rgba(255, 77, 109, .05);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.ftrack__ca { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ftrack__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  flex: 1 0 100%;
}
.ftrack__value {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.6vw, 15px);
  color: var(--coral-text);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  flex: 1 1 260px;
}
.ftrack__links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ftrack__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cream);
}

/* ---------- 12. TRUST BAR ---------- */

.trustbar {
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 32px 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2;
}

/* ---------- 13. LIBRARY CARDS ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.card:hover { transform: translateY(-2px); background: var(--panel-hi); }

.card .cover { margin-bottom: 16px; }

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 14px;
}

.card__stat {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--coral-text);
  overflow-wrap: anywhere;
}

/* ---------- 14. WRAPPED ---------- */

.wrapped__stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}

.wrapped__track {
  display: flex;
  transition: transform .45s var(--ease);
  will-change: transform;
}

.wrapped__slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: clamp(340px, 46vh, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.wrapped__slide[data-tone="1"] { background: linear-gradient(150deg, var(--tone-1), var(--panel) 62%); }
.wrapped__slide[data-tone="2"] { background: linear-gradient(150deg, var(--tone-2), var(--panel) 62%); }
.wrapped__slide[data-tone="3"] { background: linear-gradient(150deg, var(--tone-3), var(--panel) 62%); }
.wrapped__slide[data-tone="4"] { background: linear-gradient(150deg, var(--tone-4), var(--panel) 62%); }
.wrapped__slide[data-tone="5"] { background: linear-gradient(150deg, var(--tone-5), var(--panel) 62%); }

.wrapped__slide .cover { margin-bottom: 26px; }

.wrapped__stat {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 104px);
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--coral-text);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.wrapped__label {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

.wrapped__note {
  font-size: 15px;
  color: var(--muted);
  max-width: 46ch;
}

/* reduced motion: cross-fade instantly, no sliding */
.wrapped__stage.is-reduced .wrapped__track { display: block; transform: none; transition: none; }
.wrapped__stage.is-reduced .wrapped__slide { display: none; }
.wrapped__stage.is-reduced .wrapped__slide.is-active { display: flex; }

.wrapped__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.wrapped__dots { display: flex; gap: 8px; }

.wrapped__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: var(--panel-hi);
  border: 1px solid var(--line);
  transition: background-color .2s var(--ease), width .2s var(--ease);
}
.wrapped__dot[aria-current] { background: var(--coral); border-color: var(--coral); width: 24px; border-radius: var(--radius-pill); }

.wrapped__btns { display: flex; gap: 10px; flex-wrap: wrap; }

.wrapped__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 15. TERMINAL ---------- */

.algo {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.term {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--panel-hi);
  border-bottom: 1px solid var(--line);
}

.term__dots { display: flex; gap: 6px; }
.term__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(244, 241, 236, .18);
}
.term__dots i:first-child { background: var(--coral); }

.term__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term__screen {
  margin: 0;
  padding: 20px 18px;
  background: var(--charcoal);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--cream);
  min-height: 480px;
  overflow-x: auto;
  white-space: pre;
  tab-size: 4;
}

.term__code { white-space: pre; }
.t-com { color: var(--coral-text); }

.term__cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  vertical-align: text-bottom;
  background: var(--coral);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 16. PLAYLIST ROWS ---------- */

.rows { display: flex; flex-direction: column; }

.row {
  display: grid;
  grid-template-columns: 28px 46px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.row:hover { background: var(--panel); transform: translateY(-2px); }

/* every child is placed explicitly so num + play can share one cell */
.row__num  { grid-area: 1 / 1; }
.row__play { grid-area: 1 / 1; }
.row .cover { grid-area: 1 / 2; }
.row__body { grid-area: 1 / 3; }
.row__meta { grid-area: 1 / 4; }
.row__time { grid-area: 1 / 5; }

.row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  align-self: center;
  transition: opacity .18s var(--ease);
}
.row:hover .row__num { opacity: 0; }

.row__play {
  justify-self: center;
  align-self: center;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--coral);
  opacity: 0;
  transition: opacity .18s var(--ease);
}
.row:hover .row__play { opacity: 1; }

.row__body { display: flex; flex-direction: column; min-width: 0; }

.row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.row__sub {
  font-size: 12.5px;
  color: var(--muted);
}

.row__meta, .row__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.row__time { color: var(--cream); min-width: 88px; text-align: right; }

/* ---------- 17. LISTENERS ---------- */

.profiles { display: flex; flex-direction: column; gap: 12px; }

.profile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.profile:hover { transform: translateY(-2px); background: var(--panel-hi); }

.avatar {
  width: 120px;
  height: 120px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tone-3);
  border: 2px solid rgba(255, 77, 109, .5);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar.is-empty img { display: none; }

.profile__body { min-width: 0; }

.profile__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.profile__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.profile__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--coral-text);
}

.profile__quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 18. ACQUIRE STEPS ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.step:hover { transform: translateY(-2px); background: var(--panel-hi); }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral-dim);
  border: 1px solid var(--coral);
  color: var(--coral-text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}

.step__desc { font-size: 14.5px; color: var(--muted); }

.step .ca__pill { font-size: 11.5px; padding: 9px 14px; }

/* ---------- 19. FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 800px; }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  list-style: none;
  transition: color .18s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--coral-text);
  flex: none;
}
.faq__q:hover { color: var(--coral-text); }
.faq__item[open] .faq__q::after { content: "–"; }

.faq__a {
  padding: 0 4px 22px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 20. FOOTER ---------- */

.footer {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 32px 48px;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer__links { display: flex; gap: 22px; }
.footer__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .18s var(--ease);
}
.footer__links a:hover { color: var(--coral-text); }

.footer__ca {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.footer__ca-k { color: var(--coral-text); letter-spacing: .12em; }

.footer__legal {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--muted);
  opacity: .78;
  max-width: 90ch;
}

/* ---------- 21. PLAYER BAR ---------- */

.player {
  position: fixed;
  left: var(--sidebar-w);
  right: 0;
  bottom: var(--tabbar-h);
  z-index: 70;
  height: var(--player-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.player__now { display: flex; align-items: center; gap: 12px; min-width: 0; }

.player__meta { display: flex; flex-direction: column; min-width: 0; }

.player__track {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__artist {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: min(440px, 46vw);
}

.player__controls { display: flex; align-items: center; gap: 16px; }

.pbtn {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
  transition: color .18s var(--ease);
}
.pbtn:hover { color: var(--cream); }

.pbtn--play {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 11px;
  padding: 0 0 0 2px;
}
.pbtn--play:hover { color: var(--charcoal); background: #fff; }

.player__scrub {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.player__t {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.player__bar {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(244, 241, 236, .13);
  overflow: hidden;
}

/* always 87%. it has never moved. */
.player__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 87%;
  border-radius: var(--radius-pill);
  background: var(--coral);
  overflow: hidden;
}
.player__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-100%);
  animation: shimmer 3.2s var(--ease) infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.player__right { display: flex; justify-content: flex-end; }

.player__pct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--coral-text);
}

/* ---------- 22. TAB BAR (mobile) ---------- */

.tabbar { display: none; }

/* ---------- 23. TOAST ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--player-h) + var(--tabbar-h) + 20px);
  z-index: 100;
  transform: translate(-50%, 10px);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  border: 1px solid var(--coral);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 24. RESPONSIVE ---------- */

@media (max-width: 1000px) {
  .algo { grid-template-columns: 1fr; gap: 30px; }
  .term__screen { min-height: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root {
    --sidebar-w: 0px;
    --player-h: 62px;
    --tabbar-h: 60px;
  }

  .sidebar { display: none; }

  .steps { grid-template-columns: 1fr; }

  .player { grid-template-columns: 1fr auto; gap: 12px; padding: 0 14px; }
  .player__mid { width: auto; }
  .player__scrub { display: none; }
  .player__right { display: none; }
  .player__controls { gap: 14px; }

  .tabbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 80;
    height: var(--tabbar-h);
    display: flex;
    align-items: stretch;
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .tabbar__link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 2px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .18s var(--ease);
  }
  .tabbar__link[aria-current] { color: var(--cream); }
  .tabbar__link--cta { color: var(--coral-text); font-weight: 700; }
}

/* The listener must stay in frame once the hero narrows, so the crop follows
   them right instead of left, and the scrim goes flat rather than directional. */
@media (max-width: 768px) {
  .hero__video,
  .hero__still { object-position: 62% center; }

  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(18, 18, 21, 0) 68%, rgba(18, 18, 21, .94) 100%),
      rgba(18, 18, 21, .88);
  }

  .onlytrack { padding: 20px 20px 24px; }
  .onlytrack__ca-value { flex: 1 1 100%; padding: 14px 16px; }
  .onlytrack__links .btn { flex: 1 1 100%; }
  .onlytrack__warning { font-size: 16px; padding: 14px 16px; }
}

@media (max-width: 700px) {
  .section { padding: 52px 20px; }
  .trustbar { padding: 16px 20px 4px; }
  .footer { padding: 34px 20px 40px; }

  .cards { grid-template-columns: 1fr; }

  .row { grid-template-columns: 24px 44px 1fr auto; gap: 12px; padding: 10px; }
  .row__meta { display: none; }
  .row__time { grid-area: 1 / 4; min-width: 0; font-size: 11px; }

  .profile { gap: 14px; padding: 16px; }
  .avatar { width: 88px; height: 88px; }
  .brand__mark { width: 30px; height: 30px; }

  .hero__actions { gap: 10px; }
  .btn { padding: 11px 20px; font-size: 14px; }
  .btn--link { padding: 11px 4px; }
}

@media (max-width: 420px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .wrapped__btns { width: 100%; }
  .wrapped__btns .btn { flex: 1; }
  .ca { gap: 8px; }
  .ca__pill { font-size: 11px; padding: 9px 14px; }
  .tabbar__link { font-size: 8.5px; letter-spacing: .04em; }
}

/* ---------- 25. REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .ticker__track { animation: none; }
  .player__fill::after { display: none; }
  .term__cursor { animation: none; }

  .reveal { opacity: 1; transform: none; }

  .btn:hover,
  .card:hover,
  .step:hover,
  .profile:hover,
  .row:hover { transform: none; }
}
