/* The coming-soon page (/soon): its own sheet, on the public site's tokens (ADR-0041). */

@font-face {
  font-family: "Instrument Sans";
  src: url("/vendor/fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/vendor/fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/vendor/fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/vendor/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/vendor/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/vendor/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink-0: #04060b;
  --ink-1: #070a12;
  --ink-2: #0a0f1c;
  --ink-3: #0f1628;
  --line: rgba(148, 170, 230, 0.09);
  --line-2: rgba(148, 170, 230, 0.16);
  --line-3: rgba(148, 170, 230, 0.26);
  --text: #eaeef7;
  --text-2: #a9b2c6;
  --text-3: #6d7891;
  --text-4: #4a546b;
  --blue: #1f5fd1;
  --blue-2: #3d7bf0;
  --blue-3: #7aa7ff;
  --photon: #d6e4ff;
  --amber: #ffb547;
  --red: #ff7070;
  --green: #4ade9d;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4.2vw, 80px);
  --wrap: 1680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--ink-0);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection {
  background: rgba(61, 123, 240, 0.45);
  color: #fff;
}
a {
  color: inherit;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
:focus-visible {
  outline: 2px solid var(--blue-3);
  outline-offset: 3px;
  border-radius: 8px;
}
.cs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cs-wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Film grain over everything, very low. */
.cs-grain {
  /* A fixed frame that clips the moving noise, so it never widens the page. */
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  pointer-events: none;
}
.cs-grain::before {
  content: "";
  position: absolute;
  inset: -50%;
  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='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: cs-grain 1.2s steps(6) infinite;
}
@keyframes cs-grain {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-3%, 2%);
  }
  40% {
    transform: translate(2%, -4%);
  }
  60% {
    transform: translate(-4%, -1%);
  }
  80% {
    transform: translate(3%, 3%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ---------- lines that rise out of masks ---------- */
.cs-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.cs-line-in {
  display: block;
}
.cs-dim {
  color: var(--text-4);
}

/* ---------- buttons ---------- */
.cs-btn {
  --gx: 50%;
  --gy: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 24px;
  border-radius: 999px;
  border: 0;
  font: 500 15px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  isolation: isolate;
  transition:
    box-shadow 0.4s var(--ease),
    background-color 0.3s,
    color 0.3s;
}
.cs-btn .s-arrow {
  transition: transform 0.45s var(--ease);
}
.cs-btn:hover .s-arrow {
  transform: translateX(4px);
}
.cs-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3d7bf0, #1f5fd1 60%, #1a4fb3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(61, 123, 240, 0.6),
    0 14px 40px -12px rgba(31, 95, 209, 0.95);
}
.cs-btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(122, 167, 255, 0.8),
    0 18px 60px -10px rgba(61, 123, 240, 1);
}
.cs-btn-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.cs-btn-primary:hover .cs-btn-light {
  opacity: 1;
}
.cs-btn-ghost {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.cs-btn-ghost:hover {
  background: rgba(61, 123, 240, 0.14);
  box-shadow: inset 0 0 0 1px rgba(122, 167, 255, 0.5);
}

/* ---------- top bar ---------- */
.cs-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  padding: 0 var(--gutter);
  transition:
    transform 0.6s var(--ease),
    background-color 0.4s,
    box-shadow 0.4s,
    backdrop-filter 0.4s;
}
.cs-top.is-scrolled {
  background: rgba(4, 6, 11, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.cs-top.is-hidden {
  transform: translateY(-100%);
}
.cs-top-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.cs-top-mark .s-mark {
  filter: drop-shadow(0 6px 18px rgba(31, 95, 209, 0.6));
  transition: transform 0.6s var(--ease);
}
.cs-top-mark:hover .s-mark {
  transform: rotate(-8deg) scale(1.06);
}
.cs-top-code {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.cs-top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cs-status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.cs-status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: cs-ping 2.2s var(--ease) infinite;
}
@keyframes cs-ping {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
.cs-status-clock {
  color: var(--text-4);
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- hero ---------- */
.cs-hero {
  position: relative;
  min-height: max(700px, 100svh);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}
.cs-hero.is-live {
  cursor: crosshair;
}
.cs-hero.is-grab {
  cursor: grab;
}
.cs-hero.is-grab:active {
  cursor: grabbing;
}
.cs-field,
.cs-field-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.cs-field {
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.cs-hero.is-live .cs-field {
  opacity: 1;
}
.cs-hero.is-live .cs-field-still {
  display: none;
}
.cs-hero::before {
  /* A blueprint grid under the field, fading toward the edges. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(148, 170, 230, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 170, 230, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 85%);
}
.cs-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 18% 100%, rgba(4, 6, 11, 0.92) 30%, transparent 75%),
    linear-gradient(to top, var(--ink-0) 0%, rgba(4, 6, 11, 0) 34%);
}
.cs-hero-copy {
  position: absolute;
  inset: auto var(--gutter) clamp(56px, 8vh, 110px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 36px);
  pointer-events: none;
}
.cs-hero-copy a,
.cs-hero-copy button {
  pointer-events: auto;
}
.cs-eyebrow,
.cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-3);
}
.cs-eyebrow-dot {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-3));
}
.cs-title {
  margin: 0;
  font: 500 clamp(50px, 7.4vw, 156px) / 0.9 var(--sans);
  letter-spacing: -0.052em;
  color: var(--text);
}
.cs-straight {
  position: relative;
  display: inline-block;
  padding-right: 0.08em;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #9cc0ff 0%, #f2f6ff 38%, #7aa7ff 68%, #3d7bf0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cs-sheen 7s ease-in-out infinite;
}
.cs-straight::after {
  /* The word "straight" is underlined by a curve. */
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.1em;
  bottom: -0.06em;
  height: 0.22em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><path d='M2 16 C 60 -6, 140 -6, 198 16' fill='none' stroke='%23ffb547' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>")
    no-repeat center / 100% 100%;
  filter: drop-shadow(0 0 8px rgba(255, 181, 71, 0.7));
}
@keyframes cs-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.cs-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px clamp(32px, 5vw, 96px);
}
.cs-lede {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  pointer-events: auto;
}
.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.cs-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 30ch;
  font: 400 12px/1.45 var(--mono);
  color: var(--text-3);
}
.cs-hint-key {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--blue-3);
  background: rgba(61, 123, 240, 0.1);
  box-shadow: inset 0 0 0 1px rgba(122, 167, 255, 0.25);
}
.cs-hint-touch {
  display: none;
}
@media (hover: none) {
  .cs-hint-fine {
    display: none;
  }
  .cs-hint-touch {
    display: inline;
  }
}

/* The readout: one number, what bending saved. */
.cs-hud {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 8vh, 110px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  pointer-events: none;
  visibility: hidden;
}
.cs-hero.is-live .cs-hud {
  visibility: visible;
}
.cs-hud-gain {
  font: 500 30px/1 var(--sans);
  letter-spacing: -0.04em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.cs-hud-gain::after {
  content: "%";
  margin-left: 1px;
  font-size: 0.6em;
  color: rgba(255, 181, 71, 0.7);
}
.cs-hud-k {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
}
.cs-hud-times {
  color: var(--text-3);
  letter-spacing: 0.02em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}
.cs-hud-times s {
  text-decoration-color: rgba(169, 178, 198, 0.4);
}
.cs-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  display: block;
  padding: 6px;
}
.cs-scroll-track {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--line-3), transparent);
  overflow: hidden;
}
.cs-scroll-dot {
  display: block;
  width: 1px;
  height: 12px;
  background: var(--photon);
  animation: cs-drip 2.2s var(--ease) infinite;
}
@keyframes cs-drip {
  from {
    transform: translateY(-14px);
  }
  to {
    transform: translateY(36px);
  }
}

/* ---------- marquee ---------- */
.cs-marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.cs-marquee-track {
  display: flex;
  width: max-content;
  animation: cs-marquee 46s linear infinite;
}
.cs-marquee:hover .cs-marquee-track {
  animation-play-state: paused;
}
@keyframes cs-marquee {
  to {
    transform: translateX(-50%);
  }
}
.cs-marquee-run {
  display: flex;
  align-items: center;
}
.cs-marquee-word {
  padding: 0 34px;
  font: italic 400 clamp(30px, 3.4vw, 60px) / 1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--text-3);
  transition: color 0.4s;
}
.cs-marquee-word:hover {
  color: var(--photon);
}
.cs-marquee-sep {
  color: var(--amber);
  opacity: 0.7;
}

