:root {
  --bg: #040405;
  --canvas: #08080a;
  --card: #0e0e11;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f4f4f7;
  --dim: #b0b0bb;
  --mute: #84848f;
  --accent: #818cf8;
  --pad: clamp(20px, 5vw, 72px);
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --mono: 'Geist Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.js.is-loading body {
  overflow: hidden;
}
a {
  color: inherit;
}
::selection {
  background: rgba(129, 140, 248, 0.35);
  color: #fff;
}
.mono {
  font-family: var(--mono);
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- stage ---------- */
#gl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  display: block;
  z-index: 0;
  background: var(--bg);
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.webgl .grain {
  display: none; /* the post pass already adds grain */
}
main,
.foot,
.topbar {
  position: relative;
  z-index: 2;
}

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: none;
}
html:not(.js) #loader {
  display: none;
}
.boot {
  width: min(460px, calc(100vw - 48px));
  font-size: 12.5px;
  color: var(--dim);
}
.boot-head {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--mute);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.boot-pct {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.boot-lines {
  margin: 14px 0 18px;
  min-height: calc(1.85em * 8);
  line-height: 1.85;
  white-space: pre-wrap;
  font: inherit;
}
.boot-lines .ok {
  color: var(--text);
}
.boot-lines .dim {
  color: #34343c;
}
.boot-lines .ac {
  color: var(--accent);
}
.boot-bar {
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.boot-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--text);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.boot-clock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.35em;
  font-size: clamp(56px, 13vw, 180px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
  opacity: 0;
  font-variant-numeric: tabular-nums;
}
.bc-day {
  color: var(--mute);
}
.boot-note {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(44px, 9vw, 120px));
  transform: translateX(-50%);
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
}

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}
.topbar > * {
  pointer-events: auto;
}
.topbar::before {
  content: '';
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  background: linear-gradient(rgba(9, 9, 11, 0.92), rgba(9, 9, 11, 0.6) 55%, transparent);
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand svg {
  width: 26px;
  height: 26px;
}
.chapter {
  margin: 0;
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.ch-n {
  color: var(--text);
}
.toplinks {
  display: flex;
  gap: 22px;
}
.toplinks a {
  text-decoration: none;
  color: var(--dim);
  transition: color 0.2s;
}
.toplinks a:hover {
  color: var(--text);
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- type ---------- */
.kicker {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.big {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.huge {
  margin: 0;
  font-size: clamp(48px, 9.5vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 650;
  text-wrap: balance;
}
.lede {
  max-width: 34ch;
  margin: 26px 0 0;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--dim);
  text-wrap: pretty;
}
.split .char,
.split .word,
.hero-title .word,
.hero-title .char {
  display: inline-block;
  will-change: transform;
}
.line-mask {
  overflow: clip;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.ch {
  position: relative;
}
.wrap {
  padding: 0 var(--pad);
  max-width: 1600px;
  margin: 0 auto;
}
.pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--pad) clamp(40px, 8vh, 96px);
}
.hero-title {
  margin: 0;
  font-weight: 620;
  font-size: clamp(46px, 7.2vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 11ch;
}
.hero-title span {
  display: block;
}
.ht-2 {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(237, 237, 240, 0.9);
  font-weight: 560;
}
.ht-2 .char {
  -webkit-text-stroke: inherit;
}
.hero-sub {
  max-width: 40ch;
  margin: 34px 0 0;
  font-size: clamp(18px, 1.55vw, 22px);
  color: var(--dim);
}
.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: clamp(40px, 8vh, 96px);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.scroll-cue i {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--text), transparent);
  animation: cue 2.2s cubic-bezier(0.6, 0, 0.2, 1) infinite;
  transform-origin: 50% 0;
}
@keyframes cue {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
    transform-origin: 50% 0;
  }
  51% {
    transform-origin: 50% 100%;
  }
  100% {
    transform: scaleY(0);
    transform-origin: 50% 100%;
  }
}

/* ---------- before / tunnel ---------- */
.before-head {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 900px;
}
.tunnel {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  margin: -130px 0 0 -230px;
  padding: 30px 34px 34px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(24, 24, 30, 0.86), rgba(14, 14, 18, 0.9));
  border: 1px solid var(--line-2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.card h3 {
  margin: 14px 0 10px;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.card p {
  margin: 0;
  font-size: 18px;
  color: var(--dim);
  line-height: 1.5;
}
.c-year {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.before-pay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.before-pay .huge {
  max-width: 14ch;
}

/* ---------- why ---------- */
.why {
  padding: clamp(120px, 20vh, 220px) 0 clamp(80px, 12vh, 160px);
}
.answer {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--dim);
  max-width: 28ch;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.pains {
  list-style: none;
  margin: 40px auto;
  display: grid;
  gap: 0;
}
.pains li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: baseline;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.pains li:last-child {
  border-bottom: 1px solid var(--line);
}
.pains .n {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.pains h3 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 580;
  text-wrap: balance;
}
.pains p {
  margin: 0;
  color: var(--dim);
  font-size: 18px;
  max-width: 40ch;
}
.marquee {
  overflow: hidden;
  padding: 18px 0;
  margin: 70px 0;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-row {
  display: inline-flex;
  will-change: transform;
}
.mq-row span {
  font-size: clamp(64px, 11vw, 190px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  padding-right: 0.3em;
}
.mq-rev .mq-row span {
  -webkit-text-stroke-color: rgba(129, 140, 248, 0.35);
}

/* ---------- rules ---------- */
.rules {
  padding: clamp(80px, 14vh, 160px) 0 clamp(120px, 18vh, 220px);
}
.rules-lede {
  margin: 0 0 56px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--dim);
  max-width: 30ch;
}
.tests {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tests li {
  position: relative;
  display: grid;
  grid-template-columns: clamp(40px, 6vw, 110px) 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: clamp(18px, 2.6vh, 30px) 0;
  border-top: 1px solid var(--line);
}
.tests li:last-child {
  border-bottom: 1px solid var(--line);
}
.tests .n {
  font-size: 13px;
  color: var(--mute);
}
.tests .t {
  font-size: clamp(28px, 4.6vw, 80px);
  font-variation-settings: normal;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.tests .pass {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(129, 140, 248, 0.45);
  padding: 6px 10px;
  border-radius: 999px;
  align-self: center;
}

/* ---------- build ---------- */
.b-head {
  position: absolute;
  left: var(--pad);
  top: clamp(84px, 13vh, 130px);
  z-index: 3;
}
.b-head .big {
  font-size: clamp(36px, 4.6vw, 76px);
}
.assembly {
  position: absolute;
  inset: 0;
  perspective: 2400px;
  perspective-origin: 50% 40%;
  overflow: hidden;
}
.floor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3400px;
  height: 3400px;
  margin: -1700px 0 0 -1700px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
  transform: rotateX(72deg) translateZ(-420px);
  opacity: 0.9;
}
.win-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 800px;
  transform-origin: 640px 400px;
  transform-style: preserve-3d;
  will-change: transform;
}
.win-wrap > .bui-root {
  transform-style: preserve-3d;
}
.slot {
  position: absolute;
  border: 1px dashed rgba(129, 140, 248, 0.35);
  border-radius: 12px;
  pointer-events: none;
}
.slot span {
  position: absolute;
  left: 10px;
  top: 8px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(129, 140, 248, 0.8);
}
.piece {
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.piece.landed {
  animation: land 0.9s ease-out;
}
@keyframes land {
  0% {
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.9), 0 0 60px rgba(129, 140, 248, 0.45);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0), 0 0 60px rgba(129, 140, 248, 0);
  }
}
.hud {
  position: absolute;
  right: var(--pad);
  top: clamp(84px, 13vh, 130px);
  z-index: 3;
  width: min(360px, 30vw);
  text-align: right;
  font-size: 12px;
  color: var(--dim);
}
.hud-clock {
  display: flex;
  justify-content: flex-end;
  gap: 0.3em;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hc-day {
  color: var(--mute);
}
.hud-count {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: baseline;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hud-count b {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hud-bar {
  margin-top: 14px;
  height: 1px;
  background: var(--line-2);
}
.hud-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 100% 50%;
  transform: scaleX(0);
}
.hud-commit {
  margin: 14px 0 0;
  min-height: 4.5em;
  line-height: 1.5;
  color: var(--text);
  font-size: 12.5px;
}
.hud-gap {
  margin: 8px 0 0;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0;
}

/* ---------- stats ---------- */
.stats {
  padding: clamp(100px, 18vh, 200px) var(--pad);
  text-align: center;
}
.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 3vh, 40px);
}
.stat-list li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
}
.stat-list b {
  font-size: clamp(72px, 15vw, 260px);
  line-height: 0.86;
  font-weight: 650;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.stat-list li:nth-child(2) b {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.stat-list li:nth-child(3) b {
  background: linear-gradient(180deg, #fff 20%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-list span {
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.stat-sub {
  margin: 48px auto 0;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--dim);
}

/* ---------- me ---------- */
.me {
  padding: clamp(80px, 14vh, 160px) 0;
}
.feats {
  margin-top: clamp(48px, 8vh, 90px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feat {
  position: relative;
  padding: 0 32px 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.82), rgba(13, 13, 16, 0.82));
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.feat h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.feat p {
  margin: 0;
  color: var(--dim);
  max-width: 44ch;
}
.viz {
  height: 240px;
  margin: 0 -32px 28px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(129, 140, 248, 0.08), transparent 60%);
  position: relative;
  overflow: hidden;
}
.keys {
  display: flex;
  gap: 14px;
  perspective: 600px;
}
.key {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font: 500 34px/1 var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, #1d1d23, #121216);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 0 #050507,
    0 18px 30px rgba(0, 0, 0, 0.6);
  transform: rotateX(28deg);
  transition: transform 0.12s, box-shadow 0.12s;
}
.key.down {
  transform: rotateX(28deg) translateY(7px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 1px 0 #050507,
    0 6px 14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(129, 140, 248, 0.5);
}
.mini-prompt {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.8);
}
.mp-path {
  color: var(--text);
}
.mp-caret {
  width: 7px;
  height: 15px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.mesh {
  width: 92%;
  height: 92%;
  overflow: visible;
}
.mesh .arc {
  fill: none;
  stroke: rgba(129, 140, 248, 0.45);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.mesh .node circle {
  fill: #141418;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
}
.mesh .node text {
  fill: var(--dim);
  font: 500 12px var(--mono);
  text-anchor: middle;
  letter-spacing: 0.04em;
}
.mesh .pkt {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}
.direct {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.direct > span:not(.d-line) {
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #121216;
}
.d-me {
  color: var(--text);
}
.d-h {
  color: var(--text);
  border-color: rgba(129, 140, 248, 0.5) !important;
}
.d-mid {
  position: relative;
  color: var(--mute);
}
.d-mid::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: #f87171;
  transform: scaleX(var(--strike, 0));
  transform-origin: 0 50%;
}
.d-line {
  width: 34px;
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.d-line i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: flow 1.4s linear infinite;
}
@keyframes flow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.loop {
  width: min(380px, 86%);
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #0c0c10;
  font-size: 13px;
  color: var(--dim);
  display: grid;
  gap: 8px;
}
.lp-k {
  color: var(--accent);
}
.lp-f {
  color: var(--text);
}
.lp-ok {
  color: #4ade80;
}
.skiplist {
  margin: clamp(56px, 9vh, 100px) 0 0;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--dim);
  max-width: 34ch;
}
.skiplist s {
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 55% / var(--s, 0%) 2px;
}

/* ---------- years ---------- */
.y-head {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: clamp(90px, 14vh, 150px);
}
.track {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
}
.track-row {
  list-style: none;
  margin: 0;
  padding: 0 var(--pad);
  display: flex;
  gap: 0;
  will-change: transform;
  width: max-content;
}
.track-row li {
  width: clamp(220px, 22vw, 340px);
  padding-top: 34px;
  position: relative;
  display: grid;
  gap: 6px;
}
.track-row li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text);
}
.track-row b {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
}
.track-row span {
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 14ch;
  line-height: 1.15;
}
.track-row .t-build::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}
.track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line-2);
}
.y-body {
  position: absolute;
  left: var(--pad);
  bottom: clamp(48px, 9vh, 100px);
  max-width: 54ch;
  color: var(--dim);
  font-size: clamp(17px, 1.4vw, 20px);
}
.y-body p {
  margin: 0;
}
.y-body .frag {
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.025em;
  font-weight: 560;
  line-height: 1.15;
}

/* ---------- finale ---------- */
.finale .pin {
  height: 100vh;
  height: 100svh;
}
.fin-title {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 92vw;
  text-align: center;
  font-size: clamp(44px, 7.6vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 600;
}
html.webgl:not(.reduced) .fin-title {
  opacity: 0; /* drawn by particles; the DOM copy stays for screen readers */
}
.fin-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 9vh, 110px);
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 40px));
  text-align: center;
  color: var(--dim);
  font-size: clamp(18px, 1.6vw, 22px);
}
.fin-copy p {
  margin: 0;
}
.fin-copy .close {
  margin-top: 10px;
  color: var(--text);
}
.fin-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.fin-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(13, 13, 16, 0.7);
  color: var(--text);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.fin-links a:hover {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(129, 140, 248, 0.08);
}

