/* =========================================================
   Yash Verma — "I make payments say yes."
   Palette lifted from the portrait: midnight indigo backdrop,
   champagne-gold blazer (= the EMV chip), mint circuit lines
   (= the approval). Paper is reserved for the receipt.
   ========================================================= */

:root {
  --ink: #070a1f;
  --ink-2: #0d1233;
  --ink-3: #151b48;
  --indigo: #4a4fd8;
  --chip: #e7c77f;
  --chip-2: #f6e3b4;
  --mint: #8ff0cf;
  --mint-2: #c9fbe9;
  --web: #a9afff; /* the online door; the in-store door uses --chip */
  --decline: #ff6b5e;
  --paper: #f3efe6;
  --text: #eceeff;
  --muted: #9096c4;
  --line: rgba(150, 160, 255, 0.13);
  --line-2: rgba(150, 160, 255, 0.24);

  --f-display: "Archivo", "Geist", system-ui, sans-serif;
  --f-body: "Geist", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --f-voice: "Newsreader", Georgia, serif;

  --gutter: clamp(18px, 4.2vw, 64px);
  --max: 1360px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  overflow-x: hidden; /* safety net: the page never pans sideways (body keeps clip, so sticky still works) */
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  color: var(--text);
  background: transparent;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.skip:focus {
  top: 16px;
}

/* ---------- stage + ambient ---------- */
.stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  background: radial-gradient(120% 90% at 70% 40%, #121850 0%, var(--ink) 60%);
}
.stage-fallback {
  display: none;
}
.no-webgl .stage-fallback {
  display: block;
  position: fixed;
  right: 4vw;
  bottom: 0;
  width: min(42vw, 520px);
  z-index: 0;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 30%);
  mask-image: linear-gradient(to top, transparent, #000 30%);
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(4, 6, 20, 0.75) 100%);
}
.grain {
  position: fixed;
  inset: 0; /* exactly the screen: an oversized fixed layer lets iPhone Safari pan sideways */
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.8s steps(5) infinite;
}
/* the noise moves inside the layer instead of moving the layer */
@keyframes grain {
  0% { background-position: 0 0; }
  25% { background-position: -48px 64px; }
  50% { background-position: 64px -48px; }
  75% { background-position: -80px -64px; }
  100% { background-position: 0 0; }
}
main,
.footer {
  position: relative;
  z-index: 2;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chip);
}
.dot--mint {
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(143, 240, 207, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 9px rgba(143, 240, 207, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 240, 207, 0); }
}
.display {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display em,
.station__title em,
.contact__title em:not(.yes) {
  font-family: var(--f-voice);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--chip);
}
.yes {
  font-family: var(--f-voice);
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
}
.lede {
  max-width: 48ch;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.split-line {
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s, background 0.35s;
  will-change: transform;
}
.btn i {
  font-style: normal;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover i {
  transform: translateY(2px) translateX(2px);
}
.btn--lg {
  padding: 17px 28px;
  font-size: 16px;
}
.btn--mint {
  background: var(--mint);
  color: var(--ink);
}
.btn--chip {
  background: linear-gradient(135deg, var(--chip-2), var(--chip));
  color: var(--ink);
}
.btn--mint::before,
.btn--chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #fff 0%, var(--mint-2) 40%, var(--mint) 100%);
  transform: scale(0);
  border-radius: inherit;
  transition: transform 0.5s var(--ease-out);
}
.btn--chip::before {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #fff 0%, var(--chip-2) 60%);
}
.btn--mint:hover::before,
.btn--chip:hover::before {
  transform: scale(1.4);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(13, 18, 51, 0.4);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint-2);
}

/* ---------- cursor ---------- */
.cursor {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    pointer-events: none;
  }
  .cursor__dot,
  .cursor__ring {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
  }
  .cursor__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mint);
  }
  /* the ring is a tiny card outline that morphs */
  .cursor__ring {
    width: 34px;
    height: 22px;
    border-radius: 5px;
    border: 1px solid rgba(231, 199, 127, 0.55);
    display: grid;
    place-items: center;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-radius 0.4s, background 0.3s, border-color 0.3s;
  }
  .cursor.is-link .cursor__ring {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border-color: transparent;
    background: rgba(143, 240, 207, 0.14);
  }
  .cursor.is-label .cursor__ring {
    width: 78px;
    height: 50px;
    border-radius: 9px;
    border-color: transparent;
    background: var(--chip);
  }
  .cursor__label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .cursor.is-label .cursor__label {
    opacity: 1;
  }
  .cursor.is-hidden {
    opacity: 0;
  }
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.loader__term {
  width: min(440px, 86vw);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}
