:root {
  color-scheme: dark;
  --bg: oklch(14.5% .004 145);
  --bg-2: oklch(17% .004 145);
  --panel: oklch(19.5% .005 145);
  --raised: oklch(23% .005 145);
  --ink: oklch(95.5% .008 100);
  --ink-2: oklch(83% .01 100);
  --muted: oklch(69% .01 100);
  --line: oklch(95.5% .008 100 / .10);
  --line-2: oklch(95.5% .008 100 / .20);
  --line-3: oklch(95.5% .008 100 / .34);
  --accent: oklch(80% .07 245);
  --accent-wash: oklch(80% .07 245 / .12);
  --navy: oklch(29% .05 245);
  --navy-2: oklch(34% .055 245);
  --s1: oklch(72% .18 45);
  --s2: oklch(74% .12 185);
  --good: oklch(84% .11 155);
  --r-frame: 20px;
  --pad-frame: 8px;
  --r-inner: calc(var(--r-frame) - var(--pad-frame));
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* --sans, --mono and the .mono utility are provided by fonts.css. */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
}

.xp {
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.xp, .xp *, .xp *::before, .xp *::after { box-sizing: border-box; }
:where(.xp) :is(h1, h2, h3, p, figure) { margin: 0; }
:where(.xp) :is(h1, h2, h3, strong) { font-weight: 500; }
:where(.xp) a { color: inherit; }
:where(.xp) :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

:where(.xp) h1 {
  font-size: clamp(48px, 6.6vw, 100px);
  letter-spacing: -.05em;
  line-height: .94;
}

:where(.xp) h2, .h2 {
  max-width: 900px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.lead { max-width: 640px; color: var(--ink-2); font-size: 18px; }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.ink2 { color: var(--ink-2); }
.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.frame {
  position: relative;
  padding: var(--pad-frame);
  border: 0;
  border-radius: var(--r-frame);
  background: var(--panel);
}
.frame-in {
  border-radius: var(--r-inner);
  background: var(--panel);
}
.rule { border-top: 1px solid var(--line); padding-top: 18px; }

.split, .cols, .cols-2, .cols-3 { display: grid; gap: 32px; }
.split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 56px;
}
.cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .split, .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 32px; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cols, .cols-2 { grid-template-columns: minmax(0, 1fr); }
}

/* Section shells stay in normal document flow; no sticky story stage. */
:where(.xp main > section) { padding-top: 144px; }
:where(#top) { padding-block: 88px 40px; }
:where(#call) { padding-top: 104px; }
:where(#studio) { padding-top: 128px; }
:where(#voices) { margin-top: 144px; padding-block: 96px; background: #122D40; }
:where(#closing) { padding-block: 168px 120px; }
:where(.xp > footer) { padding-bottom: 40px; }

:where(#top) .lead { max-width: 580px; font-size: 20px; }
:where(#speakers) .h2 { font-size: clamp(30px, 3.4vw, 44px); }
:where(#developers) .h2 { font-size: clamp(30px, 3.6vw, 48px); }
:where(#faq) .h2 { font-size: 36px; }
:where(#closing) .h2 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -.045em;
  line-height: .98;
}
