@property --adapt-r { syntax: '<number>'; inherits: true; initial-value: 185; }
@property --adapt-g { syntax: '<number>'; inherits: true; initial-value: 131; }
@property --adapt-b { syntax: '<number>'; inherits: true; initial-value: 255; }

/* ─────────────────────────────────────────────────────────────
   SoundCloud Aesthetic Player — site/style.css
   Vanilla CSS. Dark only. 8px grid. Inter from Google Fonts.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg-0: #08070d;
  --bg-1: #0c0b15;
  --bg-2: #14121e;
  --line: rgba(185, 131, 255, 0.10);
  --line-strong: rgba(185, 131, 255, 0.22);

  /* Ink */
  --ink-1: #f5f3fc;
  --ink-2: #c8c3dc;
  --ink-3: #8a86a3;
  --ink-4: #5b5874;

  /* Brand */
  --acc-1: #b983ff;
  --acc-2: #8a4cd9;
  --acc-3: #4a1e8a;

  /* Live cover color — gets updated by JS, smooth transition */
  --cover-r: 138;
  --cover-g: 76;
  --cover-b: 217;
  --cover: rgb(var(--cover-r), var(--cover-g), var(--cover-b));
  --cover-soft: rgba(var(--cover-r), var(--cover-g), var(--cover-b), 0.35);
  --cover-faint: rgba(var(--cover-r), var(--cover-g), var(--cover-b), 0.12);

  /* Cursor (CSS vars driven by JS) */
  --mx: 50%;
  --my: 30%;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Container */
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;

  /* Motion tokens — unified rhythm across the whole site */
  --ease-out:    cubic-bezier(0.2, 0.8, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 0.6);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms;
  --t-base: 220ms;
  --t-slow: 350ms;

  /* Elevation — two-tier (soft ambient + tight contact) so cards feel grounded */
  --elev-1:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 8px 28px -12px rgba(0, 0, 0, 0.55);
  --elev-2:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --elev-3:
    0 4px 10px rgba(0, 0, 0, 0.45),
    0 40px 100px -30px rgba(0, 0, 0, 0.75);
  /* Inset top highlight — fakes light catching the upper edge of dark surfaces */
  --rim: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* SVG noise overlay — kills banding on dark gradients, adds film texture */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.045 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* Universal color transitions removed — was forcing every element on the page
   to repaint for 900ms whenever the accent vars changed. Specific surfaces
   that should retint smoothly opt-in via their own transition rules. */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--cover); outline-offset: 3px; border-radius: 4px; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "tnum";
  overflow-x: hidden;
  /* Site-wide bleed of the active cover color, very subtle */
  background:
    radial-gradient(60% 40% at 80% -10%, var(--cover-faint), transparent 60%),
    radial-gradient(50% 35% at 0% 20%, var(--cover-faint), transparent 60%),
    var(--bg-0);
  transition: background 600ms ease;
}

/* Site-wide noise/grain overlay — kills banding on dark gradients.
   GPU-promoted so it doesn't re-composite during accent transitions. */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--noise);
  background-size: 200px 200px;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 999;
  will-change: transform;
  transform: translateZ(0);
}

/* ── Type ──────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--ink-1);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: clamp(20px, 1.6vw, 22px); letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cover);
  margin-bottom: 18px;
  transition: color 1.6s ease;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
}

/* ── Layout primitives ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(72px, 10vw, 144px); position: relative; scroll-margin-top: 88px; }

/* Soft accent glow at the top edge of each section + faint fade at the bottom,
   so section boundaries blend instead of stacking abruptly. */
section:not(.hero):not([data-screen-label="Footer"])::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(720px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cover-faint), transparent);
  pointer-events: none;
  opacity: 0.7;
  transition: background 1.6s ease;
}

/* Hero scroll-fade — when scrolled past, bokeh/particles/blur ease away
   so the next section reads cleanly without the hero's visual noise behind it. */
.hero-cover-blur,
.hero-fx-bokeh,
.hero-fx-particles {
  transition:
    opacity 1.4s ease,
    background-image 1.4s ease;
}
body.scrolled-past-hero .hero-fx-bokeh,
body.scrolled-past-hero .hero-fx-particles { opacity: 0; }
body.scrolled-past-hero .hero-cover-blur { opacity: 0 !important; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin-top: 16px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: 0;
}

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"].in { transition-delay: .08s; }
.reveal[data-delay="2"].in { transition-delay: .16s; }
.reveal[data-delay="3"].in { transition-delay: .24s; }
.reveal[data-delay="4"].in { transition-delay: .32s; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), background .2s ease, box-shadow .25s ease, color .2s ease;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn:active { transform: translateY(1px); }

/* iOS 26 Liquid Glass — real refractive backdrop via SVG filter.
   The first backdrop-filter declaration is the fallback (Firefox / older Safari):
   regular blur + saturate. The second declaration upgrades Chrome / Edge to the
   SVG filter pipeline (feImage displacement map → feDisplacementMap → saturate),
   which produces actual edge-confined refraction like Apple's iOS 26. */
