/* fayl website: dark, built to feel like the app. */
/* fonts: see fonts.css (generated) */
:root {
  color-scheme: dark;
  --bg: #000;
  --bg-2: #0b0b0d;
  --card: #111114;
  --card-2: #17171b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --text-2: #b3b3b8;
  --text-3: #7c7c84;
  --accent: #fff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-title: 'Spotify Mix Title', 'Spotify Mix UI', 'Satoshi', sans-serif;
  --font: 'Spotify Mix UI', 'Satoshi', 'Figtree', -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.modal-open body {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 700;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: #fff;
  color: #000;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.muted {
  color: var(--text-2);
}
.fine {
  font-size: 13px;
  color: var(--text-3);
}
.center {
  text-align: center;
}

/* the logo, drawn from icon.svg in any colour */
.logo {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url(/icon.svg) center / contain no-repeat;
  mask: url(/icon.svg) center / contain no-repeat;
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font: 700 14px/1 var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    box-shadow 0.25s ease;
}
.btn:hover {
  transform: scale(1.04);
}
.btn:active {
  transform: scale(0.97);
}
.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
}
.btn-white {
  background: #fff;
  color: #000;
}
.btn-white:hover {
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.18);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* ---------- header ---------- */
.nav-wrap {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1040px, 100%);
  height: 58px;
  padding: 0 10px 0 20px;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.35);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.nav-wrap.scrolled .nav {
  background: rgba(14, 14, 17, 0.82);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 12px 40px rgba(0, 0, 0, 0.45);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.brand .logo {
  font-size: 24px;
}
.brand.big {
  font-size: 30px;
}
.brand.big .logo {
  font-size: 32px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 18px;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}
.nav-user .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ed760;
  box-shadow: 0 0 10px #1ed760;
}
.nav-user b {
  color: #fff;
  font-weight: 700;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 168px 20px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1ed760;
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.dim {
  color: #6b6b72;
}
.lede {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
}
.lede.small {
  font-size: 17px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero .fine {
  margin-top: 16px;
}

/* the app screenshot */
.shot-wrap {
  position: relative;
  width: min(1240px, 100%);
  margin: 72px auto 0;
  perspective: 1600px;
}
.shot {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 6px;
  background: #1a1a1d;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotateX(24deg) translateY(40px) scale(0.94);
  transform-origin: 50% 0;
  opacity: 0.4;
  transition:
    transform 1.6s var(--ease),
    opacity 1.2s ease;
}
.shot.in {
  transform: none;
  opacity: 1;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 13px;
}
.shot::after {
  /* the screenshot sinks into the page; the fade is part of the screenshot, so it tilts with it */
  content: '';
  position: absolute;
  inset: auto -1px -1px;
  height: 38%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, transparent, var(--bg) 90%);
  pointer-events: none;
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  margin: 40px 0 0;
  padding: 26px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee i {
  width: 18px;
  height: 18px;
  background: #fff;
  -webkit-mask: url(/icon.svg) center / contain no-repeat;
  mask: url(/icon.svg) center / contain no-repeat;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 0;
}
.section-head {
  margin-bottom: 48px;
}
.section-head.center {
  text-align: center;
}
.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.section h2,
.cta-band h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
}

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    0 30px 60px rgba(0, 0, 0, 0.5);
}
.tile-text {
  position: relative;
  z-index: 1;
}
.tile h3 {
  font-size: 23px;
  font-weight: 700;
}
.tile p {
  margin-top: 8px;
  max-width: 380px;
  color: var(--text-2);
  font-size: 15px;
}
.t-lyrics {
  grid-column: span 4;
  grid-row: span 2;
  justify-content: space-between;
}
.t-find {
  grid-column: span 2;
  grid-row: span 2;
}
.t-discord {
  grid-column: span 2;
}
.t-mini {
  grid-column: span 2;
}
.t-rumble {
  grid-column: span 2;
}
.t-fade {
  grid-column: span 6;
  grid-row: span 1;
}

/* lyrics demo: words fill one after another */
.lyric-demo {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 10px 0 30px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.lyric-demo .past {
  color: rgba(255, 255, 255, 0.28);
  filter: blur(0.5px);
}
.lyric-demo .next {
  color: rgba(255, 255, 255, 0.22);
}
.lyric-demo .far {
  color: rgba(255, 255, 255, 0.1);
  filter: blur(1.5px);
}
.lyric-demo .now span {
  background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.28) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sing 6s infinite;
}
.lyric-demo .now span:nth-child(1) {
  animation-delay: 0s;
}
.lyric-demo .now span:nth-child(2) {
  animation-delay: 0.45s;
}
.lyric-demo .now span:nth-child(3) {
  animation-delay: 0.9s;
}
.lyric-demo .now span:nth-child(4) {
  animation-delay: 1.35s;
}
.lyric-demo .now span:nth-child(5) {
  animation-delay: 1.8s;
}
.lyric-demo .now span:nth-child(6) {
  animation-delay: 2.15s;
}
@keyframes sing {
  0% {
    background-position: 100% 0;
    text-shadow: none;
  }
  8% {
    background-position: 0 0;
  }
  70% {
    background-position: 0 0;
  }
  80%,
  100% {
    background-position: 100% 0;
  }
}

