/* =====================================================================
   Soniq teaser
   One idea carries the page: the site behaves like the app. Whatever the
   widget is "playing" sets --accent, and the wallpaper, glass and lyrics
   follow it — the same album-colour behaviour Soniq has on your desktop.
   ===================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Soniq Sans";
  src: url("assets/fonts/geist-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Registered so colour changes interpolate instead of snapping. */
@property --accent   { syntax: "<color>"; inherits: true; initial-value: #e84393; }
@property --accent-2 { syntax: "<color>"; inherits: true; initial-value: #7c3aed; }
@property --spot     { syntax: "<length>"; inherits: true; initial-value: 0px; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

:root {
  /* desktop at night — cool-tinted studio chrome */
  --ink: #07080c;
  --ink-raised: #0e1017;
  --text-1: #f2f4fa;
  --text-2: #d3d8e6;
  --text-3: #9ea6ba;
  --text-4: #737c91;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.14);

  --font-display: "Bricolage", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Soniq Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-lcd: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1200px;

  /* fluid 60fps exponential ease-out motion rungs */
  --fast: 180ms;
  --default: 360ms;
  --entrance: 520ms;
  --slow: 640ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  transition: --accent 950ms var(--ease-out), --accent-2 1150ms var(--ease-out);
  color-scheme: dark;
  scrollbar-color: rgb(255 255 255 / 0.16) var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-2);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
}
img, canvas, svg { display: block; }
p, h1, h2, h3, ul { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-1);
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 6.2vw, 88px); font-weight: 650; line-height: 0.96; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 650; line-height: 1.02; letter-spacing: -0.032em; }
h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 620; line-height: 1.08; letter-spacing: -0.025em; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.22em; }
::selection { background: color-mix(in oklab, var(--accent) 45%, transparent); color: #fff; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text-1); color: var(--ink);
  font-weight: 600; text-decoration: none;
  transition: translate var(--default) var(--ease-out);
}
.skip:focus { translate: 0 76px; }

/* ------------------------------------------------------------ wallpaper */
.wallpaper {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.wallpaper__glow {
  position: absolute;
  width: 74vmax; aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.52;
  will-change: transform;
}
.wallpaper__glow--a {
  left: -18vmax; top: -30vmax;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 46%, transparent), transparent 100%);
  animation: drift-a 32s ease-in-out infinite alternate;
}
.wallpaper__glow--b {
  right: -24vmax; top: 10vmax;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent-2) 42%, transparent), transparent 100%);
  animation: drift-b 40s ease-in-out infinite alternate;
  opacity: 0.38;
}
.wallpaper__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.wallpaper__bloom {
  position: absolute;
  left: 58%; top: 38%;
  width: 68vmax; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 52%, transparent), transparent 100%);
  opacity: 0;
  scale: 0.45;
  pointer-events: none;
  will-change: transform, opacity;
}
.wallpaper__bloom.is-blooming {
  animation: ink-bloom 860ms var(--ease-expo) forwards;
}
@keyframes ink-bloom {
  0%   { opacity: 0.68; scale: 0.42; }
  100% { opacity: 0; scale: 1.55; }
}
@keyframes drift-a { to { translate: 12vmax 8vmax; scale: 1.08; } }
@keyframes drift-b { to { translate: -10vmax -6vmax; scale: 0.93; } }