.loader__line {
  margin: 0 0 8px;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
}
.loader__line--ok {
  color: var(--text);
}
.loader__line--ok b {
  color: var(--mint);
  font-weight: 500;
}
.loader__bar {
  height: 2px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--chip), var(--mint));
  transform-origin: left;
  transform: scaleX(0);
}
.loader__ms {
  margin: 10px 0 0;
  text-align: right;
  color: var(--text);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, translate 0.5s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(9, 12, 36, 0.6);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav.is-hidden {
  translate: 0 -140%;
}
.nav__id {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nav__chip {
  width: 26px;
  height: 20px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(7, 10, 31, 0.35) 32% 36%, transparent 36% 64%, rgba(7, 10, 31, 0.35) 64% 68%, transparent 68%),
    linear-gradient(0deg, transparent 45%, rgba(7, 10, 31, 0.35) 45% 55%, transparent 55%),
    linear-gradient(135deg, var(--chip-2), var(--chip));
}
.nav__links {
  display: flex;
  gap: 6px;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
  background: rgba(150, 160, 255, 0.08);
}

/* ---------- HUD ---------- */
.hud {
  position: fixed;
  right: var(--gutter);
  top: 50%;
  z-index: 50;
  transform: translateY(-50%);
  display: grid;
  gap: 26px;
  justify-items: end;
  pointer-events: none;
  opacity: 0;
  font-family: var(--f-mono);
}
.hud__clock {
  display: grid;
  justify-items: end;
  gap: 2px;
}
.hud__k {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.hud__ms {
  font-size: 26px;
  font-weight: 500;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hud__rail {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.hud__rail::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-2);
}
.hud__rail li {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(144, 150, 196, 0.6);
  transition: color 0.4s;
}
.hud__rail i {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.hud__rail li.is-done {
  color: var(--muted);
}
.hud__rail li.is-done i {
  background: var(--chip);
  border-color: var(--chip);
}
.hud__rail li.is-on {
  color: var(--text);
}
.hud__rail li.is-on i {
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: 0 0 14px var(--mint);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero__copy {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
}
.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  font-size: clamp(40px, 5.84vw, 101px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hl {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.hl > span {
  display: inline-block;
}
.hero__title .yes {
  text-transform: none;
  font-size: 1.06em;
  letter-spacing: -0.03em;
  line-height: 0.8;
  padding-right: 0.08em;
}
.hero__sub {
  max-width: 40ch;
  margin: 34px 0 0;
  font-size: clamp(16px, 1.35vw, 20px);
  color: rgba(236, 238, 255, 0.78);
}
.hero__sub strong {
  color: var(--chip);
  font-weight: 600;
}
.hero__sub .pay {
  padding: 0 0.4em 0.05em;
  border: 1px solid rgba(169, 175, 255, 0.5);
  border-radius: 6px;
  background: rgba(169, 175, 255, 0.1);
  font-style: normal;
  font-weight: 600;
  color: var(--web);
}
/* current role: a frosted badge with a card-style shine passing over it */
.hero__role {
  position: relative;
  display: inline-flex;
  margin: 26px 0 0;
  padding: 10px 18px 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(143, 240, 207, 0.28);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(143, 240, 207, 0.1), rgba(21, 27, 72, 0.55) 45%, rgba(231, 199, 127, 0.08));
  box-shadow: 0 0 0 1px rgba(7, 10, 31, 0.6), 0 10px 30px -12px rgba(143, 240, 207, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.hero__role::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: role-shine 7s var(--ease-out) 3s infinite;
  pointer-events: none;
}
@keyframes role-shine {
  0% { transform: translateX(-100%); }
  22%, 100% { transform: translateX(100%); }
}
.hero__co {
  color: var(--chip);
}
.hero__role .nw {
  white-space: nowrap;
}
.hero__role .dot {
  flex: none;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__tape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 10, 31, 0.2), rgba(7, 10, 31, 0.75));
  backdrop-filter: blur(8px);
}
.tape {
  display: flex;
  width: max-content;
  animation: tape 70s linear infinite;
}
.hero__tape:hover .tape {
  animation-play-state: paused;
}
.tape__row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 28px 15px 0;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.tape__row b {
  color: var(--mint);
  font-weight: 500;
}
.tape__row i {
  color: var(--chip);
  font-style: normal;
  font-size: 9px;
}
@keyframes tape {
  to { transform: translateX(-50%); }
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 10px auto 0;
  background: linear-gradient(var(--mint), transparent);
  animation: hint 2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes hint {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- prologue ---------- */
.prologue {
  min-height: 150vh;
  padding: 30vh var(--gutter) 20vh;
  max-width: calc(1100px + 2 * var(--gutter));
  margin: 0 auto;
}
.prologue__text {
  position: sticky;
  top: 24vh;
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-weight: 600;
  font-size: clamp(30px, 4.1vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: pretty;
}
.prologue__text em {
  font-family: var(--f-voice);
  font-style: italic;
  font-weight: 400;
  color: var(--chip);
}
.prologue__text .yes {
  color: var(--mint);
}

/* ---------- two front doors: in store + online ---------- */
.doors {
  position: relative;
}
.doors__pin {
  min-height: 100vh;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: max(92px, 11vh) var(--gutter) 3vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doors__head {
  max-width: 900px;
  margin-bottom: clamp(18px, 3.4vh, 44px);
}
.doors__head .eyebrow {
  margin-bottom: clamp(10px, 2vh, 22px);
}
.doors__head .display {
  font-size: clamp(28px, min(3.9vw, 6.2vh), 60px);
}
.doors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.6vw, 36px);
}
.door {
  --accent: var(--chip);
  --accent-rgb: 231, 199, 127;
  position: relative;
  margin: 0;
  padding: 20px 22px 22px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(var(--accent-rgb), 0.13), transparent 60%),
    linear-gradient(170deg, rgba(18, 23, 64, 0.9), rgba(7, 10, 31, 0.94));
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 100px -40px rgba(0, 0, 0, 0.85),
    0 0 0 0 rgba(143, 240, 207, 0);
  transition: border-color 0.5s, box-shadow 0.6s;
}
/* a lit edge along the top, in the door's colour */
.door::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.9), transparent);
  pointer-events: none;
}
.door--web {
  --accent: var(--web);
  --accent-rgb: 169, 175, 255;
}
/* approved: the whole door glows mint for a beat */
.door.is-ok {
  border-color: rgba(143, 240, 207, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 100px -40px rgba(0, 0, 0, 0.85),
    0 0 60px -10px rgba(143, 240, 207, 0.35);
}
.door__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.door__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.04));
  box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), 0.55);
}
.door__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.door__icon circle {
  fill: var(--accent);
  stroke: none;
}
.door__title {
  display: grid;
  gap: 2px;
}
.door__title b {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 110;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.door__title small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.door__ms {
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid rgba(143, 240, 207, 0.35);
  background: rgba(7, 10, 31, 0.6);
  font-family: var(--f-mono);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.door.is-ok .door__ms {
  background: rgba(143, 240, 207, 0.12);
  box-shadow: 0 0 18px -4px rgba(143, 240, 207, 0.6);
}
/* the stage: a spotlit floor of dots the device stands on */
.door__stage {
  position: relative;
  height: clamp(170px, 26vh, 280px);
  margin: clamp(8px, 1.4vh, 12px) 0 0;
  display: grid;
  place-items: center;
}
.door__stage::before {
  content: "";
  position: absolute;
  inset: 0 -22px;
  background: radial-gradient(rgba(var(--accent-rgb), 0.22) 1px, transparent 1.4px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(55% 60% at 50% 55%, #000, transparent);
  mask-image: radial-gradient(55% 60% at 50% 55%, #000, transparent);
  pointer-events: none;
}
.door__stage::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 4%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.28), transparent);
  filter: blur(6px);
  pointer-events: none;
}
.door__stage > * {
  z-index: 1;
}
/* three steps that light up with the animation */
.door__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(8px, 1.4vh, 12px) 0 clamp(12px, 1.8vh, 16px);
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.door__steps::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint) var(--fill, 0%), rgba(150, 160, 255, 0.18) var(--fill, 0%));
  transition: --fill 0.4s;
}
.door__steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.door__steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(150, 160, 255, 0.35);
  background: var(--ink);
  font-size: 10px;
  letter-spacing: 0;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.door__steps li.is-on {
  color: var(--text);
}
.door__steps li.is-on::before {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 0 14px rgba(143, 240, 207, 0.7);
}
.door__steps li.is-now::before {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.6);
}
.door__tags {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.door__tags li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.07);
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(236, 238, 255, 0.82);
}