/* find a song: a listening waveform and a result */
.wave {
  position: absolute;
  inset: 44px 28px auto;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.wave i {
  flex: 0 1 7px;
  height: 30%;
  border-radius: 99px;
  background: #fff;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.wave i:nth-child(3n) {
  animation-duration: 0.9s;
}
.wave i:nth-child(4n + 1) {
  animation-duration: 1.4s;
}
.wave i:nth-child(5n + 2) {
  animation-delay: -0.6s;
}
.wave i:nth-child(odd) {
  animation-delay: -0.3s;
}
@keyframes wave {
  to {
    height: 95%;
  }
}
.found {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px);
  animation: found 5s var(--ease) infinite;
}
.found-art {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #222;
}
.found b {
  display: block;
  font-size: 15px;
}
.found small {
  color: var(--text-2);
}
@keyframes found {
  0%,
  30% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  40%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

/* discord card */
.dc {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 28px;
  padding: 14px;
  border-radius: 14px;
  background: #1e1f22;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
}
.tile:hover .dc {
  transform: rotate(0deg) translateY(-4px);
}
.dc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dc-body {
  display: flex;
  gap: 12px;
}
.dc-art {
  position: relative;
  width: 72px;
  height: 72px;
  flex: none;
}
.dc-art img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: #2b2d31;
}
.dc-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #1e1f22;
  background: #000 url(/icon.svg) center / 60% no-repeat;
  filter: invert(1);
}
.dc-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.dc-meta b {
  font-size: 13.5px;
}
.dc-meta small {
  color: var(--text-2);
  font-size: 12px;
}
.dc-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font: 500 11px/1 ui-monospace, 'Geist Mono', monospace;
  color: #dbdee1;
}
.dc-bar {
  flex: 1;
  height: 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.dc-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: #fff;
  animation: progress 8s linear infinite;
}
@keyframes progress {
  from {
    width: 8%;
  }
  to {
    width: 100%;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* controller rumble: an Xbox-style controller that shakes on the song's beat */
.pad {
  position: absolute;
  inset: 0 0 auto;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.xbox {
  width: 170px;
  height: 119px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6));
}
.xb-body {
  fill: url(#xb-body);
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 1;
}
.bumper {
  fill: none;
  stroke: #c9c9cf;
  stroke-width: 7;
  stroke-linecap: round;
}
.well {
  fill: #c4c4ca;
}
.stick {
  fill: url(#xb-stick);
  stroke: #0f0f12;
  stroke-width: 1;
}
.dpad,
.abxy circle,
.guide {
  fill: #2a2a2f;
}
.abxy text {
  fill: #e4e4e7;
  font: 700 7.5px var(--font);
  text-anchor: middle;
}
.guide-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.small {
  fill: #6b6b72;
}
.rumble {
  width: 20px;
  height: 60px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
}
.rumble path + path {
  opacity: 0.45;
}
.pad.hit .xbox {
  animation: kick 0.16s linear;
}
.pad.soft .xbox {
  animation: tap 0.12s linear;
}
.pad.hit .rumble {
  animation: buzz 0.3s ease-out;
}
.pad.soft .rumble {
  animation: buzzSoft 0.22s ease-out;
}
@keyframes kick {
  0%,
  100% {
    transform: none;
  }
  20% {
    transform: translate(-3px, 1px) rotate(-2.5deg) scale(1.03);
  }
  45% {
    transform: translate(3px, -1px) rotate(2.5deg) scale(1.03);
  }
  70% {
    transform: translate(-2px, 0) rotate(-1deg);
  }
}
@keyframes tap {
  0%,
  100% {
    transform: none;
  }
  40% {
    transform: translate(1.5px, 0) rotate(1deg);
  }
  75% {
    transform: translate(-1px, 0);
  }
}
@keyframes buzz {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.12);
  }
}
@keyframes buzzSoft {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0;
  }
}
.beat-song {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 176px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.beat-song img {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
  background: #222;
}
.beat-meta {
  flex: 1;
  min-width: 0;
  display: grid;
}
.beat-meta b {
  font-size: 13.5px;
}
.beat-meta small {
  color: var(--text-2);
  font-size: 12px;
}
.beat-dots {
  display: flex;
  gap: 5px;
}
.beat-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.08s ease;
}
.beat-dots i.on {
  background: #fff;
}

/* crossfade */
.t-fade {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.fade-demo {
  order: 2;
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.fade-song {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.fade-song img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
  background: #222;
}
.fade-song b {
  display: block;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fade-song small {
  color: var(--text-2);
  font-size: 13px;
}
.fade-song > span {
  min-width: 0;
}
.fade-song.out {
  animation: fadeOut 6s ease-in-out infinite;
}
.fade-song.in {
  animation: fadeIn 6s ease-in-out infinite;
}
@keyframes fadeOut {
  0%,
  20% {
    opacity: 1;
  }
  60%,
  100% {
    opacity: 0.25;
  }
}
@keyframes fadeIn {
  0%,
  30% {
    opacity: 0.25;
  }
  75%,
  100% {
    opacity: 1;
  }
}
.fade-line {
  position: relative;
  width: 120px;
  height: 2px;
  flex: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.fade-line i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: fadeLine 6s ease-in-out infinite;
}
@keyframes fadeLine {
  0%,
  20% {
    transform: scaleX(0);
  }
  70%,
  100% {
    transform: scaleX(1);
  }
}

/* ---------- artists ---------- */
.arrows {
  display: flex;
  gap: 10px;
}
.arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s var(--ease),
    opacity 0.2s ease;
}
.arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.06);
}
.arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0;
  cursor: grab;
  outline: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.rail.dragging .artist {
  pointer-events: none;
}
.artist {
  position: relative;
  flex: none;
  width: clamp(220px, 24vw, 300px);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--card);
  scroll-snap-align: start;
  transition-delay: calc(var(--i) * 70ms);
}
.artist img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition:
    transform 0.9s var(--ease),
    filter 0.5s ease;
  filter: saturate(0.9) brightness(0.92);
  -webkit-user-drag: none;
  user-select: none;
}
.artist:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) brightness(1);
}
.artist::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 35%, transparent 55%, rgba(0, 0, 0, 0.85) 100%);
}
.artist figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 2px;
}
.a-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.badge {
  width: 22px;
  height: 22px;
  flex: none;
}
.a-fans {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}
.rail-note {
  margin-top: 22px;
  padding: 0 20px;
}
.artists .section-head {
  margin-bottom: 32px;
}