/* ----------------------------------------------------- floating dock */
.dock {
  position: fixed;
  right: var(--gutter);
  top: 18px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  translate: 0 -14px;
  scale: 0.95;
  will-change: transform, opacity;
  transition:
    opacity var(--default) var(--ease-out),
    translate var(--entrance) var(--ease-expo),
    scale var(--entrance) var(--ease-expo);
}
.dock.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
.dock__perch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  margin-bottom: -4px;
  z-index: 2;
}
.pet--dock {
  width: 48px;
  height: 48px;
  filter:
    drop-shadow(0 0 1px rgb(255 255 255 / 0.35))
    drop-shadow(0 4px 10px rgb(0 0 0 / 0.55));
}
.pet-fx--dock .pet-particle {
  font-size: 12px;
}
.dock__note {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgb(10 11 16 / 0.85);
  backdrop-filter: blur(12px);
  color: var(--text-2);
  font-family: var(--font-lcd);
  font-size: 12px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out);
}
.dock__body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 7px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background:
    linear-gradient(135deg,
      color-mix(in oklab, var(--accent) 24%, rgb(16 18 26 / 0.88)),
      rgb(10 11 16 / 0.92) 70%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 18px 42px -12px rgb(0 0 0 / 0.75);
  overflow: hidden;
  pointer-events: none;
}
.dock.is-visible .dock__body {
  pointer-events: auto;
}
.dock__art {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.dock__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 128px;
}
.dock__title {
  color: var(--text-1);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock__artist {
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bars--dock {
  height: 14px;
  gap: 2px;
  margin-top: 0;
}
.bars--dock span {
  flex-basis: 2.5px;
}
.dock__controls {
  display: flex;
  align-items: center;
  gap: 2px;
}
.dock__btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
  color: var(--text-1);
  cursor: pointer;
  transition: background var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.dock__btn:hover { background: rgb(255 255 255 / 0.16); }
.dock__btn:active { scale: 0.92; }
.dock__btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dock__btn .icon-pause,
.dock__btn .icon-vol-on,
.dock__btn .icon-vol-off { fill: none; }
[data-muted="true"] .icon-vol-on,
[data-muted="false"] .icon-vol-off { display: none; }
.transport__btn--vol {
  width: 32px;
  height: 32px;
  margin-left: 2px;
  color: var(--text-3);
}
[data-muted="true"] .transport__btn--vol,
[data-muted="true"] .dock__btn[data-action="mute"] {
  color: var(--text-4);
}
.dock__progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: rgb(255 255 255 / 0.08);
  overflow: hidden;
}

/* --------------------------------------------------------------- topbar */
.topbar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 22px var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.brand--small { font-size: 17px; }
.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar__credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.025);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), background var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.topbar__credit strong {
  color: var(--text-1);
  font-family: var(--font-lcd);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.topbar__credit:hover {
  color: var(--text-1);
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line-strong));
  background: color-mix(in oklab, var(--accent) 12%, transparent);
}
.topbar__credit:active { scale: 0.97; }
.topbar__meta {
  color: var(--text-3);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.topbar__cta {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  backdrop-filter: blur(12px);
  color: var(--text-1);
  font-size: 14px; font-weight: 550;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--default) var(--ease-out), border-color var(--default) var(--ease-out), scale var(--fast) var(--ease-out);
}
.topbar__cta:hover { background: rgb(255 255 255 / 0.09); border-color: rgb(255 255 255 / 0.24); }
.topbar__cta:active { scale: 0.97; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: clamp(680px, 100svh, 960px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 120px var(--gutter) 120px;
}
.hero__copy { position: relative; z-index: 3; }

.hero__title {
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; }

.hero__lede {
  max-width: 34ch;
  margin-top: 24px;
  color: var(--text-3);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
}

/* --------------------------------------------------------------- signup */
.signup { margin-top: 32px; max-width: 460px; }
.signup__row {
  display: flex; gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(10 11 16 / 0.6);
  backdrop-filter: blur(16px);
  transition: border-color var(--default), box-shadow var(--default);
}
.signup__row:focus-within {
  border-color: color-mix(in oklab, var(--accent) 60%, white 10%);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
.signup__input {
  flex: 1; min-width: 0;
  padding: 0 14px;
  border: 0; background: transparent;
  color: var(--text-1);
  font: inherit; font-size: 16px;
}
.signup__input::placeholder { color: var(--text-4); }
.signup__input:focus { outline: none; }
.signup__button {
  flex: none;
  padding: 12px 20px;
  border: 0; border-radius: 999px;
  background: var(--text-1);
  color: var(--ink);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background var(--default), scale var(--fast) var(--ease-out);
}
.signup__button:hover { background: #fff; }
.signup__button:active { scale: 0.97; }
.signup__button:disabled { opacity: 0.6; cursor: progress; }
.signup__note, .signup__status, .signup__error {
  margin-top: 12px; padding-left: 20px;
  color: var(--text-4);
  font-size: 14px;
}
.signup__error { display: none; color: #ff8a8a; }
.signup__status:empty { display: none; }
.signup:has(.signup__input:user-invalid) .signup__row { border-color: #ff8a8a; }
.signup:has(.signup__input:user-invalid) .signup__error { display: block; }
.signup:has(.signup__input:user-invalid) .signup__note { display: none; }

.signup.is-joined .signup__row,
.signup.is-joined .signup__note,
.signup.is-joined .signup__error { display: none; }
.signup__ticket {
  display: grid;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px dashed color-mix(in oklab, var(--accent) 55%, rgb(255 255 255 / 0.22));
  background:
    radial-gradient(80% 120% at 0% 0%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%),
    rgb(10 11 16 / 0.82);
  backdrop-filter: blur(16px);
  text-align: left;
  animation: joined var(--slow) var(--ease-expo);
}
.signup__ticket[hidden] { display: none; }
.signup__ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.signup__ticket-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 640;
  letter-spacing: -0.015em;
}
.signup__ticket-title::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307080c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.signup__ticket-title:focus {
  outline: none;
}
.signup__ticket-code {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--text-1);
  font-family: var(--font-lcd);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.signup.is-joined .signup__status {
  margin-top: 0;
  padding-left: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}
@keyframes joined { from { scale: 0.94; opacity: 0.4; } }

/* ----------------------------------------------------------------- desk */
.desk {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 460px;
  min-width: 0;
  display: grid;
  place-items: center;
}
.desk__surface {
  position: absolute;
  inset: 8% 2% 14% 10%;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(18 20 29 / 0.68), rgb(11 13 19 / 0.42));
  overflow: hidden;
  pointer-events: none;
}
.desk__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
}
.desk__tab {
  color: rgb(211 216 230 / 0.44);
  font: 500 12px/1 var(--font-lcd);
  letter-spacing: -0.01em;
}
.desk__tab--dim {
  color: rgb(211 216 230 / 0.22);
}
.desk__win-controls {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.desk__win-controls i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
}
.desk__code {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  color: rgb(211 216 230 / 0.3);
  font: 400 12.5px/1.65 var(--font-lcd);
  user-select: none;
}
.desk__code span {
  display: block;
  white-space: pre;
}
.desk__code i {
  display: inline-block;
  width: 26px;
  font-style: normal;
  color: rgb(158 166 186 / 0.24);
}
.desk__code em {
  font-style: normal;
  color: color-mix(in oklab, var(--accent) 55%, #9ea6ba);
}
.desk__code b {
  font-weight: 500;
  color: color-mix(in oklab, var(--accent-2) 55%, #cbd5e1);
}

.desk__hint {
  position: absolute; bottom: 4%; left: 50%;
  translate: -50% 0;
  color: var(--text-4);
  font-size: 13px;
  white-space: nowrap;
  transition: opacity var(--slow);
}
.desk.was-dragged .desk__hint { opacity: 0; }

/* --------------------------------------------------------- hero widget */
.widget {
  position: relative;
  z-index: 4;
  width: min(460px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background:
    linear-gradient(140deg,
      color-mix(in oklab, var(--accent) 24%, rgb(18 20 28 / 0.78)),
      rgb(12 13 18 / 0.82) 60%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 30px 80px -20px rgb(0 0 0 / 0.7),
    0 0 0 1px rgb(0 0 0 / 0.3);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 240ms var(--ease-out);
  will-change: translate, transform;
}
.widget::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--gx, 30%) var(--gy, 20%),
    rgb(255 255 255 / 0.11),
    transparent 70%
  );
  opacity: var(--glare-op, 0);
  transition: opacity var(--default) var(--ease-out);
  pointer-events: none;
}
.widget.is-dragging {
  cursor: grabbing;
  transition: none;
}
.widget.is-dragging .widget__glow { opacity: 1; }
.widget__glow {
  position: absolute; inset: auto 12% -1px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 22px 3px color-mix(in oklab, var(--accent) 55%, transparent);
  opacity: 0.75;
  transition: opacity var(--slow) var(--ease-out);
  pointer-events: none;
}
.widget__art {
  width: 104px; height: 104px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.6);
  cursor: pointer;
  will-change: transform, opacity;
  transition: scale var(--entrance) var(--ease-expo), rotate var(--entrance) var(--ease-expo), opacity 220ms var(--ease-out);
}
.widget__art:hover { scale: 1.035; }
.widget__art:active { scale: 0.96; }
.widget__meta { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.widget__title {
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  will-change: transform, opacity;
  transition: translate var(--entrance) var(--ease-expo), opacity 220ms var(--ease-out);
}
.widget__artist {
  margin-top: 2px;
  color: var(--text-3);
  font-size: 17px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  will-change: transform, opacity;
  transition: translate var(--entrance) var(--ease-expo) 30ms, opacity 220ms var(--ease-out) 30ms;
}
[data-switching="true"] .widget__art,
[data-switching="true"] .mini__art {
  scale: 0.94;
  rotate: -2deg;
  opacity: 0.45;
  transition-duration: 0ms;
}
[data-switching="true"] .widget__title,
[data-switching="true"] .mini__title {
  translate: 0 6px;
  opacity: 0.25;
  transition-duration: 0ms;
}
[data-switching="true"] .widget__artist,
[data-switching="true"] .mini__artist {
  translate: 0 8px;
  opacity: 0.25;
  transition-duration: 0ms;
}

/* visualizer bars (shared by every widget) */
.bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 26px; margin-top: 12px;
  flex-shrink: 0;
  contain: layout style;
}
.bars span {
  flex: 0 0 4px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(to top, color-mix(in oklab, var(--accent) 80%, white 0%), color-mix(in oklab, var(--accent) 40%, white 60%));
  transform-origin: bottom;
  scale: 1 var(--rest, 0.42);
  will-change: transform;
  animation: bar-dance var(--dur, 720ms) cubic-bezier(0.37, 0, 0.63, 1) var(--del, 0ms) infinite alternate;
  transition: scale var(--default) var(--ease-out);
}
@keyframes bar-dance {
  0%   { scale: 1 var(--low, 0.24); }
  100% { scale: 1 var(--high, 0.92); }
}
[data-playing="false"] .bars span {
  animation: none;
  scale: 1 0.16;
}

.transport {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.26);
}
.transport__btn {
  flex: none;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--fast) var(--ease-out), color var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.transport__btn:hover { background: rgb(255 255 255 / 0.08); color: var(--text-1); }
.transport__btn:active { scale: 0.92; }
.transport__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.transport__btn--main { width: 44px; height: 44px; background: var(--text-1); color: var(--ink); }
.transport__btn--main:hover { background: #fff; color: var(--ink); }
.transport__btn--main svg { fill: currentColor; stroke-width: 2.4; }
.transport__btn--main .icon-pause { fill: none; }
[data-playing="false"] .icon-pause, [data-playing="true"] .icon-play { display: none; }

.transport__time {
  flex: none;
  min-width: 34px;
  margin-left: 6px;
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.transport__time--end { margin-left: 0; text-align: right; color: var(--text-4); }
.progress {
  position: relative; flex: 1;
  height: 4px; border-radius: 4px;
  background: rgb(255 255 255 / 0.12);
  overflow: hidden;
  transition: scale var(--fast) var(--ease-out);
}
.progress[data-scrub] { cursor: pointer; }
.progress[data-scrub]:hover { scale: 1 1.45; }
.progress__fill {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left;
  scale: var(--progress, 0) 1;
  will-change: transform;
}

/* --------------------------------------------------------- perched pet */
.perch {
  position: absolute;
  right: 34px; bottom: 100%;
  z-index: 5;
  display: flex; align-items: flex-end; gap: 6px;
  pointer-events: none;
  translate: var(--perch-x, 0px) 0;
  will-change: transform;
}
.pet-actor {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.pet {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transform-origin: 50% 94%;
  scale: calc(var(--pet-sx, 1) * var(--pet-flip, 1)) var(--pet-sy, 1);
  translate: 0 var(--pet-ty, 0px);
  rotate: var(--pet-rot, 0deg);
  will-change: transform;
}
.pet--perch {
  width: 96px; height: 96px;
  /* the sprite's bottom row is its shadow — let it sit right on the glass */
  margin-bottom: -6px;
  cursor: pointer;
  pointer-events: auto;
  filter:
    drop-shadow(0 0 1px rgb(255 255 255 / 0.35))
    drop-shadow(0 8px 16px rgb(0 0 0 / 0.55));
}
.pet--perch:hover {
  filter:
    drop-shadow(0 0 2px color-mix(in oklab, var(--accent) 55%, white))
    drop-shadow(0 8px 18px rgb(0 0 0 / 0.65));
}
.pet-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 6;
}
.pet-particle {
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 14%);
  font-family: var(--font-lcd);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--pcolor, var(--accent));
  text-shadow: 0 2px 6px rgb(0 0 0 / 0.75);
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  animation: pet-emote-rise 660ms var(--ease-out) forwards;
}
.pet-fx--big .pet-particle {
  font-size: 17px;
}
@keyframes pet-emote-rise {
  0%   { opacity: 0; translate: -50% 4px; scale: 0.7; }
  18%  { opacity: 1; translate: calc(-50% + var(--pdx, 6px) * 0.38) -10px; scale: 1.08; }
  100% { opacity: 0; translate: calc(-50% + var(--pdx, 6px)) -32px; scale: 0.9; }
}
.bubble {
  position: absolute; right: 78px; bottom: 74px;
  width: max-content; max-width: 230px;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--text-1);
  color: var(--ink);
  font-size: 13.5px; font-weight: 500; line-height: 1.35;
  opacity: 0; scale: 0.9; translate: 0 6px;
  transform-origin: bottom right;
  will-change: transform, opacity;
  transition: opacity var(--default) var(--ease-out), scale var(--entrance) var(--ease-expo), translate var(--entrance) var(--ease-out);
}
.bubble.is-on { opacity: 1; scale: 1; translate: 0 0; }