/* ---------- footer ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px var(--pad) 36px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mute);
}
.foot p {
  margin: 0;
}
.foot nav {
  display: flex;
  gap: 20px;
}
.foot a {
  text-decoration: none;
  color: var(--dim);
}
.foot a:hover {
  color: var(--text);
}

/* ---------- mobile ---------- */
@media (max-width: 899px) {
  body {
    font-size: 17px;
  }
  .card {
    width: min(300px, 78vw);
    margin: -100px 0 0 calc(min(300px, 78vw) / -2);
  }
  .fin-title {
    top: 30%;
  }
  .chapter {
    display: none;
  }
  .hero {
    padding-bottom: 56px;
  }
  .scroll-cue {
    display: none;
  }
  .before-head {
    top: 96px;
    transform: none;
    right: var(--pad);
  }
  .card {
    padding: 22px;
  }
  .card h3 {
    font-size: 28px;
  }
  .pains li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
  .tests li {
    grid-template-columns: 34px 1fr;
  }
  .tests .pass {
    display: none;
  }
  .b-head {
    top: 78px;
    right: var(--pad);
  }
  .hud {
    top: auto;
    bottom: 28px;
    left: var(--pad);
    right: var(--pad);
    width: auto;
    text-align: left;
  }
  .hud-clock,
  .hud-count {
    justify-content: flex-start;
  }
  .hud-clock {
    font-size: 40px;
  }
  .hud-bar i {
    transform-origin: 0 50%;
  }
  .hud-commit {
    min-height: 3em;
    font-size: 12px;
  }
  .feats {
    grid-template-columns: 1fr;
  }
  .feat {
    padding: 0 22px 26px;
  }
  .viz {
    margin: 0 -22px 22px;
    height: 200px;
  }
  .key {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  .direct {
    font-size: 11px;
    gap: 6px;
  }
  .direct > span:not(.d-line) {
    padding: 7px 9px;
  }
  .d-line {
    width: 14px;
  }
  .y-body {
    right: var(--pad);
  }
  .track {
    top: 42%;
  }
}

/* ---------- reduced motion / no js: plain readable page ---------- */
html.reduced .pin,
html:not(.js) .pin {
  height: auto;
  overflow: visible;
  padding: 120px var(--pad);
}
html.reduced .before-head,
html.reduced .before-pay,
html.reduced .b-head,
html.reduced .hud,
html.reduced .y-head,
html.reduced .y-body,
html.reduced .fin-title,
html.reduced .fin-copy,
html:not(.js) .before-head,
html:not(.js) .before-pay,
html:not(.js) .y-head,
html:not(.js) .y-body,
html:not(.js) .fin-title,
html:not(.js) .fin-copy {
  position: relative;
  inset: auto;
  left: auto;
  top: auto;
  bottom: auto;
  transform: none;
  opacity: 1;
  width: auto;
  text-align: left;
}
html.reduced .tunnel,
html:not(.js) .tunnel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 48px 0;
  perspective: none;
}
html.reduced .card,
html:not(.js) .card {
  position: relative;
  left: auto;
  top: auto;
  margin: 0;
  width: auto;
  opacity: 1;
}
html.reduced .track,
html:not(.js) .track {
  position: relative;
  top: auto;
  margin: 60px 0;
  overflow-x: auto;
}
html.reduced .assembly {
  position: relative;
  height: 62vw;
  max-height: 820px;
}
html.reduced .hud-gap {
  display: none;
}
html:not(.js) .build .assembly,
html:not(.js) .build .hud {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- assembly lighting ---------- */
.win-wrap::before {
  /* accent bounce light pooled under the window */
  content: '';
  position: absolute;
  inset: -18% -14%;
  background: radial-gradient(50% 50% at 50% 55%, rgba(129, 140, 248, 0.22), rgba(129, 140, 248, 0.06) 45%, transparent 70%);
  transform: translateZ(-90px);
  opacity: var(--glow, 0.6);
  pointer-events: none;
}
.win-wrap::after {
  /* glass sheen that slides as the window tilts */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    115deg,
    transparent calc(var(--sheen, 0.3) * 100% - 22%),
    rgba(255, 255, 255, 0.055) calc(var(--sheen, 0.3) * 100%),
    transparent calc(var(--sheen, 0.3) * 100% + 22%)
  );
  transform: translateZ(120px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.bui.bui-chrome {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 90px 160px -50px rgba(0, 0, 0, 0.95),
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.bui.bui-phone {
  filter: none;
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9);
}

/* ================================================================
   Darker, livelier, easier to read
   ================================================================ */

/* readable type: small labels get bigger and brighter, copy over particles gets a dark halo */
.kicker {
  font-size: 12.5px;
  color: var(--dim);
}
.chapter {
  font-size: 11.5px;
}
.lede,
.hero-sub,
.answer,
.rules-lede,
.pains p,
.feat p,
.stat-sub,
.y-body,
.fin-copy,
.before-head,
.before-pay p {
  text-shadow:
    0 0 18px rgba(4, 4, 5, 0.95),
    0 0 4px rgba(4, 4, 5, 0.9);
}
.hero-sub,
.lede,
.y-body {
  color: #bdbdc7;
}
.fin-copy {
  color: #c4c4cd;
}
.fin-copy::before {
  /* a soft pool of dark so the closing copy never fights the particles */
  content: '';
  position: absolute;
  inset: -60px -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(4, 4, 5, 0.85), transparent);
  pointer-events: none;
}
.ht-2 {
  -webkit-text-stroke-width: 1.5px;
}

/* darker glass */
.card {
  background: linear-gradient(180deg, rgba(16, 16, 20, 0.96), rgba(8, 8, 10, 0.97));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 50px 100px -30px rgba(0, 0, 0, 0.95);
}
.card p {
  color: #b8b8c2;
}
.feat {
  background: linear-gradient(180deg, rgba(14, 14, 17, 0.92), rgba(7, 7, 9, 0.94));
  border-color: rgba(255, 255, 255, 0.075);
}
.viz {
  background: radial-gradient(120% 90% at 50% 0%, rgba(129, 140, 248, 0.07), transparent 60%);
}

/* cards catch the light under the pointer */
.card::after,
.feat::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(129, 140, 248, 0.13), transparent 45%);
}
.feat::before {
  /* hairline border that brightens near the pointer */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(165, 172, 255, 0.55), transparent 55%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.feat:hover::after,
.feat:hover::before,
.card:hover::after {
  opacity: 1;
}

/* build HUD: commit barcode */
.hud-commit {
  font-size: 13.5px;
  line-height: 1.55;
  color: #e6e6ec;
}
.hud-count {
  color: var(--dim);
}
.hud-bar {
  position: relative;
  height: 14px;
  background: none;
  margin-top: 16px;
}
.hud-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-2);
}
.hud-bar i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform-origin: 0 50%;
  box-shadow: 0 0 10px var(--accent);
}
.hud-ticks span {
  position: absolute;
  bottom: 3px;
  width: 1px;
  height: 9px;
  background: rgba(255, 255, 255, 0.16);
  transition:
    background 0.3s,
    height 0.3s;
}
.hud-ticks span.on {
  background: var(--accent);
  height: 11px;
}