/* ---------- migration ---------- */
.hub-stage {
  position: relative;
  height: clamp(440px, 62vh, 620px);
  margin: 0 auto;
  max-width: 900px;
}
.beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.beams line {
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.2;
  stroke-dasharray: 400;
  stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  translate: -50% -50%;
  animation: spin 60s linear infinite;
}
.o1 {
  width: min(520px, 84vw);
  height: min(520px, 84vw);
}
.o2 {
  width: min(320px, 56vw);
  height: min(320px, 56vw);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
  animation-direction: reverse;
  animation-duration: 40s;
}
.svc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--card-2);
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    0 14px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  will-change: transform, opacity;
}
.svc i {
  width: 32px;
  height: 32px;
  background: var(--brand);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.svc.hot {
  box-shadow:
    inset 0 0 0 1px var(--brand),
    0 0 30px color-mix(in srgb, var(--brand) 45%, transparent);
}
.svc-name {
  position: absolute;
  top: calc(100% + 8px);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
}
.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  display: grid;
  place-items: center;
  border-radius: 40px;
  background: linear-gradient(160deg, #1d1d22, #0c0c0e);
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    0 30px 60px rgba(0, 0, 0, 0.6);
  transition:
    box-shadow 0.8s ease,
    transform 0.8s var(--ease),
    background 0.8s ease;
  z-index: 2;
}
.hub-logo {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.35);
  transition:
    color 0.6s ease,
    transform 0.8s var(--ease),
    filter 0.6s ease;
}
.hub-count {
  position: absolute;
  top: calc(100% + 16px);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hub-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--flash, #fff);
}
.hub.hit .hub-pulse {
  animation: hit 0.6s ease-out;
}
.hub.hit {
  animation: thump 0.35s var(--ease);
}
@keyframes hit {
  from {
    box-shadow: 0 0 0 0 var(--flash);
  }
  to {
    box-shadow: 0 0 0 26px transparent;
  }
}
@keyframes thump {
  50% {
    transform: scale(1.08);
  }
}
.hub.merged {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 90px rgba(255, 255, 255, 0.28);
  transform: scale(1.1);
}
.hub.merged .hub-logo {
  color: #000;
  transform: rotate(360deg) scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}
.hub-stage.done .orbit-ring {
  border-color: rgba(255, 255, 255, 0.22);
}
.spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.mig-caption {
  margin: 28px auto 0;
  max-width: 560px;
  text-align: center;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.8s ease,
    transform 0.8s var(--ease);
}
.mig-caption.in {
  opacity: 1;
  transform: none;
}
.replay {
  display: block;
  margin: 18px auto 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font: 500 13px var(--font);
  cursor: pointer;
}
.replay:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  animation: fade 0.25s ease-out;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.card {
  position: relative;
  width: min(460px, 100%);
  padding: 44px 32px 32px;
  border-radius: 28px;
  background: #0d0d0f;
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    0 40px 100px rgba(0, 0, 0, 0.6);
  text-align: center;
  animation: pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
}
.card-logo {
  font-size: 44px;
}
.card h2 {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 900;
}
.card .muted {
  margin-top: 8px;
  line-height: 1.55;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.name-form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  padding: 5px 5px 5px 20px;
  border-radius: 999px;
  background: #1a1a1d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.2s ease;
}
.name-form:focus-within {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}
.name-form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 500 16px var(--font);
  outline: none;
}
.go {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    opacity 0.2s ease;
}
.go:disabled {
  opacity: 0.3;
  cursor: default;
}
.go:not(:disabled):hover {
  transform: translateX(2px) scale(1.05);
}
.hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-3);
}
.hint.bad {
  color: #ff7b7f;
}
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.link {
  margin-top: 18px;
  border: 0;
  background: none;
  color: var(--text-2);
  font: 500 13px var(--font);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 150px 20px 40px;
}
.legal-hero {
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.legal h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.legal .updated {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 14px;
}
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.legal-tabs a {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.legal-tabs a:hover,
.legal-tabs a[aria-current] {
  background: #fff;
  color: #000;
}
.prose h2 {
  margin: 38px 0 10px;
  font-size: 23px;
}
.prose p,
.prose li {
  color: var(--text-2);
  line-height: 1.75;
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  padding-left: 20px;
  margin: 10px 0;
}
.prose li + li {
  margin-top: 6px;
}
.prose b,
.prose strong {
  color: #fff;
}
.prose a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: top;
}
.prose th {
  color: #fff;
}
.note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
  font-size: 14px;
}