/* -------------------------------------------------------------- taskbar */
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 20px;
  z-index: 1;
  display: flex; justify-content: center; align-items: center;
  width: min(100% - 2 * var(--gutter), var(--max));
  height: 48px;
  margin: 0 auto;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(12 13 18 / 0.55);
  backdrop-filter: blur(20px);
}
.taskbar__apps { display: flex; gap: 10px; align-items: center; }
.taskbar__apps i {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgb(255 255 255 / 0.06);
}
.taskbar__soniq {
  position: relative;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: rgb(255 255 255 / 0.08);
}
.taskbar__soniq::after {
  content: ""; position: absolute; bottom: 2px; left: 50%;
  width: 14px; height: 3px; border-radius: 2px;
  translate: -50% 0;
  background: var(--accent);
}
.taskbar__clock {
  position: absolute; right: 18px;
  display: flex; flex-direction: column; align-items: flex-end;
  color: var(--text-3);
  font-size: 12px; line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------- page load */
.js .hero__title .line > span    { animation: line-up 520ms var(--ease-expo) calc(var(--i, 0) * 60ms) both; }
.js .hero__title .line:nth-child(2) > span { --i: 1; }
.js .hero__lede                  { animation: fade-up 520ms var(--ease-expo) 80ms both; }
.js .hero .signup                { animation: fade-up 520ms var(--ease-expo) 120ms both; }
.js .desk__surface               { animation: fade-in 560ms var(--ease-out) 40ms both; }
.js .taskbar                     { animation: fade-up 520ms var(--ease-expo) 60ms both; }
.js .widget                      { animation: fade-up 560ms var(--ease-expo) 90ms both; }
.js .perch                       { animation: drop 540ms var(--ease-expo) 160ms both; }
.js .desk__hint                  { animation: fade-in 540ms var(--ease-out) 240ms both; }

@keyframes line-up { from { translate: 0 24%; } }
@keyframes fade-up { from { opacity: 0.92; translate: 0 10px; } }
@keyframes fade-in { from { opacity: 0.92; } }
@keyframes drop    { from { translate: 0 -18px; } }

/* --------------------------------------------------------- sections */
.glimpses, .keyhole, .extras, .cta {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section-head { max-width: 640px; }
.section-head h2, .extras h2, .cta h2 {
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.032em;
}
.section-head p { margin-top: 18px; color: var(--text-3); font-size: 18px; max-width: 48ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.glimpses { padding-top: clamp(80px, 12vw, 160px); }
.glimpse {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(64px, 9vw, 120px);
}
.glimpse--lyrics { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.glimpse__copy h3 {
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 620;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.glimpse__copy p { margin-top: 16px; max-width: 40ch; color: var(--text-3); }
.glimpse__copy .glimpse__aside { color: var(--text-1); font-weight: 550; }

/* finishes */
.finish-stage__desk {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 50% 50%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 72%);
  overflow: hidden;
  contain: paint;
}
.mini {
  position: absolute;
  opacity: 0;
  scale: 0.93;
  translate: 0 10px;
  will-change: transform, opacity;
  transition: opacity var(--default) var(--ease-out), scale var(--entrance) var(--ease-expo), translate var(--entrance) var(--ease-expo);
  pointer-events: none;
}
.mini.is-active { opacity: 1; scale: 1; translate: 0 0; pointer-events: auto; }
.mini__art { will-change: transform, opacity; transition: scale var(--entrance) var(--ease-expo), rotate var(--entrance) var(--ease-expo), opacity 220ms var(--ease-out); }
.mini__title { color: var(--text-1); font-weight: 650; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; will-change: transform, opacity; transition: translate var(--entrance) var(--ease-expo), opacity 220ms var(--ease-out); }
.mini__artist { color: var(--text-3); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; will-change: transform, opacity; transition: translate var(--entrance) var(--ease-expo) 30ms, opacity 220ms var(--ease-out) 30ms; }

.mini--aurora {
  display: flex; align-items: center; gap: 14px;
  width: min(340px, 82%);
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(140deg, color-mix(in oklab, var(--accent) 26%, rgb(18 20 28 / 0.8)), rgb(12 13 18 / 0.85) 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 20px 50px -18px rgb(0 0 0 / 0.7);
}
.mini--aurora .mini__art { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.mini--aurora .mini__meta { flex: 1; min-width: 0; }
.mini--aurora .progress { display: block; margin-top: 10px; }

.mini--vinyl {
  display: flex; align-items: center; gap: 22px;
  width: min(360px, 86%);
}
.mini__sleeve { position: relative; width: 72px; height: 72px; flex: none; }
.mini__sleeve .mini__art {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 12px 26px -8px rgb(0 0 0 / 0.8);
}
.mini__record {
  position: absolute; top: 3px; left: 22px;
  display: grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%;
  background: radial-gradient(circle, #18181b 0 38%, #0f0f12 39% 56%, #1f1f24 57% 60%, #111114 61% 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.05), 0 10px 20px -8px rgb(0 0 0 / 0.8);
  will-change: transform;
  animation: spin 3.2s linear infinite;
  animation-play-state: var(--spin-state, running);
}
.mini__record img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.mini--vinyl .mini__meta { min-width: 0; padding-left: 18px; }
.mini--vinyl .mini__title { font: 650 19px/1.2 var(--font-display); letter-spacing: -0.02em; }
.bars--thin { height: 18px; gap: 2px; margin-top: 10px; }
.bars--thin span { flex-basis: 3px; }
@keyframes spin { to { rotate: 1turn; } }
[data-playing="false"] .mini__record { --spin-state: paused; }

.mini--lcd {
  width: min(320px, 80%);
}
.mini__screen {
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #2b2d27;
  background: #a9b98a;
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.35), 0 20px 50px -18px rgb(0 0 0 / 0.8);
  color: #1f2a14;
  font-family: var(--font-lcd);
}
.mini--lcd .mini__lcd-top { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.8; }
.mini--lcd .mini__title { margin-top: 6px; color: #1a2410; font: 700 17px/1.2 var(--font-lcd); text-transform: uppercase; letter-spacing: 0.02em; }
.mini--lcd .mini__artist { color: #34421f; font-family: var(--font-lcd); font-size: 13px; text-transform: uppercase; }
.bars--lcd { height: 22px; gap: 2px; margin-top: 8px; }
.bars--lcd span { flex-basis: 6px; border-radius: 0; background: #1f2a14; }

.finish-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 14px;
}
.finish-tabs button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), background var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.finish-tabs button:hover { color: var(--text-1); border-color: var(--line-strong); }
.finish-tabs button:active { scale: 0.96; }
.finish-tabs button[aria-selected="true"] {
  color: var(--text-1);
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
}

.locked { margin-top: 28px; }
.locked__preview {
  --lx: -120px;
  --ly: -120px;
  position: relative;
  max-width: 440px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--ink-raised);
  overflow: hidden;
  cursor: pointer;
}
.locked__img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 280;
  object-fit: cover;
  scale: 1.03;
}
.locked__img--frost {
  opacity: 0.62;
  filter: blur(6px) brightness(0.68) saturate(0.9);
}
.locked__img--clear {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0.96;
  filter: saturate(1.15) contrast(1.06);
  -webkit-mask-image: radial-gradient(circle 68px at var(--lx) var(--ly), black 35%, transparent 100%);
          mask-image: radial-gradient(circle 68px at var(--lx) var(--ly), black 35%, transparent 100%);
  pointer-events: none;
}
.locked__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(7 8 12 / 0.14), rgb(7 8 12 / 0.44));
  pointer-events: none;
}
.locked__badge {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(7 8 12 / 0.82);
  backdrop-filter: blur(10px);
  color: var(--text-1);
  font-size: 12.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: border-color var(--fast) var(--ease-out), color var(--fast) var(--ease-out);
}
.locked__preview:hover .locked__badge {
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
}
.locked__badge.is-jiggling {
  animation: poke 360ms ease-in-out;
  border-color: var(--accent);
}
.locked__note { margin-top: 12px; color: var(--text-4); font-size: 14px; }

/* lyrics */
.lyrics-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.025);
  color: var(--text-4);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lyrics-meta__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.lyrics-meta strong {
  color: var(--text-2);
  font-weight: 600;
}
.lyrics {
  display: grid; gap: 12px;
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(65% 80% at 0% 50%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 72%),
    var(--ink-raised);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}
.lyric-line {
  color: rgb(255 255 255 / 0.3);
  transform-origin: left center;
  opacity: 0.78;
  scale: 0.97;
  translate: 0 2px;
  will-change: transform, opacity;
  transition: opacity var(--default) var(--ease-out), scale var(--entrance) var(--ease-expo), translate var(--entrance) var(--ease-expo);
}
.lyric-line.is-active { opacity: 1; scale: 1; translate: 0 0; }
.lyric-line.is-past { opacity: 0.86; scale: 0.985; translate: 0 0; }
.lyric-word {
  color: rgb(255 255 255 / 0.32);
  transition: color 320ms var(--ease-out);
}
.lyric-word.is-sung {
  color: color-mix(in oklab, var(--accent) 42%, white 58%);
}
.lyric-line.is-past .lyric-word {
  color: color-mix(in oklab, var(--accent) 52%, rgb(255 255 255 / 0.68));
  transition: none;
}
.lyric-line--redacted {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--text-4);
  font-family: var(--font-lcd);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  user-select: none;
}
.lyric-line--redacted:hover {
  color: var(--text-2);
}
.lyric-line--redacted b {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgb(255 255 255 / 0.08);
  color: color-mix(in oklab, var(--accent) 65%, white);
  font-weight: 600;
}

/* companion */
.pet-stage {
  position: relative;
  display: grid; justify-items: center;
  padding: 20px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(50% 60% at 50% 35%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%),
    var(--ink-raised);
}
.pet-stage__head {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 4px;
}
.pet-stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.03);
  color: var(--text-3);
  font-family: var(--font-lcd);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pet-stage__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.pet-stage__spot {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.pet-stage__hero {
  padding: 0; border: 0; background: none;
  cursor: pointer;
  border-radius: 16px;
  transition: scale var(--fast) var(--ease-out);
}
.pet-stage__hero:hover { scale: 1.04; }
.pet-stage__hero:active { scale: 0.96; }
.pet--big {
  width: 184px; height: 184px;
  filter:
    drop-shadow(0 0 1px rgb(255 255 255 / 0.35))
    drop-shadow(0 12px 24px rgb(0 0 0 / 0.55));
}
.pet-stage__caption { margin-top: 6px; color: var(--text-3); font-size: 14px; min-height: 1.6em; text-align: center; }
.pet-poses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.pet-poses button {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.02);
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), background var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.pet-poses button:hover {
  color: var(--text-1);
  border-color: var(--line-strong);
}
.pet-poses button:active { scale: 0.95; }
.pet-poses button.is-active {
  color: var(--text-1);
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.eggs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.eggs button {
  position: relative;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  border-radius: 10px;
}
.eggs canvas { width: 56px; height: 56px; transform-origin: 50% 90%; will-change: transform; transition: scale var(--fast) var(--ease-out); }
.eggs button:hover canvas { scale: 1.08; }
.eggs .is-wobbling canvas { animation: egg-tilt 680ms var(--ease-out); }
.eggs .is-nudged canvas { animation: egg-nudge 520ms var(--ease-out); }
.eggs .is-hatching canvas {
  animation: egg-nudge 460ms var(--ease-out);
  filter: brightness(0.18) contrast(3.5) drop-shadow(0 0 10px var(--accent));
}
.eggs .egg-tip {
  position: absolute; bottom: calc(100% + 4px); left: 50%;
  translate: -50% 4px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--text-1); color: var(--ink);
  font-size: 12.5px; font-weight: 550; white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity var(--fast) var(--ease-out), translate var(--default) var(--ease-expo);
}
.eggs .is-nudged .egg-tip, .eggs .show-tip .egg-tip { opacity: 1; translate: -50% 0; }
@keyframes egg-tilt { 0%, 100% { rotate: 0deg; } 25% { rotate: -7deg; } 60% { rotate: 6deg; } 80% { rotate: -2deg; } }
@keyframes egg-nudge { 0%, 100% { rotate: 0deg; translate: 0 0; } 20% { rotate: -14deg; } 45% { rotate: 12deg; translate: 0 -4px; } 70% { rotate: -6deg; } }

