/*
 * playindigo.io: the public homepage.
 *
 * Plain CSS, no build step, every path relative, so the folder can be served
 * as it stands by the Cloudflare Worker or any static host.
 *
 * Solid on purpose. Nothing here drifts, tilts, scales or follows the pointer:
 * the only motion is a quick colour fade on hover and on the navigation's
 * background once the page scrolls. The product illustrations are drawn in
 * HTML rather than shipped as screenshots so they stay sharp at every size and
 * weigh almost nothing; each one sizes its type in container units, so it
 * scales like a picture.
 */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-v25-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-v17-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0910;
  --bg-2: #0e0c15;
  --surface: #14111c;
  --surface-2: #1b1725;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --ink: #f5f3f8;
  --ink-2: #d5d0dd;
  --muted: #a8a1b4;
  --faint: #8c8598;
  --violet: #8d67ff;
  --violet-bright: #c3b0ff;
  --violet-ink: #150d26;
  --ring: #e9e1ff;
  --live: #ff4f61;
  --gold: #f4c04e;
  --teal: #2fd3a4;
  --a: #f4645f;
  --b: #3bb3f2;
  --c: #9061f9;
  --d: #2bc99d;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4.2vw, 48px);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute !important;
  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: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--violet-bright);
  color: var(--violet-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6.1vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-stretch: 106%;
}

h2 {
  font-size: clamp(31px, 4.1vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-stretch: 104%;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 650;
}

/* A heading that should break at a particular phrase says so with spans;
   each span still wraps on its own when the column is narrower. */
.ln {
  display: block;
}

.eyebrow {
  margin-bottom: 18px;
  font: 600 12px/1.2 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-bright);
}

/* ---------- The logo, exactly as the app draws it ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: skewX(-11deg);
  flex: none;
}

.brand-mark span {
  width: 7px;
  height: 22px;
  display: block;
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, #c3b0ff, #8d67ff);
}

.brand-mark span:nth-child(1) {
  left: 3px;
  top: 1px;
}

.brand-mark span:nth-child(2) {
  height: 29px;
}

.brand-mark span:nth-child(3) {
  right: 3px;
  bottom: 1px;
}

/* The same geometry in em, for the mark inside the illustrations: the 32px
   box becomes 1em, so 7px is 0.21875em and so on. Set font-size to size it. */
.brand-mark--em {
  width: 1em;
  height: 1em;
}

.brand-mark--em span {
  width: 0.21875em;
  height: 0.6875em;
}

.brand-mark--em span:nth-child(1) {
  left: 0.09375em;
  top: 0.03125em;
}

.brand-mark--em span:nth-child(2) {
  height: 0.90625em;
}

.brand-mark--em span:nth-child(3) {
  right: 0.09375em;
  bottom: 0.03125em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--violet-bright);
  color: var(--violet-ink);
}

.btn--primary:hover {
  background: #d8ccff;
}