/* the terminal */
.pos {
  position: relative;
  width: clamp(150px, 12.5vw, 186px);
  padding: 13px;
  border-radius: 24px 24px 30px 30px;
  border: 1px solid rgba(150, 160, 255, 0.25);
  background: linear-gradient(160deg, #1d2352, #0b0f2a 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  transform: perspective(900px) rotateX(8deg) rotateY(-12deg) translateX(-18%);
}
.pos__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 122px;
  padding: 11px 12px;
  border-radius: 11px;
  background: linear-gradient(160deg, #101a3e, #0a1028);
  font-family: var(--f-mono);
  transition: background 0.4s;
}
.pos.is-ok .pos__screen {
  background: linear-gradient(160deg, rgba(143, 240, 207, 0.32), rgba(143, 240, 207, 0.08));
}
.pos__merchant {
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.pos__amt {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pos__state {
  margin: auto 0 0;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--chip);
}
.pos.is-ok .pos__state {
  color: var(--mint);
}
.pos__ok {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transform: scale(0);
}
.waves {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.waves i {
  grid-area: 1 / 1;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid var(--chip);
  opacity: 0;
}
.pos__keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.pos__keys i {
  height: 13px;
  border-radius: 5px;
  background: rgba(150, 160, 255, 0.12);
}
.pos__keys i:nth-child(10) { background: rgba(255, 107, 94, 0.55); }
.pos__keys i:nth-child(11) { background: rgba(231, 199, 127, 0.55); }
.pos__keys i:nth-child(12) { background: rgba(143, 240, 207, 0.6); }
.pcard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 94px;
  margin: -47px 0 0 -75px;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid rgba(231, 199, 127, 0.35);
  background: linear-gradient(135deg, #2c3cae, #141c63 60%, #0d1340);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
  font-family: var(--f-mono);
  opacity: 0;
}
.pcard__chip {
  position: absolute;
  top: 14px;
  left: 13px;
  width: 22px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--chip-2), var(--chip) 60%, #b8954f);
}
.pcard__nfc {
  position: absolute;
  top: 13px;
  left: 42px;
  font-size: 10px;
  letter-spacing: -0.12em;
  color: rgba(236, 238, 255, 0.7);
}
.pcard__num {
  position: absolute;
  left: 13px;
  bottom: 14px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.pcard__mc {
  position: absolute;
  right: 11px;
  top: 12px;
  width: 26px;
  height: 16px;
  background: linear-gradient(115deg, transparent 0 18%, var(--chip) 18% 36%, transparent 36% 44%, var(--mint) 44% 62%, transparent 62% 70%, rgba(169, 175, 255, 0.9) 70% 88%, transparent 88%); /* generic network mark */
  border-radius: 3px;
}

/* the checkout page */
.browser {
  width: min(100%, 440px);
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(150, 160, 255, 0.25);
  background: #0c1030;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.85);
  transform: perspective(1100px) rotateY(8deg) rotateX(5deg);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.browser__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.browser__url {
  flex: 1;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--muted);
}
.co {
  position: relative;
  overflow: hidden;
  padding: 14px 16px 16px;
  font-size: 12.5px;
  color: var(--text);
}
.co__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.co__head b {
  font-weight: 500;
  color: var(--text);
}
.co__line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  color: rgba(236, 238, 255, 0.82);
}
.co__tabs {
  display: flex;
  gap: 5px;
  margin: 9px 0 8px;
}
.co__tabs span {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 10px;
  color: var(--muted);
}
.co__tabs .is-on {
  border-color: rgba(169, 175, 255, 0.6);
  background: rgba(169, 175, 255, 0.1);
  color: var(--text);
}
.co__card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  border: 1px solid rgba(169, 175, 255, 0.45);
  background: rgba(169, 175, 255, 0.06);
  font-family: var(--f-mono);
  font-size: 10.5px;
}
.co__mc {
  width: 22px;
  height: 14px;
  background: linear-gradient(115deg, transparent 0 18%, var(--chip) 18% 36%, transparent 36% 44%, var(--mint) 44% 62%, transparent 62% 70%, rgba(169, 175, 255, 0.9) 70% 88%, transparent 88%); /* generic network mark */
  border-radius: 3px;
}
.co__card em {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(143, 240, 207, 0.35);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}
.co__pay {
  display: block;
  margin-top: 10px;
  padding: 9px;
  border-radius: 9px;
  background: var(--web);
  color: var(--ink);
  font-weight: 600;
  font-size: 12.5px;
  text-align: center;
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 16px;
  border-radius: 16px 16px 0 0;
  border-top: 1px solid rgba(169, 175, 255, 0.4);
  background: linear-gradient(180deg, #181f55, #0c1030);
  box-shadow: 0 -20px 40px -10px rgba(0, 0, 0, 0.7);
  text-align: center;
  visibility: hidden; /* main.js slides it in (yPercent) and makes it visible */
}
.sheet__k {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet__t {
  margin: 3px 0 8px;
  font-weight: 600;
  font-size: 14px;
}
.otp {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 8px;
}
.otp i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(169, 175, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 14px;
  color: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.sheet__s {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}
.done {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(circle at 50% 42%, rgba(143, 240, 207, 0.2), transparent 70%), #0c1030;
  opacity: 0;
}
.done__tick {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(143, 240, 207, 0.5);
}
.done b {
  font-size: 15px;
}
.done__code {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mint);
}
.cur {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M1 1v15l4-4 3 7 3-1.4-3-6.6h5.5z' fill='%23fff' stroke='%23070A1F' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  opacity: 0;
  pointer-events: none;
}

/* two doors → one rail */
.merge {
  height: clamp(26px, 5vh, 72px);
}
.merge svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.merge path {
  fill: none;
}
.merge__base {
  stroke: var(--line-2);
  stroke-width: 1;
}
.merge__p {
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.merge__p--pos {
  stroke: var(--chip);
  filter: drop-shadow(0 0 6px rgba(231, 199, 127, 0.7));
}
.merge__p--web {
  stroke: var(--web);
  filter: drop-shadow(0 0 6px rgba(169, 175, 255, 0.7));
}
.doors__out {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.doors__out p {
  margin: 0;
}
/* the closing line and the definition each get their own row, on a solid panel the 3D rail can't wash out */
.doors__out p {
  flex: 0 0 100%;
}
.doors__out p > span {
  display: inline-block;
  border-radius: 12px;
  background: rgba(7, 10, 31, 0.92);
  backdrop-filter: blur(10px);
}
.doors__out p:not(.doors__note) > span {
  padding: 9px 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.doors__note {
  margin-top: -4px !important;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(236, 238, 255, 0.78);
}
.doors__note > span {
  padding: 6px 14px;
}
.doors__shared {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doors__shared li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 240, 207, 0.32);
  background: rgba(7, 10, 31, 0.85);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--mint-2);
}
.doors__rail {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(143, 240, 207, 0.45);
  background: rgba(143, 240, 207, 0.08);
  box-shadow: 0 0 30px -6px rgba(143, 240, 207, 0.5);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

/* which door each station serves */
.ch {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.ch--pos {
  border-color: rgba(231, 199, 127, 0.4);
  color: var(--chip);
}
.ch--web {
  border-color: rgba(169, 175, 255, 0.45);
  color: var(--web);
}
.ch + .ch {
  margin-left: -6px;
}

/* ---------- journey ---------- */
.journey {
  position: relative;
}
.station {
  position: relative;
  min-height: 165vh;
  padding: 30vh var(--gutter);
  display: flex;
  align-items: flex-start;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
}
.station--right {
  justify-content: flex-end;
}
.station__card {
  position: sticky;
  top: max(96px, 12vh);
  width: min(680px, 100%);
  padding: 28px 32px 24px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(170deg, rgba(16, 21, 60, 0.9), rgba(7, 10, 31, 0.94));
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}
.station--right .station__card {
  margin-right: clamp(0px, 15vw, 230px);
}
.station__k {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.station__k span {
  color: var(--chip);
}
.station__k b {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(143, 240, 207, 0.35);
  color: var(--mint);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.station__title {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 104;
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.station__explain {
  margin: 12px 0 16px;
  color: rgba(236, 238, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.5;
}
.wins {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr); /* the number column fits the widest number in this card */
  column-gap: 26px;
}
.wins li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.wins__n {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-weight: 700;
  line-height: 1;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* numbers sit on one centre line, however wide each one is */
.wins__n {
  justify-self: center;
  text-align: center;
}
.wins__n--sm {
  font-size: 18px;
  white-space: normal;
  line-height: 1.15;
}
/* where each result happened, so results from different companies don't read as one stacked number */
.wins__h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 3px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
}
/* why it matters: a band along the card's bottom edge, led by one figure */
.station__why {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px -32px -24px;
  padding: 14px 32px 16px;
  border-top: 1px solid rgba(231, 199, 127, 0.22);
  border-radius: 0 0 22px 22px;
  background: linear-gradient(90deg, rgba(231, 199, 127, 0.1), rgba(231, 199, 127, 0.02) 70%);
}
.station--settle .station__why {
  grid-column: 1 / -1;
  margin-top: -6px;
}
.station__why-n {
  flex: none;
  min-width: 92px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 110;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--chip);
}
.station__why p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(236, 238, 255, 0.85);
}
.station__why b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chip);
}
/* what a number means, in plain terms */
.wins__x {
  display: block;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mint);
}
.wins__at {
  display: block;
  margin-left: auto;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.wins li > span {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(236, 238, 255, 0.82); /* the headline (.wins__h) carries the emphasis */
  text-wrap: pretty;
}
.station__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}
.station__tags span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}
/* 05 · settle: a wider card with the T+1 / T+2 ledger beside the results */
.station--settle .station__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: 34px;
  width: min(1020px, 100%);
}
.ledger {
  position: relative;
  align-self: start;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px 20px 20px;
  list-style: none;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: rgba(7, 10, 31, 0.6);
}
.ledger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.ledger__head b {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(143, 240, 207, 0.35);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mint);
}
.ledger__step {
  position: relative;
  display: grid;
  gap: 3px;
  padding-left: 30px;
  opacity: 0.5;
  transition: opacity 0.4s;
}
.ledger__step.is-on {
  opacity: 1;
}
.ledger__step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(150, 160, 255, 0.4);
  background: var(--ink);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ledger__step.is-on::before {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 12px rgba(143, 240, 207, 0.7);
}
.ledger__day {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--chip);
}
.ledger__step b {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.ledger__step span {
  font-size: 13.5px;
  line-height: 1.42;
  color: rgba(236, 238, 255, 0.85);
}
.ledger__track {
  position: absolute;
  left: 28.5px; /* centred on the node dots: ledger padding 20 + dot 4 + 5.5, less half the 2px track */
  width: 2px;
  background: rgba(150, 160, 255, 0.18);
  border-radius: 2px;
}
.ledger__fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(var(--chip), var(--mint));
  transform: scaleY(0);
  transform-origin: top;
}
.ledger__packet {
  position: absolute;
  top: 0;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 14px var(--mint);
  opacity: 0;
}
.approve {
  position: sticky;
  top: 22vh;
  margin-right: auto;
  display: grid;
  pointer-events: none;
}
.approve__code {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  font-size: clamp(160px, 26vw, 420px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(143, 240, 207, 0.85);
  text-shadow: 0 0 80px rgba(143, 240, 207, 0.3);
}
.approve__word {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--mint);
}

