@font-face {
  font-family: "Geist";
  src: url("fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-black-italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #020916;
  --night-2: #03121e;
  --ink: #ffffff;
  --ink-2: #d4e4f1;
  --ink-3: #9fb7c9;
  --cyan: #35d8fa;
  --cyan-2: #74dfff;
  --line: #24546b;
  --glow: #001b44;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --fs-h1: clamp(2.4rem, 0.8rem + 3.5vw, 4.4rem);
  --fs-h2: clamp(2.5rem, 1rem + 5vw, 6.2rem);
  --fs-kicker: clamp(0.82rem, 0.7rem + 0.5vw, 1.18rem);
  --fs-lead: clamp(1.12rem, 0.98rem + 0.6vw, 1.5rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.14rem);
  --fs-small: 0.9rem;

  --wrap: 1240px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 0.18em; }
a:hover { color: var(--cyan-2); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: max(var(--gutter), 32px);
  padding-right: max(var(--gutter-r), 32px);
}
@media (max-width: 640px) {
  .wrap { padding-left: var(--gutter); padding-right: var(--gutter-r); }
}

.band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 9vw, 136px); }
.sec-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.sec-head .kicker { margin: 0; }
.sec-head .lead { max-width: 46ch; color: var(--ink-2); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.kicker {
  margin: 0 0 clamp(14px, 1.6vw, 26px);
  font-size: var(--fs-kicker);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker.cyan { color: var(--cyan-2); }

.display {
  margin: 0;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-shadow: 0 4px 24px var(--glow);
  text-wrap: balance;
}
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); line-height: 0.96; }
.display span { display: block; padding-right: 0.06em; }
.cyan { color: var(--cyan); }

