:root {
  --bg: #131315;
  --on-surface: #e4e2e4;
  --on-variant: #c1c6d7;
  --primary: #adc6ff;
  --blue: #4b8eff;
  --lilac: #e9b3ff;
  --cyan: #45e2f1;
  --purple: #7d01b1;
  --surface: #1f1f21;
  --surface-2: #353437;
  --glass: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.2);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  transition: transform 0.4s ease-out;
}

.blob-magenta {
  background: var(--lilac);
  top: -8%;
  left: 10%;
}

.blob-blue {
  background: var(--blue);
  top: 20%;
  right: -8%;
}

.blob-cyan {
  background: var(--cyan);
  bottom: 5%;
  left: 35%;
  opacity: 0.22;
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 7vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--on-variant);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-cta {
  background: var(--blue);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 7vw 40px;
  min-height: calc(100vh - 76px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px;
}

.inline-heart {
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: -0.12em;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 12px;
}

.lede,
.listen-copy p,
.import-copy p,
.section-head p {
  color: var(--on-variant);
  font-size: 17px;
  max-width: 38rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--lilac), var(--blue) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.btn-primary {
  background: var(--blue);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 650;
}

.btn-ghost {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass);
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin: 0;
}

.hero-stats dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-variant);
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 750;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.eq-logo {
  position: absolute;
  inset: auto auto 8% -8%;
  z-index: 2;
}

.eq-frame {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  background: #0c0c10;
  border: 1px solid color-mix(in srgb, var(--lilac) 40%, var(--cyan));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 48px color-mix(in srgb, var(--lilac) 35%, transparent),
    0 20px 50px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
}

.eq-m {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
}

.eq-col {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.eq-seg {
  width: 16px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lilac), var(--primary) 50%, var(--cyan));
  box-shadow: 0 0 10px color-mix(in srgb, var(--lilac) 55%, var(--cyan));
  opacity: 0.28;
}

.eq-seg.on {
  opacity: 1;
}

.device {
  width: min(300px, 78vw);
  margin: 0 auto;
}

.hero-device {
  transform: rotate(4deg);
}

.device-bezel {
  border-radius: 42px;
  padding: 10px;
  background: #0a0a0c;
  border: 1px solid #3a3a42;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(233, 179, 255, 0.18);
}

.device-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.shot.is-loaded {
  opacity: 1;
}

.hero-device .shot.is-loaded {
  top: 22px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 22px);
}

.device:has(.shot.is-loaded) .shot-badge,
.device:has(.shot.is-loaded) .ghost {
  display: none;
}

.ghost {
  position: absolute;
  inset: 0;
  padding: 44px 14px 18px;
  display: none;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(180px 180px at 80% 0%, rgba(75, 142, 255, 0.28), transparent 60%),
    radial-gradient(200px 200px at 10% 90%, rgba(125, 1, 177, 0.22), transparent 55%),
    #131315;
}

.ghost.is-active,
.hero-device .ghost,
.listen .ghost,
.import .ghost {
  display: flex;
}

.ghost-status {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 11px;
  font-weight: 650;
}

.ghost-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ghost-header h2 {
  font-size: 22px;
  margin: 0;
}

.ghost-header p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--on-variant);
}

.ghost-icon,
.ghost-search,
.ghost-tile,
.ghost-row i,
.ghost-video,
.ghost-hero,
.ghost-albums i,
.ghost-player i,
.ghost-source {
  background: var(--glass);
  border: 1px solid var(--stroke);
}

.ghost-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.ghost-search,
.ghost-banner,
.ghost-source {
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--on-variant);
}

.ghost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ghost-tile {
  aspect-ratio: 1;
  border-radius: 8px;
}

.ghost-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--glass);
}