.btn-primary {
  /* Fallback: high-quality frosted glass for non-SVG-filter browsers */
  backdrop-filter: blur(28px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(1.1);
  /* Real Liquid Glass — Chromium will pick up these later declarations */
  backdrop-filter: url(#liquid-glass-pill) brightness(1.12);
  -webkit-backdrop-filter: url(#liquid-glass-pill) brightness(1.12);

  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow:
    /* inner top highlight (light catching the rim) */
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    /* outer ambient depth */
    0 16px 50px -16px rgba(0, 0, 0, 0.55),
    0 6px 18px -8px rgba(0, 0, 0, 0.40),
    /* outer accent halo — picks up the active track color */
    0 0 60px -16px var(--cover-soft);
  transition:
    transform var(--t-base) var(--ease-out),
    background var(--t-base) ease,
    border-color var(--t-base) ease,
    box-shadow var(--t-base) ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 24px 60px -16px rgba(0, 0, 0, 0.62),
    0 12px 28px -10px rgba(0, 0, 0, 0.50),
    0 0 88px -14px var(--cover-soft);
}

.btn-ghost {
  color: var(--ink-1);
  border: 1px solid var(--line-strong);
  padding: 15px 22px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(185, 131, 255, 0.06); border-color: var(--cover); }

.btn .arrow { transition: transform var(--t-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

/* .btn.magnetic transform removed — magnetic cursor effect retired. */

/* ── Top nav ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: linear-gradient(180deg, rgba(8, 7, 13, 0.78), rgba(8, 7, 13, 0.4));
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(8, 7, 13, 0.85); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-1); letter-spacing: -0.01em; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, var(--cover), var(--acc-2) 60%, var(--acc-3));
  box-shadow: 0 6px 20px -6px var(--cover-soft);
  flex: none; object-fit: cover;
  transition: box-shadow 1.4s ease, background 1.4s ease;
  animation: brand-breath 6s ease-in-out infinite;
}
@keyframes brand-breath {
  0%, 100% { box-shadow: 0 6px 16px -6px var(--cover-soft); }
  50%      { box-shadow: 0 8px 26px -4px var(--cover-soft); }
}
.brand-text { font-size: 15px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .2s ease;
  position: relative;
  padding-block: 4px;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease-out), background 1s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink-1); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 18px !important; font-size: 14px !important; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink-1); position: relative; display: block; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink-1); }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: rgba(8, 7, 13, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav.menu-open .nav-links a { padding: 12px 0; font-size: 16px; }
  .nav.menu-open .nav-cta { align-self: flex-start; margin-top: 6px; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: 0;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(720px, 100vh, 980px);
  display: flex;
  align-items: center;
}

/* The animated cover-color bleed — this is the pitch */
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(70% 55% at 75% 50%, var(--cover-soft) 0%, transparent 65%),
    radial-gradient(60% 45% at 15% 80%, rgba(var(--cover-r), var(--cover-g), var(--cover-b), 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #0a0814 0%, #07060d 100%);
  transition: background 1.6s ease;
}

/* Blurred cover image as full-hero backdrop — retints on track switch.
   Two stacked instances (added by JS) crossfade so the swap is silky. */
.hero-cover-blur {
  position: absolute; inset: -8%;
  z-index: -3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(30px) saturate(1.2) brightness(0.4);
  transform: scale(1.2);
  opacity: 0;
  transition: opacity 800ms ease;
  will-change: opacity;
}
.hero-cover-blur.active { opacity: 0.45; }

/* Hero FX canvases — particles + bokeh fill the whole hero */
.hero-fx {
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hero-fx-bokeh { filter: blur(2px); }
.hero-fx-particles { opacity: 0.85; }
.hero-bg::after {
  /* Subtle noise via SVG */
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.06 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-spot { display: none; }

/* Top + bottom veil so text reads */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,7,13,0.7) 0%, rgba(8,7,13,0.05) 22%, rgba(8,7,13,0.0) 50%, rgba(8,7,13,0.5) 88%, rgba(8,7,13,0.95) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
  padding-block: clamp(120px, 14vw, 160px);
}

.hero-content { max-width: 620px; }
.hero h1 { color: var(--ink-1); }
.hero h1 .glow {
  background: linear-gradient(180deg, var(--ink-1) 0%, var(--cover) 200%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 1.6s ease;
  filter: drop-shadow(0 2px 30px var(--cover-faint));
}
.hero .lede {
  margin-top: clamp(40px, 4vw, 56px);
  font-size: clamp(17px, 1.45vw, 20px);
  color: rgba(245, 243, 252, 0.85);
  max-width: 560px;
}
.hero-cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cover);
  box-shadow: 0 0 12px var(--cover);
  animation: pulse 1.8s ease-in-out infinite;
  transition: background 1.4s ease, box-shadow 1.4s ease;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   box-shadow: 0 0 12px var(--cover); }
  50%      { transform: scale(1.6); opacity: 0.4; box-shadow: 0 0 22px var(--cover); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.6;
}
.scroll-cue .line {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--cover), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Live player demo ─────────────────────────────────────── */
.player {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--cover-faint), transparent 65%),
    rgba(10, 9, 18, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 100px -30px rgba(0,0,0,0.6),
    0 30px 80px -30px var(--cover-soft);
  transition: box-shadow 1.4s ease, background 1.4s ease;
  perspective: 800px;
}

.cover-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 80px -20px var(--cover-soft);
  transition: box-shadow 1.6s ease, transform .4s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}
.cover-stage:hover { transform: rotateX(3deg) rotateY(-3deg); }

.cover {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
}
.cover.active { opacity: 1; }

/* Procedural cover designs — stand in for real album art (we have no images) */

@keyframes twinkle { 0%,100%{opacity:.7} 50%{opacity:1} }

/* Sample-pulse on cover when bg color is being sampled */
.cover-stage::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--cover-soft);
  opacity: 0;
}
.cover-stage.sampling::after { animation: sample 1.4s ease-out; }
@keyframes sample {
  0%   { box-shadow: 0 0 0 0 var(--cover); opacity: .9; }
  100% { box-shadow: 0 0 0 24px transparent; opacity: 0; }
}

.track-meta { margin-top: 22px; }

.track-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-block;
  transition: opacity .6s ease;
}
.track-title.fading { opacity: 0; }
.track-title.marquee {
  animation: marquee 12s linear infinite;
  padding-right: 40px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(0); }
  90%  { transform: translateX(calc(-1 * var(--m, 0px))); }
  100% { transform: translateX(calc(-1 * var(--m, 0px))); }
}
.track-artist {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-3);
  transition: opacity .6s ease;
}
.track-artist.fading { opacity: 0; }
.track-artist a { transition: color .15s ease; cursor: pointer; }
.track-artist a:hover { color: var(--cover); }

.progress-row { margin-top: 22px; }
.progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cover) 0%, var(--ink-1) 100%);
  width: 0%;
  border-radius: inherit;
  transition: background 1.4s ease, width .1s linear;
  box-shadow: 0 0 12px var(--cover-soft);
}
.progress-thumb {
  position: absolute; top: 50%; left: 0%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-1);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .15s ease, left .1s linear;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.progress:hover .progress-thumb { opacity: 1; }

.times {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--ink-3);
}

.controls {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  opacity: 0.4;
  transition: opacity .25s ease;
}
.player:hover .controls { opacity: 1; }
.controls button {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-1);
  transition: background .2s ease, transform .15s ease;
}
.controls button:hover { background: rgba(255,255,255,0.08); }
.controls button:active { transform: scale(0.92); }
.controls .play {
  width: 48px; height: 48px;
  background: var(--ink-1);
  color: #0a0a14;
}
.controls .play:hover { background: var(--cover); color: var(--ink-1); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 120px 90px; }
  .hero-content { max-width: 100%; }
  .player { max-width: 480px; margin: 0 auto; }
  .hero-card { max-width: 480px; margin: 0 auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .hero-card-cover-wrap { width: min(60vw, 280px); }
}

/* ── Keyboard focus rings (accessibility) ───────────────────── */
.hero-card-ctrl:focus-visible {
  outline: 2px solid rgba(var(--card-accent), 0.85);
  outline-offset: 3px;
}
.hero-card-cover-wrap:focus-visible {
  outline: 2px solid rgba(var(--card-accent), 0.7);
  outline-offset: 4px;
}
.fs-ctrl:focus-visible,
.fs-close:focus-visible,
.fs-gear:focus-visible,
.fs-like:focus-visible {
  outline: 2px solid rgba(var(--fs-accent), 0.85);
  outline-offset: 3px;
}
.fs-progress:focus-visible {
  outline: 2px solid rgba(var(--fs-accent), 0.7);
  outline-offset: 4px;
}
.fs-volume input[type="range"]:focus-visible {
  outline: 2px solid rgba(var(--fs-accent), 0.85);
  outline-offset: 2px;
  border-radius: 99px;
}