/* ---------------------------------------------------------- for streamers */
.streamers {
  padding-top: clamp(110px, 15vw, 190px);
}
.streamers__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}
.streamers__copy h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.032em;
}
.streamers__lede {
  margin-top: 18px;
  max-width: 50ch;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
}
.stream-specs {
  display: grid;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.stream-spec {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.stream-spec dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.stream-spec__title {
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.015em;
}
.stream-spec__title code {
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.04);
  font-family: var(--font-lcd);
  font-size: 13px;
  font-weight: 500;
}
.stream-spec__tag {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 36%, var(--line));
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: color-mix(in oklab, var(--accent) 72%, white);
  font-family: var(--font-lcd);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.stream-spec dd {
  margin: 7px 0 0;
  max-width: 52ch;
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Interactive OBS Broadcast Monitor */
.obs-stage {
  position: sticky;
  top: 96px;
  display: grid;
}
.obs-stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 0 2px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-lcd);
  font-size: 12px;
}
.obs-stage__rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-1);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.obs-stage__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f43f5e;
}
.obs-stage__stats {
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.obs-stage__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(18px, 3.2vw, 30px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #090b11;
  transition: background var(--default) var(--ease-out);
}
.obs-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity var(--default) var(--ease-out);
}
.obs-backdrop--game {
  background:
    radial-gradient(65% 65% at 74% 28%, color-mix(in oklab, var(--accent-2) 22%, transparent), transparent 70%),
    radial-gradient(55% 60% at 24% 78%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 72%),
    linear-gradient(165deg, #101420 0%, #07090e 100%);
}
.obs-hud__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 55% 45%, black 25%, transparent 82%);
}
.obs-hud__top {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-lcd);
  font-size: 12px;
  color: var(--text-3);
}
.obs-hud__pill {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgb(7 8 12 / 0.66);
  color: var(--text-2);
}
.obs-hud__fps {
  color: color-mix(in oklab, var(--accent) 70%, white);
}
.obs-hud__reticle {
  position: absolute;
  top: 44%;
  left: 58%;
  width: 28px;
  height: 28px;
  translate: -50% -50%;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 50%;
}
.obs-hud__reticle::before,
.obs-hud__reticle::after {
  content: "";
  position: absolute;
  background: rgb(255 255 255 / 0.22);
}
.obs-hud__reticle::before {
  top: 50%;
  left: -6px;
  right: -6px;
  height: 1px;
}
.obs-hud__reticle::after {
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 1px;
}