.btn--ghost {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(10 9 16 / 0.25);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgb(255 255 255 / 0.62);
  background: rgb(255 255 255 / 0.06);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn__arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav.is-solid,
.nav.is-open {
  background: rgb(10 9 16 / 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links {
  display: flex;
  gap: 30px;
}

.nav__links a,
.nav__signin {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__links a:hover,
.nav__signin:hover {
  color: var(--ink);
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__menu {
  display: none;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  border: 0;
  border-radius: 10px;
  background: none;
  place-items: center;
}

.nav__menu svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav__menu-close,
.nav__menu[aria-expanded="true"] .nav__menu-open {
  display: none;
}

.nav__menu[aria-expanded="true"] .nav__menu-close {
  display: inline;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 12px 0 24px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 600 19px/1.2 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: 20px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(640px, min(100svh, 1000px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 72px) 0 44px;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(10 9 16 / 0.95) 0%, rgb(10 9 16 / 0.82) 30%, rgb(10 9 16 / 0.3) 58%, rgb(10 9 16 / 0) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgb(10 9 16 / 0.55) 26%, rgb(10 9 16 / 0) 48%),
    linear-gradient(180deg, rgb(10 9 16 / 0.7) 0%, rgb(10 9 16 / 0) 20%);
}

.hero__body {
  display: grid;
  gap: clamp(48px, 7vh, 88px);
}

.hero__copy {
  max-width: 900px;
}

.hero h1 span {
  display: block;
  color: var(--violet-bright);
}

.hero__lede {
  max-width: 580px;
  margin-top: 26px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* The join bar reads as a lower third: a solid strip along the foot of the
   picture, which is where a broadcast would put the code. */
.join-bar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgb(14 12 21 / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}

.join-bar > * {
  padding: 22px 28px;
}

.join-bar > * + * {
  border-left: 1px solid var(--line);
}

.join-bar__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 34px;
}

.join-bar__label h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-stretch: 112%;
  white-space: nowrap;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgb(255 79 97 / 0.18);
  flex: none;
}

.join-bar__field label,
.join__form label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.code-row {
  display: flex;
  gap: 10px;
}

.code-input {
  width: 100%;
  max-width: 230px;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  font: 500 21px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.code-input::placeholder {
  color: rgb(255 255 255 / 0.28);
}

.code-input:hover {
  border-color: rgb(255 255 255 / 0.3);
}

.code-input:focus-visible {
  outline-offset: 2px;
  border-color: var(--violet-bright);
}

.code-input[aria-invalid="true"] {
  border-color: #ff8a96;
}

.field-error {
  margin-top: 10px;
  font-size: 14px;
  color: #ffadb6;
}

.join-bar__aside {
  align-self: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.join-bar__aside a,
.access-form__note a {
  color: var(--ink);
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.join-bar__aside a {
  font-family: var(--mono);
  font-size: 13.5px;
}

.join-bar__aside a:hover,
.access-form__note a:hover {
  text-decoration-color: currentColor;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(84px, 10vw, 144px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.section-head > p:last-child {
  max-width: 620px;
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px 64px;
  align-items: end;
}

.section-head--split > p:last-child {
  margin-top: 0;
  font-size: 17px;
}

/* ---------- How it works: the broadcast and the phone ---------- */

.stage {
  position: relative;
  padding-bottom: 7%;
}

.stage__tv {
  width: 77%;
}

.stage__phone {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 22.5%;
}

.stage__label {
  margin-top: 14px;
  font: 600 11.5px/1.3 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.chip {
  display: inline-grid;
  place-items: center;
  flex: none;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
}

.chip--a { background: var(--a); }
.chip--b { background: var(--b); }
.chip--c { background: var(--c); }
.chip--d { background: var(--d); }

/* The programme feed. Every size below is in cqw of the frame itself. */
.tv {
  container-type: inline-size;
  container-name: tv;
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    radial-gradient(60% 55% at 50% -8%, rgb(141 103 255 / 0.34), transparent 70%),
    radial-gradient(40% 45% at 12% 110%, rgb(59 179 242 / 0.1), transparent 70%),
    radial-gradient(40% 45% at 90% 110%, rgb(141 103 255 / 0.16), transparent 70%),
    linear-gradient(180deg, #100d1f 0%, #0b0a14 60%, #090811 100%);
  box-shadow: 0 40px 100px rgb(0 0 0 / 0.5), 0 0 0 6px rgb(255 255 255 / 0.02);
}

.tv::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 6.25cqw),
    linear-gradient(180deg, transparent, rgb(141 103 255 / 0.06));
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
  pointer-events: none;
}

.tv__top,
.tv__foot {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding: 0 2.6cqw;
  font: 700 1.45cqw/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-stretch: 112%;
}

.tv__top {
  top: 0;
  height: 6.4cqw;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
}

.tv__brand {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
  color: var(--ink);
}

.tv__brand .brand-mark {
  font-size: 2.5cqw;
}

.tv__round {
  color: #cfc7e6;
}

.tv__live {
  padding: 0.55cqw 1cqw;
  border-radius: 0.6cqw;
  background: var(--live);
  color: #fff;
}

.tv__timer {
  position: absolute;
  z-index: 1;
  top: 10.5cqw;
  right: 4.4cqw;
  width: 6.6cqw;
  height: 6.6cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, #110e1f 80%, transparent 81%),
    conic-gradient(var(--teal) 0 70%, rgb(255 255 255 / 0.12) 70% 100%);
  font: 700 2.4cqw/1 var(--display);
}

.tv__body {
  position: absolute;
  z-index: 1;
  inset: 11.5cqw 8cqw 8cqw;
  text-align: center;
}

.tv__cat {
  font: 700 1.5cqw/1 var(--display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b9a7ff;
}

.tv__q {
  max-width: 70cqw;
  margin: 1.8cqw auto 3.6cqw;
  font: 750 4.5cqw/1.08 var(--display);
  font-stretch: 112%;
  letter-spacing: -0.02em;
  color: #fff;
}

.tv__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4cqw 1.6cqw;
  max-width: 66cqw;
  margin: 0 auto;
}

.tv__ans {
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  height: 5.8cqw;
  padding: 0 1cqw;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.9cqw;
  background: rgb(255 255 255 / 0.045);
  font: 650 2.3cqw/1 var(--display);
  text-align: left;
}

.tv__ans .chip {
  width: 3.8cqw;
  height: 3.8cqw;
  border-radius: 0.7cqw;
  font-size: 1.9cqw;
}

.tv__foot {
  bottom: 0;
  height: 5.6cqw;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  color: #b4acc6;
}

.tv__foot b {
  color: #fff;
}

/* A narrow frame keeps its proportions but not its smallest type: below this
   width the labels would be a few pixels high, so they grow a step. */
@container tv (max-width: 560px) {
  .tv__top,
  .tv__foot {
    font-size: 2.3cqw;
    padding: 0 3.4cqw;
  }

  .tv__top {
    height: 9cqw;
  }

  .tv__foot {
    height: 7.6cqw;
  }

  .tv__foot span:first-child {
    display: none;
  }

  .tv__foot span:last-child {
    margin-left: auto;
  }

  .tv__brand .brand-mark {
    font-size: 3.6cqw;
  }

  .tv__live {
    padding: 0.8cqw 1.4cqw;
  }

  .tv__timer {
    top: 12cqw;
    right: 4cqw;
    width: 8cqw;
    height: 8cqw;
    font-size: 3.2cqw;
  }

  .tv__body {
    inset: 13cqw 5cqw 9cqw;
  }

  .tv__cat {
    font-size: 2.2cqw;
  }

  .tv__q {
    max-width: 74cqw;
    margin: 1.4cqw auto 2.6cqw;
    font-size: 5cqw;
  }

  .tv__answers {
    max-width: 84cqw;
  }

  .tv__ans {
    height: 7.6cqw;
    font-size: 3cqw;
  }

  .tv__ans .chip {
    width: 5cqw;
    height: 5cqw;
    font-size: 2.6cqw;
  }
}

/* The player's phone. The bezel is the container, and its content box is
   the screen, so sizes are in cqw of the screen. (Container units read the
   CONTENT box: padding on the container itself would shrink every unit.) */
.phone {
  container-type: inline-size;
  padding: 2.4%;
  border-radius: 13% / 6%;
  background: linear-gradient(160deg, #2a2536, #15121d 40%, #0f0d15);
  box-shadow: 0 40px 90px rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

.phone__screen {
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 11% / 5.2%;
  padding: 6cqw 5.5cqw;
  background:
    radial-gradient(90% 40% at 50% 0%, rgb(110 84 230 / 0.32), transparent 70%),
    linear-gradient(180deg, #17133a 0%, #100d29 46%, #0c0a1f 100%);
}

.ph__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4.5cqw;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.ph__brand {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  font: 700 6.4cqw/1 var(--display);
  letter-spacing: -0.03em;
}

.ph__brand .brand-mark {
  font-size: 8.6cqw;
}

.ph__pill {
  padding: 2cqw 3.6cqw;
  border: 1px solid rgb(47 211 164 / 0.35);
  border-radius: 99px;
  background: rgb(47 211 164 / 0.1);
  font: 600 3.5cqw/1 var(--body);
  color: var(--teal);
}

.ph__strip {
  display: flex;
  align-items: baseline;
  gap: 2.4cqw;
  margin: 5cqw 0 6cqw;
  padding: 4cqw 4.4cqw;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 4cqw;
  background: rgb(255 255 255 / 0.04);
}

.ph__show {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 700 3.3cqw/1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9d3ea;
}

.ph__strip b {
  font: 750 6cqw/1 var(--display);
}

.ph__strip em {
  font: 700 3.1cqw/1 var(--display);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.ph__eyebrow {
  font: 700 3.5cqw/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.ph__cat {
  margin-top: 2.4cqw;
  font: 500 3.4cqw/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a9a2c2;
}

.ph__q {
  margin: 6cqw 0 7cqw;
  font: 750 7.6cqw/1.12 var(--display);
  letter-spacing: -0.02em;
}

.ph__answers {
  display: grid;
  gap: 2.8cqw;
}

.ph__ans {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4cqw;
  height: 15cqw;
  padding: 0 3.6cqw;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 3.6cqw;
  background: rgb(255 255 255 / 0.03);
  font: 650 5.2cqw/1 var(--display);
}

.ph__ans .chip {
  width: 9cqw;
  height: 9cqw;
  border-radius: 2.2cqw;
  font-size: 4.6cqw;
}

.ph__ans.is-picked {
  border: 2px solid var(--gold);
  background: rgb(244 192 78 / 0.09);
}

.ph__ans span {
  margin-left: auto;
  font: 700 3cqw/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: clamp(56px, 6vw, 80px);
  counter-reset: step;
}

.steps li {
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.steps__n {
  display: block;
  margin-bottom: 18px;
  font: 500 13px/1 var(--mono);
  color: var(--violet-bright);
}

.steps h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.steps p {
  font-size: 16px;
  color: var(--muted);
}

/* ---------- The shows ---------- */

.shows {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filters button span {
  font: 500 12px/1 var(--mono);
  color: var(--faint);
  transition: color 0.15s ease;
}

.filters button:hover {
  border-color: rgb(255 255 255 / 0.34);
  color: var(--ink);
}

.filters button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--violet-ink);
}

.filters button[aria-pressed="true"] span {
  color: #5d5670;
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.show {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.show[hidden] {
  display: none;
}

.show__glyph {
  aspect-ratio: 5 / 3;
  margin-bottom: 20px;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 10px;
  background:
    radial-gradient(70% 70% at 50% 0%, rgb(141 103 255 / 0.13), transparent 70%),
    #0c0a12;
  display: grid;
  place-items: center;
}

.show__glyph svg {
  width: 84%;
  height: auto;
}

.show__family {
  padding: 0 8px;
  font: 600 11px/1 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.show h3 {
  margin: 10px 0 8px;
  padding: 0 8px;
  font-size: 20px;
  font-stretch: 104%;
}

.show__desc {
  padding: 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.show__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: auto 0 0;
  padding: 18px 8px 0;
}

.show__meta dt {
  margin-bottom: 4px;
  font: 600 10.5px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.show__meta dd {
  margin: 0;
  font: 500 13px/1.3 var(--mono);
  color: var(--ink-2);
}

/* The diagrams of each format's on-air layout. */
.gl { fill: rgb(255 255 255 / 0.1); }
.gf { fill: rgb(255 255 255 / 0.06); stroke: rgb(255 255 255 / 0.26); stroke-width: 1; }
.gx { fill: rgb(255 255 255 / 0.025); stroke: rgb(255 255 255 / 0.1); stroke-width: 1; }
.ga { fill: var(--violet-bright); }
.gd, .gdots circle { fill: rgb(255 255 255 / 0.38); }
.gs { fill: none; stroke: rgb(255 255 255 / 0.34); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gsa { fill: none; stroke: var(--violet-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gsd { fill: none; stroke: rgb(255 255 255 / 0.34); stroke-width: 1.5; stroke-dasharray: 3 4; stroke-linecap: round; }
.ga + .gsd { stroke: var(--violet-ink); stroke-dasharray: none; }
.gt { fill: var(--violet-ink); font: 700 10px var(--display); text-anchor: middle; }

.show-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.show-more .btn[hidden] {
  display: none;
}

/* ---------- Studio ---------- */

.studio {
  padding-bottom: clamp(84px, 10vw, 144px);
}

.studio__band {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 50vw, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.studio__band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}

.studio__band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgb(10 9 16 / 0.82) 34%, rgb(10 9 16 / 0.2) 72%, rgb(10 9 16 / 0.65) 100%),
    linear-gradient(90deg, rgb(10 9 16 / 0.86) 0%, rgb(10 9 16 / 0.2) 64%);
}

.studio__intro {
  padding-bottom: clamp(150px, 15vw, 210px);
}

.studio__intro h2 {
  max-width: 700px;
}

.studio__intro > p:last-child {
  max-width: 540px;
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-2);
}

.studio__desk {
  position: relative;
  margin-top: calc(-1 * clamp(120px, 12vw, 170px));
}

/* The control room. Children size in var(--u), one cqw of the desk, which
   the narrow container query below enlarges once the rails are hidden. */
.desk {
  container-type: inline-size;
  container-name: desk;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #0c0b11;
  box-shadow: 0 50px 120px rgb(0 0 0 / 0.55);
}

.desk__inner {
  --u: 1cqw;
  padding: calc(var(--u) * 1.3);
  font: 500 calc(var(--u) * 1.02)/1.35 var(--body);
  color: #d9d4e4;
}

.desk__top {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.4);
  padding: calc(var(--u) * 0.2) calc(var(--u) * 0.4) calc(var(--u) * 1.2);
}

.desk__mark {
  font-size: calc(var(--u) * 2.4);
}

.desk__crumbs {
  display: grid;
  gap: calc(var(--u) * 0.25);
}

.desk__crumbs small {
  font-size: calc(var(--u) * 0.92);
  color: #9d96ab;
}

.desk__crumbs i {
  font-style: normal;
  margin: 0 calc(var(--u) * 0.3);
  color: #6e6880;
}

.desk__crumbs strong {
  font: 650 calc(var(--u) * 1.32)/1.1 var(--display);
  color: #fff;
}

.desk__chips {
  display: flex;
  gap: calc(var(--u) * 0.6);
  margin-left: auto;
}

.desk__chips span {
  padding: calc(var(--u) * 0.55) calc(var(--u) * 0.9);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: calc(var(--u) * 0.6);
  background: rgb(255 255 255 / 0.04);
  font: 650 calc(var(--u) * 0.9)/1 var(--display);
  color: #c7bff0;
}

.desk__chips .is-solid {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.desk__cols {
  display: grid;
  grid-template-columns: 21% minmax(0, 1fr) 24%;
  gap: calc(var(--u) * 1);
}

.desk__rail,
.desk__panel,
.desk__programme,
.desk__controls span {
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: calc(var(--u) * 0.9);
  background: #13111a;
}

.desk__rail {
  padding: calc(var(--u) * 1);
}

.desk__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: calc(var(--u) * 0.9);
}

.desk__panel-head span {
  font: 700 calc(var(--u) * 0.86)/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a991ff;
}

.desk__panel-head em {
  font-style: normal;
  font-size: calc(var(--u) * 0.86);
  color: #8e88a0;
}

.desk__item {
  display: flex;
  gap: calc(var(--u) * 0.8);
  padding: calc(var(--u) * 0.7);
  border-radius: calc(var(--u) * 0.6);
  font-size: calc(var(--u) * 0.95);
  color: #c9c3d6;
}

.desk__item b {
  width: calc(var(--u) * 1.6);
  height: calc(var(--u) * 1.6);
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: calc(var(--u) * 0.4);
  font: 700 calc(var(--u) * 0.8)/1 var(--display);
}

.desk__item small {
  display: block;
  margin-top: calc(var(--u) * 0.25);
  font-size: calc(var(--u) * 0.8);
  color: #7f7991;
}

.desk__item.is-current {
  background: rgb(141 103 255 / 0.2);
  color: #fff;
}

.desk__item.is-current b {
  border-color: transparent;
  background: var(--violet);
}

.desk__item.is-next {
  background: rgb(255 255 255 / 0.04);
}

.desk__stage {
  margin-top: calc(var(--u) * 0.8);
  padding: calc(var(--u) * 0.8) calc(var(--u) * 0.7);
  border-top: 1px solid rgb(255 255 255 / 0.07);
  font-size: calc(var(--u) * 0.9);
  color: #9d96ab;
}

.desk__main {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: calc(var(--u) * 1);
}

/* Fills the column under the controls, so it ends level with the rail and
   the side panels instead of leaving a hole in the middle of the desk. */
.desk__preview-body {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.1);
}

.desk__thumb {
  width: calc(var(--u) * 8.4);
  aspect-ratio: 16 / 9;
  flex: none;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: calc(var(--u) * 0.5);
  background:
    radial-gradient(18% 30% at 46% 52%, #f1ebff 0%, #b49bff 30%, rgb(141 103 255 / 0) 100%),
    radial-gradient(60% 42% at 50% 52%, rgb(141 103 255 / 0.55), rgb(141 103 255 / 0) 70%),
    #0c0a14;
}

.desk__preview-text {
  font-size: calc(var(--u) * 1.05);
  color: #e1dcea;
}

.desk__preview-text small {
  display: block;
  margin-top: calc(var(--u) * 0.35);
  font-size: calc(var(--u) * 0.82);
  color: #7f7991;
}

.desk__programme {
  overflow: hidden;
  border: 2px solid #ff4b5c;
}

.desk__onair {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.2);
  padding: calc(var(--u) * 0.8) calc(var(--u) * 1.2);
  background: #ff4b5c;
  font: 700 calc(var(--u) * 0.86)/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.desk__onair-label::before {
  content: "";
  display: inline-block;
  width: calc(var(--u) * 0.6);
  height: calc(var(--u) * 0.6);
  margin-right: calc(var(--u) * 0.6);
  border-radius: 50%;
  background: #fff;
  vertical-align: middle;
}

.desk__onair-note {
  flex: 1;
  text-align: center;
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: calc(var(--u) * 0.86);
}

.desk__prog-body {
  padding: calc(var(--u) * 1.6) calc(var(--u) * 1.6) calc(var(--u) * 1.2);
}

.desk__cat {
  font: 700 calc(var(--u) * 0.86)/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a991ff;
}

.desk__q {
  margin: calc(var(--u) * 0.8) 0 calc(var(--u) * 1.4);
  font: 700 calc(var(--u) * 2.05)/1.12 var(--display);
  letter-spacing: -0.015em;
  color: #fff;
}

.desk__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--u) * 0.8);
}

.desk__ans {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 0.9);
  height: calc(var(--u) * 3.4);
  padding: 0 calc(var(--u) * 0.9);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: calc(var(--u) * 0.6);
  font: 650 calc(var(--u) * 1.1)/1 var(--display);
  color: #fff;
}

.desk__ans::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  background: rgb(255 255 255 / 0.07);
}

.desk__ans .chip,
.desk__bars .chip {
  position: relative;
  width: calc(var(--u) * 1.9);
  height: calc(var(--u) * 1.9);
  border-radius: calc(var(--u) * 0.45);
  font-size: calc(var(--u) * 0.95);
}

.desk__ans em {
  position: relative;
  margin-left: auto;
  font-style: normal;
  font-size: calc(var(--u) * 0.95);
  color: #c9c3d6;
}

.desk__worth {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.6);
  padding: calc(var(--u) * 0.9) calc(var(--u) * 1.6);
  border-top: 1px solid rgb(255 255 255 / 0.07);
  font: 600 calc(var(--u) * 0.82)/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d96ab;
}

.desk__worth b {
  color: var(--gold);
  font-size: calc(var(--u) * 1.05);
}

.desk__open {
  color: var(--gold);
}

.desk__clock {
  margin-left: auto;
}

.desk__clock b {
  color: #fff;
  font-size: calc(var(--u) * 1.3);
  margin-right: calc(var(--u) * 0.3);
}

.desk__controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: calc(var(--u) * 0.7);
}

.desk__controls span {
  display: grid;
  justify-items: center;
  gap: calc(var(--u) * 0.5);
  padding: calc(var(--u) * 1) calc(var(--u) * 0.4);
  font-size: calc(var(--u) * 0.86);
  color: #b2abc0;
}

.desk__controls i {
  font: 700 calc(var(--u) * 1.15)/1 var(--display);
  font-style: normal;
  color: #e1dcea;
}

.desk__controls .is-primary {
  border-color: transparent;
  background: #a98cff;
  color: #1a1030;
}

.desk__controls .is-primary i {
  color: #1a1030;
}

.desk__side {
  display: grid;
  gap: calc(var(--u) * 1);
  align-content: start;
}

.desk__panel {
  padding: calc(var(--u) * 1);
}

.desk__count {
  font-size: calc(var(--u) * 0.95);
  color: #a9a2b6;
}

.desk__count b {
  font: 700 calc(var(--u) * 2)/1 var(--display);
  color: #fff;
  margin-right: calc(var(--u) * 0.3);
}

.desk__count em {
  float: right;
  font-style: normal;
  font-weight: 700;
  color: #a991ff;
}

.desk__meter {
  height: calc(var(--u) * 0.4);
  margin: calc(var(--u) * 0.8) 0 calc(var(--u) * 1.1);
  border-radius: 9px;
  background: rgb(255 255 255 / 0.08);
}

.desk__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--violet);
}

.desk__bars {
  display: grid;
  gap: calc(var(--u) * 0.6);
}

.desk__bars div {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 0.7);
}

.desk__bars div > span {
  flex: 1;
  height: calc(var(--u) * 0.45);
  border-radius: 9px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.5) var(--p), rgb(255 255 255 / 0.08) var(--p));
}

.desk__bars em {
  width: calc(var(--u) * 2.6);
  text-align: right;
  font-style: normal;
  font-size: calc(var(--u) * 0.85);
}

.desk__person {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 0.8);
  padding: calc(var(--u) * 0.55) 0;
  font-size: calc(var(--u) * 0.95);
  color: #fff;
}

.desk__person b {
  width: calc(var(--u) * 2);
  height: calc(var(--u) * 2);
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(141 103 255 / 0.3);
  font: 700 calc(var(--u) * 0.72)/1 var(--display);
  color: #e4dcff;
}

.desk__person small {
  display: block;
  font-size: calc(var(--u) * 0.8);
  color: #8e88a0;
}

@container desk (max-width: 720px) {
  .desk__inner {
    --u: 2.35cqw;
  }

  .desk__cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .desk__rail,
  .desk__side,
  .desk__preview,
  .desk__chips span:not(.is-solid),
  .desk__onair-note,
  .desk__controls span:nth-child(1),
  .desk__controls span:nth-child(4) {
    display: none;
  }

  .desk__controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
  margin-top: clamp(60px, 7vw, 92px);
}

.features li {
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.features__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--violet-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features h3 {
  margin-bottom: 8px;
}

.features p {
  font-size: 16px;
  color: var(--muted);
}

.studio__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
}

/* ---------- Join band ---------- */

.join {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(110px, 13vw, 190px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.join__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.join::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 70% at 50% 50%, rgb(10 9 16 / 0.62), rgb(10 9 16 / 0.9)),
    linear-gradient(180deg, var(--bg) 0%, rgb(10 9 16 / 0) 22%, rgb(10 9 16 / 0) 78%, var(--bg) 100%);
}

.join__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.join__lead {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.join__url {
  font-size: clamp(38px, 9.4vw, 138px);
  line-height: 1;
  font-weight: 750;
  font-stretch: 110%;
  letter-spacing: -0.035em;
  color: #fff;
}

.join__url span {
  color: var(--violet-bright);
}

.join__text {
  max-width: 520px;
  margin-top: 26px;
  font-size: 18px;
  color: var(--ink-2);
}

.join__form {
  margin-top: 40px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgb(14 12 21 / 0.9);
  text-align: left;
}

.join__form .code-input {
  max-width: 250px;
}

/* ---------- Early access ---------- */

.access__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 80px;
  align-items: start;
}

.access__copy > p:last-child {
  max-width: 470px;
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
}

.access-form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--surface);
}

.roles {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.roles legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.role {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.role:hover {
  border-color: rgb(255 255 255 / 0.3);
}

.role input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.role__dot {
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease;
}

.role__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-ink);
  opacity: 0;
}

.role__text {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.role__text strong {
  font-size: 16px;
  font-weight: 600;
}

.role__text small {
  font: 500 12px/1 var(--mono);
  color: var(--faint);
}

.role:has(input:checked) {
  border-color: var(--violet-bright);
  background: rgb(195 176 255 / 0.07);
}

.role input:checked + .role__dot {
  border-color: var(--violet-bright);
  background: var(--violet-bright);
}

.role input:checked + .role__dot::after {
  opacity: 1;
}

.role:has(input:focus-visible) {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.access-form__label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.access-form__row {
  display: flex;
  gap: 10px;
}

.access-form__row input {
  /* A basis of auto, not 0: on a phone the row stacks into a column, and a
     zero basis there is a zero height, which squashed the field to 23px. */
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  font-size: 16px;
  transition: border-color 0.15s ease;
}

.access-form__row input::placeholder {
  color: rgb(255 255 255 / 0.32);
}

.access-form__row input:hover {
  border-color: rgb(255 255 255 / 0.3);
}

.access-form__row input:focus-visible {
  outline-offset: 2px;
  border-color: var(--violet-bright);
}

.access-form__row input[aria-invalid="true"] {
  border-color: #ff8a96;
}

.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.access-form__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--faint);
}

.access-form__status:not(:empty) {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
}

.access-form__status.is-error {
  color: #ffadb6;
}

.access-form__done {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 17px;
  color: var(--ink-2);
}

.access-form__done[hidden] {
  display: none;
}

.access-form__done svg {
  width: 30px;
  height: 30px;
  flex: none;
  padding: 5px;
  border-radius: 50%;
  background: var(--violet-bright);
  fill: none;
  stroke: var(--violet-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-form__done strong {
  display: block;
  margin-bottom: 4px;
  font: 700 20px/1.2 var(--display);
  color: var(--ink);
}

/* ---------- FAQ ---------- */

.faq {
  padding-top: 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 80px;
  padding-top: clamp(64px, 8vw, 110px);
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
}

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list details:first-child {
  border-top: 1px solid var(--line);
}

.faq__list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  list-style: none;
  font: 650 18px/1.35 var(--display);
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  font: 400 26px/1 var(--body);
  color: var(--violet-bright);
}

.faq__list details[open] summary::after {
  content: "−";
}

.faq__list summary:hover {
  color: var(--violet-bright);
}

.faq__list details p {
  max-width: 600px;
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.footer__brand p {
  max-width: 300px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer__nav h2 {
  margin-bottom: 16px;
  font: 600 12px/1 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__nav ul {
  display: grid;
  gap: 12px;
}

.footer__nav a {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__nav a:hover {
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 28px;
  /* A rule across the content only: the .wrap's own padding is the gutter. */
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: 13.5px;
  color: var(--faint);
}

.footer__bottom:first-child {
  background: none;
}

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

.footer__bottom p:last-child {
  font-family: var(--mono);
  font-size: 12.5px;
}

/* ---------- Privacy page ---------- */

.doc {
  padding: calc(var(--nav-h) + 72px) 0 110px;
}

.doc__body {
  max-width: 720px;
}

.doc h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 22px;
}

.doc h2 {
  margin: 44px 0 12px;
  font-size: 23px;
  letter-spacing: -0.015em;
}

.doc p,
.doc li {
  color: var(--ink-2);
}

.doc p + p {
  margin-top: 14px;
}

.doc ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.doc a {
  color: var(--violet-bright);
  text-underline-offset: 3px;
}

.doc__meta {
  font: 500 13px/1 var(--mono);
  color: var(--faint);
}

/* ---------- Breakpoints ---------- */

@media (max-width: 1180px) {
  .show-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .join-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .join-bar__aside {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    padding-bottom: 18px;
  }
}

@media (max-width: 960px) {
  .nav__links,
  .nav__signin {
    display: none;
  }

  .nav__menu {
    display: grid;
  }

  .nav__actions {
    gap: 6px;
  }

  .section-head--split,
  .access__grid,
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head--split > p:last-child {
    max-width: 620px;
  }

  .stage {
    padding-bottom: 0;
  }

  .stage__tv {
    width: 100%;
  }

  .stage__phone {
    position: relative;
    width: 44%;
    max-width: 290px;
    margin: -18% 4% 0 auto;
  }

  .stage__phone .stage__label {
    text-align: right;
  }

  .stage__tv .stage__label {
    max-width: 46%;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Two columns of nineteen is a long scroll: show four rows and offer the
     rest. The phone rule below trims that to six. */
  .show-grid.is-collapsed .show:nth-child(n + 9) {
    display: none;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  :root {
    --nav-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .brand {
    font-size: 19px;
    gap: 10px;
  }

  .nav .btn--sm {
    height: 38px;
    padding: 0 15px;
  }

  /* On a phone the picture sits above the words rather than behind them:
     a portrait crop, faded into the page at its foot. */
  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 32px;
  }

  .hero::before {
    display: none;
  }

  .hero__media {
    display: block;
    position: relative;
    height: min(64svh, 540px);
    min-height: 400px;
  }

  .hero__media img {
    z-index: auto;
    object-position: 58% 20%;
  }

  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(10 9 16 / 0.6) 0%, rgb(10 9 16 / 0) 20%, rgb(10 9 16 / 0) 42%, rgb(10 9 16 / 0.78) 76%, var(--bg) 100%);
  }

  .hero__body {
    position: relative;
    margin-top: -128px;
    gap: 36px;
  }

  .hero__lede {
    margin-top: 20px;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .join-bar {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }

  .join-bar > * {
    padding: 18px 18px;
  }

  .join-bar > * + * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .join-bar__label {
    padding-bottom: 0;
  }

  .join-bar__label + .join-bar__field {
    border-top: 0;
    padding-top: 12px;
  }

  .code-input,
  .join__form .code-input {
    max-width: none;
    flex: 1;
    min-width: 0;
  }

  .section-head > p:last-child {
    font-size: 17px;
  }

  .stage__phone {
    width: 50%;
    margin-top: -16%;
  }

  .stage__label {
    font-size: 10.5px;
  }

  .show-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .show {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 16px;
    padding: 12px 16px 16px 12px;
  }

  .show__glyph {
    grid-row: 1 / span 4;
    align-self: start;
    margin: 0;
  }

  .show__family,
  .show h3,
  .show__desc,
  .show__meta {
    padding-left: 0;
    padding-right: 0;
  }

  .show__family {
    padding-top: 4px;
  }

  .show h3 {
    margin: 8px 0 6px;
    font-size: 18px;
  }

  .show__desc {
    font-size: 14.5px;
  }

  /* Flex rather than a grid, so on a phone narrower than any we design for
     the second cell drops underneath instead of pushing the page sideways. */
  .show__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding-top: 12px;
  }

  .show__meta dd {
    font-size: 12px;
    white-space: nowrap;
  }

  .show-grid.is-collapsed .show:nth-child(n + 7) {
    display: none;
  }

  .studio__band {
    min-height: 420px;
  }

  .studio__desk {
    margin-top: -110px;
  }

  .studio__intro {
    padding-bottom: 140px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .studio__actions .btn {
    flex: 1 1 auto;
  }

  .join__form {
    width: 100%;
    max-width: 420px;
    padding: 18px;
  }

  .access-form__row {
    flex-direction: column;
  }

  /* Left to wrap, the short "Play along" kept its tag on the right while the
     longer two dropped theirs underneath. Stacked, all three read alike. */
  .role__text {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .access-form__row .btn {
    width: 100%;
  }

  .faq__list summary {
    font-size: 17px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}

/* At 360 the text column beside the diagram is too narrow for both facts on
   one line (it pushed the page sideways by 7px), so on the smallest phones
   they run along the foot of the card, under the diagram. */
@media (max-width: 400px) {
  .show {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 14px;
  }

  .show__glyph {
    grid-row: 1 / span 3;
  }

  .show__meta {
    grid-column: 1 / -1;
    gap: 10px 28px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 961px) {
  .show-more {
    display: none;
  }
}

@media (min-width: 1600px) {
  :root {
    --wrap: 1320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