/* ── Hero card — cover floats directly on hero, no chrome ───── */
.hero-card {
  --card-accent: 88,168,196;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-card-close {
  display: none;
}

.hero-card-cover-wrap {
  position: relative; z-index: 2;
  width: clamp(220px, 26vw, 280px);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    var(--rim),
    var(--elev-3),
    0 0 80px -10px rgba(var(--card-accent), 0.4);
  transition: box-shadow 1s ease, transform var(--t-slow) var(--ease-out);
}
.hero-card-cover-wrap:focus-visible { outline: 2px solid rgba(var(--card-accent), 0.7); outline-offset: 4px; }

.hero-card-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .35s ease, transform .5s ease;
  will-change: opacity;
}
.hero-card-cover.fading { opacity: 0; }

.hero-card-controls {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.3,1);
}
.hero-card-cover-wrap:hover .hero-card-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.hero-card-ctrl {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none; border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.hero-card-ctrl:hover { background: rgba(0,0,0,0.8); transform: scale(1.06); }
.hero-card-ctrl:active { transform: scale(0.94); }
.hero-card-ctrl--main {
  width: 52px; height: 52px;
  background: rgb(var(--card-accent));
  color: #fff;
  box-shadow: 0 0 28px rgba(var(--card-accent), 0.55);
  transition: background 1s ease, box-shadow 1s ease, transform .15s ease, filter .15s ease;
}
.hero-card-ctrl--main:hover {
  background: rgb(var(--card-accent));
  filter: brightness(1.1);
  box-shadow: 0 0 38px rgba(var(--card-accent), 0.75);
}

/* Play / pause icon swap */
.hero-card-ctrl--main .hero-icon-pause { display: none; }
.hero-card.playing .hero-card-ctrl--main .hero-icon-play  { display: none; }
.hero-card.playing .hero-card-ctrl--main .hero-icon-pause { display: block; }

/* Static "playing" emphasis — no box-shadow animation (was too expensive) */
.hero-card.playing .hero-card-ctrl--main {
  filter: brightness(1.08);
}
.hero-card.playing .hero-card-cover-wrap {
  /* Use a GPU-composited pseudo-element opacity pulse instead of box-shadow keyframe */
}
.hero-card-cover-wrap::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 60px rgba(var(--card-accent), 0.55);
  opacity: 0;
  transition: opacity .8s ease;
  z-index: -1;
}
.hero-card.playing .hero-card-cover-wrap::before {
  opacity: 1;
  animation: hero-glow-pulse 3.6s ease-in-out infinite;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* Sample-pulse ring on the cover when track changes */
.hero-card-cover-wrap::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(var(--card-accent), 0);
  opacity: 0;
}
.hero-card-cover-wrap.sampling::after {
  animation: hero-sample 1.1s ease-out;
}
@keyframes hero-sample {
  0%   { box-shadow: 0 0 0 0 rgba(var(--card-accent), 0.7); opacity: 0.9; }
  100% { box-shadow: 0 0 0 32px rgba(var(--card-accent), 0); opacity: 0; }
}

/* Slight title lift-fade on track switch */
.hero-card-title,
.hero-card-artist {
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}
.hero-card-title.fading,
.hero-card-artist.fading {
  opacity: 0;
  transform: translateY(6px);
}

/* Smooth cover swap with tiny scale */
.hero-card-cover {
  transform: scale(1);
  transition: opacity .35s ease, filter .3s ease, transform .5s cubic-bezier(.2,.8,.3,1);
}
.hero-card-cover.fading {
  opacity: 0;
  transform: scale(0.97);
}

.hero-card-meta {
  position: relative; z-index: 2;
  margin-top: 22px;
  text-align: center;
}
.hero-card-title {
  font-size: 17px;
  font-weight: 600;
  color: rgba(245,243,252,0.95);
  transition: opacity .42s var(--ease-out), transform .42s var(--ease-out);
  will-change: opacity, transform;
}
.hero-card-artist {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(245,243,252,0.65);
  transition: opacity .42s var(--ease-out) 60ms, transform .42s var(--ease-out) 60ms;
  will-change: opacity, transform;
}
.hero-card-title.fading,
.hero-card-artist.fading {
  opacity: 0;
  transform: translateY(6px);
}
.hero-card-title.fading,
.hero-card-artist.fading { opacity: 0; }

.hero-card-progress-row {
  position: relative; z-index: 2;
  margin-top: 24px;
  width: min(380px, 90%);
}
.hero-card-progress {
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}
.hero-card-progress-fill {
  height: 100%;
  width: 18%;
  background: rgba(255,255,255,0.55);
  border-radius: inherit;
  transition: width .9s cubic-bezier(.2,.7,.2,1), background 1s ease;
}
.hero-card-times {
  display: flex; justify-content: flex-end;
  margin-top: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(245,243,252,0.7);
}

/* ── Fullscreen-style player (matches the actual extension UI) ───── */

/* Tiny scattered stars */

@keyframes starTwinkle {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* Chevron close in top-right corner */

/* Centered, smaller artwork like the screenshot */

/* Title + artist centered, tighter */

/* Slim progress + single time on the right */

/* ── Steps ────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  background: linear-gradient(180deg, rgba(20, 18, 30, 0.6), rgba(12, 11, 21, 0.6));
  position: relative;
  overflow: hidden;
  box-shadow: var(--rim), var(--elev-1);
  transition: border-color .3s ease, transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) ease;
  display: flex;
  flex-direction: column;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 131, 255, 0.30);
  box-shadow: var(--rim), var(--elev-3), 0 0 80px -20px var(--cover-soft);
}
.step::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, var(--cover-faint) 0%, transparent 50%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}
.step:hover::before { opacity: 1; }

/* Image at the top of each card — full bleed, with a soft fade
   into the card body so it doesn't feel pasted on. */
.step-art {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #06080c;
  isolation: isolate;
}
.step-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.0);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease;
  filter: saturate(1.05);
}
.step-art::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(12, 11, 21, 0.30) 55%,
    rgba(12, 11, 21, 0.85) 100%
  );
  pointer-events: none;
}
.step:hover .step-art img {
  transform: scale(1.05);
  filter: saturate(1.15);
}

/* Step number floats inside the artwork (top-left) like a badge */

