:root {
  --ink: #070a0c;
  --ink-raised: #0b1013;
  --paper: #e8ecec;
  --muted: #899496;
  --faint: #39484c;
  --cyan: #79dce8;
  --line: rgba(121, 220, 232, 0.2);
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { position: relative; min-height: 100%; margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; }
main { position: relative; z-index: 1; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(121, 220, 232, .24); color: #fff; }

.hero { min-height: 100svh; position: relative; overflow: hidden; display: flex; align-items: center; padding: 7rem 5vw 4rem; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 72% 53%, rgba(24,66,72,.13), transparent 31%), linear-gradient(135deg, rgba(8,12,14,.76), rgba(5,7,9,.66) 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,.48) 100%); }
.site-header { position: absolute; top: 2.3rem; left: 5vw; right: 5vw; z-index: 6; display: flex; justify-content: space-between; align-items: center; color: #a8b0b1; font: 400 .68rem/1 var(--font-geist-mono), monospace; letter-spacing: .14em; }
.header-code { margin-left: auto; color: #4c5b5e; }
.hero-copy { position: relative; z-index: 5; width: min(50rem, 53vw); margin-top: 22vh; }
.section-index, .micro { font: 400 .68rem/1.4 var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .19em; color: var(--cyan); }
.hero h1 { margin: 0 0 1.2rem; font: 300 clamp(3rem, 5.5vw, 6rem)/.98 var(--font-geist-mono), monospace; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.hero-intro { margin: 0; color: #9aa4a6; font: 400 clamp(.92rem, 1.2vw, 1.16rem)/1.6 var(--font-geist-mono), monospace; letter-spacing: .045em; }
.text-link { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 1.2rem; color: var(--cyan); font: 400 .76rem/1 var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .16em; cursor: pointer; }

/*
 * The hero CTA is treated as one connected system: wording, arrow,
 * resolving line and travelling node.
 */
.hero-link {
  position: relative;
  gap: .8rem;
  margin-top: 4.3rem;
  padding-bottom: .8rem;
}

.hero-link > span:first-child {
  color: transparent;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .13em;

  background: linear-gradient(
    105deg,
    var(--cyan) 0%,
    var(--cyan) 42%,
    #f0ffff 48%,
    #b6f8fb 51%,
    var(--cyan) 58%,
    var(--cyan) 100%
  );
  background-size: 260% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: .12px rgba(121, 220, 232, .2);

  animation: hero-link-shimmer 9s ease-in-out infinite;
}

.hero-link > span:last-child {
  transition: transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.hero-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(121, 220, 232, .95),
    rgba(121, 220, 232, .25)
  );
  transform: scaleX(.22);
  transform-origin: left;
  opacity: .65;
  transition:
    transform 700ms cubic-bezier(.16, 1, .3, 1),
    opacity 300ms ease;
}

.hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(121, 220, 232, .8);
  opacity: 0;
  transition:
    left 700ms cubic-bezier(.16, 1, .3, 1),
    opacity 200ms ease;
}

.hero-link:hover::before,
.hero-link:focus-visible::before {
  transform: scaleX(1);
  opacity: 1;
}

.hero-link:hover::after,
.hero-link:focus-visible::after {
  left: calc(100% - 5px);
  opacity: 1;
}

.hero-link:hover > span:first-child,
.hero-link:focus-visible > span:first-child {
  animation-duration: 2.8s;
}

.hero-link:hover > span:last-child,
.hero-link:focus-visible > span:last-child {
  transform: translateX(.45rem);
}

/* Fixed behind the complete page; JavaScript projects stars through depth. */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: .76;
  transform-origin: 69% 51%;
  animation: starfield-breathe 12s ease-in-out infinite;
}

.starfield canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  will-change: contents;
}
.orbit-field { position: absolute; z-index: -1; width: min(85vw, 92rem); left: 14vw; top: 14vh; transform: translate(-68.75%, -54.5%); color: rgba(121,220,232,.22); }
.orbit-field svg { width: 100%; overflow: visible; }
.orbit-grid { opacity: .16; mask-image: radial-gradient(circle, black, transparent 72%); }
.axes path { fill: none; stroke: rgba(121,220,232,.23); stroke-width: .7; stroke-dasharray: 2 3; }
.orbit-wordmark text {
  fill: rgba(190, 218, 221, .68);
  font: 1200 32px var(--font-geist-mono), monospace;
  letter-spacing: 2.2px;
  text-anchor: middle;
  dominant-baseline: central;
}
.trajectories path { fill: none; stroke: rgba(134,224,233,.46); stroke-width: .75; transform-origin: 825px 414px; animation: orbit 58s linear infinite; }
.trajectories path:nth-child(even) { animation-direction: reverse; animation-duration: 72s; opacity: .58; }
.trajectories .construction { stroke-dasharray: 3 5; opacity: .35; animation: none; }
.nodes circle { fill: var(--ink); stroke: #85e3ed; stroke-width: 1.4; animation: pulse 5s ease-in-out infinite; }
.nodes circle:nth-child(4) { animation-delay: -2.4s; }
@keyframes orbit { to { transform: rotate(360deg); } }

@keyframes hero-link-shimmer {
  0%, 68% { background-position: 120% 0; }
  82%, 100% { background-position: -120% 0; }
}

@keyframes starfield-breathe {
  0%, 100% { opacity: .66; }
  50% { opacity: .78; }
}

@keyframes pulse { 50% { opacity: .32; } }
.coordinate { position: absolute; z-index: 5; left: 5vw; bottom: 3rem; color: #405054; font: .59rem/1.7 var(--font-geist-mono), monospace; letter-spacing: .08em; }
.alignment-mark { position: absolute; z-index: 5; right: 5vw; bottom: 3rem; color: var(--cyan); font: .63rem/1 var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .18em; }
.alignment-mark i { display: inline-block; width: 1.6rem; height: 1.6rem; margin-right: .7rem; vertical-align: middle; background: linear-gradient(var(--cyan),var(--cyan)) center/1px 100% no-repeat, linear-gradient(90deg,var(--cyan),var(--cyan)) center/100% 1px no-repeat; opacity: .75; }
.scroll-mark { display: none; }

.section { position: relative; padding: 10rem 7vw; border-top: 1px solid rgba(121,220,232,.09); }
.section-index { margin: 0 0 6rem; color: #617075; }
.premise { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(140deg, rgba(7,10,12,.82), rgba(10,15,18,.74)); overflow: hidden; }
.premise-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 8vw; align-items: end; }
.premise h2, .proof h2, .brief-heading h2 { margin: 0; font-weight: 300; letter-spacing: -.045em; line-height: .95; font-size: clamp(4rem, 8.5vw, 8.8rem); }
.premise-copy { max-width: 31rem; color: #b0b8b9; font-size: clamp(1.1rem, 1.65vw, 1.55rem); line-height: 1.55; }
.premise-copy p + p { margin-top: 2.2rem; color: var(--muted); }
.signal-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 70%; margin: 7rem 0 0 auto; }
.signal-line span { height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.signal-line span:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.signal-line i { width: 9px; height: 9px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 28px var(--cyan); }

.proof { background: rgba(8,12,14,.78); }
.proof-statement { display: grid; grid-template-columns: .75fr 1.4fr; gap: 5vw; align-items: end; }
.proof-lead { color: var(--muted); font-size: 1.1rem; padding-bottom: 1rem; }
.proof h2 { font-size: clamp(4rem, 7.6vw, 8rem); }
.terms { margin-top: 9rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(121,220,232,.16); }
.terms article { min-height: 20rem; padding: 2rem 2rem 3rem 0; border-right: 1px solid rgba(121,220,232,.12); }
.terms article + article { padding-left: 2rem; }
.terms article:last-child { border-right: 0; }
.terms span { font: .65rem var(--font-geist-mono), monospace; color: var(--cyan); letter-spacing: .14em; }
.terms h3 { margin: 5.5rem 0 1.2rem; font-size: 1.4rem; font-weight: 400; letter-spacing: -.02em; }
.terms p { max-width: 23rem; color: var(--muted); line-height: 1.75; }
.equation { margin: 7rem 0 0; text-align: center; color: #4a595c; font: .72rem var(--font-geist-mono), monospace; letter-spacing: .16em; text-transform: uppercase; }
.equation span { color: #a5b0b1; }

.brief-section { background: radial-gradient(circle at 85% 20%, rgba(29,77,83,.1), transparent 30%), rgba(6,9,11,.82); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; }
.brief-heading { position: sticky; top: 6rem; }
.brief-heading .section-index { margin-bottom: 4rem; }
.brief-heading h2 { font-size: clamp(3.5rem, 5.4vw, 6rem); }
.brief-heading > p:last-child { color: var(--muted); max-width: 28rem; line-height: 1.75; margin-top: 2.2rem; }
.brief-panel { min-height: 39rem; border: 1px solid rgba(121,220,232,.18); background: rgba(10,16,19,.78); backdrop-filter: blur(14px); padding: clamp(1.5rem, 3vw, 3rem); box-shadow: 0 30px 90px rgba(0,0,0,.22); }
.step-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(121,220,232,.12); padding-bottom: 1.5rem; gap: .5rem; }
.step-nav button { border: 0; background: none; text-align: left; padding: 0; color: #46565a; font: .61rem var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .09em; }
.step-nav button span { display: block; color: #364448; margin-bottom: .55rem; }
.step-nav button.active { color: var(--paper); }
.step-nav button.active span, .step-nav button.complete span { color: var(--cyan); }
.step-nav button.complete { color: #718083; cursor: pointer; }
.form-stage { min-height: 25rem; padding: 4.7rem 0 2rem; animation: enter .45s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.form-stage label { display: block; }
.form-stage label > span { display: block; color: #d5dada; font-size: 1.2rem; margin-bottom: 1.7rem; }
.form-stage em { color: #5f6e71; font: .58rem var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .1em; margin-left: .5rem; }
textarea, input { width: 100%; border: 0; border-bottom: 1px solid #2a393d; background: transparent; border-radius: 0; outline: 0; padding: .7rem 0 1rem; color: var(--paper); caret-color: var(--cyan); transition: border-color .2s ease; }
textarea { resize: vertical; min-height: 8rem; font-size: 1.05rem; line-height: 1.7; }
textarea:focus, input:focus { border-color: var(--cyan); }
textarea::placeholder, input::placeholder { color: #48565a; }
.form-stage[hidden], .success[hidden], .form-error[hidden] { display: none; }
.field-stack { display: grid; gap: 2.2rem; }
.field-stack textarea { min-height: 4rem; }
.identity-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
.identity-fields label > span { font-size: .82rem; margin-bottom: .5rem; color: #869396; }
.trap { position: absolute !important; left: -9999px !important; }
.form-actions { min-height: 2.8rem; display: flex; align-items: center; justify-content: flex-end; gap: 2rem; }
.form-actions button { border: 0; cursor: pointer; }
.back { background: transparent; color: #69777a; font: .67rem var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .1em; }
.continue { min-width: 13rem; display: flex; justify-content: space-between; background: transparent; color: var(--cyan); padding: .9rem 0; border-bottom: 1px solid var(--cyan) !important; font: .7rem var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .11em; transition: opacity .2s, min-width .3s; }
.continue:hover { min-width: 14.5rem; }
.continue:disabled { opacity: .25; cursor: not-allowed; }
.privacy-note { margin: 2rem 0 0; color: #455357; font: .58rem/1.7 var(--font-geist-mono), monospace; }
.form-error { color: #ee8f8f; font-size: .8rem; line-height: 1.5; }
.success { min-height: 33rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.success-orbit { width: 6rem; height: 6rem; border: 1px solid rgba(121,220,232,.35); border-radius: 50%; display: grid; place-items: center; margin-bottom: 3rem; animation: orbit 15s linear infinite; }
.success-orbit::before { content: ""; position: absolute; width: 4rem; height: 4rem; border: 1px solid rgba(121,220,232,.18); border-radius: 50%; transform: translate(1.4rem,-.5rem); }
.success-orbit span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.success h3 { margin: 1.3rem 0; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; letter-spacing: -.04em; }
.success > p:not(.micro) { color: var(--muted); line-height: 1.7; }
.success .text-link { margin-top: 3rem; }

footer { min-height: 11rem; padding: 4rem 5vw; border-top: 1px solid rgba(121,220,232,.1); background: rgba(5,8,10,.84); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; color: #566467; font: .62rem var(--font-geist-mono), monospace; letter-spacing: .1em; }
footer a { color: #849295; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .hero { align-items: flex-end; padding-bottom: 9rem; }
  .hero-copy { width: 100%; margin: 0; }
  .hero h1 { white-space: normal; font-size: clamp(2.7rem, 10vw, 5rem); }
  .orbit-field { width: 145vw; left: 20vw; top: 19vh; right: auto; transform: translate(-68.75%, -54.5%); opacity: .75; }
  .alignment-mark { display: none; }
  .premise-grid, .proof-statement, .brief-section { grid-template-columns: 1fr; }
  .premise-grid { gap: 3rem; }
  .proof-statement { gap: 2rem; }
  .proof-lead { order: 2; }
  .brief-heading { position: static; }
  .terms { grid-template-columns: 1fr; }
  .terms article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(121,220,232,.12); padding: 2rem 0 4rem !important; }
  .terms h3 { margin-top: 3rem; }
  .brief-section { gap: 5rem; }
}

@media (max-width: 600px) {
  .hero { min-height: 800px; padding-left: 1.4rem; padding-right: 1.4rem; }
  .site-header { left: 1.4rem; right: 1.4rem; }
  .header-code, .coordinate { display: none; }
  .hero-copy { margin-bottom: 4rem; }
  .hero h1 { letter-spacing: .025em; }
  .hero-intro { max-width: 19rem; }
  .hero-link { margin-top: 3rem; }
  .hero-link > span:first-child { font-size: .76rem; letter-spacing: .1em; }
  .section { padding: 7rem 1.4rem; }
  .section-index { margin-bottom: 4rem; }
  .premise h2, .proof h2 { font-size: 3.8rem; }
  .signal-line { width: 100%; margin-top: 5rem; }
  .terms { margin-top: 5rem; }
  .brief-heading h2 { font-size: 3.3rem; }
  .brief-panel { margin-left: -.4rem; margin-right: -.4rem; padding: 1.4rem; }
  .step-nav button { font-size: 0; }
  .step-nav button span { font-size: .6rem; }
  .form-stage { padding-top: 3.5rem; min-height: 28rem; }
  .identity-fields { grid-template-columns: 1fr; gap: 2rem; }
  .continue { min-width: 11rem; }
  footer { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; padding: 3rem 1.4rem; }
  footer p { margin: 0; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .starfield { animation: none !important; }
  .hero-link > span:first-child {
    animation: none !important;
    color: var(--cyan);
    background: none;
    -webkit-text-stroke: 0;
  }
}
