@font-face {
  font-family: Inter;
  src: url('/landing/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b0b0b;
  --text: #f4f3ef;
  --secondary: #d5d3d0;
  --muted: #a9a7a3;
  --line: #353535;
  --gutter: clamp(24px, 3.55vw, 62px);
  --inset: clamp(8px, 1.65vw, 24px);
  background: var(--background);
  color: var(--text);
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
img { display: block; }
a { color: inherit; text-decoration: none; }
:where(a, summary):focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
.page-width { width: min(calc(100% - 2 * var(--gutter)), 1320px); margin-inline: auto; }

.hero {
  --hero-unit: min(1vw, 1.2svh);
  position: relative;
  isolation: isolate;
}
.hero-visual {
  position: absolute;
  inset: 104px 0 auto auto;
  z-index: -1;
  width: min(76%, 1130px);
  height: clamp(565px, calc(82 * var(--hero-unit)), 820px);
  overflow: hidden;
  pointer-events: none;
}
.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 38%;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--background), transparent 14%, transparent 72%, var(--background) 99%),
    linear-gradient(to right, var(--background), rgba(11, 11, 11, .69) 9%, rgba(11, 11, 11, .17) 31%, transparent 60%);
}

.site-header { display: flex; align-items: center; min-height: 90px; padding-inline: var(--inset); }
.brand { display: inline-flex; align-items: center; gap: .38em; font-size: clamp(26px, 3.55vw, 40px); font-weight: 650; letter-spacing: -.06em; line-height: 1; }
.brand-mark { flex: none; width: .76em; height: 1.2em; }
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 24px); margin-left: auto; }
.site-header nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: clamp(14px, 1.82vw, 18px); letter-spacing: -.025em; }
.how-link { position: absolute; left: 50%; transform: translateX(-50%); }
.how-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.open-player {
  padding: 0 16px;
  border: 1px solid #a4a4a4;
  border-radius: 999px;
  background: rgb(11 11 11 / .36);
  white-space: nowrap;
}
.open-player:hover { background: #262626; border-color: var(--text); }
.open-player img, .preview-open img,
.track-pause img, .app-options img, .developer-contact img { filter: invert(1); }

.hero-content {
  min-height: clamp(510px, calc(79 * var(--hero-unit)), 740px);
  padding: clamp(72px, calc(14.5 * var(--hero-unit)), 146px) var(--inset) 60px;
}
.hero-topic { display: block; margin-bottom: 16px; color: var(--secondary); font-size: 14px; line-height: 1.4; }
.hero-content h1 {
  max-width: 8ch;
  font-size: clamp(46px, calc(6.65 * var(--hero-unit)), 87px);
  font-weight: 665;
  line-height: .99;
  letter-spacing: -.052em;
}
.hero-content h1 span { display: block; margin-top: .1em; font-size: 2em; font-weight: 690; line-height: .99; }
.hero-content > p {
  max-width: 27ch;
  margin-top: clamp(26px, calc(4.25 * var(--hero-unit)), 50px);
  color: var(--secondary);
  font-size: clamp(17px, calc(2.26 * var(--hero-unit)), 25px);
  line-height: 1.34;
  letter-spacing: -.025em;
}
.room-action { width: fit-content; max-width: 100%; margin-top: clamp(24px, calc(4.65 * var(--hero-unit)), 46px); }
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(52px, 7vw, 72px);
  padding: 12px clamp(20px, 4.1vw, 46px);
  border-radius: clamp(13px, 2.05vw, 23px);
  background: var(--text);
  color: #0e0e0e;
  font-size: clamp(17px, 2.55vw, 27px);
  font-weight: 650;
  letter-spacing: -.036em;
  line-height: 1.2;
}
.primary-action:hover { background: #dcdad6; }
.primary-action[aria-disabled='true'] { cursor: wait; opacity: .72; }
.hero-install { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.install-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #a4a4a4;
  border-radius: 12px;
  background: rgb(11 11 11 / .36);
  font-size: 14px;
  font-weight: 540;
  line-height: 1.25;
}
.install-action:hover { background: #262626; border-color: var(--text); }
.install-action img { flex: none; filter: invert(1); }
[data-install-platform="android"] .hero-install .install-iphone,
[data-install-platform="iphone"] .hero-install .install-android { display: none; }
.room-status { max-width: 35ch; font-size: 14px; line-height: 1.4; color: #ffcbd2; }
.room-status:not(:empty) { margin-top: 12px; }

.hero-track {
  --cover-size: clamp(54px, 8.6vw, 90px);
  display: grid;
  grid-template-columns: var(--cover-size) minmax(max-content, .55fr) minmax(0, 1fr) auto;
  gap: clamp(12px, 2.1vw, 28px);
  align-items: center;
  padding: clamp(12px, 1.85vw, 21px);
  border-radius: clamp(14px, 2.4vw, 26px);
  background: #efede9;
  color: #101010;
}
.cover {
  flex: none;
  width: var(--cover-size);
  aspect-ratio: 1;
  border-radius: clamp(6px, .95vw, 10px);
  background: #242424 url('/landing/queue-covers.webp') 0 0 / 200% 200% no-repeat;
}
.cover-night { background-position: right bottom; }
.track-details { display: grid; gap: 5px; min-width: 0; line-height: 1.15; }
.track-details strong { font-size: clamp(14px, 2vw, 22px); font-weight: 620; letter-spacing: -.033em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-details span { color: var(--muted); font-size: clamp(12px, 1.65vw, 17px); letter-spacing: -.022em; }
.hero-track .track-details span { color: #54524f; }
.track-timeline { display: grid; gap: 8px; }
.track-progress {
  position: relative;
  display: flex;
  align-items: center;
  height: 6px;
}
.track-progress::before { content: ''; position: absolute; width: 100%; height: 2px; background: #a8a7a4; }
.track-progress span { position: relative; width: 43%; height: 100%; border-radius: 999px; background: #101010; }
.track-progress span::after { content: ''; position: absolute; top: 50%; right: 0; width: 11px; aspect-ratio: 1; border-radius: 50%; background: inherit; transform: translate(50%, -50%); }
.track-times { display: flex; justify-content: space-between; font-size: clamp(11px, 1.5vw, 16px); font-variant-numeric: tabular-nums; }
.track-controls { display: flex; align-items: center; gap: clamp(13px, 2.6vw, 31px); margin-inline: clamp(0px, 1.15vw, 12px) 4px; }
.track-pause { display: grid; place-items: center; width: clamp(38px, 6.7vw, 70px); aspect-ratio: 1; border-radius: 50%; background: #101010; }
.track-controls img { width: clamp(18px, 2.7vw, 29px); height: auto; }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(26px, 4.5vw, 76px);
  margin-top: clamp(34px, 6vw, 78px);
  padding: clamp(36px, 5vw, 72px) var(--inset) clamp(46px, 9.5vw, 122px);
  border-block: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.showcase-copy h2 { font-size: clamp(36px, 5.65vw, 71px); font-weight: 650; line-height: 1.045; letter-spacing: -.048em; }
.showcase-copy p { max-width: 30ch; margin-top: clamp(18px, 3.55vw, 42px); color: var(--secondary); font-size: clamp(16px, 2.25vw, 24px); line-height: 1.42; letter-spacing: -.025em; }
.showcase-copy .music-sources { max-width: 37ch; margin-top: 13px; font-size: clamp(14px, 1.65vw, 18px); color: var(--muted); }

.queue-preview {
  display: block;
  justify-self: center;
  width: min(100%, 430px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2f2f2f;
  border-radius: clamp(15px, 2.1vw, 26px);
  background: #0d0d0d;
}
.queue-preview:is(:hover, :focus-visible) { border-color: #8b8986; }
.preview-screen { width: 100%; height: auto; }
.preview-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 9px 14px;
  color: var(--secondary);
  font-size: 14px;
}
.queue-preview:is(:hover, :focus-visible) .preview-open { background: #191919; color: var(--text); }

.getting-started, .faq { padding: clamp(32px, 5vw, 64px) var(--inset); border-bottom: 1px solid var(--line); }
.getting-started h2, .faq h2 { margin-bottom: 14px; font-size: clamp(24px, 3.1vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.getting-started { scroll-margin-top: 24px; }
.getting-started h2 { max-width: 25ch; }
.listen-intro { max-width: 66ch; margin-top: 20px; color: var(--secondary); font-size: 16px; line-height: 1.6; }
.listen-steps > li, #faq { scroll-margin-top: 24px; }
.listen-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin: 32px 0 0; padding-left: 24px; }
.listen-steps li { padding-left: 4px; }
.listen-steps li::marker { color: var(--muted); font-size: 15px; }
.listen-steps h3 { margin: 0 0 10px; font-size: 19px; font-weight: 550; line-height: 1.4; letter-spacing: -.025em; }
.listen-steps p { color: var(--secondary); font-size: 16px; line-height: 1.6; }
.getting-started a, .faq a { text-decoration: underline; text-underline-offset: .22em; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { padding-block: 13px; font-weight: 540; line-height: 1.45; cursor: pointer; }
.faq summary::marker { color: var(--muted); }
.faq details p { max-width: 62ch; margin-bottom: 16px; color: var(--secondary); line-height: 1.55; }
.footer-content { padding: clamp(30px, 5.5vw, 68px) var(--inset) clamp(26px, 4.5vw, 60px); }
.app-options { display: grid; grid-template-columns: 1fr .87fr 1fr; align-items: start; scroll-margin-top: 16px; }
.app-options > a, .iphone-guide summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  color: var(--secondary);
  font-size: clamp(14px, 1.7vw, 19px);
  font-weight: 540;
}
.app-options > :not(:first-child) { border-left: 1px solid var(--line); }
.app-options a:hover, .iphone-guide summary:hover, .developer-contact:hover { color: var(--text); text-decoration: underline; text-underline-offset: .25em; }
.iphone-guide summary { cursor: pointer; list-style: none; }
#install-iphone { scroll-margin-top: 16px; }
.iphone-guide summary::-webkit-details-marker { display: none; }
.iphone-guide[open] summary img { transform: rotate(180deg); }
.iphone-guide ol { margin: 8px 0 10px; padding-left: 22px; }
.iphone-guide li + li { margin-top: 7px; }
.iphone-guide :is(ol, p) { font-size: 14px; line-height: 1.5; color: var(--secondary); }
.iphone-guide[open] { padding-inline: 14px; }
.apple-guide { display: inline-flex; align-items: center; gap: 3px; margin-top: 10px; font-size: 13px; text-decoration: underline; text-underline-offset: .24em; }
.developer-contact { display: flex; align-items: center; gap: 5px; width: fit-content; min-height: 36px; margin: 16px auto 0; color: var(--muted); font-size: 13px; }
.analytics-notice { max-width: 58ch; margin: 5px auto 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

@media (max-width: 699px) {
  :root { --inset: 0px; }
  .site-header { min-height: 66px; }
  .site-header nav a { font-size: 13px; }
  .site-header .how-link { display: none; }
  .open-player { padding-inline: 12px; }
  .open-player img { width: 16px; }
  .hero-visual { inset: 46px 0 auto; width: 100%; height: clamp(315px, 95vw, 485px); }
  .hero-art { object-position: center 37%; }
  .hero-visual::after {
    background: linear-gradient(to bottom, var(--background), transparent 14%, transparent 53%, rgba(11, 11, 11, .8) 79%, var(--background) 99%);
  }
  .hero-content { min-height: 0; padding-top: clamp(210px, 60vw, 337px); padding-bottom: 34px; }
  .hero-content h1 { max-width: none; font-size: clamp(38px, 9vw, 59px); }
  .hero-content h1 span { font-size: 1.68em; }
  .hero-content > p { max-width: 31ch; margin-top: 20px; }
  .room-action { width: 100%; }
  .hero-content .primary-action, .install-action { width: 100%; justify-content: flex-start; padding-inline: 20px; border-radius: 14px; }
  .install-action { min-height: 48px; font-size: 16px; }
  .hero-track { grid-template-columns: var(--cover-size) minmax(0, 1fr) auto; gap: 12px; }
  .track-timeline { grid-area: 2 / 1 / auto / -1; gap: 6px; }
  .track-controls { gap: 9px; margin: 0; }
  .track-pause { width: 35px; }
  .showcase { grid-template-columns: 1fr; gap: 24px; }
  .showcase-copy h2 { max-width: 17ch; }
  .desktop-break { display: none; }
  .showcase-copy p { max-width: 38ch; }
  .listen-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .app-options { grid-template-columns: 1fr; gap: 2px; }
  .app-options > :not(:first-child) { border-left: 0; }
  .app-options > a, .iphone-guide summary { justify-content: flex-start; }
  .iphone-guide[open] { padding-inline: 0; }
  .developer-contact { margin-inline: 0; }
  .analytics-notice { margin-inline: 0; text-align: left; }
}

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

@media (max-width: 379px) {
  .site-header .brand { font-size: 23px; }
  .site-header nav { gap: 8px; }
  .site-header nav a { font-size: 12px; }
  .site-header .open-player { padding-inline: 6px; }
  .site-header .open-player img { width: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .primary-action, .open-player, .install-action, .queue-preview, .preview-open { transition: background-color .2s ease, border-color .2s ease; }
  .iphone-guide summary img { transition: transform .2s ease; }
}