.step-body {
  padding: 24px 28px 30px;
  position: relative;
  z-index: 1;
}
.step-num {
  font-size: 13px; font-weight: 500; color: var(--cover);
  letter-spacing: 0.14em; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 1.4s ease;
}
.step-num::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

.steps-foot {
  margin-top: 32px;
  font-size: 14px; color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(185, 131, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  box-shadow: 0 2px 0 rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.06) inset;
}

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ── Feature grid w/ cursor spotlight ─────────────────────── */

/* ── Color triptych demo (CSS-only adaptive theme illustration) ─── */
.triptych {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  border-radius: var(--r-lg);
  overflow: visible;
}
@media (max-width: 1100px) {
  .triptych { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .triptych { grid-template-columns: 1fr; gap: 14px; }
}
.triptych .panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* Old 1-col rule removed — handled by the new 1100px / 560px breakpoints above */

/* ── Mini fullscreen-player tiles (adaptive theme demo) ───────── */
.triptych .mini-player {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.04);
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(var(--accent), 0.22) 0%, transparent 70%),
    radial-gradient(120% 90% at 50% 50%, #0a1318 0%, #06080c 60%, #04060a 100%);
  box-shadow:
    var(--rim),
    var(--elev-2),
    0 0 0 1px rgba(255,255,255,0.03);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) ease;
}
.triptych .mini-player:hover {
  transform: translateY(-3px);
  box-shadow:
    var(--rim),
    var(--elev-3),
    0 0 60px -10px rgba(var(--accent), 0.45);
}

.triptych .mini-player .player-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 88% 14%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 18% 82%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1px 1px at 84% 78%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 28% 46%, rgba(var(--accent), 0.55), transparent 60%),
    radial-gradient(1px 1px at 72% 36%, rgba(var(--accent), 0.5), transparent 60%),
    radial-gradient(1px 1px at 50% 8%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 8% 56%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(1px 1px at 94% 60%, rgba(255,255,255,0.4), transparent 60%);
  opacity: 0.85;
}

.triptych .mini-player .player-close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(245,243,252,0.5);
  background: transparent; border: none;
  border-radius: 6px;
  cursor: default;
}

.triptych .cover-stage.mini {
  position: relative; z-index: 2;
  width: clamp(110px, 14vw, 150px);
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 60px -16px rgba(0,0,0,0.7),
    0 0 50px -12px rgba(var(--accent), 0.3);
  transform: none;
}
.triptych .cover-stage.mini:hover { transform: none; }
.triptych .cover-stage.mini .cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.triptych .mini-player .track-meta {
  position: relative; z-index: 2;
  margin-top: 16px;
  text-align: center;
}
.triptych .mini-player .track-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(245,243,252,0.92);
}
.triptych .mini-player .track-meta-suffix {
  font-weight: 400;
  color: rgba(245,243,252,0.55);
  margin-left: 4px;
  font-size: 12px;
}
.triptych .mini-player .track-artist {
  font-size: 12px;
  color: rgba(245,243,252,0.6);
  margin-top: 2px;
}

.triptych .mini-player .progress-row {
  position: relative; z-index: 2;
  margin-top: 18px;
  width: min(280px, 85%);
}
.triptych .mini-player .progress {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.triptych .mini-player .progress-fill {
  height: 100%;
  background: rgba(255,255,255,0.5);
  box-shadow: none;
  border-radius: inherit;
}
.triptych .mini-player .times--solo {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  color: rgba(245,243,252,0.5);
}
.triptych .mini-player {
  cursor: pointer;
}
.triptych .mini-player:focus-visible {
  outline: 2px solid rgba(var(--accent), 0.7);
  outline-offset: 4px;
}

/* ── Fullscreen now-playing overlay ──────────────────────────── */
.fs-player {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  --fs-accent: 185,131,255;
}
.fs-player[hidden] { display: none; }
.fs-player.open    { animation: fs-open  .42s cubic-bezier(.2,.8,.3,1) both; pointer-events: auto; }
.fs-player.closing { animation: fs-close .3s ease both; pointer-events: none; }
@keyframes fs-open {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fs-close {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.99); }
}