/* True 32-bit Alpha Matte Scene */
.obs-stage[data-obs-scene="alpha"] .obs-backdrop--game {
  opacity: 0.08;
}
.obs-stage[data-obs-scene="alpha"] .obs-stage__viewport {
  background-color: #0b0e15;
  background-image: radial-gradient(rgb(255 255 255 / 0.16) 1.25px, transparent 1.25px);
  background-size: 16px 16px;
}

/* Live Overlay Widget inside OBS Stage */
.obs-overlay {
  position: relative;
  z-index: 2;
  width: min(100%, 350px);
  transform-origin: 0 100%;
  transition: scale var(--default) var(--ease-expo), translate var(--default) var(--ease-expo);
}
.obs-overlay__perch {
  position: absolute;
  right: 20px;
  bottom: 100%;
  z-index: 3;
  display: grid;
  place-items: end center;
  pointer-events: none;
}
.pet--stream {
  width: 64px;
  height: 64px;
  margin-bottom: -4px;
  filter:
    drop-shadow(0 0 1px rgb(255 255 255 / 0.35))
    drop-shadow(0 6px 12px rgb(0 0 0 / 0.55));
}
.obs-overlay__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 14px;
  padding: 12px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 62%),
    rgb(12 14 21 / 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.16),
    0 20px 44px -16px rgb(0 0 0 / 0.78);
  overflow: hidden;
  transition: border-radius var(--default) var(--ease-out);
}
.obs-overlay__art {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px -6px rgb(0 0 0 / 0.65);
  transition: scale var(--default) var(--ease-out), border-radius var(--default) var(--ease-out);
}
.obs-overlay__meta {
  min-width: 0;
}
.obs-overlay__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in oklab, var(--accent) 75%, white);
  font-family: var(--font-lcd);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.obs-overlay__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.obs-overlay__title {
  margin-top: 2px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 640;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.obs-overlay__artist {
  color: var(--text-2);
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bars--obs {
  height: 22px;
  margin-top: 0;
}
.obs-overlay__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgb(255 255 255 / 0.08);
}
.obs-overlay__progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0.38));
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Compact Lower-Third Broadcast Mode */
.obs-stage[data-obs-scene="compact"] .obs-overlay {
  width: min(100%, 430px);
}
.obs-stage[data-obs-scene="compact"] .obs-overlay__card {
  padding: 9px 14px 12px;
  border-radius: 999px;
}
.obs-stage[data-obs-scene="compact"] .obs-overlay__art {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.obs-stage[data-obs-scene="compact"] .obs-overlay__kicker {
  display: none;
}
.obs-stage[data-obs-scene="compact"] .obs-overlay__perch {
  right: 28px;
}
.obs-stage[data-obs-scene="compact"] .pet--stream {
  width: 52px;
  height: 52px;
}

.obs-stage__corner {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(7 8 12 / 0.72);
  backdrop-filter: blur(8px);
  color: var(--text-3);
  font-family: var(--font-lcd);
  font-size: 12px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.obs-stage__controls {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}
.obs-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.obs-mode {
  flex: 1;
  min-width: 110px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.02);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
  transition: color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), background var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.obs-mode:hover {
  color: var(--text-1);
  border-color: var(--line-strong);
}
.obs-mode:active {
  scale: 0.97;
}
.obs-mode.is-active {
  color: var(--text-1);
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.obs-url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed var(--line-strong);
  background: rgb(7 8 12 / 0.65);
  color: var(--text-2);
  font-family: var(--font-lcd);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease-out), background var(--fast) var(--ease-out);
}
.obs-url:hover {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line-strong));
  background: rgb(14 16 24 / 0.85);
}
.obs-url__label {
  color: var(--text-4);
  letter-spacing: 0.05em;
}
.obs-url__code {
  flex: 1;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.obs-url__badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: color-mix(in oklab, var(--accent) 80%, white);
  font-weight: 600;
}