/* years: dots light as they pass, the line fills */
.track-line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.2), var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.track-row li::before {
  transition:
    background 0.4s,
    box-shadow 0.4s,
    border-color 0.4s;
}
.track-row li.lit::before {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.8);
}
.track-row li span {
  color: var(--dim);
  transition: color 0.4s;
}
.track-row li.lit span {
  color: var(--text);
}

/* stats: the numbers carry a slow light sweep */
.stat-list li:first-child b {
  background: linear-gradient(100deg, #f4f4f7 40%, #ffffff 50%, #f4f4f7 60%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sweep 5s linear infinite;
}
@keyframes sweep {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* marquee outlines a touch quieter so they never fight the copy */
.mq-row span {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.11);
}

@media (max-width: 899px) {
  .hud-commit {
    font-size: 12.5px;
  }
  .card p {
    font-size: 16px;
  }
}
.y-body p,
.fin-copy p,
.lede,
.hero-sub,
.pains p,
.feat p {
  text-wrap: pretty;
}

/* ================================================================
   Scenes rework
   ================================================================ */
.chapter {
  display: none;
}

/* loader: the B draws itself */
.ld-mark {
  width: 76px;
  height: 76px;
  overflow: visible;
}
.ld-b {
  stroke: #f4f4f7;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.ld-bar {
  position: absolute;
  left: 50%;
  top: calc(50% + 70px);
  width: 120px;
  height: 1px;
  margin-left: -60px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ld-bar i {
  display: block;
  height: 100%;
  background: var(--text);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* hero cue */
.scroll-cue {
  font-family: var(--sans);
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--mute);
}

/* hall of old apps */
.hall-head {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.hall .card {
  width: 300px;
  margin: -150px 0 0 -150px;
  padding: 34px 28px 28px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  border-radius: 28px;
}
.hall .card h3 {
  margin: 8px 0 0;
  font-size: 30px;
}
.c-logo {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
}
.c-logo img {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.9);
}
.c-mono span {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background: linear-gradient(160deg, #1a1a20, #0b0b0e);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: 600 38px/1 var(--sans);
  letter-spacing: -0.04em;
  color: #d9d9e2;
}
.hall .c-year {
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: none;
}
.lineup {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(10px, 1.6vw, 22px);
  z-index: 3;
  pointer-events: none;
}
.lineup > span {
  opacity: 0;
  will-change: transform, opacity, filter;
}
.lineup .c-logo,
.lineup .c-logo img,
.lineup .c-mono span {
  width: clamp(40px, 5.4vw, 76px);
  height: clamp(40px, 5.4vw, 76px);
  border-radius: 16px;
}
.lineup .c-mono span {
  font-size: clamp(14px, 1.8vw, 24px);
}
.hall-pay {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  padding: 0 var(--pad);
  text-align: center;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.hall-pay .huge {
  font-size: clamp(40px, 7vw, 120px);
  max-width: 16ch;
  margin: 0 auto;
}

/* why: the static world */
.why {
  padding: 0;
}
.why .pin {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 0 var(--pad);
  gap: clamp(28px, 5vh, 56px);
}
.why-head {
  font-size: clamp(36px, 5.4vw, 92px);
  max-width: 18ch;
  opacity: 0;
}
.foes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 80px);
}
.foes li {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: clamp(220px, 24vw, 340px);
  opacity: 0;
  --strike: 0;
}
.foes b {
  position: relative;
  font-size: clamp(34px, 4.6vw, 76px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}
.foes b::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  top: 54%;
  height: clamp(3px, 0.35vw, 5px);
  background: #f87171;
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.6);
  transform: scaleX(var(--strike));
  transform-origin: 0 50%;
}
.foes span {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.4;
}
.why-pay {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 22ch;
  opacity: 0;
}

/* build: plain HUD */
.hud-clock {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.hc-day {
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--dim);
}
.hc-time {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.hud-count {
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
.hud-count b {
  font-size: 14px;
}
.hud-caption {
  margin: 16px 0 0;
  min-height: 2.8em;
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  text-shadow:
    0 0 18px rgba(4, 4, 5, 0.95),
    0 0 4px rgba(4, 4, 5, 0.9);
}
.hud-gap {
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
.b-end {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(36px, 7vh, 80px);
  text-align: center;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.b-end p {
  margin: 0;
  font-size: clamp(30px, 4vw, 64px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(4, 4, 5, 0.95);
}
.b-end b:last-child {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--text);
}
.b-end .b-end-sub {
  margin-top: 14px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--dim);
}

/* how it works: the blueprint */
.how-head {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: clamp(80px, 12vh, 120px);
  z-index: 3;
}
.how-head .kicker {
  color: #8fb0ff;
}
.how-head .big {
  font-size: clamp(32px, 4.4vw, 72px);
  max-width: 20ch;
}
.diagram {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 1000px;
  height: 520px;
  transform: translate(-50%, -50%) scale(var(--ds, 1));
}
.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wires path {
  fill: none;
  stroke: rgba(143, 176, 255, 0.55);
  stroke-width: 1.5;
}
.d-label {
  margin: 12px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: 560;
  color: #dfe6ff;
  white-space: nowrap;
}
.d-win {
  position: absolute;
  left: 40px;
  top: 150px;
  width: 260px;
  opacity: 0;
  transform-origin: 50% 50%;
}
.dw-bar,
.dw-body {
  border: 1px solid rgba(143, 176, 255, 0.5);
  background: rgba(6, 14, 32, 0.92);
}
.dw-bar {
  height: 22px;
  border-radius: 10px 10px 0 0;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 9px;
  border-bottom: 0;
}
.dw-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(143, 176, 255, 0.5);
}
.dw-body {
  height: 150px;
  border-radius: 0 0 10px 10px;
  display: flex;
  overflow: hidden;
}
.dw-side {
  width: 70px;
  border-right: 1px solid rgba(143, 176, 255, 0.3);
  padding: 10px 8px;
  display: grid;
  align-content: start;
  gap: 7px;
  transition:
    width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.6s;
}
.dw-side span {
  height: 6px;
  border-radius: 3px;
  background: rgba(143, 176, 255, 0.35);
}
.dw-chat {
  flex: 1;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.dw-msg {
  height: 14px;
  border-radius: 7px;
  background: rgba(143, 176, 255, 0.25);
  width: 70%;
  transition: background 0.6s;
}
.dw-msg.b {
  justify-self: end;
  width: 55%;
  background: rgba(143, 176, 255, 0.45);
}
.dw-msg.s {
  width: 40%;
}
.dw-typing {
  display: flex;
  gap: 4px;
}
.dw-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7d4ff;
  animation: typing 1.2s infinite ease-in-out;
}
.dw-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.dw-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.d-win.v2 .dw-side {
  width: 44px;
  background: rgba(129, 140, 248, 0.16);
}
.d-win.v2 .dw-msg.b {
  background: rgba(165, 172, 255, 0.85);
}
.d-win.flash .dw-body,
.d-win.flash .dw-bar {
  box-shadow: 0 0 0 1px #c7d4ff, 0 0 40px rgba(143, 176, 255, 0.6);
}
.d-engine,
.d-engine-next {
  position: absolute;
  left: 470px;
  top: 190px;
  width: 120px;
  display: grid;
  justify-items: center;
  opacity: 0;
}
.de-core {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(165, 180, 255, 0.55), rgba(40, 60, 140, 0.35) 55%, rgba(6, 14, 32, 0.9) 72%);
  border: 1px solid rgba(143, 176, 255, 0.7);
  box-shadow: 0 0 60px rgba(100, 130, 255, 0.35);
}
.de-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(143, 176, 255, 0.35);
  animation: spin 18s linear infinite;
}
.d-orbit {
  position: absolute;
  left: 530px;
  top: 250px;
  width: 0;
  height: 0;
  opacity: 0;
}
.d-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #a5b4ff;
  offset-path: circle(84px at 0 0);
  animation: orbit 4s linear infinite;
}
.d-orbit i:nth-child(2) {
  animation-delay: -1.33s;
}
.d-orbit i:nth-child(3) {
  animation-delay: -2.66s;
}
@keyframes orbit {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.d-engine-next .de-core {
  background: rgba(6, 14, 32, 0.9);
  border-style: dashed;
  box-shadow: none;
}
.d-engine-next.ready .de-core {
  border-style: solid;
  background: radial-gradient(circle at 50% 40%, rgba(165, 180, 255, 0.7), rgba(40, 60, 140, 0.4) 55%, rgba(6, 14, 32, 0.9) 72%);
  box-shadow: 0 0 70px rgba(120, 150, 255, 0.55);
}
.de-prog {
  position: absolute;
  inset: 6px;
  transform: rotate(-90deg);
}
.de-prog circle {
  fill: none;
  stroke: #c7d4ff;
  stroke-width: 3;
}
.d-ais {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 780px;
  top: 96px;
  display: grid;
  gap: 82px;
  opacity: 0;
}
.d-ais li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(143, 176, 255, 0.45);
  background: rgba(6, 14, 32, 0.92);
  font-size: 15px;
  font-weight: 560;
  color: #eef1ff;
  white-space: nowrap;
}
.ai-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.ai-dot.claude {
  background: #d97757;
}
.ai-dot.codex {
  background: #f4f4f7;
}
.ai-dot.agy {
  background: #6ea8fe;
}
.d-phone {
  position: absolute;
  left: 330px;
  top: 392px;
  width: 50px;
  height: 92px;
  border-radius: 12px;
  border: 1px solid rgba(143, 176, 255, 0.55);
  background: rgba(6, 14, 32, 0.92);
  opacity: 0;
}
.d-phone .d-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.dp-note {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translate(-50%, 6px) scale(0.6);
  padding: 4px 9px;
  border-radius: 8px;
  background: #e8edff;
  color: #0a1430;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 0.4s,
    transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.d-phone.done .dp-note {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.d-phone.done {
  box-shadow: 0 0 30px rgba(143, 176, 255, 0.45);
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0 var(--pad);
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(30px, 7vh, 80px);
  display: grid;
  justify-items: center;
}
.how-steps li {
  grid-area: 1 / 1;
  max-width: 46ch;
  text-align: center;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: #c9d3f2;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-shadow: 0 0 18px rgba(4, 8, 20, 0.95);
}
.how-steps li b {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #f4f6ff;
}
.how-steps li.on {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .hall-head {
    top: 96px;
    transform: none;
    right: var(--pad);
  }
  .hall .card {
    width: 240px;
    margin: -130px 0 0 -120px;
  }
  .foes {
    flex-direction: column;
    gap: 22px;
  }
  .foes span {
    font-size: 15px;
  }
  .hud-clock {
    align-items: flex-start;
  }
  .hud-caption {
    font-size: 17px;
  }
  .diagram {
    top: 50%;
  }
  .d-label,
  .d-ais li {
    font-size: 30px;
  }
  .how-steps li {
    font-size: 16px;
  }
  .how-steps li b {
    font-size: 22px;
  }
}

/* reduced motion / no js: everything readable in place */
html.reduced .hall-head,
html.reduced .hall-pay,
html.reduced .how-head,
html.reduced .b-end,
html:not(.js) .hall-head,
html:not(.js) .hall-pay,
html:not(.js) .how-head {
  position: relative;
  inset: auto;
  left: auto;
  top: auto;
  bottom: auto;
  transform: none;
  opacity: 1;
}
html.reduced .lineup,
html:not(.js) .lineup {
  display: none;
}
html.reduced .why-head,
html.reduced .foes li,
html.reduced .why-pay,
html:not(.js) .why-head,
html:not(.js) .foes li,
html:not(.js) .why-pay {
  opacity: 1;
  --strike: 1;
}
html.reduced .diagram,
html:not(.js) .diagram {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin: 40px auto;
  zoom: 0.8;
}
html.reduced .d-win,
html.reduced .d-engine,
html.reduced .d-ais,
html.reduced .d-phone,
html.reduced .d-orbit,
html:not(.js) .d-orbit,
html:not(.js) .d-win,
html:not(.js) .d-engine,
html:not(.js) .d-ais,
html:not(.js) .d-phone {
  opacity: 1;
}
html.reduced .how-steps,
html:not(.js) .how-steps {
  position: relative;
  bottom: auto;
  gap: 18px;
}
html.reduced .how-steps li,
html:not(.js) .how-steps li {
  grid-area: auto;
  opacity: 1;
  transform: none;
}
@media (max-width: 899px) {
  .lineup {
    gap: 8px;
  }
  .lineup .c-logo,
  .lineup .c-logo img,
  .lineup .c-mono span {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .lineup .c-mono span {
    font-size: 12px;
  }
}