.fs-bg {
  position: absolute; inset: -8%;
  z-index: -3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(60px) saturate(1.2) brightness(.55);
  transform: scale(1.15);
  opacity: 0;
  transition: opacity .8s ease;
  will-change: opacity;
}
.fs-bg.active { opacity: 1; }
.fs-veil {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(0,0,0,0) 0%, rgba(4,6,10,0.55) 70%, rgba(4,6,10,0.85) 100%),
    radial-gradient(60% 50% at 50% 50%, rgba(var(--fs-accent), 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.fs-particles {
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .9;
}
.fs-bokeh {
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
  filter: blur(2px);
}

.fs-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(245,243,252,0.7);
  background: transparent; border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.fs-close:hover { color: #fff; background: rgba(255,255,255,0.06); }

.fs-stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  width: min(560px, 86vw);
  text-align: center;
}

.fs-cover-wrap {
  position: relative;
  width: clamp(260px, 38vmin, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 120px -20px rgba(0,0,0,0.7),
    0 0 80px -10px rgba(var(--fs-accent), 0.45);
  transition: box-shadow .8s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.fs-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .42s var(--ease-out), transform .5s var(--ease-out);
  will-change: opacity, transform;
}
.fs-cover.fs-fading { opacity: 0; transform: scale(0.97); }

/* All cover overlays start hidden — fade in on cover hover only */
.fs-gear,
.fs-controls-row,
.fs-volume,
.fs-like {
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.3,1);
}
.fs-cover-wrap:hover .fs-gear,
.fs-cover-wrap:hover .fs-controls-row,
.fs-cover-wrap:hover .fs-volume,
.fs-cover-wrap:hover .fs-like,
.fs-cover-wrap:focus-within .fs-gear,
.fs-cover-wrap:focus-within .fs-controls-row,
.fs-cover-wrap:focus-within .fs-volume,
.fs-cover-wrap:focus-within .fs-like {
  opacity: 1;
  pointer-events: auto;
}

/* Subtle dim of cover when hovered so controls read clearly */
.fs-cover {
  transition: filter .3s ease, opacity .35s ease, transform .35s ease;
}
.fs-cover-wrap:hover .fs-cover { filter: brightness(0.72); }

/* Track-switch crossfade */
.fs-cover.fs-fading,
.fs-title, .fs-artist {
  transition: opacity .42s var(--ease-out), transform .42s var(--ease-out);
  will-change: opacity, transform;
}
.fs-artist { transition-delay: 60ms; }
.fs-title.fs-fading,
.fs-artist.fs-fading {
  opacity: 0;
  transform: translateY(6px);
}

/* Settings gear — top-left of cover */
.fs-gear {
  position: absolute; top: 12px; left: 12px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}
.fs-cover-wrap:hover .fs-gear:hover { background: rgba(0,0,0,0.7); transform: scale(1.06); }
.fs-gear svg { transition: transform .35s cubic-bezier(.2,.8,.3,1); }
.fs-gear:hover svg { transform: rotate(90deg); }

/* Center transport row, sitting on cover */
.fs-controls-row {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateY(6px);
  display: flex; align-items: center;
  gap: 14px;
  z-index: 2;
}
.fs-cover-wrap:hover .fs-controls-row { transform: translate(-50%, -50%); }

/* Bottom-left volume — collapsed circle, expands slider on its own hover */
.fs-volume {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex; align-items: center;
  height: 36px;
  padding-right: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 99px;
  z-index: 2;
  overflow: hidden;
  width: 36px;
  transition: width .3s cubic-bezier(.2,.8,.3,1), opacity .25s ease;
}
.fs-cover-wrap:hover .fs-volume:hover,
.fs-cover-wrap:hover .fs-volume:focus-within {
  width: 150px;
  padding-right: 12px;
}
.fs-volume input[type="range"] {
  width: 90px;
  margin-left: 6px;
  opacity: 0;
  transition: opacity .22s ease .05s;
}
.fs-volume:hover input[type="range"],
.fs-volume:focus-within input[type="range"] { opacity: 1; }

/* Bottom-right like button */
.fs-like {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
.fs-cover-wrap:hover .fs-like:hover { background: rgba(0,0,0,0.7); transform: scale(1.06); }
.fs-like.liked { color: rgb(var(--fs-accent)); }

.fs-meta { margin-top: 28px; }
.fs-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.fs-artist {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(245,243,252,0.55);
}

.fs-progress-row {
  width: 100%;
  margin-top: 36px;
}
.fs-progress {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
  overflow: hidden;
  cursor: pointer;
}
.fs-progress-fill {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.85);
  border-radius: inherit;
  transition: width .1s linear;
}
.fs-progress-thumb {
  position: absolute; top: 50%; left: 0%;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .15s ease, left .1s linear;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.fs-progress:hover .fs-progress-thumb,
.fs-progress:hover .fs-progress { overflow: visible; }
.fs-progress:hover .fs-progress-thumb { opacity: 1; }

.fs-times {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(245,243,252,0.7);
}

/* Round dark transport buttons sitting on cover */
.fs-ctrl {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, color .2s ease;
}
.fs-ctrl:hover { background: rgba(0,0,0,0.8); transform: scale(1.06); }
.fs-ctrl:active { transform: scale(0.94); }
.fs-ctrl.active { color: rgb(var(--fs-accent)); }

/* Big accent-colored play button in middle */
.fs-ctrl--main {
  width: 60px; height: 60px;
  background: rgb(var(--fs-accent));
  color: #fff;
  box-shadow: 0 0 32px rgba(var(--fs-accent), 0.55);
}
.fs-ctrl--main:hover {
  background: rgb(var(--fs-accent));
  filter: brightness(1.1);
  box-shadow: 0 0 40px rgba(var(--fs-accent), 0.75);
}
.fs-ctrl--main .fs-icon-pause { display: none; }
.fs-player.playing .fs-ctrl--main .fs-icon-play { display: none; }
.fs-player.playing .fs-ctrl--main .fs-icon-pause { display: block; }

.fs-ctrl--small {
  width: 36px; height: 36px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  flex-shrink: 0;
}
.fs-ctrl--small:hover { background: rgba(255,255,255,0.08); transform: scale(1.06); }
.fs-ctrl--small .fs-icon-mute { display: none; }
.fs-player.muted .fs-ctrl--small .fs-icon-vol { display: none; }
.fs-player.muted .fs-ctrl--small .fs-icon-mute { display: block; }
.fs-volume input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 18px;
  cursor: pointer;
}
.fs-volume input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(
    to right,
    rgb(var(--fs-accent)) 0%,
    rgb(var(--fs-accent)) var(--vol, 80%),
    rgba(255,255,255,0.12) var(--vol, 80%),
    rgba(255,255,255,0.12) 100%
  );
  border-radius: 99px;
}
.fs-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  margin-top: -4.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transition: transform .15s ease;
}
.fs-volume input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
.fs-volume input[type="range"]::-moz-range-track {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
}
.fs-volume input[type="range"]::-moz-range-progress {
  height: 3px;
  background: rgb(var(--fs-accent));
  border-radius: 99px;
}
.fs-volume input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
  .fs-close { top: 14px; right: 16px; }
}

/* ── Aesthetic pair ───────────────────────────────────────── */
.aesthetic {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.aesthetic-copy h2 { margin-bottom: 20px; }
/* Single hero photo — replaces the old two-figure pair */
.aesthetic-single {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,0.7),
    0 0 80px -20px rgba(185,131,255,0.35),
    0 0 0 1px rgba(255,255,255,0.03);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.aesthetic-single img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.aesthetic-single::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,4,16,0.35) 100%);
  pointer-events: none;
}
.aesthetic-single:hover {
  transform: translateY(-3px);
  box-shadow:
    0 50px 130px -30px rgba(0,0,0,0.8),
    0 0 100px -10px rgba(185,131,255,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
}
.aesthetic-single:hover img { transform: scale(1.03); }

@media (max-width: 800px) { .aesthetic { grid-template-columns: 1fr; } }

/* ── Why list ─────────────────────────────────────────────── */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 0; padding: 0;
}
.why li {
  list-style: none;
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  color: var(--ink-1);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex; gap: 16px; align-items: flex-start;
  line-height: 1.4;
  transition: color .25s ease;
}
.why li:hover { color: var(--cover); }
.why li::before {
  content: ""; flex: none; margin-top: 11px;
  width: 18px; height: 1px; background: var(--cover);
  transition: width .3s ease, background 1.4s ease;
}
.why li:hover::before { width: 32px; }
.why li:nth-child(odd)  { padding-right: 48px; border-right: 1px solid var(--line); padding-left: 4px; }
.why li:nth-child(even) { padding-left: 32px; }

@media (max-width: 800px) {
  .why { grid-template-columns: 1fr; }
  .why li:nth-child(odd) { border-right: 0; padding-right: 0; padding-left: 0; }
  .why li:nth-child(even) { padding-left: 0; }
}