/* ---------------------------------------------------------------- keyhole */
.keyhole { padding-top: clamp(100px, 14vw, 180px); }
.keyhole__frame {
  --mx: 28%; --my: 62%;
  --peek-scale: 1;
  --spot: calc(clamp(165px, 19vw, 250px) * var(--peek-scale));
  position: relative;
  margin-top: 48px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-raised);
  cursor: crosshair;
  contain: paint;
  transition: --spot 360ms var(--ease-out);
}
.keyhole__frame.is-looking { --spot: calc(clamp(210px, 24vw, 310px) * var(--peek-scale)); }
.keyhole__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; transform: translateZ(0); }
.keyhole__img--base { filter: blur(16px) brightness(0.32) saturate(0.6); scale: 1.06; }
.keyhole__img--reveal {
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), black calc(var(--spot) * 0.72), transparent var(--spot));
          mask-image: radial-gradient(circle at var(--mx) var(--my), black calc(var(--spot) * 0.72), transparent var(--spot));
  pointer-events: none;
  will-change: mask-image, -webkit-mask-image;
}
.keyhole__hud {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  pointer-events: none;
}
.keyhole__budget {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgb(7 8 12 / 0.78);
  backdrop-filter: blur(10px);
  color: var(--text-2);
  font-family: var(--font-lcd);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.keyhole__budget-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.keyhole__spot {
  position: absolute;
  left: var(--hx, 50%);
  top: var(--hy, 50%);
  z-index: 3;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.keyhole__spot-ping {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--text-1);
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  transition: scale var(--fast) var(--ease-out);
}
.keyhole__spot:hover .keyhole__spot-ping,
.keyhole__spot:focus-visible .keyhole__spot-ping {
  scale: 1.25;
}
.keyhole__spot-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgb(7 8 12 / 0.86);
  backdrop-filter: blur(10px);
  color: var(--text-1);
  font-family: var(--font-lcd);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  translate: -4px 0;
  pointer-events: none;
  transition: opacity var(--fast) var(--ease-out), translate var(--fast) var(--ease-out);
}
.keyhole__spot:hover .keyhole__spot-tag,
.keyhole__spot:focus-visible .keyhole__spot-tag,
.keyhole__spot.is-pinned .keyhole__spot-tag {
  opacity: 1;
  translate: 0 0;
}
.keyhole__hint {
  position: absolute; left: 50%; bottom: 22px;
  z-index: 3;
  translate: -50% 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(7 8 12 / 0.78);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
  transition: opacity var(--slow) var(--ease-out), color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out);
}
.keyhole__frame.has-looked .keyhole__hint:not(.is-pinned) { opacity: 0; }
.keyhole__hint.is-pinned {
  opacity: 1;
  color: var(--text-1);
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
}