/* ---------- 404 ---------- */
.lost {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 20px 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.lost-code {
  font-size: clamp(140px, 30vw, 300px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.04em;
}
.lost-code .vinyl {
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 14%, #111 15% 17%, transparent 18%),
    repeating-radial-gradient(circle, #101012 0 3px, #1b1b1f 3px 5px);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 30px 80px rgba(0, 0, 0, 0.6);
  animation: spin 3.5s linear infinite;
}
.lost h1 {
  margin-top: 28px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
}
.lost p {
  max-width: 460px;
  margin: 14px auto 0;
  color: var(--text-2);
}
.lost .hero-actions {
  margin-top: 30px;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s ease,
    transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }
  .t-lyrics,
  .t-fade {
    grid-column: span 2;
  }
  .t-lyrics {
    grid-row: span 2;
  }
  .t-find {
    grid-column: span 2;
    grid-row: span 2;
  }
  .t-discord,
  .t-mini {
    grid-column: span 1;
  }
  .t-rumble {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .nav-user {
    display: none;
  }
  .hero {
    padding-top: 130px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .t-lyrics,
  .t-find,
  .t-discord,
  .t-mini,
  .t-rumble,
  .t-fade {
    grid-column: span 1;
  }
  .t-fade {
    flex-direction: column;
    align-items: stretch;
  }
  .section-head.row {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
  .svc {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 15px;
  }
  .svc i {
    width: 24px;
    height: 24px;
  }
  .svc-name {
    display: none;
  }
  .hub {
    width: 116px;
    height: 116px;
    margin: -58px 0 0 -58px;
    border-radius: 32px;
  }
  .hub-logo {
    font-size: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
  .reveal,
  .shot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================================== */
/* white-on-black additions: tour, chart, call-to-action band, footer     */
/* ===================================================================== */
.btn-black {
  background: #000;
  color: #fff;
}
.btn-black:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ---------- the app tour ---------- */
.tour-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: -16px auto 28px;
}
.tour-tabs button {
  position: relative;
  overflow: hidden;
  min-width: 120px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font: 700 15px var(--font);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.tour-tabs button:hover {
  color: #fff;
}
.tour-tabs button[aria-selected="true"] {
  background: #fff;
  color: #000;
}
.tour-tabs button span {
  position: relative;
  z-index: 1;
}
.tour-tabs .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  transform: scaleX(0);
  transform-origin: left;
}
.tour-tabs button.run .bar {
  animation: tourbar 6s linear forwards;
}
@keyframes tourbar {
  to {
    transform: scaleX(1);
  }
}
.tour-frame {
  position: relative;
  aspect-ratio: 2000 / 1124;
  border-radius: 18px;
  padding: 6px;
  background: #1a1a1d;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.tour-frame img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  object-position: center;
  border-radius: 13px;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.tour-frame img.on {
  opacity: 1;
}
.tour-caption {
  max-width: 620px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-2);
  min-height: 3em;
}

/* ---------- top songs: the app's own track list ---------- */
.tl {
  --cols: 40px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 132px;
}
.tl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.tl-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tl-play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.tl-play:hover {
  transform: scale(1.06);
}
.tl-play svg {
  margin-left: 3px;
}
.tl-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tl-title small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-2);
}
.tl-all {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: 700 14px var(--font);
  cursor: pointer;
  /* lines up with the clock icon above the durations */
  margin-right: 50px;
}
.tl-all:hover {
  color: #fff;
  text-decoration: underline;
}
.tl-head,
.tl-row {
  display: grid;
  grid-template-columns: var(--cols);
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}
.tl-head {
  height: 36px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tl-head .r {
  justify-self: end;
  margin-right: 34px;
  display: grid;
}
.c {
  text-align: center;
}
.tl-row {
  height: 56px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 14px;
  cursor: default;
  outline: none;
}
.tl-row:hover,
.tl-row:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}
.tl-row:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.tl-row .n {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.tl-row .hover-play {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: #fff;
}
.tl-row:hover .n > :not(.hover-play) {
  visibility: hidden;
}
.tl-row:hover .hover-play {
  display: grid;
}
.tl-row .t {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tl-row .t img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 4px;
  object-fit: cover;
  background: #222;
}
.t-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.tl-row .artist-col,
.tl-row .album-col {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tl-row:hover .artist-col,
.tl-row:hover .album-col {
  color: #fff;
}
.tl-row .end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.tl-row .add,
.tl-row .more {
  display: grid;
  color: var(--text-2);
  opacity: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}
.tl-row:hover .add,
.tl-row:hover .more {
  opacity: 1;
}
.tl-row .add:hover,
.tl-row .more:hover {
  color: #fff;
}
.tl-row .d {
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  text-align: right;
}
.tl-row.playing .t-name {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}
.bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}
.bars i {
  width: 3px;
  height: 4px;
  border-radius: 1px;
  background: #fff;
  animation: eq 0.85s ease-in-out infinite alternate;
}
.bars i:nth-child(2) {
  animation-delay: -0.4s;
  animation-duration: 0.7s;
}
.bars i:nth-child(3) {
  animation-delay: -0.15s;
  animation-duration: 0.95s;
}
.bars i {
  --to: 13px;
}
.e {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
}
@media (max-width: 960px) {
  .tl {
    --cols: 32px minmax(0, 1fr) minmax(0, 0.8fr) 100px;
  }
  .tl .album-col {
    display: none;
  }
}
@media (max-width: 640px) {
  .tl {
    --cols: 28px minmax(0, 1fr) 64px;
  }
  .tl .artist-col,
  .tl-row .add,
  .tl-row .more {
    display: none;
  }
  .tl-head .r {
    margin-right: 0;
  }
  .tl-all {
    margin-right: 16px;
  }
}

/* ---------- call-to-action band (white) ---------- */
.band {
  margin-top: 160px;
  background: #fff;
  color: #000;
}
.band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.band h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.band p {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 500;
  color: #3c3c42;
}

/* ---------- footer ---------- */
.foot {
  padding: 72px 20px 34px;
  background: #000;
}
.foot-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 40px;
  align-items: start;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 24px 80px;
}
.foot-cols h4 {
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.foot-cols a {
  display: block;
  padding: 7px 0;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s ease;
}
.foot-cols a:hover,
.foot-cols a[aria-current] {
  color: #fff;
}
.foot-cols a.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: #fff;
  transition: background 0.2s ease;
}
.foot-cols a.store:hover {
  background: rgba(255, 255, 255, 0.08);
}
.store span {
  display: grid;
  line-height: 1.1;
}
.store small {
  font-size: 11px;
  font-weight: 500;
}
.store b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a1a1d;
  color: #fff;
  transition:
    background 0.2s ease,
    transform 0.2s var(--ease);
}
.socials a:hover {
  background: #2a2a2e;
  transform: scale(1.06);
}
.foot-bottom {
  max-width: 1200px;
  margin: 70px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-2);
}
.foot-bottom a {
  font-weight: 700;
  color: var(--text-2);
}
.foot-bottom a:hover {
  color: #fff;
}
.foot-bottom .lang {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
@media (max-width: 960px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
  }
  .tour-tabs button {
    min-width: 0;
    padding: 10px 16px;
  }
  .band-inner {
    padding: 56px 20px;
  }
}

/* ===================================================================== */
/* borders: crisp hairlines, a touch brighter on top, the same everywhere */
/* ===================================================================== */
:root {
  --hair: rgba(255, 255, 255, 0.075);
  --hair-top: rgba(255, 255, 255, 0.14);
}
.tile,
.card,
.found,
.svc,
.hub,
.socials a {
  border: 1px solid var(--hair);
  border-top-color: var(--hair-top);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.tile:hover {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.nav {
  box-shadow: none;
  border: 1px solid var(--hair);
  border-top-color: var(--hair-top);
}
.nav-wrap.scrolled .nav {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.btn-outline,
.arrow,
.tour-tabs button:not([aria-selected='true']) {
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-outline:hover,
.arrow:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}
.tour-tabs button[aria-selected='true'] {
  border: 1px solid #fff;
}
/* screenshots: no thick bezel, just a fine edge */
.shot,
.tour-frame {
  padding: 0;
  background: #000;
  border: 1px solid var(--hair);
  border-top-color: var(--hair-top);
  border-radius: 14px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.75);
}
.shot img {
  border-radius: 13px;
}
.tour-frame img {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 13px;
}
.found {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.hub.merged {
  border-color: #fff;
}
.marquee {
  border-color: var(--hair);
}
.foot-bottom,
.tl-head {
  border-color: var(--hair);
}

/* ===================================================================== */
/* type scale: Spotify Mix in a range of sizes and weights               */
/* ===================================================================== */
h1,
h2,
h3,
.brand,
.tl-title,
.foot-word,
.lost-code {
  font-family: var(--font-title);
}
.hero h1 {
  font-size: clamp(46px, 7.4vw, 104px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.section h2,
.band h2 {
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tile h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.tile p,
.tour-caption,
.mig-caption {
  font-size: 15.5px;
  line-height: 1.6;
}
.btn {
  font-weight: 700;
  letter-spacing: 0;
}
.btn-lg {
  font-size: 16.5px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 400;
}
.lyric-demo {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.a-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.a-fans {
  font-size: 14px;
  font-weight: 400;
}
.fine {
  font-size: 12.5px;
}

/* the rumble tile stacks controller, song and text, and its row grows to fit them */
.bento {
  grid-auto-rows: minmax(300px, auto);
}
.t-rumble {
  justify-content: flex-start;
  gap: 18px;
}
.t-rumble .pad,
.t-rumble .beat-song {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
}
.t-rumble .pad {
  height: 150px;
}
.t-rumble .beat-song {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair);
}

/* ===================================================================== */
/* features, borderless: the lyrics recording, then four open columns     */
/* ===================================================================== */
.lyrics-show {
  display: grid;
  gap: 28px;
  margin-bottom: 120px;
}
.lyrics-copy {
  max-width: 560px;
}
.lyrics-copy h3,
.feat h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.lyrics-copy p,
.feat p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}
.lyrics-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #120a06;
  aspect-ratio: 16 / 9;
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.7);
}
.lyrics-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 40px;
}
.feat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.feat-visual {
  position: relative;
  height: 230px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* the mock-ups sit in the open: no boxes, no outlines */
.feat .pad,
.feat .beat-song {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  border: 0;
}
.feat .pad {
  height: 150px;
  width: 100%;
}
.feat .beat-song {
  width: 100%;
  max-width: 300px;
  padding: 0;
  background: none;
  border: 0;
}
.feat .fade-demo {
  order: 0;
  flex: none;
  width: 100%;
  max-width: 300px;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.feat .fade-line {
  width: 2px;
  height: 34px;
  margin-left: 31px;
}
.feat .fade-line i {
  transform-origin: top;
  animation-name: fadeLineV;
}
@keyframes fadeLineV {
  0%,
  20% {
    transform: scaleY(0);
  }
  70%,
  100% {
    transform: scaleY(1);
  }
}
@media (max-width: 1100px) {
  .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .feats {
    grid-template-columns: 1fr;
  }
  .lyrics-show {
    margin-bottom: 80px;
  }
}

/* a smaller headline, so more of the screenshot shows on the first screen */
.hero {
  padding-top: 132px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero .lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 18px);
}
.hero-actions {
  margin-top: 28px;
}
.shot-wrap {
  margin-top: 52px;
}

/* no outlines around the screenshots either */
.shot,
.tour-frame {
  border: 0;
}

/* ===================================================================== */
/* everything centred: hero buttons the same width, section titles centred */
/* ===================================================================== */
.hero-actions .btn-lg {
  min-width: 264px;
}
.section-head,
.section-head.row {
  position: relative;
  display: block;
  text-align: center;
}
.section-head .arrows {
  position: absolute;
  right: 0;
  bottom: 4px;
}
.lyrics-copy {
  margin: 0 auto;
  text-align: center;
}
.feat {
  align-items: center;
  text-align: center;
}
.feat p {
  max-width: 320px;
}
@media (max-width: 760px) {
  .section-head .arrows {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }
  .hero-actions .btn-lg {
    min-width: 0;
    flex: 1 1 220px;
    max-width: 320px;
  }
}

/* the blue light rising behind the hero screenshot (website/glow.js) */
.hero {
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  left: 0;
  top: 300px;
  width: 100%;
  height: calc(100% - 300px);
  z-index: -1;
  pointer-events: none;
  /* soft at the top, and a long fade into black at the bottom */
  -webkit-mask: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 16%, rgba(0, 0, 0, 0.7) 28%, #000 38%, #000 52%, rgba(0, 0, 0, 0.35) 72%, transparent 92%);
  mask: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 16%, rgba(0, 0, 0, 0.7) 28%, #000 38%, #000 52%, rgba(0, 0, 0, 0.35) 72%, transparent 92%);
}

/* the screenshot is never see-through (the glow behind must not show through it): it only tilts in */
.shot {
  opacity: 1;
  transition: transform 1.6s var(--ease);
}

/* The screenshot tilts up into place once its image is ready. It's hidden (not see-through)
   until then, so there's never an empty box or the glow showing through it. */
.shot {
  background: transparent;
  opacity: 1;
  clip-path: none;
  visibility: hidden;
  transform: rotateX(24deg) translateY(40px) scale(0.94);
  transition: transform 1.6s var(--ease);
}
.shot.in {
  visibility: visible;
  transform: none;
}
/* the glow fades in on its first frame, then just drifts */
.hero-glow {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-glow.on {
  opacity: 1;
}

/* ===================================================================== */
/* /welcome: the app's welcome screen, on the website                   */
/* ===================================================================== */
.welcome-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 20px 60px;
  overflow: hidden;
  isolation: isolate;
}
.wall {
  position: absolute;
  inset: -40% -30%;
  z-index: -2;
  transform: rotate(-12deg);
  opacity: 0;
  transition: opacity 1.4s ease;
}
.wall.on {
  opacity: 1;
}
.wall-track {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 14px;
  width: 100%;
  animation: wall-up 90s linear infinite;
}
.wall-track img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  filter: saturate(0.9);
}
@keyframes wall-up {
  to {
    transform: translateY(-50%);
  }
}
.wall-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42% 38% at 50% 50%, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.62) 60%, rgba(0, 0, 0, 0.9) 100%);
}
.welcome-card {
  width: min(520px, 100%);
  text-align: center;
}
.welcome-logo {
  font-size: 60px;
}
.welcome-card h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.welcome-sub {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
}
.welcome-form {
  margin-top: 30px;
  background: rgba(26, 26, 29, 0.85);
  backdrop-filter: blur(12px);
}
.welcome-card .hint {
  max-width: 400px;
  margin: 14px auto 0;
}
.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.welcome-actions .btn-lg {
  min-width: 220px;
}
body[data-page='welcome'] .nav-links {
  display: none;
}
@media (max-width: 640px) {
  .wall-track {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wall-track {
    animation: none;
  }
}

/* ===================================================================== */
/* real previews: Discord's own activity card, and fayl's own mini player */
/* ===================================================================== */
.dcard {
  width: 100%;
  max-width: 340px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  background: #111214;
  color: #f2f3f5;
  text-align: left;
  font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.dcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}
.dcard-more {
  color: #b5bac1;
  font-size: 10px;
  letter-spacing: 1px;
}
.dcard-body {
  display: flex;
  gap: 14px;
  align-items: center;
}
.dcard-art {
  position: relative;
  flex: none;
  width: 84px;
  height: 84px;
}
.dcard-art > img:first-child {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: #2b2d31;
}
.dcard-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #111214;
  background: #2b2d31;
}
.dcard-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 1px;
  font-size: 14px;
  line-height: 1.3;
}
.dcard-meta b {
  font-size: 15px;
  font-weight: 700;
}
.dcard-meta > span:not(.dcard-time) {
  color: #dbdee1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dcard-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font: 500 12.5px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color: #dbdee1;
}
.dcard-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #4e5058;
  overflow: hidden;
}
.dcard-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 4px;
}