/* ── Privacy ──────────────────────────────────────────────── */
.privacy {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(20, 18, 30, 0.6), rgba(12, 11, 21, 0.4));
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: ""; position: absolute; inset: -50% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--cover-faint), transparent 60%);
  pointer-events: none;
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-30%, 20%); }
}
.privacy-body p { color: var(--ink-2); max-width: 50ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  background: rgba(185, 131, 255, 0.04);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.pill:hover { border-color: var(--cover); background: var(--cover-faint); transform: translateY(-2px); }
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cover);
  box-shadow: 0 0 8px var(--cover);
  transition: background 1.4s ease, box-shadow 1.4s ease;
}
@media (max-width: 800px) { .privacy { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  color: var(--ink-1);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cover); }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details > div {
  padding: 0 4px 28px;
  color: var(--ink-2);
  max-width: 70ch;
  font-size: 16px;
  animation: fade-up .4s cubic-bezier(.2,.7,.2,1);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ── Final CTA ────────────────────────────────────────────── */
.final {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 10vw, 140px) clamp(24px, 5vw, 72px);
  text-align: center;
  border: 1px solid var(--line);
}
.final-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #120a26, #08070d);
  overflow: hidden;
}
.final-bg::before, .final-bg::after {
  content: ""; position: absolute;
  width: 80%; aspect-ratio: 1; border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.final-bg::before {
  background: radial-gradient(circle, var(--cover) 0%, transparent 60%);
  top: -40%; left: -20%;
  animation: aurora1 14s ease-in-out infinite alternate;
}
.final-bg::after {
  background: radial-gradient(circle, var(--acc-3) 0%, transparent 60%);
  bottom: -50%; right: -10%;
  animation: aurora2 18s ease-in-out infinite alternate;
}
@keyframes aurora1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20%, 10%) scale(1.2); }
}
@keyframes aurora2 {
  0%   { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-15%, -10%) scale(0.9); }
}
.final::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,7,13,0.4), rgba(8,7,13,0.2) 40%, rgba(8,7,13,0.85));
}
.final h2 { margin-bottom: 16px; }
.final p { color: var(--ink-2); margin-inline: auto; max-width: 56ch; margin-bottom: 36px; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink-3);
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink-1); }

/* ── Reduce motion respect ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .progress-fill { transition: none !important; }
}

/* ── Language switcher (EN | RU pill in the nav) ───────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}
.lang-switch a {
  padding: 5px 11px !important;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
  line-height: 1;
}
.lang-switch a::after { display: none !important; }
.lang-switch a:hover { color: var(--ink-1); }
.lang-switch a.active {
  background: rgba(185, 131, 255, 0.18);
  color: var(--ink-1);
}

/* ── Creator link (footer @handle) ──────────────────────────── */
.creator-link {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(185, 131, 255, 0.45);
  transition: color .18s ease, text-decoration-color .18s ease;
}
.creator-link:hover {
  color: var(--ink-1);
  text-decoration-color: rgba(185, 131, 255, 0.95);
}

/* ── Support button + modal ─────────────────────────────────── */
.nav-support {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(185, 131, 255, 0.06);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.nav-support svg { color: rgba(185, 131, 255, 0.9); transition: color .18s ease, transform .25s ease; }
.nav-support:hover {
  color: var(--ink-1);
  background: rgba(185, 131, 255, 0.14);
  border-color: rgba(185, 131, 255, 0.45);
}
.nav-support:hover svg { color: rgba(220, 180, 255, 1); transform: scale(1.15); }

.footer-support {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .18s ease;
}
.footer-support:hover { color: var(--ink-1); }

.support-modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink-1);
  max-width: 560px;
  width: calc(100% - 32px);
  margin: auto;
  overflow: visible;
}
.support-modal::backdrop {
  background: rgba(8, 7, 13, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.support-modal[open] {
  animation: support-pop .28s cubic-bezier(.2, .8, .25, 1);
}
@keyframes support-pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.support-modal > * {
  /* Inner glass card holds the actual content */
}
.support-modal {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 22, 40, 0.92), rgba(18, 14, 26, 0.92));
  border: 1px solid rgba(185, 131, 255, 0.22);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.02) inset,
              0 0 60px -20px rgba(185, 131, 255, 0.35);
  padding: 28px 28px 22px;
  position: relative;
}
.support-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.support-close:hover { color: var(--ink-1); background: rgba(255, 255, 255, 0.08); transform: rotate(90deg); }

.support-head { text-align: center; margin-bottom: 22px; padding: 0 6px; }
.support-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(185, 131, 255, 0.14);
  color: rgba(220, 190, 255, 0.95);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.support-head h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink-1);
}
.support-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.support-card {
  display: block;
  text-decoration: none;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  text-align: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.support-card:hover {
  transform: translateY(-2px);
  background: rgba(185, 131, 255, 0.08);
  border-color: rgba(185, 131, 255, 0.45);
  box-shadow: 0 10px 30px -10px rgba(185, 131, 255, 0.35);
}
.support-card-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(185, 131, 255, 0.4));
}
.support-card-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.support-card-caption {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.2px;
}

.support-foot {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 6px;
}

@media (max-width: 640px) {
  .support-cards { grid-template-columns: 1fr; }
  .support-modal { padding: 24px 20px 18px; }
  .nav-support span { display: none; }
  .nav-support { padding: 7px 10px; }
}

/* Mobile / touch: never autoplay or animate on tap, just leave at poster frame */

/* 1. Adaptive cover-colour theme — soft blob, hue rotates */

/* 2. Fullscreen now-playing — breathing rounded square */

/* 3. Hover-revealed controls — single play triangle pulsing */

/* 4. 60fps progress bar — thin line filling */

  100%     { transform: scaleX(1);   opacity: 0; }

/* 5. Smart marquee — drifting tiny dots */

/* 6. Volume on hover — single vertical bar growing */

/* 7. Keyboard shortcuts — single small keycap pressing */

/* 8. Click the artist name — single drifting arrow */

/* 9. Nothing else — single dot gently pulsing */

/* Respect users with reduced-motion preference */

/* ── Bento grid for features section ────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  transition: border-color .35s ease, transform .35s ease;
  box-shadow: var(--rim), var(--elev-1);
  isolation: isolate;
}
.tile:hover { border-color: rgba(185, 131, 255, 0.30); transform: translateY(-2px); }

.tile-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.tile-body { position: relative; z-index: 2; }
.tile-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  color: var(--ink-1);
}
.tile-body p {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0;
  max-width: 340px;
  line-height: 1.55;
}

.tile--hero {
  grid-column: 1 / 3;
  grid-row: 1;
  min-height: 360px;
}
.tile--hero .tile-body h3 { font-size: 30px; margin-bottom: 10px; }
.tile--hero .tile-body p  { font-size: 16px; max-width: 480px; }

.tile--m {
  grid-column: 3;
  grid-row: 1;
  min-height: 360px;
}

.tile--s { min-height: 210px; }

/* Tile 1 stage v2: small centered cover thumbnail + colour-shifting bg */
.adapt-stage {
  overflow: hidden;
}
.adapt-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 50%,
    rgb(var(--adapt-r, 185) var(--adapt-g, 131) var(--adapt-b, 255) / 0.32) 0%,
    transparent 70%);
}
.adapt-aura {
  position: absolute;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle,
    rgb(var(--adapt-r, 185) var(--adapt-g, 131) var(--adapt-b, 255) / 0.55) 0%,
    transparent 60%);
  filter: blur(28px);
}
.adapt-cover {
  position: absolute;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  will-change: opacity, transform;
  width: 150px; height: 150px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
}
.adapt-cover--1 { opacity: 1; } /* initial visible cover */