/* ---------- section heads ---------- */
.cs-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: clamp(56px, 7vw, 120px);
}
.cs-kicker-n {
  display: inline-grid;
  place-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  color: var(--ink-0);
  background: var(--blue-3);
  letter-spacing: 0.04em;
}
.cs-h2 {
  margin: 0;
  font: 500 clamp(40px, 5.2vw, 104px) / 0.94 var(--sans);
  letter-spacing: -0.048em;
}
.cs-h2 em {
  color: var(--amber);
  padding-right: 0.06em;
}
.cs-p {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(16px, 1.1vw, 19px);
  color: var(--text-2);
}

/* ---------- signals and the prism ---------- */
.cs-signals {
  position: relative;
  padding-block: clamp(110px, 12vw, 220px);
}
.cs-prism-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
}
.cs-prism {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cs-prism-in {
  fill: none;
  stroke-width: 2.4;
}
.cs-prism-in-glow {
  fill: none;
  stroke-width: 10;
  opacity: 0.5;
}
.cs-prism-inner {
  fill: none;
  stroke: rgba(214, 228, 255, 0.35);
  stroke-width: 1;
}
.cs-prism-edge {
  fill: none;
  stroke: rgba(214, 228, 255, 0.55);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.cs-ray {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.cs-ray-1 {
  stroke: var(--photon);
  filter: drop-shadow(0 0 6px rgba(214, 228, 255, 0.9));
}
.cs-ray-2 {
  stroke: var(--blue-3);
  filter: drop-shadow(0 0 6px rgba(122, 167, 255, 0.9));
}
.cs-ray-3 {
  stroke: var(--blue-2);
  filter: drop-shadow(0 0 6px rgba(61, 123, 240, 0.9));
}
.cs-ray-4 {
  stroke: var(--amber);
  filter: drop-shadow(0 0 6px rgba(255, 181, 71, 0.9));
}

.cs-signal-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cs-signal {
  --c: var(--photon);
  --sx: 50%;
  --sy: 50%;
  position: relative;
  display: grid;
  grid-template-columns: clamp(140px, 13vw, 220px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 2.4vw, 44px);
  padding: clamp(18px, 1.6vw, 28px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 22, 40, 0.6), rgba(7, 10, 18, 0.5));
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    box-shadow 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.cs-signal-2 {
  --c: var(--blue-3);
}
.cs-signal-3 {
  --c: var(--blue-2);
}
.cs-signal-4 {
  --c: var(--amber);
}
.cs-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--sx) var(--sy),
    color-mix(in srgb, var(--c) 10%, transparent),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.cs-signal:hover::before {
  opacity: 1;
}
.cs-signal::after {
  /* Where the ray lands: a bead of its colour on the card's left edge. */
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 3px;
  height: 36%;
  translate: 0 -50%;
  border-radius: 3px;
  background: var(--c);
  box-shadow: 0 0 18px var(--c);
  opacity: 0.25;
  transition:
    opacity 0.6s,
    height 0.6s var(--ease);
}
.cs-signal.is-lit,
.cs-signal:hover {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px -40px color-mix(in srgb, var(--c) 60%, transparent);
}
.cs-signal.is-lit::after,
.cs-signal:hover::after {
  opacity: 1;
  height: 56%;
}
.cs-signal-art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 9%, transparent), transparent 70%), var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cs-art {
  width: 86%;
  height: auto;
  overflow: visible;
}
.cs-signal-code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--text-3);
}
.cs-signal-stat {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent);
  letter-spacing: 0.04em;
}
.cs-signal-title {
  margin: 0 0 10px;
  font: 500 clamp(21px, 1.7vw, 32px) / 1.12 var(--sans);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cs-signal-body {
  max-width: 54ch;
  margin: 0;
  font-size: clamp(14.5px, 0.95vw, 16.5px);
  color: var(--text-2);
}

/* The four small illustrations, alive only while their card is on screen. */
.cs-art-grid .d {
  fill: var(--blue-3);
  opacity: 0.12;
}
.cs-signal.is-on .cs-art-grid .d {
  animation: cs-cell 2.4s ease-in-out infinite;
}
.cs-art-grid .d1 {
  animation-delay: 0.15s !important;
}
.cs-art-grid .d2 {
  animation-delay: 0.3s !important;
}
.cs-art-grid .d3 {
  animation-delay: 0.45s !important;
}
.cs-art-grid .d4 {
  animation-delay: 0.6s !important;
}
.cs-art-grid .d5 {
  animation-delay: 0.75s !important;
}
.cs-art-grid .d6 {
  animation-delay: 0.9s !important;
}
.cs-art-grid .d7 {
  animation-delay: 1.05s !important;
}
@keyframes cs-cell {
  0%,
  100% {
    opacity: 0.12;
    fill: var(--blue-3);
  }
  40% {
    opacity: 0.95;
    fill: var(--photon);
  }
}
.cs-art-race .track {
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  fill: none;
}
.cs-art-race .lane {
  fill: none;
  stroke: var(--text-4);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
}
.cs-art-race .win {
  stroke: var(--blue-3);
  filter: drop-shadow(0 0 4px var(--blue-2));
}
.cs-art-race .head {
  fill: var(--text-3);
  opacity: 0;
}
.cs-art-race .h2 {
  fill: var(--photon);
}
.cs-art-race .flag {
  stroke: var(--blue-3);
  stroke-dasharray: 2 3;
  opacity: 0.6;
}
.cs-signal.is-on .cs-art-race .lane {
  animation: cs-run 3.2s var(--ease) infinite;
}
.cs-signal.is-on .cs-art-race .l1 {
  animation-duration: 3.2s;
}
.cs-signal.is-on .cs-art-race .head {
  animation: cs-head 3.2s var(--ease) infinite;
}
@keyframes cs-run {
  0% {
    stroke-dashoffset: 150;
  }
  55%,
  85% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes cs-head {
  0%,
  50% {
    opacity: 0;
  }
  58%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.cs-art-pulse .ring {
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.cs-signal.is-on .cs-art-pulse .ring {
  animation: cs-ring 2.4s var(--ease) infinite;
}
.cs-art-pulse .r2 {
  animation-delay: 0.8s !important;
}
.cs-art-pulse .r3 {
  animation-delay: 1.6s !important;
}
@keyframes cs-ring {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(5.6);
    opacity: 0;
  }
}
.cs-art-pulse .core {
  fill: var(--photon);
  filter: drop-shadow(0 0 6px var(--blue-2));
}
.cs-art-pulse .sat {
  fill: var(--text-3);
}
.cs-art-pulse .s2 {
  fill: var(--amber);
  filter: drop-shadow(0 0 4px var(--amber));
}
.cs-art-pulse .link {
  stroke: var(--amber);
  stroke-width: 1.4;
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
}
.cs-signal.is-on .cs-art-pulse .link {
  animation: cs-link 2.4s var(--ease) infinite;
}
@keyframes cs-link {
  0%,
  15% {
    stroke-dashoffset: 52;
  }
  35%,
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.cs-art-learn .trace {
  fill: none;
  stroke: var(--text-4);
  stroke-width: 1;
  opacity: 0.6;
  stroke-dasharray: 3 4;
}
.cs-signal.is-on .cs-art-learn .trace {
  animation: cs-march 1.6s linear infinite;
}
@keyframes cs-march {
  to {
    stroke-dashoffset: -14;
  }
}
.cs-art-learn .mean {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 170;
  stroke-dashoffset: 170;
  filter: drop-shadow(0 0 5px rgba(255, 181, 71, 0.8));
}
.cs-signal.is-on .cs-art-learn .mean {
  animation: cs-mean 4s var(--ease) infinite;
}
@keyframes cs-mean {
  0% {
    stroke-dashoffset: 170;
  }
  60%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

/* ---------- beacons ---------- */
.cs-beacons {
  position: relative;
  /* The globe's turning ring would otherwise widen the page on phones. */
  overflow-x: clip;
  padding-block: clamp(80px, 9vw, 180px);
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 60% at 72% 50%, rgba(31, 95, 209, 0.12), transparent 70%);
}
.cs-beacons-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 120px);
}
.cs-beacons-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cs-coords {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.cs-coord {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding: 18px 20px;
  border: 0;
  border-radius: 18px;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    background-color 0.4s,
    box-shadow 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.cs-coord:hover {
  transform: translateX(6px);
}
.cs-coord[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(31, 95, 209, 0.16), rgba(31, 95, 209, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(122, 167, 255, 0.35),
    0 20px 50px -30px rgba(31, 95, 209, 0.9);
}
.cs-coord-i {
  font: 500 12px/1 var(--mono);
  color: var(--text-4);
}
.cs-coord[aria-pressed="true"] .cs-coord-i {
  color: var(--blue-3);
}
.cs-coord-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-coord-label {
  font: 500 clamp(15px, 1.05vw, 18px) / 1 var(--mono);
  letter-spacing: 0.02em;
  white-space: pre;
  color: var(--text);
}
.cs-coord-note {
  font-size: 14px;
  color: var(--text-3);
}
.cs-coord-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-4);
  transition:
    background-color 0.4s,
    box-shadow 0.4s;
}
.cs-coord[aria-pressed="true"] .cs-coord-pip {
  background: var(--amber);
  box-shadow:
    0 0 0 4px rgba(255, 181, 71, 0.15),
    0 0 16px var(--amber);
}
.cs-globe-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 900px;
  justify-self: center;
}
.cs-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.cs-globe.is-dragging {
  cursor: grabbing;
}
.cs-globe-stage.is-webgl .cs-globe {
  opacity: 1;
}
.cs-globe-still {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
}
.cs-globe-stage.is-webgl .cs-globe-still {
  display: none;
}
.cs-globe-ring {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 1px dashed rgba(122, 167, 255, 0.14);
  pointer-events: none;
  animation: cs-spin 90s linear infinite;
}
.cs-globe-ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-3);
  box-shadow: 0 0 14px var(--blue-2);
}
@keyframes cs-spin {
  to {
    transform: rotate(360deg);
  }
}
.cs-globe-hint {
  position: absolute;
  right: 6%;
  bottom: 6%;
  margin: 0;
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
}

