:root {
  --ink: #f8f6ff;
  --muted: #b6b0c8;
  --surface: #181020;
  --surface-strong: #22142d;
  --line: rgb(255 255 255 / 12%);
  --pink: #fb367f;
  --violet: #af4dff;
  --cyan: #32d7ff;
  --yellow: #ffc240;
  --page: #100819;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgb(99 49 172 / 24%), transparent 24rem),
    radial-gradient(circle at 2% 42%, rgb(251 54 127 / 12%), transparent 22rem),
    var(--page);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 4rem 4rem;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  height: auto;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: #160921;
  background: var(--yellow);
  border-radius: 0.55rem;
  transform: translateY(-5rem);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section-shell,
.site-footer {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.brand img {
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: #d7d2e4;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-actions > a:not(.button) {
  transition: color 150ms ease;
}

.header-actions > a:not(.button):hover,
.site-footer > a:last-child:hover {
  color: var(--cyan);
}

.language-switch {
  display: inline-flex;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  background: rgb(255 255 255 / 4%);
}

.language-switch button {
  padding: 0.25rem 0.45rem;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 99rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  color: #190a21;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: center;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #210719;
  background: linear-gradient(115deg, var(--yellow), #ff8a4c 46%, #ff4e9b);
  box-shadow: 0 0.7rem 1.8rem rgb(248 58 135 / 26%);
}

.button-primary:hover {
  box-shadow: 0 0.9rem 2.2rem rgb(248 58 135 / 42%);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: rgb(255 255 255 / 5%);
}

.button-quiet:hover {
  background: rgb(255 255 255 / 10%);
}

.button-small {
  min-height: 2.55rem;
  padding-inline: 0.9rem;
  color: #1c0920;
  background: var(--ink);
  border-radius: 0.65rem;
  font-size: 0.82rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
  align-items: center;
  padding-block: clamp(1.75rem, 3vw, 2.5rem) 2rem;
  gap: clamp(2rem, 6vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 9ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.45rem, 7vw, 6.5rem);
}

h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 4.7vw, 4.1rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.hero-description,
.section-intro > p,
.access-panel p,
.tv-copy > p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.availability-note {
  max-width: 29rem;
  margin: 1.15rem 0 0;
  color: #8f86a2;
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  min-height: 27rem;
  isolation: isolate;
}

.hero-image-frame {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(92%, 28rem);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 2rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 38%);
  transform: translate(-50%, -50%) rotate(2deg);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: inherit;
  content: "";
}

.hero-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.orb {
  position: absolute;
  z-index: -1;
  width: 15rem;
  aspect-ratio: 1;
  filter: blur(2px);
  border-radius: 50%;
}

.orb-pink {
  top: 4%;
  right: 4%;
  background: rgb(243 37 135 / 75%);
}

.orb-blue {
  bottom: 4%;
  left: 2%;
  background: rgb(27 170 255 / 62%);
}

.now-playing-card {
  position: absolute;
  z-index: 2;
  right: -0.9rem;
  bottom: 3.3rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  color: #fbf7ff;
  background: rgb(26 12 42 / 75%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0.85rem;
  box-shadow: 0 1rem 2rem rgb(0 0 0 / 25%);
  backdrop-filter: blur(14px);
  font-size: 0.79rem;
  font-weight: 700;
}

.equalizer {
  display: flex;
  align-items: center;
  gap: 0.16rem;
  height: 1.25rem;
}

.equalizer i {
  display: block;
  width: 0.17rem;
  height: 50%;
  background: linear-gradient(var(--yellow), var(--pink));
  border-radius: 1rem;
  animation: bounce 1.2s ease-in-out infinite alternate;
}

.equalizer i:nth-child(2) { height: 100%; animation-delay: -0.4s; }
.equalizer i:nth-child(3) { height: 68%; animation-delay: -0.75s; }
.equalizer i:nth-child(4) { height: 85%; animation-delay: -0.15s; }

@keyframes bounce {
  to { transform: scaleY(0.42); }
}

.how-it-works,
.access,
.tv-section {
  padding-block: 5.25rem;
}

.section-intro {
  margin-bottom: 2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}

.step-copy {
  position: relative;
  z-index: 1;
  max-width: 17rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 2.8rem;
  color: #2c1130;
  background: var(--yellow);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
}

.step-card p {
  margin-bottom: 0;
  color: #d0c9dc;
  font-size: 0.92rem;
}

.step-card-large {
  display: grid;
  grid-template-rows: auto minmax(15rem, 1fr);
  min-height: 35rem;
}

.step-art {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 0;
  margin: 1rem -1rem -1.5rem;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background:
    radial-gradient(circle at 50% 86%, rgb(255 89 162 / 24%), transparent 45%),
    linear-gradient(to top, rgb(8 5 15 / 45%), transparent 60%);
}

.step-art img {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  max-height: 21rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 1.1rem 1.5rem rgb(0 0 0 / 35%));
}

.step-card-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18rem;
  background:
    radial-gradient(circle at 75% 60%, rgb(41 214 255 / 22%), transparent 20rem),
    linear-gradient(120deg, #351138, #19172f 58%, #102c42);
}

.step-card-wide .step-copy {
  max-width: 24rem;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 0.65rem);
  width: min(44%, 25rem);
  height: 11rem;
}

.waveform i {
  display: block;
  width: clamp(0.4rem, 0.9vw, 0.7rem);
  height: var(--height);
  background: linear-gradient(var(--yellow), var(--pink) 45%, var(--cyan));
  border-radius: 10rem;
  box-shadow: 0 0 1rem rgb(215 69 255 / 45%);
}

.waveform i:nth-child(1), .waveform i:nth-child(12) { --height: 28%; }
.waveform i:nth-child(2), .waveform i:nth-child(11) { --height: 48%; }
.waveform i:nth-child(3), .waveform i:nth-child(10) { --height: 72%; }
.waveform i:nth-child(4), .waveform i:nth-child(9) { --height: 45%; }
.waveform i:nth-child(5), .waveform i:nth-child(8) { --height: 88%; }
.waveform i:nth-child(6), .waveform i:nth-child(7) { --height: 62%; }

.access-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 88% 12%, rgb(255 148 55 / 35%), transparent 19rem),
    linear-gradient(125deg, #391039, #20142e 54%, #1e1745);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 1.8rem;
}