.lead { margin: 0; font-size: var(--fs-lead); line-height: 1.32; font-weight: 500; max-width: 34ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--night);
  font: italic 900 clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem) / 1 var(--f-sans);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 32px #35d8fa40;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn:hover { background: var(--cyan-2); color: var(--night); box-shadow: 0 0 44px #35d8fa66; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.site-head {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-top: max(18px, env(safe-area-inset-top, 0px));
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand b { font: italic 900 1.1rem/1 var(--f-sans); letter-spacing: -0.01em; text-transform: uppercase; }
.brand:hover { color: var(--ink); }
.head-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.head-nav a:not(.head-cta) { color: var(--ink-2); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.head-nav a:not(.head-cta):hover { color: var(--ink); }
.head-cta {
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}
.head-cta:hover { color: var(--cyan-2); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(104px, 8vw, 124px) clamp(48px, 5vw, 72px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 42% 55% at 74% 48%, #0a5c9a5c, transparent 70%),
    linear-gradient(180deg, #020916 0%, #03142a 55%, #020916 100%);
}
.hero-bg::before,
.offer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#35d8fa14 1px, transparent 1px), linear-gradient(90deg, #35d8fa14 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 72% 50%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 58% 72% at 72% 50%, #000 0%, transparent 76%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  width: 62vw;
  aspect-ratio: 1;
  right: -14vw;
  top: -26vw;
  border-radius: 50%;
  background: radial-gradient(circle, #35d8fa24, transparent 62%);
}
.hero-media {
  position: absolute;
  z-index: 2;
  right: max(-40px, calc((100vw - 1500px) / 2));
  bottom: 0;
  width: min(44%, 660px);
  aspect-ratio: 1000 / 885;
}
.halo {
  position: absolute;
  left: 26%;
  top: 2%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #35d8fa38 0%, #0a5c9a26 42%, transparent 68%);
  filter: blur(8px);
}
.hero-media .portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(180deg, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(180deg, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.hero-media .who {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 6%;
  margin: 0;
  max-width: 290px;
  padding: 10px 14px;
  border-left: 3px solid var(--cyan);
  background: #020916c7;
  backdrop-filter: blur(6px);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.who strong { display: block; color: var(--ink); font-size: 1rem; }
.hero-copy { position: relative; z-index: 3; max-width: min(940px, 62%); display: grid; gap: clamp(14px, 1.4vw, 20px); }
.hero-copy .lead, .hero-copy .join { max-width: 600px; }
.hero-copy h1 { margin-top: 4px; }
.opening { margin: 0; font-size: var(--fs-body); color: var(--ink-2); }
.opening strong { color: var(--ink); }

.join { display: grid; gap: 14px; max-width: 600px; scroll-margin-top: 24px; }
.join .fields { display: grid; gap: 14px; }
.join .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .goal legend { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); }
.goal .optional { font-weight: 400; color: var(--ink-3); }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #03121ee6;
  color: var(--ink);
  font: 500 1rem/1.2 var(--f-sans);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder { color: #7f98ab; }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px #35d8fa33; }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }

.goal { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.goal .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.goal input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.goal label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #03121ecc;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.goal label:hover { border-color: var(--cyan); color: var(--ink); }
.goal input:checked + label { border-color: var(--cyan); background: #35d8fa1f; color: var(--ink); }
.goal input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cyan); }
.join .send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.join .note { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; min-height: 1.4em; font-size: 0.95rem; font-weight: 600; }
.status.error { color: #ffb3b3; }
.status.ok { color: var(--cyan-2); }
.join.done .fields { display: none; }

.problem { background: radial-gradient(ellipse 70% 60% at 85% 20%, #052b5a55, transparent 70%), var(--night); }
.problem .grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.problem .points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.problem .points li { padding-top: 18px; border-top: 1px solid #24546b99; font-size: var(--fs-lead); line-height: 1.38; color: var(--ink-2); }
.problem .points strong { color: var(--ink); font-weight: 700; }

.route { background: radial-gradient(ellipse 70% 40% at 50% 0%, #052b5a55, transparent 70%), var(--night); }
.route .track { margin-bottom: 0; }
.track {
  position: relative;
  list-style: none;
  margin: 0 0 clamp(48px, 6vw, 88px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}
.track::before,
.track::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 5.56%;
  right: 5.56%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0 75%, transparent 75%),
              repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.track::after { background: none; }
.track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.track .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--night); }
.track .in .dot { border-color: var(--cyan); }
.track .star .dot { border-color: var(--cyan); background: radial-gradient(circle, var(--cyan) 0 34%, var(--night) 40%); box-shadow: 0 0 18px #35d8fa88; }
.track .soon .dot { border-style: dashed; }
.track .n { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-3); }
.track .t { font-size: 0.95rem; font-weight: 700; line-height: 1.2; color: var(--ink-2); }
.track .star .t, .track .in .t { color: var(--ink); }
.track .soon .t { color: var(--ink-3); }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  padding-block: clamp(44px, 5vw, 76px);
  border-top: 1px solid #24546b66;
}
.feature.reverse .f-copy { order: 2; }
.f-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; font-size: var(--fs-kicker); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); }
.f-num span { font: italic 900 1.9em/1 var(--f-sans); letter-spacing: -0.03em; color: var(--cyan); }
.f-title { margin: 0; font: italic 900 clamp(2.5rem, 1.2rem + 4.2vw, 5rem) / 0.95 var(--f-sans); letter-spacing: -0.04em; text-transform: uppercase; text-shadow: 0 4px 24px var(--glow); }
.f-lead { margin: 18px 0 0; font-size: var(--fs-lead); line-height: 1.4; color: var(--ink-2); max-width: 46ch; }
.chips-label { margin: 22px 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #03121e99; font-size: 0.88rem; color: var(--ink-2); }
.stats { display: flex; gap: clamp(22px, 3vw, 44px); margin: 26px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.stats dd { margin: 0; font: italic 900 clamp(2rem, 1.4rem + 1.6vw, 2.9rem) / 1 var(--f-sans); letter-spacing: -0.03em; }
.f-project { margin: 22px 0 0; color: var(--ink-2); }
.f-project strong { color: var(--ink); }

.f-visual { position: relative; min-width: 0; }
.v-cap { position: relative; z-index: 1; margin: 0 0 14px; font-size: var(--fs-kicker); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); }
.v-note { position: relative; z-index: 1; margin: 12px 0 0; font-size: 0.92rem; color: var(--ink-3); max-width: 52ch; }
.f-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  z-index: 0;
  border-radius: 40px;
  background: radial-gradient(ellipse, #35d8fa2b, transparent 70%);
  filter: blur(32px);
}
.win {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #071a2e, #04101e);
  box-shadow: 0 30px 80px #000b, inset 0 0 0 1px #35d8fa12;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #24546b88; background: #06172a; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar i:nth-child(1) { background: #ff7a7a99; }
.win-bar i:nth-child(2) { background: #ffd36e99; }
.win-bar i:nth-child(3) { background: #35d8fa99; }
.win-bar span { margin-left: 8px; font: 500 0.82rem/1 var(--f-mono); color: var(--ink-3); }

.chat { display: grid; gap: 14px; padding: 18px; }
.chat .q { margin: 0; padding: 12px 14px; border-radius: 12px; background: #0a2238; font-size: 0.95rem; color: var(--ink); }
.chat .q span { display: block; margin-bottom: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ans { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #061426; }
.ans .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ans p { margin: 0; font-size: 0.9rem; font-style: italic; color: var(--ink-3); }
.ans.tuned { border-color: var(--cyan); box-shadow: 0 0 0 1px #35d8fa33, 0 0 30px #35d8fa1a; }
.ans.tuned .tag { color: var(--cyan); }
.knows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.knows li { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; }
.knows li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); color: var(--night); font-size: 0.7rem; font-weight: 900; }
.verdict { font-size: 0.82rem; font-weight: 700; }
.verdict.bad { color: #ff9a9a; }
.verdict.good { color: var(--cyan); }

.term-body { min-height: 268px; padding: 20px 22px; font: 500 0.93rem/1.75 var(--f-mono); color: var(--ink-2); }
.term-body .ln { margin: 0; }
.term-body .ln b { color: var(--cyan); }
.term-body .dim { color: var(--ink-3); }
.term-body .step { color: #a9dcec; }
.term-body .done { color: var(--cyan); font-weight: 700; }

.hub { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
.hub .links path { fill: none; stroke: var(--line); stroke-width: 2; }
.hub .flows path { fill: none; stroke: var(--cyan); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 6 18; opacity: 0.9; }
.hub .sat rect { fill: #061426; stroke: var(--line); stroke-width: 1.5; }
.hub .sat text { fill: var(--ink); font: 600 16px var(--f-sans); text-anchor: middle; }
.hub .core circle { fill: #071f36; stroke: var(--cyan); stroke-width: 2; }
.hub .core .ring { fill: none; stroke: #35d8fa66; transform-origin: 260px 200px; }
.hub .core text { fill: var(--cyan); font: italic 900 32px var(--f-sans); text-anchor: middle; }

.extra { background: radial-gradient(ellipse 60% 40% at 50% 0%, #052b5a55, transparent 70%), var(--night); }
.filter[hidden] { display: none; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 3vw, 40px); }
.filter button {
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #051222;
  color: var(--ink-2);
  font: 650 0.92rem/1 var(--f-sans);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}
.filter button:hover { border-color: var(--cyan); color: var(--ink); }
.filter button[aria-pressed="true"] { border-color: var(--cyan); background: var(--cyan); color: var(--night); }
.filter .count { margin-left: 6px; opacity: 0.75; }

.lvl { display: grid; grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding-block: clamp(26px, 3vw, 40px); border-top: 1px solid #24546b66; }
.lvl[hidden] { display: none; }
.lvl-head { display: grid; align-content: start; gap: 10px; }
.lvl-head h3 { margin: 0; display: grid; gap: 4px; }
.lvl-head .big { font: italic 900 clamp(2rem, 1.2rem + 2.2vw, 3.2rem) / 0.95 var(--f-sans); letter-spacing: -0.04em; text-transform: uppercase; text-shadow: 0 4px 24px var(--glow); }
.lvl-head .small { font-size: var(--fs-kicker); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); }
.lvl-head p { margin: 0; max-width: 30ch; color: var(--ink-3); font-size: 0.95rem; }
.lvl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lvl-cards .xcard { grid-column: span 2; }
.lvl-cards .xcard.wide { grid-column: span 3; }

.xcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  min-height: 210px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid #24546b88;
  border-radius: 18px;
  background: linear-gradient(160deg, #071c33 0%, #040e1c 62%);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.xcard[hidden] { display: none; }
.xcard::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  aspect-ratio: 1;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, #35d8fa30, transparent 70%);
  transition: transform 400ms ease;
}
.xcard:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 24px 60px #000a, 0 0 32px #35d8fa26; }
.xcard:hover::before { transform: scale(1.5); }
.xcard svg { width: 42px; height: 42px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms ease; }
.xcard:hover svg { transform: rotate(-6deg) scale(1.1); }
.xcard .state {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.xcard.in .state { border-color: var(--cyan); background: var(--cyan); color: var(--night); }
.xcard .xtrial { margin: 2px 0 -4px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-2); }
.xcard h4 { margin: 4px 0 0; font: italic 900 clamp(1.3rem, 1rem + 0.75vw, 1.7rem) / 1 var(--f-sans); letter-spacing: -0.03em; text-transform: uppercase; overflow-wrap: break-word; }
.xcard.wide h4 { font-size: clamp(1.4rem, 1.05rem + 1vw, 1.95rem); }
.xcard p { margin: 0; color: var(--ink-2); }
.xcard.soon svg { stroke: #74dfffb3; }
.xcard[data-gift] { border-color: #35d8fa88; background: linear-gradient(160deg, #0a2a44 0%, #040e1c 70%); }

.grid2 { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stackband .closing { margin: 20px 0 0; max-width: 30ch; font-size: var(--fs-lead); line-height: 1.35; color: #c7ddeb; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stack li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid #24546b88;
  border-radius: 14px;
  background: #051222;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.16rem);
  font-weight: 600;
}
.stack li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--night);
  font-weight: 900;
}
.stackband .btn { margin-top: 28px; }

.fit { background: radial-gradient(ellipse 50% 60% at 15% 50%, #052b5a4d, transparent 70%), var(--night); }
.fit-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fit-cols > div { padding: 22px 24px; border: 1px solid #24546b88; border-radius: 16px; background: #051222; }
.fit-cols .fit-yes { border-color: #35d8fa66; }
.fit-cols h3 { margin: 0 0 12px; font-size: 1.2rem; font-weight: 750; }
.fit-yes h3 { color: var(--cyan); }
.fit-no h3 { color: var(--ink-2); }
.fit-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fit-cols li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.4; }
.fit-yes li::before, .fit-no li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.fit-yes li::before { content: "✓"; color: var(--cyan); }
.fit-no li::before { content: "✕"; color: var(--ink-3); }
.fit-cols a { color: var(--cyan-2); }

.week { background: radial-gradient(ellipse 50% 60% at 85% 50%, #052b5a4d, transparent 70%), var(--night); }
.week .pace { margin: 20px 0 0; font-size: var(--fs-lead); line-height: 1.4; max-width: 30ch; }
.week .pace strong { color: var(--cyan); }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.loop li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px;
  border: 1px solid #24546b88;
  border-radius: 16px;
  background: #051222;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.loop .ix { font: italic 900 2rem/1 var(--f-sans); color: var(--ink-3); transition: color 300ms ease; }
.loop b { font-size: 1.2rem; font-weight: 750; }
.loop span:last-child { font-size: 0.95rem; color: var(--ink-2); }
.loop li.on { border-color: var(--cyan); box-shadow: 0 0 0 1px #35d8fa44, 0 0 30px #35d8fa22; transform: translateY(-3px); }
.loop li.on .ix { color: var(--cyan); }

.faq { background: radial-gradient(ellipse 60% 50% at 10% 0%, #052b5a4d, transparent 70%), var(--night); }
.faq .grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.faq .qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); align-items: start; }
.faq details { min-width: 0; border-bottom: 1px solid #24546b88; }
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 750;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--cyan);
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.faq details p { margin: -4px 0 18px; color: var(--ink-2); max-width: 60ch; }

.offer { text-align: center; }
.offer-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 50% 60% at 50% 42%, #0a5c9a45, transparent 70%), var(--night); }
.offer-bg::before { -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 0%, transparent 75%); }
.offer .copy { display: grid; justify-items: center; gap: clamp(16px, 2vw, 24px); }
.offer .kicker { margin: 0; }
.offer h2.display { font-size: clamp(3.6rem, 1.6rem + 8vw, 9.4rem); line-height: 0.92; }
.days { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(6px, 1.2vw, 12px); }
.days li {
  display: grid;
  place-items: center;
  width: clamp(36px, 5vw, 54px);
  aspect-ratio: 1;
  border: 1px solid var(--cyan);
  border-radius: 12px;
  background: var(--cyan);
  color: var(--night);
  font-weight: 800;
}
.offer .decide { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.8rem); font-weight: 750; letter-spacing: -0.01em; }
.offer .trial { margin: 0; max-width: 52ch; font-size: var(--fs-lead); line-height: 1.4; color: var(--ink-2); }
.founders { display: grid; gap: 10px; width: min(560px, 100%); margin: 6px 0 4px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: #051222cc; }
.founders .f-label { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); }
.founders .span { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.founders .span i { position: relative; flex: 1; height: 6px; overflow: hidden; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), #35d8fa55); }
.founders p:last-child { margin: 0; color: var(--ink-2); }

.site-foot { padding-block: 44px max(36px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid #24546b66; color: var(--ink-2); font-size: var(--fs-small); }
.site-foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: end; }
.site-foot .sign { font-size: 1.35rem; font-weight: 500; color: var(--ink-2); }
.site-foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot a { color: var(--ink-2); }
.site-foot a:hover { color: var(--cyan-2); }
.site-foot .legal { grid-column: 1 / -1; margin: 0; color: var(--ink-3); }

@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-4vw, 3vw); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.8; } }
@keyframes travel { from { transform: translateX(-10%); } to { transform: translateX(800%); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes flow { to { stroke-dashoffset: -48; } }
@keyframes ring { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes lit { 0%, 14% { fill: #0b2c48; stroke: #35d8fa; } 22%, 100% { fill: #061426; stroke: #24546b; } }
@keyframes tick { from { transform: scale(0) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
@keyframes dayfill { from { background: #051222; color: #9fb7c9; border-color: #24546b; } to { background: #35d8fa; color: #020916; border-color: #35d8fa; } }

.anim .hero-bg::after { animation: drift 16s ease-in-out infinite alternate; }
.anim .halo { animation: breathe 7s ease-in-out infinite; }
.track::after { overflow: hidden; }
.anim .track.is-in::after {
  right: auto;
  width: 11%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  filter: drop-shadow(0 0 6px var(--cyan));
  animation: travel 6s linear infinite;
}

.anim .feature.play .knows li::before { animation: tick 0.45s cubic-bezier(.3,1.6,.5,1) both; }
.anim .feature.play .knows li:nth-child(1)::before { animation-delay: 0.3s; }
.anim .feature.play .knows li:nth-child(2)::before { animation-delay: 0.7s; }
.anim .feature.play .knows li:nth-child(3)::before { animation-delay: 1.1s; }
.anim .feature.play .knows li:nth-child(4)::before { animation-delay: 1.5s; }
.anim .feature.play .verdict.good { animation: fadeup 0.5s ease 2s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.anim .feature.run .ln.step,
.anim .feature.run .ln.done { opacity: 0; transform: translateY(4px); transition: opacity 250ms ease, transform 250ms ease; }
.anim .feature.run .ln.shown { opacity: 1; transform: none; }
.anim .feature.run .typed::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--cyan);
  animation: blink 1s steps(1) infinite;
}

.anim .is-in .hub .flows path { animation: flow 1.5s linear infinite; }
.anim .is-in .hub .flows path:nth-child(2) { animation-duration: 1.9s; }
.anim .is-in .hub .flows path:nth-child(3) { animation-duration: 1.3s; }
.anim .is-in .hub .flows path:nth-child(4) { animation-duration: 1.7s; }
.anim .is-in .hub .flows path:nth-child(5) { animation-duration: 2.1s; }
.anim .is-in .hub .flows path:nth-child(6) { animation-duration: 1.6s; }
.anim .is-in .hub .core .ring { animation: ring 2.4s ease-out infinite; }
.anim .is-in .hub .sat rect { animation: lit 6s linear infinite; }
.anim .is-in .hub .sat rect:nth-of-type(2) { animation-delay: 1s; }
.anim .is-in .hub .sat rect:nth-of-type(3) { animation-delay: 2s; }
.anim .is-in .hub .sat rect:nth-of-type(4) { animation-delay: 3s; }
.anim .is-in .hub .sat rect:nth-of-type(5) { animation-delay: 4s; }
.anim .is-in .hub .sat rect:nth-of-type(6) { animation-delay: 5s; }

.anim .stack.is-in li::before { animation: tick 0.5s cubic-bezier(.3,1.6,.5,1) both; }
.anim .stack.is-in li:nth-child(2)::before { animation-delay: 0.18s; }
.anim .stack.is-in li:nth-child(3)::before { animation-delay: 0.36s; }
.anim .stack.is-in li:nth-child(4)::before { animation-delay: 0.54s; }
.anim .stack.is-in li:nth-child(5)::before { animation-delay: 0.72s; }
.anim .stack.is-in li:nth-child(6)::before { animation-delay: 0.9s; }

.anim .days.is-in li { animation: dayfill 0.35s ease both; }
.anim .days.is-in li:nth-child(2) { animation-delay: 0.15s; }
.anim .days.is-in li:nth-child(3) { animation-delay: 0.3s; }
.anim .days.is-in li:nth-child(4) { animation-delay: 0.45s; }
.anim .days.is-in li:nth-child(5) { animation-delay: 0.6s; }
.anim .days.is-in li:nth-child(6) { animation-delay: 0.75s; }
.anim .days.is-in li:nth-child(7) { animation-delay: 0.9s; }
.anim .founders .span i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffffaa, transparent); animation: sweep 2.6s ease-in-out infinite; }

@media (max-width: 1100px) {
  .lvl { grid-template-columns: minmax(0, 1fr); }
  .lvl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lvl-cards .xcard, .lvl-cards .xcard.wide { grid-column: auto; }
  .lvl-head { grid-template-columns: auto 1fr; align-items: end; column-gap: 24px; }
  .lvl-head p { max-width: 50ch; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 0; }
  .hero-bg::before { -webkit-mask-image: radial-gradient(ellipse 90% 40% at 50% 22%, #000 0%, transparent 80%); mask-image: radial-gradient(ellipse 90% 40% at 50% 22%, #000 0%, transparent 80%); }
  .hero-bg { background: radial-gradient(ellipse 80% 34% at 50% 22%, #0a5c9a5c, transparent 70%), linear-gradient(180deg, #020916 0%, #03142a 40%, #020916 70%); }
  .hero-media { position: relative; right: auto; width: min(100%, 500px); margin: 72px auto 0; }
  .hero-media .who { right: 3%; bottom: 4%; max-width: 250px; font-size: 0.8rem; }
  .hero-copy { max-width: none; margin-top: 28px; }
  .problem .points, .faq .qa { grid-template-columns: minmax(0, 1fr); }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .track::before, .track::after { display: none; }
  .feature, .grid2, .fit-cols { grid-template-columns: minmax(0, 1fr); }
  .feature.reverse .f-copy { order: 0; }
}
@media (max-width: 640px) {
  .lvl-cards { grid-template-columns: minmax(0, 1fr); }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .lvl-head { grid-template-columns: minmax(0, 1fr); }
  .xcard { min-height: 0; padding: 18px 18px 20px; gap: 8px; }
  .xcard svg { width: 34px; height: 34px; }
  .term-body { min-height: 0; font-size: 0.8rem; padding: 16px; }
  .loop li { padding: 18px; }
  .head-nav a:not(.head-cta) { display: none; }
}
@media (max-width: 560px) {
  .join .row { grid-template-columns: minmax(0, 1fr); }
  .join .btn { width: 100%; }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .head-cta { font-size: 0.88rem; }
  .track .t { font-size: 0.82rem; }
}

@keyframes travelv { from { transform: translateY(-10%); } to { transform: translateY(800%); } }

@media (max-width: 900px) {
  .track { grid-template-columns: minmax(0, 1fr); gap: 0; row-gap: 0; max-width: 460px; margin: 0 auto 8px; }
  .track::before, .track::after { display: block; left: 10px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .track::before {
    background: linear-gradient(180deg, var(--cyan) 0 75%, transparent 75%),
                repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px);
  }
  .anim .track.is-in::after {
    width: 2px;
    height: 11%;
    background: linear-gradient(180deg, transparent, var(--cyan), transparent);
    animation: travelv 6s linear infinite;
  }
  .track li { grid-template-columns: 22px 28px minmax(0, 1fr); justify-items: start; align-items: center; gap: 12px; padding: 7px 0; text-align: left; }
  .track .t { font-size: 1rem; }
}

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.anim .reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
  .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 0.4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
  .faq details[open] p { animation: fadeup 0.45s ease both; }
  .xcard:not([hidden]) { animation: fadein 0.45s ease backwards; }
}

@media (max-width: 640px) {
  .band { padding-block: 72px; }
  h2.display { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .sec-head { gap: 14px; margin-bottom: 36px; }
  .sec-head .lead { font-size: 1.02rem; line-height: 1.5; }

  .hero { padding-bottom: 48px; }
  .hero-media { display: flex; align-items: center; gap: 14px; width: auto; aspect-ratio: auto; margin: 92px 20px 0; }
  .halo { display: none; }
  .hero-media .portrait {
    position: static;
    flex: none;
    width: 52px;
    height: 52px;
    border: 1.5px solid #35d8fa99;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 14%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-media .who { position: static; max-width: none; padding: 0; border: 0; background: none; backdrop-filter: none; font-size: 0.8rem; line-height: 1.4; }
  .hero-copy { margin-top: 28px; gap: 18px; }
  .hero .lead { font-size: 1.08rem; line-height: 1.5; }
  .hero .opening { margin: 0; font-size: 0.98rem; line-height: 1.5; }
  .join, .join .fields { gap: 16px; }
  .goal .opts { gap: 8px 6px; }
  .goal label { padding: 7px 11px; font-size: 0.8rem; }
  .consent { font-size: 0.8rem; line-height: 1.5; }
  .join .note { display: none; }

  .feature { gap: 26px; padding-block: 48px; }
  .f-title { font-size: 2.3rem; }
  .f-lead { margin-top: 14px; font-size: 1.02rem; line-height: 1.5; }
  .chips-label, .chips { display: none; }
  .stats { margin-top: 22px; gap: 28px; }
  .stats dd { font-size: 1.9rem; }
  .f-project { margin-top: 16px; font-size: 0.98rem; }
  .feature[data-demo="terminal"] .f-visual, .feature[data-demo="hub"] .f-visual,
  .feature[data-demo="terminal"] .stats, .feature[data-demo="hub"] .stats { display: none; }
  .win-bar { display: none; }

  .filter { flex-wrap: nowrap; gap: 6px; margin-bottom: 8px; }
  .filter button { min-height: 38px; padding: 7px 11px; font-size: 0.8rem; white-space: nowrap; }
  .lvl { gap: 14px; padding-block: 32px; border-top: 0; }
  .lvl-head .big { font-size: 1.6rem; }
  .lvl-head p { display: none; }
  .lvl-cards { gap: 0; }
  .xcard {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 16px;
    min-height: 0;
    padding: 15px 2px;
    border: 0;
    border-bottom: 1px solid #24546b55;
    border-radius: 0;
    background: none;
  }
  .xcard::before { display: none; }
  .xcard:hover { transform: none; box-shadow: none; border-color: #24546b55; }
  .xcard svg { grid-column: 1; grid-row: 1 / span 2; width: 22px; height: 22px; stroke-width: 1.4; }
  .xcard h4, .xcard.wide h4 { grid-column: 2; grid-row: 1; margin: 0; font: 650 1.02rem/1.3 var(--f-sans); letter-spacing: -0.005em; text-transform: none; }
  .xcard .xtrial { grid-column: 2; grid-row: 2; margin: 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .xcard .state, .xcard.in .state { position: static; grid-column: 3; grid-row: 1 / span 2; padding: 0; border: 0; background: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .xcard.in .state { color: var(--cyan); }
  .xcard p:not(.xtrial) { display: none; }
  .xcard[data-gift] { margin-top: 12px; padding: 18px; border: 1px solid #35d8fa44; border-radius: 16px; background: #071a2e; }
  .xcard[data-gift] p:not(.xtrial) { display: block; grid-column: 1 / -1; grid-row: 3; margin-top: 8px; font-size: 0.92rem; line-height: 1.5; }

  .problem .points { gap: 28px; }
  .problem .points li { padding-top: 16px; font-size: 1.02rem; line-height: 1.5; }
  .stackband .closing { font-size: 1.02rem; line-height: 1.5; }
  .stackband .btn { display: none; }
  .stack { gap: 16px; }
  .stack li { grid-template-columns: 26px 1fr; gap: 14px; padding: 0; border: 0; background: none; font-size: 1rem; font-weight: 550; line-height: 1.45; }
  .stack li::before { width: 24px; height: 24px; font-size: 0.78rem; }
  .week { display: none; }
  .fit-cols { gap: 16px; }
  .fit-cols > div { padding: 22px 20px; }
  .fit-cols ul { gap: 12px; }
  .offer h2.display { font-size: 3.4rem; }
}

.page { padding-block: clamp(120px, 14vw, 180px) clamp(64px, 8vw, 110px); background: radial-gradient(ellipse 60% 40% at 80% 0%, #052b5a4d, transparent 70%), var(--night); }
.page .wrap { max-width: calc(780px + 64px); }
.page h1.display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); margin-bottom: 18px; }
.page h2 { margin: 2.2em 0 0.5em; font-size: 1.3rem; font-weight: 750; letter-spacing: -0.01em; }
.page p, .page li { color: var(--ink-2); max-width: 68ch; }
.page li + li { margin-top: 0.5em; }
.page strong { color: var(--ink); }
.page .updated { color: var(--ink-3); font-size: var(--fs-small); }
.thanks .lead { max-width: 38ch; margin-top: 8px; color: var(--ink-2); }
.thanks .follow { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.thanks .gift { margin-top: clamp(40px, 6vw, 64px); padding: 24px clamp(18px, 3vw, 28px); border: 1px solid #35d8fa66; border-radius: 16px; background: #051222; }
.thanks .gift h2 { margin: 6px 0 10px; }
.thanks .gift ol { margin: 14px 0 0; padding-left: 1.3em; color: var(--ink-2); }
.thanks .gift pre { margin: 18px 0 0; padding: 16px; overflow-x: auto; border-radius: 12px; background: #020916; color: #c7ddeb; font-size: 0.85rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
