/* CrateSeek — landing page. White, ink, one red. The app's own world, set at editorial scale. */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: #3c3c43;
  --grey: #6e6e73;
  --line: #e5e5ea;
  --fill: #f5f5f7;
  --fill-2: #ebebef;
  --red: #d42a2a;
  --red-on-dark: #ff453a;
  --night: #0a0a0a;
  --night-2: #1c1c1e;
  --night-line: #2c2c2e;
  --night-text: #f5f5f7;
  --night-grey: #98989f;

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter CS", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(104px, 12vw, 184px);

  --t-display: clamp(2.75rem, 1rem + 5vw, 5.5rem);
  --t-h2: clamp(2.25rem, 1.3rem + 3vw, 4.25rem);
  --t-h3: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
  --t-lede: clamp(1.125rem, 1.02rem + .35vw, 1.3125rem);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

html { scrollbar-color: #c7c7cc transparent; }


.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; text-decoration: none; transition: top .2s var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

.display {
  font-size: var(--t-display);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2 {
  font-size: var(--t-h2);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--t-h3);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lede {
  font-size: var(--t-lede);
  line-height: 1.45;
  color: var(--grey);
  letter-spacing: -0.005em;
  max-width: 40ch;
  text-wrap: pretty;
}
.pro-mark {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--grey);
  vertical-align: .2em;
}
.step__verb .pro-mark { font-size: 14px; margin-left: 12px; vertical-align: top; margin-top: .5em; }

/* ---------- Buttons ---------- */

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 26px 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: transform .5s var(--ease-out), background-color .2s;
}
.store .icon { width: 19px; height: 19px; transition: transform .5s var(--ease-out); }
.store:hover { background: #2c2c2e; }
.store:hover .icon { transform: translateX(3px); }
.store:active { transform: scale(.97); transition-duration: .1s; }

/* Shuffle: the app's primary action. "Shuffle" rises out as "Shuffling…" rises in; the arrows flow through. */
.shuffle {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); min-width: 164px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; overflow: hidden; text-decoration: none;
  transition: transform .45s var(--ease-out), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.shuffle:hover { background: #2c2c2e; }
.shuffle:active { transform: scale(.96); transition-duration: .1s; }
.shuffle__icon { position: relative; width: 20px; height: 20px; flex: none; }
.shuffle__icon .icon { position: absolute; inset: 0; width: 100%; height: 100%; }
.shuffle__icon .icon + .icon { opacity: 0; transform: translateX(-12px) scale(.92); }
.shuffle__label { position: relative; display: grid; text-align: left; }
.shuffle__label > span { grid-area: 1 / 1; transition: transform .5s var(--ease-out), opacity .35s var(--ease-out); }
.shuffle__label > span + span { opacity: 0; transform: translateY(14px); }
.shuffle.is-busy .shuffle__label > span:first-child { opacity: 0; transform: translateY(-14px); }
.shuffle.is-busy .shuffle__label > span + span { opacity: 1; transform: none; }
.shuffle.is-busy .shuffle__icon .icon:first-child { animation: arrow-out .18s var(--ease-out) forwards; }
.shuffle.is-busy .shuffle__icon .icon + .icon { animation: arrow-in .18s var(--ease-out) forwards; }
.shuffle--soft { --h: 58px; background: var(--fill); color: var(--ink); font-size: 18px; }
.shuffle--soft:hover { background: var(--fill-2); }
@keyframes arrow-out { to { opacity: 0; transform: translateX(12px) scale(.92); } }
@keyframes arrow-in { to { opacity: 1; transform: none; } }

/* ---------- Phone: the app, rebuilt at 390 × 844 points and scaled by --pw ---------- */

.phone {
  --pw: 320px;
  --u: calc(var(--pw) / 390);
  --bezel: calc(11 * var(--u));
  position: relative;
  width: calc(var(--pw) + var(--bezel) * 2);
  padding: var(--bezel);
  border-radius: calc(66 * var(--u));
  background: #0c0c0d;
  box-shadow:
    inset 0 0 0 calc(1.5 * var(--u)) #3a3a3c,
    inset 0 0 0 calc(3 * var(--u)) #0c0c0d,
    0 calc(40 * var(--u)) calc(80 * var(--u)) rgba(17, 17, 17, .16),
    0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(17, 17, 17, .08);
  flex: none;
}
.phone::before {
  /* Side button */
  content: ""; position: absolute; right: calc(-3 * var(--u)); top: calc(250 * var(--u));
  width: calc(4 * var(--u)); height: calc(100 * var(--u)); border-radius: 0 3px 3px 0; background: #2a2a2c;
}
.phone::after {
  /* Dynamic Island */
  content: ""; position: absolute; left: 50%; top: calc(var(--bezel) + 11 * var(--u)); z-index: 5;
  width: calc(124 * var(--u)); height: calc(36 * var(--u)); border-radius: 999px; background: #000;
  transform: translateX(-50%);
}

.ios {
  --tx: var(--ink);
  --tx-2: #6e6e73;
  --tx-3: #3c3c43;
  --glass: rgba(120, 120, 128, .09);
  --glass-edge: rgba(0, 0, 0, .06);
  --glass-rim: rgba(255, 255, 255, .95);
  --hair: rgba(0, 0, 0, .1);
  --tag: #f2f2f4;
  --bar: rgba(249, 249, 251, .78);
  position: relative;
  width: calc(390 * var(--u));
  height: calc(844 * var(--u));
  overflow: hidden;
  border-radius: calc(55 * var(--u));
  background: #fff;
  color: var(--tx);
  font-size: calc(17 * var(--u));
  line-height: 1.3;
  letter-spacing: -.01em;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color .7s var(--ease-in-out), color .7s var(--ease-in-out);
}
.ios .icon { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.ios::before {
  /* Content fades out under the floating dock, the way it slides beneath the glass in the app. */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: calc(236 * var(--u));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 36%);
  pointer-events: none; transition: opacity .7s var(--ease-in-out);
}
.ios.is-dark::before { background: linear-gradient(to bottom, rgba(10, 10, 10, 0), #0a0a0a 36%); }

.ios__status {
  position: absolute; inset: 0 0 auto; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  height: calc(54 * var(--u)); padding: calc(4 * var(--u)) calc(32 * var(--u)) 0 calc(48 * var(--u));
  font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: -.02em;
}
.ios__glyphs { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.ios__glyphs .icon { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.ios__glyphs .icon:last-child { width: calc(28 * var(--u)); height: calc(28 * var(--u)); }

.glass {
  background: var(--glass);
  box-shadow: inset 0 calc(.75 * var(--u)) 0 var(--glass-rim), inset 0 0 0 calc(.75 * var(--u)) var(--glass-edge);
  -webkit-backdrop-filter: blur(calc(14 * var(--u))) saturate(1.6);
  backdrop-filter: blur(calc(14 * var(--u))) saturate(1.6);
  transition: background-color .7s var(--ease-in-out), box-shadow .7s var(--ease-in-out);
}
.g-circle {
  display: grid; place-items: center; flex: none;
  width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%;
}
.g-pill {
  display: inline-flex; align-items: center; gap: calc(6 * var(--u)); flex: none;
  height: calc(44 * var(--u)); padding: 0 calc(15 * var(--u)); border-radius: calc(22 * var(--u));
  font-size: calc(16 * var(--u)); font-weight: 600;
}
.g-pill .icon { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }

/* Discover */
.ds { position: absolute; inset: calc(54 * var(--u)) 0 0; padding: calc(8 * var(--u)) calc(16 * var(--u)) 0; }
.ds__head { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(46 * var(--u)); z-index: 2; }
.ds__title { font-size: calc(34 * var(--u)); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.ds__dog {
  position: absolute; right: calc(52 * var(--u)); bottom: calc(-24 * var(--u)); z-index: 3;
  width: calc(106 * var(--u)); height: auto; pointer-events: none;
}
.ds__filter {
  display: flex; align-items: center; gap: calc(10 * var(--u));
  min-height: calc(48 * var(--u)); margin-top: calc(10 * var(--u)); padding: 0 calc(16 * var(--u));
  border-radius: calc(24 * var(--u));
  font-size: calc(15 * var(--u)); color: var(--tx-3);
}
.ds__filter .icon { width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: var(--tx-2); }
.ds__filter .icon:last-child { width: calc(15 * var(--u)); height: calc(15 * var(--u)); margin-left: auto; }
.ds__filter span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds__stage {
  position: relative; display: grid; place-items: center;
  height: calc(201 * var(--u)); margin-top: calc(14 * var(--u));
  border-radius: calc(14 * var(--u)); background: #000; overflow: hidden;
}
.ds__stage .sleeve { position: absolute; top: 0; left: 50%; height: 100%; width: auto; transform: translateX(-50%); box-shadow: 0 0 0 calc(.75 * var(--u)) rgba(255, 255, 255, .16); }
.ds__track {
  margin-top: calc(14 * var(--u)); font-size: calc(28 * var(--u)); line-height: 1.22; font-weight: 700; letter-spacing: -.03em;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.ds__artist { font-size: calc(20 * var(--u)); color: var(--tx-2); margin-top: calc(1 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .7s var(--ease-in-out); }
.ds__row { display: flex; align-items: center; gap: calc(8 * var(--u)); margin-top: calc(14 * var(--u)); }
.ds__row .spacer { flex: 1; }
.ds__row .g-pill--plain { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 calc(4 * var(--u)); font-weight: 500; font-size: calc(16 * var(--u)); }
.ds__details { margin-top: calc(12 * var(--u)); }
.ds__details > div {
  display: grid; grid-template-columns: calc(118 * var(--u)) 1fr; align-items: center;
  min-height: calc(50 * var(--u)); border-top: calc(.75 * var(--u)) solid var(--hair);
  transition: border-color .7s var(--ease-in-out);
}
.ds__details dt { display: flex; align-items: center; gap: calc(9 * var(--u)); color: var(--tx-2); font-size: calc(16 * var(--u)); transition: color .7s var(--ease-in-out); }
.ds__details dt .icon { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.ds__details dd { font-size: calc(16 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags { display: flex; gap: calc(6 * var(--u)); overflow: hidden; }
.tags span {
  padding: calc(5 * var(--u)) calc(10 * var(--u)); border-radius: calc(8 * var(--u));
  background: var(--tag); font-size: calc(14 * var(--u)); font-weight: 600; white-space: nowrap;
  transition: background-color .7s var(--ease-in-out);
}

/* Floating dock and tab bar */
.ios__dock {
  position: absolute; left: calc(12 * var(--u)); right: calc(12 * var(--u)); bottom: calc(92 * var(--u)); z-index: 3;
  display: flex; gap: calc(10 * var(--u));
}
.ios__like {
  display: flex; align-items: center; justify-content: center; gap: calc(7 * var(--u));
  min-width: calc(112 * var(--u)); height: calc(56 * var(--u)); padding: 0 calc(18 * var(--u)); border-radius: calc(28 * var(--u));
  font-size: calc(17 * var(--u)); font-weight: 600;
  background: rgba(255, 255, 255, .78);
}
.ios__like .icon { width: calc(21 * var(--u)); height: calc(21 * var(--u)); }
.ios__like .icon + .icon, .ios__like .liked { display: none; }
.ios__shuffle {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u));
  height: calc(56 * var(--u)); border-radius: calc(28 * var(--u));
  background: var(--ink); color: #fff; font-size: calc(17 * var(--u)); font-weight: 600;
  box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(0, 0, 0, .18);
  transition: background-color .7s var(--ease-in-out), box-shadow .7s var(--ease-in-out);
}
.ios__shuffle .icon { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.ios__shuffle .busy { display: none; }
.ios.is-busy .ios__shuffle .idle { display: none; }
.ios.is-busy .ios__shuffle .busy { display: inline; }

.ios__tabs {
  position: absolute; left: calc(12 * var(--u)); right: calc(12 * var(--u)); bottom: calc(26 * var(--u)); z-index: 3;
  display: flex; justify-content: space-around; align-items: center;
  height: calc(56 * var(--u)); border-radius: calc(28 * var(--u));
  background: var(--bar); color: var(--tx-2);
}
.ios__tabs .icon { width: calc(27 * var(--u)); height: calc(27 * var(--u)); }
.ios__tabs .on { color: var(--tx); }
.ios__home {
  position: absolute; left: 50%; bottom: calc(8 * var(--u)); z-index: 4;
  width: calc(136 * var(--u)); height: calc(5 * var(--u)); border-radius: 99px; background: var(--tx);
  transform: translateX(-50%); transition: background-color .7s var(--ease-in-out);
}

/* Liked state */
.ios.is-liked .ios__like .icon:first-child, .ios.is-liked .ios__like .like { display: none; }
.ios.is-liked .ios__like .icon + .icon { display: block; color: var(--red); animation: heart-pop .55s var(--ease-out); }
.ios.is-liked .ios__like .liked { display: inline; }
@keyframes heart-pop { 0% { transform: scale(.6); } 55% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* Dark: Discover under For You */
.ios.is-dark {
  --tx: #f5f5f7;
  --tx-2: #98989f;
  --tx-3: #d1d1d6;
  --glass: rgba(255, 255, 255, .1);
  --glass-edge: rgba(255, 255, 255, .12);
  --glass-rim: rgba(255, 255, 255, .28);
  --hair: rgba(255, 255, 255, .12);
  --tag: rgba(255, 255, 255, .12);
  --bar: rgba(40, 40, 42, .72);
  background: var(--night);
}
.ios.is-dark .ios__like { background: rgba(255, 255, 255, .1); }
.ios.is-dark.is-liked .ios__like .icon + .icon { color: var(--red-on-dark); }
.ios.is-dark .ios__shuffle { background: #1d1d1f; box-shadow: inset 0 0 0 calc(.75 * var(--u)) rgba(255, 255, 255, .16), inset 0 calc(.75 * var(--u)) 0 rgba(255, 255, 255, .3); }
.foryou .icon + .icon { display: none; }
.ios.is-dark .foryou { background: #f5f5f7; color: #111; box-shadow: none; }
.ios.is-dark .foryou .icon:first-child { display: none; }
.ios.is-dark .foryou .icon + .icon { display: block; }

/* Sheets inside the phone */
.ios__scrim { position: absolute; inset: 0; z-index: 6; background: rgba(0, 0, 0, .28); opacity: 0; transition: opacity .5s var(--ease-out); pointer-events: none; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  padding: calc(10 * var(--u)) calc(16 * var(--u)) calc(34 * var(--u));
  border-radius: calc(34 * var(--u)) calc(34 * var(--u)) 0 0;
  background: #fff; color: var(--ink);
  transform: translateY(104%);
  transition: transform .75s var(--ease-out);
}
.sheet__grab { width: calc(36 * var(--u)); height: calc(5 * var(--u)); margin: 0 auto calc(14 * var(--u)); border-radius: 99px; background: #d1d1d6; }
.sheet__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: calc(14 * var(--u)); }
.sheet__title { font-size: calc(24 * var(--u)); font-weight: 700; letter-spacing: -.03em; }
.sheet__sub { display: block; font-size: calc(14 * var(--u)); color: #6e6e73; margin-top: calc(2 * var(--u)); }
.sheet__done { font-size: calc(17 * var(--u)); font-weight: 600; }
.is-sheet .ios__scrim { opacity: 1; }
.is-sheet .sheet { transform: none; }

.crate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(12 * var(--u)); }
.crate-tile { position: relative; }
.crate-tile__art { position: relative; aspect-ratio: 1; border-radius: calc(12 * var(--u)); overflow: hidden; background: var(--fill); }
.crate-tile__art .sleeve { width: 100%; height: 100%; }
.crate-tile__name { margin-top: calc(7 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 600; }
.crate-tile__count { font-size: calc(13 * var(--u)); color: #6e6e73; }
.crate-tile__check {
  position: absolute; right: calc(8 * var(--u)); top: calc(8 * var(--u));
  display: grid; place-items: center; width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%;
  background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) rgba(0, 0, 0, .12); color: transparent;
  transition: background-color .3s, color .3s;
}
.crate-tile__check .icon { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.crate-tile.is-on .crate-tile__check { background: var(--ink); color: #fff; box-shadow: none; }
.sheet__new { display: flex; align-items: center; gap: calc(12 * var(--u)); margin-top: calc(16 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 600; }
.sheet__new span:first-child { display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: calc(10 * var(--u)); background: var(--fill); }

.dig-group { border-radius: calc(14 * var(--u)); background: var(--fill); overflow: hidden; }
.dig-group + .dig-group { margin-top: calc(14 * var(--u)); }
.dig-row { display: flex; align-items: center; gap: calc(13 * var(--u)); min-height: calc(62 * var(--u)); padding: 0 calc(16 * var(--u)); }
.dig-row + .dig-row { border-top: calc(.75 * var(--u)) solid rgba(0, 0, 0, .08); }
.dig-row > .icon { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.dig-row b { display: block; font-size: calc(17 * var(--u)); font-weight: 600; }
.dig-row small { display: block; font-size: calc(14 * var(--u)); color: #6e6e73; }
.dig-row .lock { margin-left: auto; width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: #6e6e73; }

/* ---------- Sleeves: authored typographic covers, one red label dot each ---------- */

.sleeve {
  container-type: inline-size;
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  color: #fff;
  font-family: var(--font);
  line-height: 1;
  isolation: isolate;
}
.sleeve__title {
  position: absolute; left: 8cqw; right: 8cqw; bottom: 9cqw;
  font-size: 12.5cqw; font-weight: 800; letter-spacing: -.045em; line-height: .98;
  text-wrap: balance;
}
.sleeve__meta {
  position: absolute; left: 8cqw; top: 8cqw; right: 26cqw;
  font-size: 4.2cqw; font-weight: 600; letter-spacing: .01em; opacity: .72;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sleeve__dot { position: absolute; right: 8cqw; top: 8cqw; width: 11cqw; height: 11cqw; border-radius: 50%; background: var(--red); }
.sleeve__dot::after { content: ""; position: absolute; inset: 42%; border-radius: 50%; background: #111; }

/* 2 — a record half out of its sleeve */
.sleeve.v2 { background: var(--fill); color: var(--ink); }
.sleeve.v2 .sleeve__title { top: 18cqw; bottom: auto; right: 34cqw; font-size: 10.5cqw; }
.sleeve.v2 .sleeve__meta { opacity: .6; }
.sleeve.v2 .sleeve__dot {
  top: auto; right: -34cqw; bottom: -34cqw; width: 96cqw; height: 96cqw;
  background:
    radial-gradient(circle, var(--red) 0 16%, #111 16.4% 17.5%, transparent 17.8%),
    repeating-radial-gradient(circle, #111 0 1.1cqw, #1d1d1f 1.1cqw 1.6cqw);
}
.sleeve.v2 .sleeve__dot::after { inset: 48.6%; background: var(--fill); }

/* 4 — title set big enough to leave the sleeve */
.sleeve.v4 { background: var(--fill-2); color: var(--ink); }
.sleeve.v4 .sleeve__title { left: 6cqw; right: -30cqw; top: 20cqw; bottom: auto; font-size: 21cqw; line-height: .92; text-wrap: wrap; }
.sleeve.v4 .sleeve__meta { top: auto; bottom: 7cqw; opacity: .6; }
.sleeve.v4 .sleeve__dot { top: auto; bottom: 6cqw; width: 8cqw; height: 8cqw; }
.sleeve.v4 .sleeve__dot::after { background: var(--fill-2); }

/* 5 — a heavy ink frame around a centred title */
.sleeve.v5 { background: #fff; color: var(--ink); }
/* cq units resolve against the sleeve only inside it, so the frame is a pseudo-element. */
.sleeve.v5::before { content: ""; position: absolute; inset: 0; border: 7cqw solid #111; }
.sleeve.v5 .sleeve__title { left: 15cqw; right: 15cqw; top: 50%; bottom: auto; transform: translateY(-40%); text-align: center; font-size: 10cqw; }
.sleeve.v5 .sleeve__meta { top: auto; bottom: 15cqw; left: 15cqw; right: 15cqw; text-align: center; opacity: .6; }
.sleeve.v5 .sleeve__dot { top: 17cqw; left: 50%; right: auto; width: 10cqw; height: 10cqw; transform: translateX(-50%); }
.sleeve.v5 .sleeve__dot::after { background: #fff; }


/* ---------- Hero ---------- */

.hero { padding-top: clamp(24px, 5vh, 64px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__copy .display { max-width: 10em; }
.hero__copy .lede { margin-top: 24px; max-width: 30em; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.hero__phone { justify-self: center; }
.hero__phone .phone { --pw: clamp(250px, min(25vw, calc((100svh - 140px) * .462)), 336px); }

/* ---------- Film: the launch video, played on request with sound ---------- */

.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(18px, 2.4vw, 32px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -50px rgba(0, 0, 0, .3);
}
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__video:not([controls]) { cursor: pointer; }
.film__play {
  position: absolute; left: 50%; bottom: clamp(16px, 8%, 64px);
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px 0 20px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; cursor: pointer;
  transform: translateX(-50%);
  transition: transform .5s var(--ease-out), background-color .2s;
}
.film__play[hidden] { display: none; }
.film__play .icon { width: 15px; height: 15px; }
.film__time { color: rgba(255, 255, 255, .55); font-weight: 500; font-variant-numeric: tabular-nums; }
.film__play:hover { background: #2c2c2e; }
.film__play:active { transform: translateX(-50%) scale(.97); transition-duration: .1s; }

/* Depth: YouTube views on a digger's scale, five equal bands */
.depth { position: relative; margin-top: 30px; }
.depth__track { position: relative; height: 72px; isolation: isolate; }
.depth__track::before {
  /* An ink baseline. */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1;
  background: var(--ink);
}
.depth__track::after {
  /* A short grey tick at every boundary between depths. */
  content: ""; position: absolute; inset: auto 0 0 0; height: 12px; z-index: 1;
  background: repeating-linear-gradient(to right, #c7c7cc 0 2px, transparent 2px 20%);
  background-size: calc(100% + 2px) 100%;
}
.depth__band {
  --band: 0;
  position: absolute; bottom: 0; left: calc(var(--band) * 20%); z-index: 0;
  width: 20%; height: 32px; background: var(--fill-2);
  transition: left .9s var(--ease-out), opacity .3s;
}
.depth__marker {
  --pos: .12;
  position: absolute; left: calc(var(--pos) * 100%); bottom: 0; z-index: 2;
  width: 0; height: 72px;
  transition: left 1s var(--ease-out), opacity .3s;
}
.depth__marker::before { content: ""; position: absolute; left: -1px; bottom: 0; width: 2px; height: 54px; background: var(--red); }
.depth__marker::after { content: ""; position: absolute; left: -9px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff; }
.depth__views {
  position: absolute; left: 16px; top: -1px; white-space: nowrap;
  font-size: 16px; line-height: 20px; font-weight: 700; color: var(--red); letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.depth__marker.is-flip .depth__views { left: auto; right: 16px; }
.sm { display: none; }

/* ---------- How it works ---------- */

.how { padding-top: var(--section); }
.how__intro .lede { margin-top: 20px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(24px, 4vw, 48px); }
.how__steps { padding-block: 10vh 16vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; }
.step__verb { font-size: clamp(3rem, 1.6rem + 4.4vw, 5.75rem); font-weight: 700; letter-spacing: -.045em; line-height: .95; color: #8e8e93; transition: color .6s var(--ease-out); }
.step.is-active .step__verb { color: var(--ink); }
.step p { margin-top: 18px; font-size: var(--t-lede); color: var(--grey); line-height: 1.45; max-width: 26em; }
.how__stage { position: sticky; top: max(84px, calc(50svh - (var(--ph) / 2))); align-self: start; display: grid; justify-items: center; --ph: 640px; }
.how__stage .phone { --pw: clamp(240px, min(24vw, calc((100svh - 160px) * .462)), 320px); }

/* ---------- Dig deeper ---------- */

.dig { padding-top: var(--section); }
.dig__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.dig__phone { justify-self: center; }
.dig__phone .phone { --pw: clamp(240px, 24vw, 312px); }
.dig__copy .lede { margin-top: 20px; }
.thread { margin-top: 40px; display: grid; gap: 0; max-width: 34rem; }
.thread li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.thread li:last-child { border-bottom: 1px solid var(--line); }
.thread .icon { width: 24px; height: 24px; }
.thread b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.thread span { display: block; color: var(--grey); font-size: 15px; }
.thread .pro-mark { display: inline-block; font-size: 12px; vertical-align: .1em; }

/* ---------- For You ---------- */

.foryou-band { margin-top: var(--section); background: var(--night); color: var(--night-text); padding-block: var(--section); overflow: hidden; }
.foryou-band ::selection { background: #fff; color: #111; }
.foryou-band :focus-visible { outline-color: #fff; }
.fy__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fy__copy .lede { color: var(--night-grey); margin-top: 22px; }
.fy__title .icon { width: .72em; height: .72em; vertical-align: -.02em; margin-right: .12em; }
.fy__facts { margin-top: 44px; display: grid; gap: 0; max-width: 32rem; }
.fy__facts li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--night-line); color: var(--night-grey); }
.fy__facts li:last-child { border-bottom: 1px solid var(--night-line); }
.fy__facts .icon { width: 22px; height: 22px; color: var(--night-text); margin-top: 2px; }
.fy__facts b { color: var(--night-text); font-weight: 600; }
.fy__note { margin-top: 20px; font-size: 14px; color: var(--night-grey); }
.fy__phone { justify-self: center; }
.fy__phone .phone { --pw: clamp(240px, 24vw, 320px); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #3a3a3c, 0 0 0 1px rgba(255, 255, 255, .06), 0 calc(40 * var(--u)) calc(90 * var(--u)) rgba(255, 255, 255, .06); }

/* ---------- Everything ---------- */

.all { padding-top: var(--section); }
.all__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); }
.all__col h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.all__col h3 small { font-size: 15px; font-weight: 500; color: var(--grey); letter-spacing: 0; }
.all__col li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.all__col li .icon { width: 22px; height: 22px; margin-top: 1px; }
.all__col li b { font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.all__col li span { display: block; color: var(--grey); font-size: 15px; line-height: 1.4; margin-top: 2px; }
.all__plan { margin-top: 22px; font-size: 15px; color: var(--grey); }

/* ---------- Waitlist page ---------- */

.wait { min-height: calc(100svh - 64px); display: grid; align-items: center; padding-block: clamp(40px, 7vw, 96px); }
.wait__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wait__copy .lede { margin-top: 24px; }
.wait__form { margin-top: clamp(32px, 4vw, 48px); max-width: 540px; }
.wait__art { width: min(100%, 460px); justify-self: center; }
.wait__field {
  display: flex; align-items: center; gap: 8px;
  height: 64px; padding: 6px 6px 6px 26px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.wait__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 17, 17, .08); }
.wait__field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 18px; color: var(--ink); letter-spacing: -.01em;
}
.wait__field input::placeholder { color: #8e8e93; }
.wait__btn {
  flex: none; height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; transition: background-color .2s, transform .4s var(--ease-out);
}
.wait__btn:hover { background: #2c2c2e; }
.wait__btn:active { transform: scale(.97); transition-duration: .1s; }
.wait__btn:disabled { opacity: .55; cursor: default; }
.wait__form.is-error .wait__field { border-color: var(--red); }
.wait__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wait__status { margin-top: 14px; padding-left: 26px; font-size: 14px; color: var(--grey); min-height: 1.4em; }
.wait__form.is-error .wait__status { color: var(--red); }
.wait__form.is-done .wait__field { display: none; }
.wait__form.is-done .wait__status {
  display: flex; align-items: center; gap: 12px; margin-top: 0; padding: 20px 26px;
  border-radius: 20px; background: var(--fill); color: var(--ink); font-size: 17px; font-weight: 600;
}
.wait__form.is-done .wait__status::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(212, 42, 42, .14);
}

/* ---------- Final call ---------- */

.cta { padding-top: var(--section); }
.cta__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 6vw, 88px); border-radius: 32px; background: var(--fill); }
.cta__title { font-size: clamp(3rem, 1.5rem + 5vw, 6rem); font-weight: 700; letter-spacing: -.045em; line-height: .94; text-wrap: balance; }
.cta__in .lede { margin-top: 20px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta__art { justify-self: center; width: min(100%, 420px); }

/* ---------- FAQ ---------- */

.faq { padding-block: var(--section); }
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; flex: none; transition: transform .45s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { .faq { interpolate-size: allow-keywords; } }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.foot__tag { margin-top: 10px; color: var(--grey); font-size: 15px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.foot__links a { text-decoration: none; color: var(--ink-2); }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot__fine { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--grey); }

/* ---------- Reveal: content is visible by default; JS opts in ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-rise] { transform: translateY(48px); opacity: 0; transition: transform 1.3s var(--ease-out), opacity 1s var(--ease-out); }
.js [data-rise].is-in { transform: none; opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .hero__phone .phone { --pw: min(72vw, 300px); }

  .how__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .how__stage {
    order: -1; top: 64px; z-index: 5; --ph: auto;
    padding: 16px 0 20px; background: linear-gradient(to bottom, #fff 88%, rgba(255, 255, 255, 0));
  }
  .how__stage .phone { --pw: min(52vw, 220px, calc((100svh - 64px) * .245)); }
  .how__steps { padding-block: 4vh 30vh; }
  .step { min-height: 46vh; }

  .dig__in, .fy__in, .faq__in, .cta__in, .all__grid, .wait__in { grid-template-columns: minmax(0, 1fr); }
  .dig__phone { order: 2; }
  .dig__phone .phone, .fy__phone .phone { --pw: min(70vw, 290px); }
  .cta__art { width: min(80%, 320px); }
  .wait { min-height: 0; }
  .wait__art { width: min(64%, 260px); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .store { height: 54px; font-size: 17px; }
  .hero__actions { flex-wrap: nowrap; gap: 8px; }
  .hero__actions .store { flex: 1 1 auto; justify-content: center; height: 54px; padding: 0 16px; font-size: 16px; }
  .hero__actions .store .icon { display: none; }
  .hero__actions .shuffle { --h: 54px; flex: none; min-width: 0; padding: 0 20px; font-size: 16px; }
  .film__play { bottom: 10px; height: 34px; padding: 0 14px 0 12px; gap: 7px; font-size: 14px; }
  .film__play .icon { width: 11px; height: 11px; }
  .lg { display: none; }
  .sm { display: inline; }
  .depth__views { font-size: 14px; }
  .cta__in { border-radius: 24px; padding: 36px 22px; }
  .wait__field { flex-direction: column; align-items: stretch; height: auto; padding: 6px; border-radius: 30px; }
  .wait__field input { height: 52px; padding: 0 18px; }
  .wait__btn { width: 100%; }
  .wait__status { padding-left: 18px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-rise] { opacity: 1; transform: none; }
}