.access-panel h2 {
  max-width: 13ch;
}

.access-panel p {
  margin-bottom: 0;
}

.access-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

.access-actions .button {
  width: 100%;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.store-card {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 12.4rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  text-align: left;
  color: #c6c0d3;
  background: rgb(255 255 255 / 4%);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  cursor: not-allowed;
}

.store-card:disabled {
  opacity: 0.86;
}

.store-card small,
.store-card strong {
  display: block;
}

.store-card small {
  color: #8f879f;
  font-size: 0.68rem;
  line-height: 1.25;
}

.store-card strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.store-icon {
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
}

.google-play-icon {
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 18%));
}

.apple-icon {
  fill: #fbfaff;
}

.tv-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.tv-screen {
  position: relative;
  min-height: 22rem;
  padding: 1rem;
  background: #0a0710;
  border: 0.6rem solid #292234;
  border-radius: 1.7rem;
  box-shadow: 0 2rem 3rem rgb(0 0 0 / 38%);
}

.tv-glow {
  position: absolute;
  inset: 2rem;
  background: radial-gradient(circle, rgb(240 57 148 / 64%), rgb(79 77 241 / 38%) 40%, transparent 67%);
  filter: blur(18px);
}

.tv-ui {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 19.8rem;
  padding: 1.15rem;
  background: linear-gradient(135deg, #160d24, #12253b);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 0.85rem;
}

.tv-ui-top {
  display: flex;
  gap: 0.3rem;
}

.tv-ui-top span {
  width: 0.45rem;
  height: 0.45rem;
  background: rgb(255 255 255 / 36%);
  border-radius: 50%;
}

.tv-ui-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tv-play {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  place-items: center;
  padding-left: 0.13rem;
  color: #391031;
  background: linear-gradient(135deg, var(--yellow), #ff578a);
  border-radius: 50%;
  box-shadow: 0 0 2rem rgb(250 67 151 / 48%);
}

.tv-ui-main b,
.tv-ui-main em {
  display: block;
}

.tv-ui-main b {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.tv-ui-main em {
  color: #b7b1d1;
  font-size: 0.78rem;
  font-style: normal;
}

.tv-ui-bottom {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.35rem;
}

.tv-ui-bottom i {
  width: 0.42rem;
  background: linear-gradient(var(--cyan), var(--violet));
  border-radius: 99rem;
}

.tv-ui-bottom i:nth-child(1), .tv-ui-bottom i:nth-child(7) { height: 1.4rem; }
.tv-ui-bottom i:nth-child(2), .tv-ui-bottom i:nth-child(6) { height: 2.5rem; }
.tv-ui-bottom i:nth-child(3), .tv-ui-bottom i:nth-child(5) { height: 1.8rem; }
.tv-ui-bottom i:nth-child(4) { height: 3.3rem; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7.5rem;
  border-top: 1px solid var(--line);
}

.site-footer .brand {
  font-size: 1.1rem;
}

.site-footer p,
.footer-links a {
  margin: 0;
  color: #938aa4;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-links a {
  font-weight: 700;
}

.legal-page {
  padding-block: 1rem 4.5rem;
}

.legal-page h1 {
  max-width: 18ch;
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.legal-updated {
  margin: 0 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-copy {
  max-width: 46rem;
}

.legal-copy h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.45rem;
}

.legal-copy p,
.legal-copy li {
  color: #d7d2e4;
}

.legal-copy ul {
  padding-left: 1.2rem;
}

.legal-copy a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 52rem) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 2rem, 40rem);
  }

  .header-actions > a:not(.button) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 2rem 2.5rem;
  }

  .hero-copy {
    max-width: 38rem;
  }

  .hero-visual {
    min-height: 29rem;
    margin-top: 1rem;
  }

  .hero-image-frame {
    top: 0;
    width: min(90%, 25rem);
    transform: translate(-50%, 0) rotate(1.5deg);
  }

  .now-playing-card {
    right: 0;
    bottom: 1.5rem;
  }

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

  .step-card-large {
    grid-template-columns: minmax(0, 0.8fr) minmax(13rem, 1.2fr);
    grid-template-rows: 1fr;
    min-height: 22rem;
    gap: 1rem;
  }

  .step-art {
    min-height: 18rem;
    margin: -0.5rem -0.5rem -0.5rem 0;
    border-radius: 1rem;
  }

  .step-art img {
    width: min(100%, 22rem);
    max-height: 19rem;
  }

  .step-card-wide {
    grid-column: auto;
  }

  .waveform {
    width: 52%;
  }

  .tv-screen {
    min-height: 18rem;
  }

  .tv-ui {
    min-height: 15.8rem;
  }
}