/* ----------------------------------------------------------------- extras */
.extras {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 96px);
  padding-top: clamp(100px, 14vw, 180px);
}
.extras__list { border-top: 1px solid var(--line); }
.extras__list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.01em;
}
.redact {
  position: relative;
  display: inline-block;
  padding: 0 0.15em;
  border-radius: 4px;
  color: transparent;
  background: var(--text-2);
  user-select: none;
  cursor: pointer;
  line-height: 1.15;
  vertical-align: baseline;
  transition: background var(--fast);
}
.redact:hover { background: var(--text-1); }
.redact.is-scrambling {
  background: color-mix(in oklab, var(--accent) 28%, var(--ink-raised));
  color: var(--text-1);
  font-family: var(--font-lcd);
  font-size: 0.86em;
  letter-spacing: 0.02em;
}
.redact.is-poked { animation: poke 380ms ease-in-out; }
.redact[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  translate: -50% 0;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  animation: fade-up 240ms var(--ease-out);
}
@keyframes poke { 25% { translate: -3px 0; } 50% { translate: 3px 0; } 75% { translate: -1px 0; } }

/* -------------------------------------------------------------------- cta */
.cta {
  padding-top: clamp(120px, 16vw, 220px);
  padding-bottom: clamp(100px, 12vw, 160px);
  text-align: center;
}
.build-log {
  max-width: 390px;
  margin: 0 auto 28px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgb(14 16 23 / 0.78);
  text-align: left;
  font-family: var(--font-lcd);
  font-size: 12px;
}
.build-log__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-3);
}
.build-log__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-weight: 500;
}
.build-log__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.build-log__pct {
  color: var(--text-1);
  font-weight: 600;
}
.build-log__bar {
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.08);
  overflow: hidden;
}
.build-log__fill {
  display: block;
  width: 88%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.build-log__line {
  margin-top: 8px;
  color: var(--text-4);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cta h2 { font-size: clamp(44px, 6.4vw, 84px); }
.cta > p { max-width: 44ch; margin: 22px auto 0; color: var(--text-3); font-size: 18px; }
.signup--center { margin-inline: auto; }
.signup--center .signup__error, .signup--center .signup__status { padding-left: 0; }
.signup--center.is-joined .signup__status { justify-content: center; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--text-4);
  font-size: 14px;
}
.footer__links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer__links a {
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--fast) var(--ease-out);
}
.footer__links a:hover,
.footer__links a[aria-current="page"] {
  color: var(--text-1);
}
.footer__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 0.035);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), background var(--fast) var(--ease-out), scale var(--fast) var(--ease-out);
}
.footer__credit strong {
  color: var(--text-1);
  font-family: var(--font-lcd);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.footer__credit:hover {
  color: var(--text-1);
  border-color: color-mix(in oklab, var(--accent) 60%, var(--line-strong));
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.footer__credit:active {
  scale: 0.97;
}

/* --------------------------------------------------------------- legal */
.legal {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 132px var(--gutter) 120px;
}
.legal__head {
  max-width: 720px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal__title {
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 660;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.034em;
}
.legal__lede {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
}
.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 22px;
  color: var(--text-4);
  font-family: var(--font-lcd);
  font-size: 12.5px;
}
.legal__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
  margin-top: 48px;
}
.legal__toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-raised);
}
.legal__toc-label {
  margin-bottom: 6px;
  color: var(--text-4);
  font-family: var(--font-lcd);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.legal__toc a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-3);
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--fast) var(--ease-out), background var(--fast) var(--ease-out);
}
.legal__toc a:hover {
  color: var(--text-1);
  background: rgb(255 255 255 / 0.04);
}
.legal__toc-switch {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.legal__body {
  display: grid;
  gap: 40px;
}
.legal__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.legal__pill-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-raised);
}
.legal__pill-card strong {
  display: block;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.015em;
}
.legal__pill-card p {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.45;
}
.legal__section {
  scroll-margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal__section:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.legal__section h2 {
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 630;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.legal__section p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 64ch;
}
.legal__section ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}
.legal__section li::marker {
  color: var(--accent);
}
.legal__section strong {
  color: var(--text-1);
  font-weight: 600;
}
.legal__section code {
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.04);
  color: var(--text-1);
  font-family: var(--font-lcd);
  font-size: 13.5px;
}
.legal__section a {
  color: var(--text-1);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--accent) 70%, transparent);
  text-underline-offset: 3px;
}
.legal__section a:hover {
  color: var(--accent);
}