.ghost-row i {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.ghost-row b {
  flex: 1;
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.ghost-video {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.ghost-hero {
  height: 150px;
  margin: -44px -14px 0;
  border: 0;
  background: linear-gradient(180deg, #3a2248, #131315);
}

.ghost-hero.tall {
  height: 190px;
}

.ghost-name {
  font-size: 22px;
  font-weight: 800;
}

.ghost-chips {
  display: flex;
  gap: 6px;
}

.ghost-chips span {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--stroke);
  padding: 4px 8px;
}

.ghost-kicker {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.ghost-albums {
  display: flex;
  gap: 8px;
}

.ghost-albums i {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

.ghost-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 18px;
  padding: 8px 6px;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--on-variant) 70%, transparent);
}

.ghost-tabs .on {
  color: var(--blue);
}

.ghost-player {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}

.ghost-player i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.ghost-player div {
  flex: 1;
}

.ghost-player b {
  display: block;
  height: 8px;
  width: 70%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.ghost-player em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.ghost-source {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ghost-source.dim {
  opacity: 0.55;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.dot.apple {
  background: #fc3c44;
}

.dot.spotify {
  background: #1db954;
}

.ghost-source small {
  display: block;
  color: var(--on-variant);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--on-variant);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.features,
.listen,
.import,
.premium {
  padding: 88px 7vw;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 40px;
}

.feature-layout,
.listen,
.import {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card {
  display: flex;
  gap: 14px;
  text-align: left;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 16px;
  color: inherit;
  cursor: pointer;
}

.feature-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 50%, transparent);
}

.feature-card strong {
  display: block;
  margin-bottom: 4px;
}

.feature-card span:last-child span {
  color: var(--on-variant);
  font-size: 14px;
}

.feature-card span:last-child .info-mark {
  display: inline-block;
  overflow: hidden;
  width: 1em;
  height: 1em;
  margin: 0 0.14em;
  vertical-align: baseline;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  line-height: 1;
}

.feature-card span:last-child .info-mark b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.68em;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  color: #fff;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.checks {
  padding: 0;
  list-style: none;
}

.checks li {
  padding: 8px 0 8px 22px;
  position: relative;
}

.checks li::before,
.note::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.checks li::before {
  top: 16px;
}

.note {
  position: relative;
  padding-left: 22px;
  color: var(--lilac);
}

.note::before {
  top: 0.55em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.plan {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px 16px;
  color: inherit;
  min-height: 132px;
}

.plan.is-selected {
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 40%, transparent);
}

.plan-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price {
  display: block;
  font-size: 28px;
  margin: 10px 0 6px;
}

.plan-note {
  color: var(--on-variant);
  font-size: 14px;
}

.perk-list {
  list-style: none;
  padding: 8px 16px;
  margin: 0 0 36px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}

.perk-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.perk-list li:last-child {
  border: 0;
}

.perk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  flex: none;
}

.perk-list span {
  display: block;
  color: var(--on-variant);
  font-size: 15px;
}

.footer {
  padding: 40px 7vw 56px;
  border-top: 1px solid var(--stroke);
  color: var(--on-variant);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--on-surface);
}

.footer-brand img {
  border-radius: 10px;
}

.footer-brand span {
  display: block;
  color: var(--on-variant);
  font-size: 13px;
}

.legal a {
  color: var(--primary);
}

.feature-stage .ghost:not(.is-active) {
  display: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .feature-layout,
  .listen,
  .import {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 0;
  }

  .eq-logo {
    position: static;
    margin-bottom: 20px;
  }

  .hero-device {
    transform: none;
  }

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

/* Phones only — keep iPad/desktop hero composition unchanged */
@media (max-width: 699px) {
  .hero-device {
    position: relative;
    z-index: 1;
    width: min(248px, 66vw);
    margin-left: auto;
    margin-right: 0;
  }

  .eq-logo {
    position: absolute;
    left: 0;
    bottom: 14%;
    z-index: 5;
    margin-bottom: 0;
  }

  .eq-frame {
    width: 112px;
    height: 112px;
    border-radius: 26px;
  }

  .eq-m {
    height: 62px;
    gap: 5px;
  }

  .eq-col {
    gap: 3px;
  }

  .eq-seg {
    width: 11px;
    height: 4px;
  }

  .import-copy {
    order: -1;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .lede,
  .listen-copy p,
  .import-copy p,
  .section-head p {
    font-size: 14px;
  }

  .section-head p.eyebrow,
  .listen-copy p.eyebrow,
  .import-copy p.eyebrow {
    font-size: 11px;
  }

  .hero-stats dd {
    font-size: 18px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 11px 18px;
    font-size: 14px;
  }

  .feature-card span:last-child span {
    font-size: 13px;
  }

  .perk-list span {
    font-size: 14px;
  }

  .plan-price {
    font-size: 24px;
  }

  .ticker-track {
    font-size: 11px;
  }

  .footer {
    font-size: 13px;
  }
}

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

  .ticker-track,
  .reveal,
  .blob {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