/* ---------- solid sections after the journey ---------- */
.ai,
.origin,
.career,
.toolkit,
.contact {
  position: relative;
  background: var(--ink);
}
.origin {
  padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(80px, 12vh, 140px);
}
/* the 3D stage fades into the first solid section instead of ending on a hard edge */
.origin::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 260px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}

/* ---------- AI: PMOS + Agent HQ ---------- */
.ai {
  position: relative;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  background:
    radial-gradient(50% 40% at 70% 55%, rgba(143, 240, 207, 0.07), transparent 70%),
    var(--ink);
}
.ai__head,
.hq,
.ai__pillars {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.ai__head .display {
  max-width: 16ch;
}
.ai__head .display em {
  color: var(--mint);
}
.ai__head .lede {
  max-width: 62ch;
}
.ai__head .lede strong {
  color: var(--text);
  font-weight: 600;
}
.hq {
  display: grid;
  grid-template-columns: 1fr 330px;
  grid-template-areas: "req req" "net out";
  margin-top: 60px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0a0f2c, #070a1f);
  overflow: hidden;
}
.hq > * {
  min-width: 0;
}
.hq__label {
  margin: 0 0 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hq__label span {
  color: var(--mint);
}
.hq__label /* the end-to-end relay: the headline request */
.hq__chips button.is-chain {
  border-color: rgba(231, 199, 127, 0.45);
  color: var(--chip);
  font-weight: 600;
}
.hq__chips button.is-chain::before {
  content: "▶ ";
  font-size: 0.8em;
}
.hq__chips button.is-chain.is-on {
  border-color: var(--chip);
  background: rgba(231, 199, 127, 0.1);
  color: var(--chip-2);
}
.hq__note {
  color: rgba(144, 150, 196, 0.7);
}
.hq__net.is-narrow .hq__wires path:not(.is-hot) {
  opacity: 0;
}
.hq__requests {
  grid-area: req;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.hq__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hq__chips button {
  text-align: left;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(236, 238, 255, 0.85);
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.hq__chips button:hover {
  border-color: var(--line-2);
  transform: translateX(3px);
}
.hq__chips button.is-on {
  border-color: rgba(143, 240, 207, 0.6);
  background: rgba(143, 240, 207, 0.08);
  color: var(--text);
}
.hq__note {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(144, 150, 196, 0.7);
  text-transform: none;
}
.hq__net {
  grid-area: net;
  position: relative;
  min-height: 500px;
}
.hq__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hq__wires path {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.3;
  transition: stroke 0.4s;
}
.hq__wires path.is-hot {
  stroke: var(--mint);
  stroke-dasharray: 6 6;
  animation: wire 0.6s linear infinite;
}
@keyframes wire {
  to { stroke-dashoffset: -12; }
}
.hq__port,
.hq__hub,
.hq__agent {
  position: absolute;
  transform: translate(-50%, -50%);
}
.hq__port {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  background: var(--ink);
}
.hq__hub {
  z-index: 1;
  width: 128px;
  height: 128px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle, #141a4a 0%, #0a0e2c 70%);
  border: 1px solid rgba(231, 199, 127, 0.5);
  box-shadow: 0 0 60px -10px rgba(231, 199, 127, 0.35);
  transition: box-shadow 0.4s;
}
.hq__hub.is-hot {
  box-shadow: 0 0 80px -6px rgba(143, 240, 207, 0.6);
}
.hq__hub i {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(231, 199, 127, 0.45);
  animation: spin 14s linear infinite;
}
.hq__hub i + i {
  inset: -24px;
  border-style: dotted;
  border-color: rgba(143, 240, 207, 0.3);
  animation-duration: 22s;
  animation-direction: reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hq__hub b {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--chip-2);
}
.hq__hub small {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
}
.hq__agent {
  z-index: 1;
  padding: 8px 13px;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  display: grid;
  gap: 1px;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.hq__agent span {
  font-size: 13px;
  font-weight: 600;
}
.hq__agent {
  cursor: pointer;
}
.hq__agent:not(.is-hot):hover {
  border-color: rgba(143, 240, 207, 0.5);
  background: rgba(143, 240, 207, 0.05);
  transform: translate(-50%, -50%) scale(1.04);
}
.hq__agent--new {
  border-style: dashed;
  background: transparent;
}
.hq__agent--new span {
  color: var(--muted);
}
.hq__agent.is-hot {
  border-color: var(--mint);
  border-style: solid;
  background: rgba(143, 240, 207, 0.1);
  box-shadow: 0 0 40px -8px rgba(143, 240, 207, 0.6);
  transform: translate(-50%, -50%) scale(1.05);
}
.hq__agent.is-hot span {
  color: var(--text);
}
.hq__packet {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  margin: -6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px 4px rgba(143, 240, 207, 0.7);
  opacity: 0;
  pointer-events: none;
}
.hq__out {
  grid-area: out;
  padding: 24px 22px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.hq__console {
  flex: 1;
  min-height: 220px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(236, 238, 255, 0.85);
}
.hq__console p {
  margin: 0 0 10px;
}
.hq__console p::before {
  content: "› ";
  color: var(--chip);
}
.hq__console p.ok {
  color: var(--mint);
}
.hq__console p.ok::before {
  content: "";
}
.ai__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.pillar {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.pillar__k {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.pillar h3 {
  margin: 10px 0 10px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 108;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pillar p:not(.pillar__k) {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.origin__head,
.origin__grid,
.toolkit__head,
.msg,
.badges {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.origin__head {
  max-width: var(--max);
}
.origin__head .display {
  max-width: 15ch;
}
.origin__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 64px;
}
.ocard {
  position: relative;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  transform-style: preserve-3d;
  transition: border-color 0.4s;
  will-change: transform;
}
.ocard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(231, 199, 127, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.ocard:hover {
  border-color: rgba(231, 199, 127, 0.35);
}
.ocard:hover::after {
  opacity: 1;
}
.ocard__meta {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chip);
}
.ocard h3 {
  margin: 12px 0 10px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 120;
  font-weight: 800;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.ocard > p:not(.ocard__meta) {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
}
.ocard {
  display: flex;
  flex-direction: column;
}

/* stats: big gradient numbers, each with a small picture of what it means */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(143, 240, 207, 0.06), rgba(7, 10, 31, 0.4) 55%);
}
.stat dt {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 108;
  font-weight: 800;
  font-size: clamp(38px, 3.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--mint-2), var(--mint) 45%, var(--chip));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(143, 240, 207, 0.22));
}
.stat dt > * {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}
.stat__was {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration-color: rgba(255, 107, 94, 0.8);
  text-decoration-thickness: 2px;
  opacity: 0.6;
}
.stat__arrow {
  font-size: 0.45em;
  font-weight: 500;
  opacity: 0.7;
}
.stat dd {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(236, 238, 255, 0.86);
}

/* the small pictures; they draw in when the cards arrive (.is-in on the grid) */
.viz {
  display: flex;
  height: 30px;
}
.viz--bars {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.viz--bars i {
  position: relative;
  height: 9px;
  width: calc(var(--v) * 100%);
  border-radius: 5px;
  background: rgba(231, 199, 127, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.viz--bars i:last-child {
  background: linear-gradient(90deg, var(--mint), var(--mint-2));
  box-shadow: 0 0 12px rgba(143, 240, 207, 0.45);
  transition-delay: 0.25s;
}
.viz--bars b {
  position: absolute;
  right: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
.viz--people {
  align-items: center;
  gap: 5px;
}
.viz--people i {
  width: 11px;
  height: 18px;
  border-radius: 6px 6px 3px 3px;
  background: rgba(150, 160, 255, 0.22);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.viz--people i.is-on {
  background: var(--mint);
  box-shadow: 0 0 12px rgba(143, 240, 207, 0.7);
}
.viz--days {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  max-width: 240px;
  gap: 3px;
  height: auto;
}
.viz--days i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(150, 160, 255, 0.16);
  opacity: 0;
  transition: opacity 0.4s;
}
.viz--days i.is-on {
  background: var(--mint);
  box-shadow: 0 0 8px rgba(143, 240, 207, 0.6);
}
.viz--plan {
  position: relative;
  align-items: center;
}
.viz--plan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  border-radius: 5px;
  background: rgba(150, 160, 255, 0.14);
}
.viz__fill {
  position: absolute;
  left: 0;
  width: 78%;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--mint), var(--mint-2));
  box-shadow: 0 0 12px rgba(143, 240, 207, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s var(--ease-out) 0.2s;
}
.viz__plan {
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 2px;
  border-left: 2px dashed rgba(231, 199, 127, 0.75);
}
.viz__plan b {
  position: absolute;
  right: 6px;
  top: -3px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chip);
}
.origin__grid.is-in .viz--bars i,
.origin__grid.is-in .viz__fill {
  transform: scaleX(1);
}
.origin__grid.is-in .viz--people i,
.origin__grid.is-in .viz--days i {
  opacity: 1;
  transform: none;
}
/* --k (set in main.js) staggers the people and the days */
.viz--people i {
  transition-delay: calc(var(--k, 0) * 60ms);
}
.viz--days i {
  transition-delay: calc(var(--k, 0) * 25ms);
}

/* also built: the payment layer */
.paylayer {
  margin-top: auto;
}
.paylayer__k {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}
.ocard .paylayer__d {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(236, 238, 255, 0.86);
}
.plflow {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto 40px auto;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
}
.plflow__src,
.plflow__pas em {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.plflow__wire {
  position: relative;
  height: 2px;
  margin: 0 6px;
  background: linear-gradient(90deg, rgba(150, 160, 255, 0.25), rgba(143, 240, 207, 0.6));
}
.plflow__wire b {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 10px var(--mint);
  animation: pl-packet 2s linear infinite;
}
@keyframes pl-packet {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.plflow__hub {
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid rgba(143, 240, 207, 0.55);
  background: rgba(143, 240, 207, 0.1);
  box-shadow: 0 0 22px -4px rgba(143, 240, 207, 0.5);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}
.plflow__fan {
  align-self: stretch;
  width: 40px;
  height: 100%; /* the paths end at 1/6, 1/2 and 5/6: the three chips' centres */
  overflow: visible;
}
.plflow__fan path {
  fill: none;
  stroke: rgba(150, 160, 255, 0.28);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  animation: pl-route 6s infinite;
}
.plflow__pas {
  display: grid;
  gap: 6px;
}
.plflow__pas em {
  font-style: normal;
  animation: pl-pa 6s infinite;
}
/* the layer routes each payment to one aggregator in turn */
.plflow__fan path:nth-child(2),
.plflow__pas em:nth-child(2) { animation-delay: 2s; }
.plflow__fan path:nth-child(3),
.plflow__pas em:nth-child(3) { animation-delay: 4s; }
@keyframes pl-route {
  0%, 33%, 100% { stroke: rgba(150, 160, 255, 0.28); }
  6%, 28% { stroke: var(--mint); }
}
@keyframes pl-pa {
  0%, 33%, 100% { border-color: var(--line-2); color: var(--muted); box-shadow: none; }
  6%, 28% { border-color: rgba(143, 240, 207, 0.6); color: var(--mint-2); box-shadow: 0 0 14px -3px rgba(143, 240, 207, 0.6); }
}

/* what I'd build next */
.bets {
  position: relative;
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(40px, 8vh, 100px);
  background: var(--ink);
}
.bets__head,
.bets__grid {
  max-width: var(--max);
  margin: 0 auto;
}
.bets__head .display {
  max-width: 18ch;
}
.bets__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.bet {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
}
.bet__k {
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}
.bet h3 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.bet > p:not(.bet__k):not(.bet__f) {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236, 238, 255, 0.82);
}
.bet__f {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: auto -26px 0;
  padding: 14px 26px 16px;
  border-top: 1px solid rgba(231, 199, 127, 0.22);
  background: linear-gradient(90deg, rgba(231, 199, 127, 0.1), rgba(231, 199, 127, 0.02) 70%);
  font-size: 13.5px;
  color: rgba(236, 238, 255, 0.85);
}
.bet__f b {
  flex: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--chip);
}

/* career */
.career__pin {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 90px 0 40px;
}
.career__head {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto 4vh;
}
.career__head .display {
  font-size: clamp(32px, min(4.2vw, 6.4vh), 64px);
}
.career__viewport {
  overflow: hidden;
}
.career__track {
  position: relative;
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0 var(--gutter);
  will-change: transform;
}
.career__line {
  position: absolute;
  left: 0;
  top: 58px;
  width: 100%;
  height: 4px;
  overflow: visible;
}
.career__line path {
  fill: none;
  stroke: url(#none);
  stroke: var(--chip);
  stroke-width: 2;
}
.stop {
  position: relative;
  flex: none;
  width: clamp(300px, 26vw, 380px);
  padding-right: 28px;
}
.stop--edu,
.stop--next {
  width: clamp(250px, 21vw, 300px);
}
.stop__y {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 40px; /* fixed: .career__line sits at top 58px, level with the dots */
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text);
  line-height: 1;
}
.stop--edu .stop__y {
  color: var(--muted);
}
.stop__dot {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin: 12px 0 22px;
  border-radius: 50%;
  border: 2px solid var(--chip);
  background: var(--ink);
  z-index: 1;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.stop.is-lit .stop__dot {
  background: var(--chip);
  box-shadow: 0 0 18px rgba(231, 199, 127, 0.8);
}
.stop--now .stop__dot {
  border-color: var(--mint);
}
.stop--now.is-lit .stop__dot {
  background: var(--mint);
  box-shadow: 0 0 22px var(--mint);
}
.stop--next .stop__y {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}
.stop--next .stop__dot {
  border-style: dashed;
  border-color: var(--muted);
}
/* each stop: a card with the dates, the role and what happened there */
.stop__card {
  padding: 20px 20px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.stop.is-lit .stop__card {
  border-color: rgba(231, 199, 127, 0.35);
}
.stop--now.is-lit .stop__card {
  border-color: rgba(143, 240, 207, 0.45);
  box-shadow: 0 0 40px -14px rgba(143, 240, 207, 0.45);
}
.stop--edu .stop__card {
  background: transparent;
  border-style: dashed;
}
.stop__when {
  margin: 0 0 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chip);
}
.stop--now .stop__when {
  color: var(--mint);
}
.stop h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}
.stop__co {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.stop__pts {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.stop__pts li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(236, 238, 255, 0.88);
}
.stop__pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chip);
}
.stop--now .stop__pts li::before {
  background: var(--mint);
}
.stop__cta {
  margin: 14px 0 0;
}
.stop__cta a {
  color: var(--mint);
}

/* toolkit */
.toolkit {
  padding: clamp(110px, 16vh, 180px) var(--gutter);
}
.toolkit__head .display {
  max-width: 14ch;
}
.msg {
  margin-top: 60px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0a0f2c, #070a1f);
  font-family: var(--f-mono);
  overflow: hidden;
}
.msg__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.msg__top b {
  color: var(--chip);
  font-weight: 500;
}
.msg__body {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.bitmap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  align-content: start;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.bit {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 9px;
  color: rgba(144, 150, 196, 0.35);
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.bit.is-set {
  color: var(--ink);
  background: rgba(231, 199, 127, 0.75);
}
.bit.is-hot {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(143, 240, 207, 0.8);
  transform: scale(1.18);
}
.fields {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.fields li {
  display: grid;
  grid-template-columns: 74px 170px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 12px 22px;
  font-size: 13.5px;
  border-left: 2px solid transparent;
  cursor: default;
  transition: background 0.3s, border-color 0.3s;
}
.fields li.is-hot {
  background: rgba(143, 240, 207, 0.06);
  border-left-color: var(--mint);
}
.de {
  color: var(--chip);
}
.fn {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fv {
  color: var(--text);
}
.fv--ok {
  color: var(--mint);
}
.badges {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.badges li {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.badges b {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 110;
  font-size: 17px;
  color: var(--chip-2);
}
.badges span {
  font-size: 13px;
  color: var(--muted);
}

/* contact + receipt */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: clamp(110px, 16vh, 180px) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  background:
    radial-gradient(60% 60% at 80% 50%, rgba(74, 79, 216, 0.25), transparent 70%),
    var(--ink);
}
.contact__title {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  font-size: clamp(48px, 6.6vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.contact__title .yes {
  text-transform: none;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.contact__toast {
  min-height: 22px;
  margin: 16px 0 0;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--mint);
}
.terminal {
  position: relative;
  width: min(380px, 100%);
  justify-self: center;
  padding: 26px 26px 22px;
  border-radius: 34px 34px 26px 26px;
  background: linear-gradient(170deg, #1d2358, #0b0f2e 60%);
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.terminal__slot {
  height: 10px;
  border-radius: 6px;
  background: #02030b;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9);
}
.receipt-mask {
  overflow: hidden;
  margin: -4px 10px 0;
  padding-bottom: 14px;
}
.receipt {
  position: relative;
  padding: 26px 22px 30px;
  background: var(--paper);
  color: #1f1f2a;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow: 0 20px 30px -18px rgba(0, 0, 0, 0.7);
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100% repeat-x;
  mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100% repeat-x;
}
.receipt p {
  margin: 0;
}
.r-c {
  text-align: center;
}
.r-b {
  font-weight: 600;
}
.r-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.r-hr {
  height: 0;
  margin: 10px 0 !important;
  border-top: 1.5px dashed rgba(31, 31, 42, 0.4);
}
.r-big {
  margin: 6px 0 !important;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.r-bars {
  height: 42px;
  margin: 14px 10px 8px;
  background: repeating-linear-gradient(90deg, #1f1f2a 0 2px, transparent 2px 4px, #1f1f2a 4px 5px, transparent 5px 8px, #1f1f2a 8px 11px, transparent 11px 12px);
}
.r-thanks {
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.stamp {
  position: absolute;
  right: 22px;
  bottom: 30px;
  padding: 6px 12px;
  border: 3px solid #0d8f63;
  border-radius: 8px;
  color: #0d8f63;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 120;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-14deg);
  opacity: 0;
  mix-blend-mode: multiply;
}
.terminal__dl {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--chip);
}
.terminal__dl:hover {
  color: var(--chip-2);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.footer p {
  margin: 0;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer a:hover {
  color: var(--mint);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hud {
    display: none;
  }
  .station--right .station__card {
    margin-right: 0;
  }
  .badges {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .bets__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .station__why {
    margin: 16px -22px -26px;
    padding: 14px 22px 16px;
    gap: 14px;
  }
  .station__why-n {
    min-width: 0;
    font-size: 22px;
  }
}
@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .hero {
    align-items: flex-end;
    padding-bottom: 76px;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 30%, rgba(7, 10, 31, 0.78) 52%, rgba(7, 10, 31, 0.92) 100%);
    pointer-events: none;
  }
  .hero__copy {
    position: relative;
  }
  .hero__title {
    font-size: clamp(35px, 10.4vw, 58px);
  }
  .hero__title .yes {
    display: block;
    line-height: 0.95;
  }
  .hero__sub {
    max-width: 34ch;
    margin-top: 20px;
    font-size: 15.5px;
  }
  .hero__cta {
    margin-top: 24px;
    flex-wrap: nowrap;
  }
  .hero__cta .btn--lg {
    padding: 14px 18px;
    font-size: 15px;
  }
  .hero__role {
    align-items: flex-start;
    margin-top: 16px;
    padding: 9px 14px 9px 12px;
    border-radius: 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
  .hero__role .dot {
    margin-top: 5px;
  }
  .hero__role-sep {
    display: none;
  }
  .hero__role .nw {
    display: block;
  }
  .hero__hint {
    display: none;
  }
  .station {
    padding: 20vh 16px;
    min-height: 140vh;
  }
  .station__card {
    position: relative;
    top: 0;
    padding: 26px 22px;
  }
  .wins__n {
    justify-self: start;
    text-align: left;
  }
  .wins {
    grid-template-columns: 1fr;
  }
  .wins li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .approve {
    position: absolute;
    top: 4vh;
    left: 16px;
  }
  .stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .origin__grid,
  .contact,
  .msg__body,
  .hq,
  .ai__pillars {
    grid-template-columns: 1fr;
  }
  .hq__requests,
  .hq__out {
    border: 0;
  }
  .hq__net {
    border-block: 1px solid var(--line);
  }
  .hq {
    grid-template-areas: "req" "net" "out";
  }
  .hq__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -22px;
    padding: 0 22px;
  }
  .hq__chips button {
    flex: none;
  }
  .hq__net {
    min-height: 500px;
  }
  .hq__hub {
    width: 92px;
    height: 92px;
  }
  .hq__hub b {
    font-size: 12px;
  }
  .hq__agent {
    padding: 8px 10px;
  }
  .hq__agent span {
    font-size: 12.5px;
  }
  .hq__console {
    min-height: 150px;
  }
  .bitmap {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(16, 1fr);
    gap: 4px;
    padding: 18px;
  }
  .bit {
    font-size: 0;
  }
  .fields li {
    grid-template-columns: 64px 1fr;
    gap: 4px 12px;
  }
  .fields .fv {
    grid-column: 2;
  }
  .career__pin {
    height: auto;
    padding: 100px 0;
  }
  .career__track {
    flex-direction: column;
    width: auto;
    gap: 30px;
  }
  .career__line {
    display: none;
  }
  .stop,
  .stop--edu,
  .stop--next {
    width: auto;
    padding: 0 0 0 30px;
    border-left: 2px solid rgba(231, 199, 127, 0.3);
  }
  .stop__dot {
    position: absolute;
    left: -9px;
    top: 10px;
    margin: 0;
  }
  .stop__y {
    font-size: 30px;
    margin-bottom: 8px;
  }
  .prologue__text {
    top: 18vh;
  }
}
@media (max-width: 560px) {
  .badges {
    grid-template-columns: 1fr;
  }
  .nav .btn--chip span {
    display: none;
  }
}

/* short screens: let the station cards scroll instead of sticking, so they're never cut off */
@media (min-width: 861px) and (max-height: 820px) {
  .station__card {
    position: relative;
    top: 0;
  }
}

/* settle: one column on tablets and phones */
@media (max-width: 1100px) {
  .station--settle .station__card {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
    gap: 24px;
  }
}

/* two doors: short laptop screens shrink the devices to fit their stage */
@media (min-width: 861px) and (max-height: 780px) {
  .doors__pin {
    padding-top: 84px;
    padding-bottom: 8px;
  }
  .doors__head {
    margin-bottom: 14px;
  }
  .door__stage {
    height: 18vh;
  }
  .merge {
    height: 16px;
  }
  .browser {
    transform: perspective(1100px) rotateY(8deg) rotateX(5deg) scale(0.66);
  }
  .pos {
    transform: perspective(900px) rotateX(8deg) rotateY(-12deg) translateX(-18%) translateY(-52px) scale(0.6);
  }
}
/* laptops up to 920px tall: a compact checkout (no method tabs, one cart line) so it fits its stage */
@media (min-width: 861px) and (max-height: 920px) {
  .co__tabs,
  .co__line + .co__line {
    display: none;
  }
  .co__card {
    margin-top: 8px;
  }
}

/* mid-height laptops (781–920px): a lighter trim so the closing lines stay on screen */
@media (min-width: 861px) and (min-height: 781px) and (max-height: 920px) {
  .doors__pin {
    padding-top: 88px;
    padding-bottom: 8px;
  }
  .doors__head {
    margin-bottom: 18px;
  }
  .door__stage {
    height: 21vh;
  }
  .merge {
    height: 22px;
  }
  .browser {
    transform: perspective(1100px) rotateY(8deg) rotateX(5deg) scale(0.8);
  }
  .pos {
    transform: perspective(900px) rotateX(8deg) rotateY(-12deg) translateX(-18%) translateY(-26px) scale(0.74);
  }
}
@media (min-width: 861px) and (max-height: 740px) {
  .doors__out {
    gap: 6px 12px;
  }
  .doors__out p:not(.doors__note) > span {
    padding: 6px 14px;
    font-size: 14.5px;
  }
}

/* two doors: shorter screens drop the pin; phones stack the doors */
@media (max-width: 860px) {
  .doors__pin {
    min-height: 0;
    padding: 14vh 16px 8vh;
  }
  .doors__grid {
    grid-template-columns: 1fr;
  }
  .door {
    padding: 18px 16px 18px;
  }
  .door__title small {
    font-size: 10px;
  }
  .door__stage {
    height: 290px;
  }
  .merge {
    display: none;
  }
  .doors__out {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(7, 10, 31, 0.78);
    backdrop-filter: blur(10px);
  }
}

/* ---------- phones: everything inside 100% width, readable sizes ---------- */
@media (max-width: 860px) {
  /* "Before the rails": the cards could not shrink below their diagram, which widened the whole page */
  .origin__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ocard {
    min-width: 0;
    padding: 24px 20px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stat {
    min-width: 0;
    padding: 14px 14px 12px;
  }
  .stat dt {
    font-size: 36px;
  }
  /* the before → after figure needs the full row */
  .stat:has(.stat__was) {
    grid-column: 1 / -1;
  }
  .stat dd {
    font-size: 13.5px;
  }
  /* the payment-layer diagram stacks top to bottom */
  .plflow {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }
  .plflow__wire {
    width: 2px;
    height: 26px;
    margin: 4px 0;
    background: linear-gradient(rgba(150, 160, 255, 0.25), rgba(143, 240, 207, 0.6));
  }
  .plflow__wire b {
    left: 50%;
    animation-name: pl-packet-down;
  }
  .plflow__fan {
    display: none;
  }
  .plflow__pas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
  }
  /* the prologue sits on a dark band so the portrait behind it doesn't fight the words */
  .prologue {
    background: linear-gradient(transparent, rgba(7, 10, 31, 0.85) 14%, rgba(7, 10, 31, 0.85) 86%, transparent);
  }
  /* journey card headers wrap whole chips instead of breaking them */
  .station__k {
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 11.5px;
  }
  .station__k .ch,
  .station__k b {
    white-space: nowrap;
  }
  .station--approve {
    overflow-x: clip;
  }
  /* nothing readable below ~10.5px on a phone */
  .ch,
  .door__title small,
  .station__why b,
  .wins__at {
    font-size: 10.5px;
  }
  /* the AI request chips scroll sideways: fade the edge so the swipe is obvious */
  .hq__chips {
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
}
@keyframes pl-packet-down {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (max-width: 380px) {
  /* the role badge's lines may break on the smallest phones */
  .hero__role {
    font-size: 10px;
    letter-spacing: 0.05em;
  }
  .hero__role .nw {
    white-space: normal;
  }
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .door__ms {
    font-size: 12px;
    padding: 5px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