/* ------------------------------------------- scroll-driven section entry */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes scroll-enter {
      from {
        opacity: 0;
        translate: 0 26px;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }
    .glimpse,
    .streamers__grid,
    .keyhole__frame,
    .extras {
      animation: scroll-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 82%;
    }
  }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .topbar__meta { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 72px;
    gap: 72px;
  }
  .desk { min-height: 380px; }
  .desk__surface { inset: 4% 2% 8% 2%; }
  .taskbar, .desk__hint { display: none; }
  .glimpse, .glimpse--lyrics, .streamers__grid, .extras { grid-template-columns: minmax(0, 1fr); }
  .obs-stage { position: static; }
  .glimpse--lyrics .glimpse__copy { order: -1; }
  .glimpse--pets .pet-stage { order: 1; }
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar__right { gap: 8px; }
  .topbar__credit { padding: 6px 10px; font-size: 12px; }
  .topbar__cta { padding: 8px 12px; font-size: 13px; }
  .dock {
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 12px;
    translate: 0 14px;
  }
  .dock__body { width: 100%; justify-content: space-between; }
  .dock__meta { max-width: 150px; flex: 1; }
  .widget { grid-template-columns: auto minmax(0, 1fr); padding: 12px; gap: 12px 14px; border-radius: 22px; }
  .widget__art { width: 76px; height: 76px; border-radius: 14px; }
  .widget__title { font-size: 19px; }
  .widget__artist { font-size: 15px; }
  .bars { height: 20px; margin-top: 8px; }
  .transport { padding-right: 10px; }
  .transport__time--end { display: none; }
  .pet--perch { width: 72px; height: 72px; margin-bottom: -4px; }
  .perch { right: 20px; }
  .bubble { right: 60px; bottom: 56px; max-width: 190px; }
  .signup__row { flex-direction: column; border-radius: 22px; }
  .signup__input { padding: 12px 14px; }
  .lyrics { padding: 20px; }
  .finish-stage__desk { aspect-ratio: 4 / 3; }
  .obs-stage__corner { display: none; }
  .keyhole__spot-tag { display: none; }
  .keyhole__hint {
    width: max-content;
    max-width: calc(100% - 24px);
    bottom: 12px;
    padding: 6px 12px;
    font-size: 12.5px;
    white-space: normal;
    text-align: center;
  }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
  .wallpaper__glow { animation: none; }
  .js .widget, .js .perch { animation: fade-in 300ms ease-out 200ms both; }
  .js .hero__title .line > span, .js .hero__lede, .js .hero .signup,
  .js .desk__surface, .js .taskbar { animation: fade-in 300ms ease-out both; }
  .mini { transition: opacity var(--default); filter: none; scale: 1; }
  .mini__record { animation: none; }
  .lyric-line { transition: none; }
  .keyhole__frame { transition: none; }
  .eggs .is-wobbling canvas { animation: none; }
}
