:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --fg: #f4f4f6;
  --sec: #a1a1a8;
  --dim: #6e6e75;
  --card: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .09);
  --pink: #c2549a;
  --indigo: #5b55d6;
  --peach: #e09a7c;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-x: hidden;
  font: 16px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; }
p { margin: 0; }

/* The dusk glow from the feature graphic, behind the top of the page. */
.dusk { position: absolute; inset: 0 0 auto; height: 1100px; overflow: hidden; pointer-events: none; z-index: -1; }
.dusk i { position: absolute; border-radius: 50%; filter: blur(110px); }
.dusk i:nth-child(1) { width: 620px; height: 620px; left: 38%; top: -120px; background: var(--pink); opacity: .55; }
.dusk i:nth-child(2) { width: 600px; height: 600px; left: 58%; top: 260px; background: var(--indigo); opacity: .5; }
.dusk i:nth-child(3) { width: 420px; height: 420px; left: 30%; top: 520px; background: var(--peach); opacity: .3; }
.dusk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, var(--bg)); }

.top {
  max-width: 1160px; margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.wordmark img { border-radius: 7px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.top nav a:not(.pill) { text-decoration: none; color: var(--sec); }
.top nav a:not(.pill):hover { color: var(--fg); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--fg); color: #0b0b0d; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill--big { padding: 14px 24px; font-size: 16px; }
.quiet { color: var(--sec); font-weight: 500; text-decoration: none; }
.quiet:hover { color: var(--fg); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--sec); margin-bottom: 14px; }
.lede { font-size: 19px; color: var(--sec); max-width: 34em; }
.small { font-size: 14px; color: var(--dim); }
.small a { color: var(--sec); }

/* The hero: the pitch beside the phone. */
.hero {
  max-width: 1160px; margin: 0 auto; padding: 40px var(--gutter) 90px;
  display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
}
.pitch h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; margin-bottom: 22px; }
.pitch .lede { margin-bottom: 30px; }
.actions { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hint { max-width: 330px; text-align: center; font-size: 13.5px; color: var(--dim); }
.looks { display: flex; gap: 10px; }
.seg { display: flex; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.seg button {
  border: 0; background: none; color: var(--sec); font: 500 13.5px Inter, system-ui, sans-serif;
  padding: 6px 13px; border-radius: 999px; cursor: pointer;
}
.seg button[aria-checked="true"] { background: rgba(255, 255, 255, .14); color: var(--fg); }

/* ---- The phone, and zSpin in it. Sizes are in --u, a hundredth of the phone's width. ---- */
.phone {
  --w: min(330px, calc(100vw - 2 * var(--gutter) - 24px));
  --u: calc(var(--w) / 100);
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: calc(var(--u) * 13);
  overflow: hidden; outline: none; user-select: none; -webkit-user-select: none; isolation: isolate;
  box-shadow: 0 0 0 calc(var(--u) * 2.4) #1a1a1d, 0 0 0 calc(var(--u) * 2.8) #303034, 0 40px 90px rgba(0, 0, 0, .55);
  background: var(--p-bg); color: var(--p-fg); font-family: Inter, system-ui, sans-serif;
  transition: background .4s ease;
}
@media (min-width: 901px) {
  /* Beside the pitch, the phone fits the window's height, with the controls under it. */
  .phone { --w: max(250px, min(330px, calc((100vh - 270px) * 9 / 19.5))); }
}
.phone:focus-visible { box-shadow: 0 0 0 calc(var(--u) * 2.4) #1a1a1d, 0 0 0 calc(var(--u) * 2.8) #8f87ff, 0 40px 90px rgba(0, 0, 0, .55); }

.phone.modern.dark {
  --p-bg: #000; --p-fg: #f5f5f7; --p-sec: rgba(255, 255, 255, .62); --p-sel: rgba(255, 255, 255, .15);
  --veil: linear-gradient(rgba(0, 0, 0, .36), rgba(0, 0, 0, .56) 55%, rgba(0, 0, 0, .68));
  --ring: rgba(255, 255, 255, .10); --rim: rgba(255, 255, 255, .22); --hub: rgba(0, 0, 0, .26); --key: rgba(255, 255, 255, .88);
  --track: rgba(255, 255, 255, .22); --glyph: rgba(255, 255, 255, .9);
}
.phone.modern.light {
  --p-bg: #fff; --p-fg: #0d0d0f; --p-sec: rgba(0, 0, 0, .55); --p-sel: rgba(0, 0, 0, .07);
  --veil: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, .78));
  --ring: rgba(255, 255, 255, .5); --rim: rgba(0, 0, 0, .08); --hub: rgba(255, 255, 255, .7); --key: rgba(0, 0, 0, .62);
  --track: rgba(0, 0, 0, .14); --glyph: rgba(0, 0, 0, .78);
}
.phone.classic.dark {
  --p-bg: #050505; --p-fg: #111; --p-sec: #6c6c70; --key: #c9c9ce;
  --ring: radial-gradient(circle at 50% 30%, #3a3a3f, #141416 75%); --rim: #2a2a2e;
  --hub: radial-gradient(circle at 50% 38%, #232326, #050506 70%); --track: #d9d9de;
}
.phone.classic.light {
  --p-bg: #ededf0; --p-fg: #111; --p-sec: #6c6c70; --key: #a2a2a8;
  --ring: radial-gradient(circle at 50% 30%, #fbfbfc, #dcdce0 80%); --rim: #d4d4d8;
  --hub: radial-gradient(circle at 50% 38%, #ffffff, #e9e9ec 80%); --track: #d9d9de;
}

/* Modern: the cover of what's playing, blurred behind everything (two layers, so it can fade). */
.backdrop { position: absolute; inset: 0; z-index: -1; }
.backdrop i { position: absolute; inset: -30%; filter: blur(calc(var(--u) * 11)) saturate(1.35); opacity: 0; transition: opacity .7s ease; }
.backdrop i.on { opacity: 1; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: var(--veil); }
.classic .backdrop { display: none; }

.status {
  position: absolute; top: calc(var(--u) * 3.6); left: calc(var(--u) * 7); right: calc(var(--u) * 7);
  display: flex; justify-content: space-between; align-items: center;
  font-size: calc(var(--u) * 3.6); font-weight: 600; color: var(--p-fg);
}
.batt { width: calc(var(--u) * 6); height: calc(var(--u) * 3); border: calc(var(--u) * .45) solid currentColor; border-radius: calc(var(--u) * .9); padding: calc(var(--u) * .35); opacity: .85; }
.batt i { display: block; width: 72%; height: 100%; background: currentColor; border-radius: calc(var(--u) * .3); }
.classic .status { display: none; }

.screen { position: absolute; left: 0; right: 0; top: calc(var(--u) * 10); height: calc(var(--u) * 104); }
.classic .screen {
  left: calc(var(--u) * 5); right: calc(var(--u) * 5); top: calc(var(--u) * 6); height: calc(var(--u) * 100);
  background: #fff; border-radius: calc(var(--u) * 3); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}

/* Lists */
.list { position: absolute; inset: 0 calc(var(--u) * 3); overflow: hidden; }
.classic .list { inset: calc(var(--u) * 7.4) 0 0; }
.rows { transition: transform .18s ease; }
.row {
  display: flex; align-items: center; gap: calc(var(--u) * 3.4);
  height: calc(var(--u) * 12.4); padding: 0 calc(var(--u) * 3.2); border-radius: calc(var(--u) * 3.4);
  font-size: calc(var(--u) * 4.8); font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
}
.row.tall { height: calc(var(--u) * 15.4); }
.row.sel { background: var(--p-sel); }
.row .g { width: calc(var(--u) * 5.6); height: calc(var(--u) * 5.6); flex: none; fill: var(--glyph); }
.row .art { width: calc(var(--u) * 10.6); height: calc(var(--u) * 10.6); border-radius: calc(var(--u) * 2); flex: none; }
.row .text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.22; }
.row .label, .row .detail { overflow: hidden; text-overflow: ellipsis; }
.row .detail { font-size: calc(var(--u) * 3.7); font-weight: 400; color: var(--p-sec); }
.row .value { font-size: calc(var(--u) * 4); color: var(--p-sec); font-weight: 400; }
.row .chev { width: calc(var(--u) * 1.8); height: calc(var(--u) * 1.8); border-right: calc(var(--u) * .45) solid var(--p-sec); border-top: calc(var(--u) * .45) solid var(--p-sec); transform: rotate(45deg); margin-right: calc(var(--u) * .8); flex: none; }

.classic .row { height: calc(var(--u) * 8.6); border-radius: 0; padding: 0 calc(var(--u) * 3); font-weight: 600; font-size: calc(var(--u) * 4.3); }
.classic .row .g, .classic .row .art, .classic .row .detail { display: none; }
.classic .row .chev { border-color: #8a8a8e; }
.classic .row.sel { background: linear-gradient(#5ea2f6, #2c79e6); color: #fff; }
.classic .row.sel .chev, .classic .row.sel .value { border-color: #fff; color: #fff; }

/* Classic's title bar */
.bar {
  display: none; position: absolute; inset: 0 0 auto; height: calc(var(--u) * 7.4);
  align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 2.8);
  background: linear-gradient(#fbfbfc, #dcdce0); border-bottom: 1px solid #b9b9be;
  font-size: calc(var(--u) * 3.5); font-weight: 600; color: #222;
}
.classic .bar { display: flex; }
.bar .batt { width: calc(var(--u) * 6); height: calc(var(--u) * 2.8); border-color: #444; }
.bar .batt i { background: #3cbf4e; }

/* The Shelf */
.shelf { position: absolute; inset: 0; perspective: calc(var(--u) * 120); }
.classic .shelf { top: calc(var(--u) * 7.4); }
.shelf .cover {
  position: absolute; left: 50%; top: calc(var(--u) * 14); width: calc(var(--u) * 44); height: calc(var(--u) * 44);
  margin-left: calc(var(--u) * -22); border-radius: calc(var(--u) * 3); transition: transform .3s ease, opacity .3s ease;
  box-shadow: 0 calc(var(--u) * 3) calc(var(--u) * 8) rgba(0, 0, 0, .35);
}
.classic .shelf .cover { top: calc(var(--u) * 8); border-radius: 0; }
.shelf .caption { position: absolute; left: 0; right: 0; top: calc(var(--u) * 64); text-align: center; padding: 0 calc(var(--u) * 6); }
.classic .shelf .caption { top: calc(var(--u) * 58); }
.caption b { display: block; font-size: calc(var(--u) * 4.8); font-weight: 700; letter-spacing: -.015em; }
.caption span { font-size: calc(var(--u) * 3.8); color: var(--p-sec); }

/* Now Playing */
.now { position: absolute; inset: 0 calc(var(--u) * 7); display: flex; flex-direction: column; }
.classic .now { inset: calc(var(--u) * 7.4) calc(var(--u) * 4) 0; }
.now .cover {
  width: calc(var(--u) * 56); height: calc(var(--u) * 56); margin: calc(var(--u) * 6) auto calc(var(--u) * 7);
  border-radius: calc(var(--u) * 4); box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 10) rgba(0, 0, 0, .4);
}
.now .title { font-size: calc(var(--u) * 5.6); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now .artist { font-size: calc(var(--u) * 4.2); color: var(--p-sec); margin-bottom: calc(var(--u) * 4.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now .line { position: relative; height: calc(var(--u) * 4); }
.now .line svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.now .times { display: flex; justify-content: space-between; font-size: calc(var(--u) * 3.3); color: var(--p-sec); margin-top: calc(var(--u) * 1.6); font-variant-numeric: tabular-nums; }
.now .vol { display: flex; align-items: center; gap: calc(var(--u) * 2.5); }
.now .vol .g { width: calc(var(--u) * 5); height: calc(var(--u) * 5); fill: var(--p-sec); flex: none; }
.now .vol .meter { flex: 1; height: calc(var(--u) * 1.2); border-radius: 99px; background: var(--track); overflow: hidden; }
.now .vol .meter i { display: block; height: 100%; background: var(--p-fg); border-radius: 99px; transition: width .12s ease; }
.classic .now .cover { width: calc(var(--u) * 40); height: calc(var(--u) * 40); margin: calc(var(--u) * 7) auto calc(var(--u) * 5); border-radius: 0; box-shadow: 0 calc(var(--u) * 2) calc(var(--u) * 5) rgba(0, 0, 0, .25); }
.classic .now { text-align: center; }
.classic .now .title { font-size: calc(var(--u) * 4.6); }
.classic .now .artist { font-size: calc(var(--u) * 3.8); margin-bottom: calc(var(--u) * 3.4); }
.classic .now .line { height: calc(var(--u) * 3.2); border-radius: 2px; background: linear-gradient(#f2f2f4, #d6d6da); box-shadow: inset 0 0 0 1px #a9a9ae; overflow: hidden; }
.classic .now .line i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#73b0f8, #2c79e6); }
.classic .now .vol .meter { height: calc(var(--u) * 3.2); border-radius: 2px; background: linear-gradient(#f2f2f4, #d6d6da); box-shadow: inset 0 0 0 1px #a9a9ae; }
.classic .now .vol .meter i { background: linear-gradient(#73b0f8, #2c79e6); border-radius: 0; }

.toast {
  position: absolute; left: 50%; top: calc(var(--u) * 100); transform: translate(-50%, 8px); opacity: 0; z-index: 2;
  width: max-content; max-width: 88%; padding: calc(var(--u) * 2.4) calc(var(--u) * 4); border-radius: calc(var(--u) * 3);
  background: rgba(20, 20, 24, .88); color: #fff; font-size: calc(var(--u) * 3.6); line-height: 1.3; text-align: center;
  transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* The wheel */
.wheel {
  position: absolute; left: 50%; top: calc(var(--u) * 155); width: calc(var(--u) * 68); height: calc(var(--u) * 68);
  margin: calc(var(--u) * -34) 0 0 calc(var(--u) * -34); border-radius: 50%;
  background: var(--ring); box-shadow: inset 0 0 0 1px var(--rim);
  touch-action: none; cursor: grab;
}
.modern .wheel { backdrop-filter: blur(calc(var(--u) * 3)); -webkit-backdrop-filter: blur(calc(var(--u) * 3)); }
.wheel:active { cursor: grabbing; }
.hub {
  position: absolute; left: 50%; top: 50%; width: 37%; height: 37%; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--hub); box-shadow: inset 0 0 0 1px var(--rim); transition: filter .12s ease;
}
.key { position: absolute; color: var(--key); fill: var(--key); stroke: var(--key); transition: transform .12s ease, opacity .12s ease; }
.key.menu { left: 0; right: 0; top: 10%; text-align: center; font-size: calc(var(--u) * 3.7); font-weight: 600; letter-spacing: .18em; padding-left: .18em; }
.classic .key.menu { font-weight: 700; }
.key svg, svg.key { width: calc(var(--u) * 6.2); height: calc(var(--u) * 3.1); stroke-width: 1.6; stroke-linejoin: round; }
svg.key.prev { left: 9%; top: 50%; transform: translateY(-50%); }
svg.key.next { right: 9%; top: 50%; transform: translateY(-50%); }
svg.key.play { left: 50%; bottom: 11%; transform: translateX(-50%); }
.key.down { opacity: .45; }
.hub.down { filter: brightness(.82); }
.light .hub.down, .classic.light .hub.down { filter: brightness(.92); }

/* ---- The rest of the page ---- */
section { max-width: 1160px; margin: 0 auto; padding: 80px var(--gutter); }
section h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; margin-bottom: 18px; max-width: 18em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.cards article { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.cards .glyph { width: 28px; height: 28px; fill: #e6c3ff; margin-bottom: 18px; }
.cards h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.cards p { color: var(--sec); font-size: 15.5px; }

.faq { display: grid; gap: 12px; margin: 34px 0 22px; max-width: 760px; }
details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sec); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--sec); padding-bottom: 20px; }

.cta { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: 110px; }
.cta h2 { margin-bottom: 14px; }
.cta .lede { margin-bottom: 30px; }
.cta .pill { margin-bottom: 22px; }

.end { max-width: 1160px; margin: 0 auto; padding: 30px var(--gutter) 46px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.end nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.end nav a { color: var(--sec); text-decoration: none; }
.end nav a:hover { color: var(--fg); }
.end p { font-size: 13px; color: var(--dim); max-width: 60em; }

/* The privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 90px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.doc .updated { color: var(--dim); font-size: 14px; margin: 10px 0 34px; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 38px 0 12px; letter-spacing: -.02em; }
.doc p, .doc li { color: #c9c9ce; }
.doc p { margin-bottom: 14px; }
.doc ul { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 10px; }
.doc b { color: var(--fg); }
.doc code { font-size: .9em; background: var(--card); padding: 1px 6px; border-radius: 6px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 20px; }
  .pitch { text-align: left; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .top nav a:not(.pill) { display: none; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 60px var(--gutter); }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rows, .shelf .cover, .backdrop i, .pill { transition: none; }
}