/* ---------- join ---------- */
.cs-join {
  position: relative;
  display: grid;
  place-items: center;
  min-height: max(720px, 92svh);
  padding: clamp(100px, 10vw, 180px) var(--gutter);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cs-join-orbit {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cs-join-orbit svg {
  width: 100%;
  height: 100%;
}
.cs-join-arcs path {
  stroke: rgba(122, 167, 255, 0.16);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  animation: cs-march 2.4s linear infinite;
}
.cs-join-photon {
  filter: drop-shadow(0 0 8px var(--amber));
}
.cs-join-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(100%, 1100px);
  text-align: center;
}
.cs-kicker-center {
  justify-content: center;
}
.cs-join-title {
  margin: 0;
  font: 500 clamp(64px, 10.5vw, 220px) / 0.88 var(--sans);
  letter-spacing: -0.06em;
}
.cs-join-title em {
  background: linear-gradient(100deg, #ffd59a, var(--amber) 45%, #ff9a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.cs-join-p {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--text-2);
}
.cs-form {
  position: relative;
  width: min(100%, 620px);
  margin-top: 14px;
}
.cs-form-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ink-1), var(--ink-1)) padding-box,
    linear-gradient(120deg, rgba(122, 167, 255, 0.6), rgba(148, 170, 230, 0.12) 40%, rgba(255, 181, 71, 0.5)) border-box;
  box-shadow: 0 30px 80px -30px rgba(31, 95, 209, 0.8);
  transition:
    box-shadow 0.5s var(--ease),
    opacity 0.5s,
    transform 0.6s var(--ease);
}
.cs-form-shell:focus-within {
  box-shadow:
    0 0 0 4px rgba(61, 123, 240, 0.18),
    0 30px 90px -24px rgba(31, 95, 209, 1);
}
.cs-form.is-error .cs-form-shell {
  background:
    linear-gradient(var(--ink-1), var(--ink-1)) padding-box,
    linear-gradient(120deg, rgba(255, 112, 112, 0.8), rgba(255, 112, 112, 0.2)) border-box;
}
.cs-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 10px 0 22px;
  border: 0;
  outline: 0;
  font: 400 17px/1 var(--sans);
  color: var(--text);
  background: transparent;
}
.cs-input::placeholder {
  color: var(--text-4);
}
.cs-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cs-submit-spin {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: cs-spin 0.7s linear infinite;
}
.cs-form.is-busy .cs-submit-spin {
  display: block;
}
.cs-form.is-busy .s-arrow {
  display: none;
}
.cs-form-done {
  position: absolute;
  inset: 0 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font: 500 17px/1 var(--sans);
  color: var(--photon);
  background: linear-gradient(90deg, rgba(31, 95, 209, 0.22), rgba(255, 181, 71, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(122, 167, 255, 0.4),
    0 30px 80px -30px rgba(31, 95, 209, 0.9);
  visibility: hidden;
  opacity: 0;
}
.cs-form-done svg {
  color: var(--amber);
}
.cs-form.is-done .cs-form-shell {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}
.cs-form.is-done .cs-form-done {
  visibility: visible;
  opacity: 1;
}
.cs-form-msg {
  margin: 16px 0 0;
  font: 400 12px/1.4 var(--mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.cs-form.is-error .cs-form-msg {
  color: var(--red);
}

/* ---------- footer ---------- */
.cs-foot {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  font: 400 12px/1 var(--mono);
  color: var(--text-4);
}
.cs-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cs-foot-left,
.cs-foot-mid,
.cs-foot-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cs-foot a {
  color: var(--text-3);
  text-decoration: none;
}
.cs-foot a:hover {
  color: var(--text);
}
.cs-sig {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.cs-sig i {
  width: 3px;
  border-radius: 1px;
  background: var(--blue-3);
  animation: cs-sig 1.8s ease-in-out infinite;
}
.cs-sig i:nth-child(1) {
  height: 30%;
}
.cs-sig i:nth-child(2) {
  height: 55%;
  animation-delay: 0.15s;
}
.cs-sig i:nth-child(3) {
  height: 80%;
  animation-delay: 0.3s;
}
.cs-sig i:nth-child(4) {
  height: 100%;
  animation-delay: 0.45s;
  opacity: 0.35;
}
@keyframes cs-sig {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.cs-motion {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 12px 0 6px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.cs-motion-knob {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.3s;
}
.cs-motion-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-3);
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s;
}
.cs-motion[aria-pressed="true"] .cs-motion-knob {
  background: var(--blue);
}
.cs-motion[aria-pressed="true"] .cs-motion-knob::after {
  transform: translateX(12px);
  background: #fff;
}

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .cs-prism-stage {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  }
  .cs-signal {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .cs-status-text,
  .cs-status-clock {
    display: none;
  }
  .cs-status {
    padding: 0 13px;
  }
  .cs-prism-stage {
    display: block;
  }
  .cs-prism {
    display: none;
  }
  .cs-signal-list {
    position: relative;
    grid-template-rows: none;
    padding-left: 22px;
  }
  .cs-signal-list::before {
    /* The beam runs down beside the signals instead of fanning out. */
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--photon), var(--blue-3), var(--blue-2), var(--amber));
    box-shadow: 0 0 12px rgba(61, 123, 240, 0.8);
  }
  .cs-beacons-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-globe-stage {
    max-width: 560px;
  }
  .cs-hud {
    display: none;
  }
}
@media (max-width: 560px) {
  .cs-top {
    height: 64px;
  }
  .cs-top-code {
    display: none;
  }
  .cs-hero-copy {
    bottom: 48px;
  }
  .cs-signal {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-signal-art {
    max-width: 220px;
  }
  .cs-form-shell {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 8px;
  }
  .cs-input {
    padding: 0 14px;
    text-align: center;
  }
  .cs-submit {
    justify-content: center;
  }
  .cs-form-done {
    height: auto;
    min-height: 68px;
    padding: 14px 18px;
    border-radius: 22px;
    font-size: 15px;
  }
  .cs-coord-label {
    white-space: normal;
  }
  .cs-foot-mid {
    display: none;
  }
  .cs-scroll {
    display: none;
  }
}

/* ---------- stillness ---------- */
html.is-still *,
html.is-still *::before,
html.is-still *::after {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- the second hero (/soon/v2): a sheet of light ---------- */
.cs-hero-light {
  display: flex;
  align-items: center;
}
.cs-light,
.cs-light-still {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.cs-light {
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.cs-hero-light.is-live .cs-light {
  opacity: 1;
}
.cs-hero-light.is-live {
  cursor: default;
}
.cs-hero-light.is-picking {
  cursor: pointer;
}
.cs-hero-light.is-live .cs-light-still {
  display: none;
}
.cs-light-veil {
  /* Keeps the headline readable where the light is thin and dim anyway. */
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 60% at 18% 52%, rgba(4, 6, 11, 0.7), transparent 72%),
    linear-gradient(to top, var(--ink-0), rgba(4, 6, 11, 0) 22%);
}
.cs-light-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(22px, 2.2vw, 34px);
  width: min(100%, 1560px);
  padding: 120px var(--gutter) 96px;
  pointer-events: none;
}
.cs-light-copy a,
.cs-light-copy button,
.cs-light-copy p {
  pointer-events: auto;
}
.cs-light-title {
  font-size: clamp(54px, 7.2vw, 152px);
  text-shadow: 0 2px 40px rgba(4, 6, 11, 0.8);
}
.cs-hero-light .cs-lede {
  max-width: 44ch;
}
@media (max-width: 760px) {
  .cs-hero-light {
    align-items: flex-end;
  }
  .cs-light-veil {
    background: linear-gradient(to top, var(--ink-0) 8%, rgba(4, 6, 11, 0.82) 48%, rgba(4, 6, 11, 0) 68%);
  }
  .cs-light-copy {
    padding-bottom: 56px;
  }
}