.tile--hero::after {
  /* Subtle vignette so the body text always wins */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 7, 13, 0.85) 75%);
  z-index: 1;
  pointer-events: none;
}

/* Tile 2 stage v2: bottom-bar → fullscreen narrative */
.bfs-stage { perspective: 600px; bottom: 110px; }

.bfs-bar {
  position: absolute;
  left: 10%; right: 10%;
  bottom: 8px;
  height: 26px;
  background: linear-gradient(180deg, rgba(20, 18, 30, 0.96), rgba(15, 14, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.bfs-bar-thumb {
  width: 18px; height: 18px;
  border-radius: 3px;
  background: linear-gradient(135deg, #b983ff, #5a2ea6);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.bfs-bar-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bfs-bar-line {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.bfs-bar-line--title  { width: 38%; }
.bfs-bar-line--artist { width: 22%; background: rgba(255, 255, 255, 0.10); }
.bfs-bar-controls { display: flex; gap: 4px; padding-right: 4px; }
.bfs-bar-controls span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.bfs-click-ring {
  position: absolute;
  left: calc(10% + 10px);
  bottom: 14px;
  width: 18px; height: 18px;
  border: 2px solid rgba(185, 131, 255, 0.9);
  border-radius: 4px;
  transform: scale(0.6);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(185, 131, 255, 0.5);
}

.bfs-aura {
  position: absolute;
  left: 50%; top: 42%;
  width: 180px; height: 180px;
  transform: translate(-50%, -50%) scale(0.6);
  background: radial-gradient(circle, rgba(185, 131, 255, 0.45) 0%, transparent 60%);
  filter: blur(28px);
  opacity: 0;
  pointer-events: none;
}

.bfs-card {
  position: absolute;
  left: 50%; top: 42%;
  width: 100px;
  transform: translate(-50%, 50%) scale(0.18);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform-origin: 50% 100%;
}
.bfs-card-art {
  width: 100px; height: 100px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #1a1029;
  box-shadow: 0 0 28px rgba(185, 131, 255, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bfs-card-row {
  display: flex;
  gap: 8px;
  opacity: 0;
  align-items: center;
}
.bfs-card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245, 243, 252, 0.5);
}
.bfs-card-dot--main {
  width: 10px; height: 10px;
  background: #b983ff;
  box-shadow: 0 0 10px rgba(185, 131, 255, 0.7);
}

/* Tile 3 stage: progress bar */
.stage-pb {
  position: absolute;
  left: 12%; right: 12%;
  top: 38%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.stage-pb-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(185,131,255,0.95));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(185,131,255,0.5);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Tile 4 stage: controls row */
.stage-ctrl-row {
  position: absolute;
  left: 0; right: 0;
  top: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.stage-ctrl {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245, 243, 252, 0.7);
  opacity: 0;
}
.stage-ctrl svg { width: 13px; height: 13px; }
.stage-ctrl--play {
  background: rgba(185,131,255,0.85);
  border: none;
  color: #08070d;
  width: 38px; height: 38px;
  box-shadow: 0 0 20px rgba(185,131,255,0.4);
}
.stage-ctrl--play svg { width: 14px; height: 14px; }

/* Tile 5 stage: keyboard keys */
.stage-key-row {
  position: absolute;
  left: 0; right: 0;
  top: 32%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.stage-key {
  height: 30px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 3px 0 rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: rgba(245, 243, 252, 0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 0 14px;
  font-family: inherit;
}
.stage-key--space { min-width: 72px; }
.stage-key--esc { min-width: 38px; }

/* More features inline list */
.more-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}
.more-features li::before {
  content: '·';
  margin-right: 8px;
  color: var(--ink-4);
}
.more-features li:first-child::before { content: ''; margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--hero { grid-column: 1 / 3; grid-row: 1; }
  .tile--m { grid-column: 1; grid-row: 2; min-height: 240px; }
  .tile--s { min-height: 200px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile--hero { grid-column: 1; min-height: 280px; }
  .tile--hero .tile-body h3 { font-size: 24px; }
  .tile--m { grid-column: 1; min-height: 220px; }
}

/* ╭─────────────────────────────────────────────────────────────╮ */
/* │  Mobile rethink v2 — compact 2-tier hero + sharper rhythm   │ */
/* ╰─────────────────────────────────────────────────────────────╯ */

/* Default desktop: hide all mobile-only elements */
.mobile-hint    { display: none; }
.swipe-hint     { display: none; }
.h1-mobile      { display: none; }
.show-mobile    { display: none; }
.features-list-mobile { display: none; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  /* ── Visibility swaps ──────────────────────────────────────── */
  .hide-mobile    { display: none !important; }
  .h1-desktop     { display: none; }
  .h1-mobile      { display: inline; }
  .show-mobile    { display: inline-flex !important; }
  .scroll-cue     { display: none !important; }

  /* ── Typography scale ──────────────────────────────────────── */
  h1 { font-size: 28px !important; line-height: 1.06; letter-spacing: -0.025em; }
  h2 { font-size: 24px !important; line-height: 1.12; }
  h3 { font-size: 17px !important; }
  .lede { font-size: 15px; line-height: 1.5; }
  .eyebrow { font-size: 11px; margin-bottom: 10px; letter-spacing: 0.12em; }

  /* ── Vertical rhythm ──────────────────────────────────────── */
  section { padding-block: 48px !important; scroll-margin-top: 72px; }
  .section-head { margin-bottom: 22px !important; }

  /* ── HERO — compact 2-tier ────────────────────────────────── */
  .hero { min-height: auto; }
  .hero-grid {
    padding-block: 78px 48px !important;
    gap: 18px !important;
    grid-template-columns: 1fr !important;
  }
  .hero-content { text-align: center; }
  .hero-meta { display: none !important; }              /* "Live demo — try below" pill */
  .hero-content h1 { margin-top: 4px !important; }

  /* The CTA row: hide install (desktop-only), keep ghost as the only action */
  .hero-cta-row {
    display: flex; flex-direction: column; gap: 10px;
    width: 100%; max-width: 280px; margin: 4px auto 0;
  }
  .hero-cta-row .btn-primary { display: none !important; }
  .hero-cta-row .btn-ghost {
    width: 100%; justify-content: center;
    padding-block: 12px;
    font-size: 14px;
  }
  .hero-cta-row .btn-ghost::after {
    content: " ↓";
    margin-left: 4px;
    opacity: 0.75;
    font-size: 13px;
  }

  /* Hero card — cover only */
  .hero-card {
    margin-top: 4px !important;
    padding: 0 !important;
  }
  .hero-card-close { display: none !important; }
  .hero-card-controls { display: none !important; }
  .hero-card-progress-row { display: none !important; }
  .hero-card-cover-wrap {
    width: min(62vw, 240px) !important;
  }
  .hero-card-meta { margin-top: 12px !important; }
  .hero-card-title { font-size: 15px !important; font-weight: 600; }
  .hero-card-artist { font-size: 12px !important; color: var(--ink-3); }

  /* Mobile hint block under hero CTA */
  .mobile-hint {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    margin: 14px auto 0;
    max-width: 320px;
  }
  .mobile-hint-line {
    font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-3);
  }
  .copy-link-btn {
    appearance: none; background: rgba(185, 131, 255, 0.08);
    border: 1px solid rgba(185, 131, 255, 0.25);
    padding: 9px 16px;
    display: inline-flex; align-items: center; gap: 7px;
    font: inherit; font-size: 13px; font-weight: 500;
    color: rgba(220, 190, 255, 0.95);
    border-radius: 999px;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
  }
  .copy-link-btn:hover {
    color: var(--ink-1);
    background: rgba(185, 131, 255, 0.16);
    border-color: rgba(185, 131, 255, 0.5);
  }
  .copy-link-btn--ok {
    color: rgba(140, 230, 180, 1) !important;
    border-color: rgba(140, 230, 180, 0.5) !important;
    background: rgba(140, 230, 180, 0.08) !important;
  }

  /* ── HOW IT WORKS — tighter steps ─────────────────────────── */
  .steps { gap: 18px; }
  .step-art { aspect-ratio: 16 / 10; max-height: 180px; overflow: hidden; }
  .step-art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .step-body { padding: 16px !important; }
  .step-num { font-size: 11px; }
  .step-body h3 { font-size: 16px !important; }
  .step-body p { font-size: 13px; }
  .steps-foot { font-size: 12px; gap: 14px; flex-wrap: wrap; }

  /* ── FEATURES — hero tile + mobile list (kill the 2×2 grid) ─ */
  .bento { grid-template-columns: 1fr !important; gap: 0 !important; }
  .tile--hero {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 220px !important;
    margin-bottom: 18px;
  }
  .tile--hero .tile-body h3 { font-size: 18px !important; }
  .tile--hero .tile-body p  { font-size: 13px; }
  .tile--m, .tile--s { display: none !important; }
  .more-features { display: none !important; }

  .features-list-mobile {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
  }
  .features-list-mobile li {
    position: relative;
    padding: 12px 0 12px 22px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.4;
  }
  .features-list-mobile li::before {
    content: "·";
    position: absolute;
    left: 6px; top: 11px;
    color: var(--cover);
    font-size: 18px;
    line-height: 1;
  }

  /* ── ADAPTIVE TRIPTYCH — horizontal snap-scroll ─────────── */
  .swipe-hint {
    display: inline-block;
    margin-top: 10px;
    font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-3);
  }
  .triptych {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    gap: 14px !important;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
  }
  .triptych::-webkit-scrollbar { display: none; }
  .triptych > .mini-player {
    flex: 0 0 78%;
    max-width: 280px;
    scroll-snap-align: start;
  }

  /* ── AESTHETIC PHOTO ────────────────────────────────────── */
  .aesthetic { gap: 18px; }
  .aesthetic-copy h2 { margin-bottom: 10px; }
  .aesthetic-copy .lede { margin-top: 10px !important; }
  .aesthetic-single { max-height: 220px; }
  .aesthetic-single img { max-height: 220px; }

  /* ── WHY LIST ───────────────────────────────────────────── */
  .why { border-top: 1px solid var(--line); }
  .why li {
    padding: 14px 0 !important;
    font-size: 15px !important;
    gap: 10px;
    line-height: 1.4;
  }
  .why li::before { width: 12px; margin-top: 9px; }

  /* ── PRIVACY ────────────────────────────────────────────── */
  .privacy {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    grid-template-columns: 1fr !important;
  }
  .privacy-body { padding: 0; }
  .privacy-body p { font-size: 14px; line-height: 1.55; }
  .pills { gap: 6px !important; margin-top: 18px !important; }
  .pill { padding: 6px 10px !important; font-size: 11px !important; }

  /* ── FAQ ────────────────────────────────────────────────── */
  .faq summary { font-size: 15px !important; padding: 14px 0 !important; }
  .faq details > div { font-size: 14px; line-height: 1.55; }

  /* ── FINAL CTA ──────────────────────────────────────────── */
  .final { text-align: center; padding-block: 36px !important; }
  .final h2 { margin-bottom: 12px; }
  .final p { font-size: 14px; margin-bottom: 20px !important; }
  /* Stack: copy-link primary, install ghost below */
  .final .final-copy-link {
    width: 100%; max-width: 320px;
    margin: 0 auto 10px !important;
    justify-content: center;
    display: inline-flex !important;
  }
  .final > a.btn-primary {
    width: 100%; max-width: 320px;
    margin: 0 auto;
    justify-content: center;
    /* Demote install to secondary visual treatment on mobile */
    background: transparent !important;
    border: 1px solid var(--line-strong) !important;
    color: var(--ink-2) !important;
    font-weight: 500;
    box-shadow: none !important;
  }
  .final > a.btn-primary:hover {
    color: var(--ink-1) !important;
    border-color: rgba(185, 131, 255, 0.45) !important;
    background: rgba(185, 131, 255, 0.06) !important;
  }

  /* ── FOOTER ─────────────────────────────────────────────── */
  .footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-block: 24px !important;
  }
  .footer-links {
    gap: 10px 18px !important;
    font-size: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-links a, .footer-links span, .footer-support { font-size: 12px; }

  /* ── SUPPORT MODAL ──────────────────────────────────────── */
  .support-modal { padding: 22px 18px 18px !important; }
  .support-head h3 { font-size: 21px; }
  .support-head p { font-size: 13px; }
  .support-card-name { font-size: 14px; }
  .support-card-caption { font-size: 11px; }
}

@media (max-width: 400px) {
  h1 { font-size: 25px !important; }
  h2 { font-size: 21px !important; }
  .hero-card-cover-wrap { width: min(58vw, 210px) !important; }
  .tile--hero { min-height: 190px !important; }
  .features-list-mobile li { font-size: 13.5px; padding: 11px 0 11px 20px; }
  .support-modal { padding: 20px 14px 14px !important; }
  .support-card { padding: 14px 12px !important; }
  .copy-link-btn { font-size: 12px; padding: 8px 14px; }
}