/* The mini player at its real size: the app's window is 352 x 120 with the card inset 12px. */
.mini-frame {
  position: relative;
  width: 352px;
  max-width: 100%;
  height: 120px;
  font-family: 'Figtree', -apple-system, 'Segoe UI', sans-serif;
  text-align: left;
}
.mini-frame .mini-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.mini-frame .mini-card button {
  -webkit-app-region: no-drag;
}

/* no visible scrollbar: the page still scrolls (wheel, keys, touch), it just isn't drawn */
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
}

/* ===================================================================== */
/* migration: orbiting services, light streaming into fayl, a filling ring */
/* ===================================================================== */
.beams line {
  stroke: var(--brand);
  stroke-width: 1.2;
  stroke-dasharray: none;
  stroke-linecap: round;
  filter: none;
  opacity: 0;
}
.beams .packet {
  fill: var(--brand);
  filter: drop-shadow(0 0 6px var(--brand)) drop-shadow(0 0 2px #fff);
}
.svc {
  opacity: 0;
  transition: box-shadow 0.4s ease;
}
.svc.emit {
  animation: emit 0.5s ease-out;
}
@keyframes emit {
  0% {
    box-shadow:
      0 0 0 0 var(--brand),
      0 14px 30px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow:
      0 0 0 10px transparent,
      0 14px 30px rgba(0, 0, 0, 0.5);
  }
}
.hub-ring {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  transform: rotate(-90deg);
  overflow: visible;
  pointer-events: none;
}
.ring-track,
.ring-fill {
  fill: none;
  stroke-width: 1.6;
}
.ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}
.ring-fill {
  stroke: #fff;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.35s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}
.hub-shock {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.hub-shock.go {
  animation: shock 1.2s cubic-bezier(0.1, 0.7, 0.3, 1);
}
@keyframes shock {
  from {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
  }
  to {
    box-shadow: 0 0 0 160px rgba(255, 255, 255, 0);
  }
}
.hub {
  transition:
    background 0.6s ease,
    box-shadow 0.8s ease,
    transform 0.8s var(--ease);
}
.hub.merged .ring-track {
  stroke: transparent;
}
.hub-count {
  top: calc(100% + 28px);
}

.dcard {
  width: min(340px, 100%);
  flex: none;
}
.feat-visual {
  width: 100%;
}

/* the apps animation, kept simple: spin, spiral into the logo, the logo turns white */
.hub,
.hub.merged {
  transform: none;
}
.hub {
  transition:
    background 0.7s ease,
    box-shadow 0.9s ease,
    border-color 0.7s ease;
}
.hub.merged {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.25);
}
.hub.merged .hub-logo {
  color: #000;
  transform: none;
  filter: none;
}
.svc .svc-name {
  transition: opacity 0.3s ease;
}
.svc.in-flight .svc-name {
  opacity: 0;
}
.hub-stage.done .orbit-ring {
  border-color: rgba(255, 255, 255, 0.1);
}

/* the ripple that spreads from the logo as each service lands in it */
.hub-ripple {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--c);
  box-shadow: 0 0 18px var(--c);
  pointer-events: none;
}