@media (max-width: 38rem) {
  .site-header {
    min-height: 5rem;
  }

  .site-header .button-small {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 22.5rem;
    margin-top: 1rem;
  }

  .hero-image-frame {
    width: min(92%, 20rem);
    transform: translate(-50%, 0);
  }

  .now-playing-card {
    right: 0;
    bottom: 0.6rem;
  }

  .how-it-works,
  .access,
  .tv-section {
    padding-block: 3.75rem;
  }

  .step-card {
    min-height: 22rem;
  }

  .step-card-large {
    grid-template-columns: 1fr;
    grid-template-rows: auto 15rem;
    gap: 0;
    min-height: 0;
  }

  .step-art {
    min-height: 0;
    margin: 1.2rem -0.4rem -0.4rem;
    border-radius: 0.8rem;
  }

  .step-art img {
    width: min(100%, 19rem);
    max-height: 15rem;
  }

  .step-card-wide {
    display: block;
  }

  .waveform {
    width: 100%;
    height: 7rem;
    margin-top: 1rem;
  }

  .access-panel {
    display: block;
  }

  .access-actions {
    margin-top: 1.4rem;
  }

  .access-actions .button {
    width: 100%;
  }

  .store-row {
    justify-content: flex-start;
  }

  .store-card {
    flex: 1 1 100%;
  }

  .site-footer {
    display: grid;
    justify-content: start;
    padding-block: 1.8rem;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