/* ===================================================================== */
/* On your iPhone: the web app, added to the Home Screen                  */
/* ===================================================================== */
.iphone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 60px;
}
.iphone .eyebrow,
.iphone h2,
.iphone .lede {
  text-align: left;
}
.iphone .lede {
  margin-left: 0;
}
.steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: var(--text-2);
}
.steps b {
  color: #fff;
}
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 15px;
}
.share-ic {
  display: inline-block;
  vertical-align: -3px;
  color: #0a84ff;
}
.iphone-actions {
  margin-top: 30px;
}
.iphone .fine {
  margin-top: 18px;
  max-width: 520px;
  line-height: 1.6;
}
/* ---------- the iPhone: titanium, playing fayl ---------- */
/* the glow may spread past the phone, never past the page */
.section.iphone,
.section.migration {
  overflow-x: clip;
}
.phone-stage {
  /* ILUV's cover: city lights over a dark teal night */
  --art-a: #e8c547;
  --art-b: #1d5f50;
  --art-c: #0f3a33;
  position: relative;
  justify-self: center;
  width: min(320px, 82vw);
  perspective: 1600px;
}
/* the cover's colours, glowing behind the phone */
.phone-glow {
  position: absolute;
  inset: 8% -30% 4%;
  z-index: 0;
  background:
    radial-gradient(45% 40% at 30% 35%, color-mix(in srgb, var(--art-a) 55%, transparent), transparent 70%),
    radial-gradient(45% 40% at 72% 60%, color-mix(in srgb, var(--art-b) 55%, transparent), transparent 70%),
    radial-gradient(40% 35% at 45% 85%, color-mix(in srgb, var(--art-c) 35%, transparent), transparent 70%);
  filter: blur(50px);
  opacity: 0.75;
  animation: glow-breathe 8s ease-in-out infinite;
}
@keyframes glow-breathe {
  50% {
    opacity: 0.5;
    transform: scale(1.06);
  }
}
.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 71.5 / 149.6;
  padding: 3.2%;
  border-radius: 17% / 8.2%;
  /* brushed titanium edge around a black bezel */
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, #b9b9bd 0%, #5b5b60 22%, #2c2c30 45%, #6f6f74 62%, #c8c8cc 78%, #4a4a4f 100%) border-box;
  border: 3px solid transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 5px #0b0b0c,
    0 2px 0 rgba(255, 255, 255, 0.08),
    0 60px 120px -20px rgba(0, 0, 0, 0.85),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  animation: phone-float 7s ease-in-out infinite;
}
.phone-stage:hover .phone {
  transform: rotateY(-4deg) rotateX(2deg) rotateZ(0deg);
}
@keyframes phone-float {
  50% {
    translate: 0 -10px;
  }
}
/* side buttons */
.phone-btn {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3a3a3e, #9a9a9f 60%, #48484c);
}
.phone-btn.action {
  left: -6px;
  top: 17%;
  height: 4.5%;
}
.phone-btn.vol-up {
  left: -6px;
  top: 25%;
  height: 8.5%;
}
.phone-btn.vol-down {
  left: -6px;
  top: 35.5%;
  height: 8.5%;
}
.phone-btn.power {
  right: -6px;
  top: 27%;
  height: 13%;
  background: linear-gradient(270deg, #3a3a3e, #9a9a9f 60%, #48484c);
}
.phone-screen {
  position: relative;
  container-type: inline-size;
  height: 100%;
  border-radius: 14.5% / 6.9%;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: inherit;
  background: #0a0a0c;
}
/* fayl's player: the cover's colours, blurred, behind everything */
.ps-bg {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(50% 40% at 25% 20%, var(--art-a), transparent 70%),
    radial-gradient(55% 45% at 80% 45%, var(--art-b), transparent 70%),
    radial-gradient(50% 40% at 30% 85%, var(--art-c), transparent 70%),
    #120d1c;
  filter: blur(40px) saturate(1.2) brightness(0.62);
  animation: ps-drift 14s ease-in-out infinite alternate;
}
@keyframes ps-drift {
  to {
    transform: rotate(14deg) scale(1.12);
  }
}
.phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4.2% 7% 0;
  font-size: 4.3cqw;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ps-time {
  justify-self: center;
}
.phone-island {
  width: 30cqw;
  height: 8.6cqw;
  border-radius: 20px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.ps-icons {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ps-icons svg {
  fill: #fff;
}
.ps-battery {
  position: relative;
  width: 22px;
  height: 11px;
  padding: 1.5px;
  border-radius: 3.5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.ps-battery::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 3px;
  width: 1.5px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: rgba(255, 255, 255, 0.45);
}
.ps-battery span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 1.5px;
  background: #fff;
}
.ps-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5% 6% 0;
}
.ps-round {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
}
.ps-round svg {
  fill: #fff;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ps-round svg path {
  fill: none;
}
.ps-context {
  font-size: 3.8cqw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.ps-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 0 7% 4%;
}
.ps-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.25;
}
.ps-meta b {
  font-size: 7.6cqw;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.ps-meta small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 4.6cqw;
  color: rgba(255, 255, 255, 0.7);
}
.ps-heart svg {
  fill: #fff;
}
.ps-e {
  display: inline-grid;
  place-items: center;
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  color: #000;
  font-size: 3cqw;
  font-weight: 800;
}
/* the cover fills the top of the screen and fades into its own colours */
.ps-cover {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 66%;
  -webkit-mask: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.6) 75%, transparent);
  mask: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.6) 75%, transparent);
}
.ps-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ps-cover-drift 18s ease-in-out infinite alternate;
}
@keyframes ps-cover-drift {
  to {
    transform: scale(1.08) translateY(-2%);
  }
}
.phone-status,
.ps-top {
  position: relative;
}
.phone-status::before {
  content: '';
  position: absolute;
  inset: 0 0 -40px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
}
.ps-controls {
  padding: 0 6% 13%;
}
.ps-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.ps-bar i {
  display: block;
  height: 100%;
  width: 32%;
  border-radius: 2px;
  background: #fff;
  animation: ps-progress 30s linear infinite;
}
@keyframes ps-progress {
  from {
    width: 18%;
  }
  to {
    width: 62%;
  }
}
.ps-times {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 3.3cqw;
  color: rgba(255, 255, 255, 0.6);
}
.ps-transport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 8px;
}
.ps-transport svg {
  fill: #fff;
}
.ps-play {
  display: grid;
  place-items: center;
  width: 18cqw;
  height: 18cqw;
  border-radius: 50%;
  background: #fff;
}
.ps-play svg {
  fill: #000;
}
.ps-home {
  position: absolute;
  left: 50%;
  bottom: 2.2%;
  width: 36%;
  height: 4.5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  translate: -50% 0;
}
/* glass: a soft reflection across the screen */
.ps-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 42%);
  mix-blend-mode: screen;
}
/* floating glass notes beside the phone */
.phone-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(28, 28, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 40px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  white-space: nowrap;
  animation: chip-float 6s ease-in-out infinite;
}
.phone-chip b {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.phone-chip small {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}
.chip-a {
  left: -26%;
  top: 22%;
}
.chip-b {
  right: -8%;
  bottom: 30%;
  animation-delay: -3s;
}
.chip-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.chip-ic .logo {
  font-size: 18px;
  color: #fff;
}
.chip-dot {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.2);
}
@keyframes chip-float {
  50% {
    translate: 0 -8px;
  }
}
@media (max-width: 860px) {
  .chip-a {
    left: -4%;
  }
  .chip-b {
    right: -4%;
  }
}
@media (max-width: 420px) {
  .phone-chip {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone,
  .phone-glow,
  .ps-bg,
  .ps-cover img,
  .phone-chip,
  .ps-bar i {
    animation: none;
  }
  .phone {
    transform: none;
  }
}
@media (max-width: 860px) {
  .iphone-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
.get-app .store + .store {
  margin-top: 10px;
}

/* ---------- a shared song (/song/<id>) ---------- */
.song-share {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 20px 60px;
  overflow: hidden;
  isolation: isolate;
}
.song-bg {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: var(--cover) center / cover;
  filter: blur(80px) saturate(1.3) brightness(0.45);
}
.song-brand {
  position: absolute;
  top: 26px;
  left: 50%;
  translate: -50% 0;
}
.song-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  width: min(920px, 100%);
  padding: 36px;
  border-radius: 28px;
  background: rgba(10, 10, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 80px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
}
.song-cover {
  width: 320px;
  height: 320px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}
.song-meta h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 6px 0 8px;
}
.song-artist {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}
.song-quote {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.song-meta .hero-actions {
  margin-top: 28px;
  justify-content: flex-start;
}
.song-preview {
  display: block;
  width: 100%;
  margin-top: 20px;
}
.song-meta .fine {
  margin-top: 14px;
}
@media (max-width: 760px) {
  .song-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
    padding: 24px;
  }
  .song-cover {
    width: min(260px, 70vw);
    height: auto;
    aspect-ratio: 1;
  }
  .song-meta .hero-actions {
    justify-content: center;
  }
  .song-quote {
    border-left: 0;
    padding-left: 0;
  }
}
