@font-face {
  font-family: "Reworld Mono";
  src: local("SFMono-Regular"), local("Cascadia Mono"), local("Roboto Mono");
  font-display: swap;
}

:root {
  --bg: #080a08;
  --bg-soft: #0d100d;
  --panel: #111511;
  --panel-2: #151a15;
  --ink: #f2f1e9;
  --muted: #9da398;
  --dim: #62685f;
  --line: rgba(242, 241, 233, 0.14);
  --line-strong: rgba(242, 241, 233, 0.28);
  --acid: #dafa5a;
  --mint: #68e6c2;
  --orange: #ff7757;
  --violet: #bda8ff;
  --yellow: #f1ca58;
  --radius: 18px;
  --mono: "Reworld Mono", "SFMono-Regular", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--dim) var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 52px 52px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  content: "";
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

::selection {
  color: var(--bg);
  background: var(--acid);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--acid);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .09;
}

.ambient-a {
  top: -210px;
  right: -180px;
  background: var(--mint);
}

.ambient-b {
  top: 900px;
  left: -300px;
  background: var(--violet);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(8, 10, 8, .55);
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, background .25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 10, 8, .88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: end;
  gap: 2px;
  width: 19px;
  height: 19px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.brand-mark i {
  display: block;
  flex: 1;
  background: var(--ink);
}

.brand-mark i:nth-child(1) { height: 34%; }
.brand-mark i:nth-child(2) { height: 68%; background: var(--acid); }
.brand-mark i:nth-child(3) { height: 100%; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a,
.header-link {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav a:hover,
.header-link:hover {
  color: var(--ink);
}

.header-link {
  justify-self: end;
}

.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 132px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  padding-top: 80px;
  padding-bottom: 92px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(218,250,90,.1);
}

.pulse-dot::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid var(--acid);
  border-radius: inherit;
  opacity: .5;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(.5); opacity: .7; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

h1 {
  max-width: 760px;
  font-size: clamp(64px, 8vw, 122px);
}

h2 {
  font-size: clamp(48px, 6vw, 82px);
}

h1 em,
h2 em {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: #c9ccc3;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #10120d;
  border-color: var(--acid);
  background: var(--acid);
}

.button-primary:hover {
  background: #e7ff86;
}

.button-quiet {
  color: var(--ink);
  background: rgba(255,255,255,.025);
}

.button-quiet:hover {
  border-color: var(--muted);
  background: rgba(255,255,255,.05);
}

.status-note {
  margin-top: 24px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .02em;
}

.status-note strong {
  color: var(--muted);
}

.hero-system {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1;
  justify-self: end;
}

.system-orbit,
.system-lines {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
}

.system-orbit {
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one::before,
.orbit-two::before {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(218,250,90,.65);
}

.orbit-one::before { top: 15%; left: 12%; }
.orbit-two { inset: 20%; width: 60%; height: 60%; border-style: dashed; transform: rotate(22deg); }
.orbit-two::before { right: 4%; bottom: 28%; background: var(--mint); }

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 164px;
  border: 1px solid rgba(218,250,90,.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218,250,90,.13), rgba(8,10,8,.92) 67%);
  box-shadow: 0 0 70px rgba(218,250,90,.08), inset 0 0 38px rgba(218,250,90,.04);
  transform: translate(-50%, -50%);
}

.system-core strong {
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 400;
}

.core-label,
.core-seed {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
}

.core-seed { margin-top: 7px; color: var(--dim); }

.system-lines {
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(104,230,194,.2);
  stroke-dasharray: 4 8;
  stroke-width: 1;
}

.signal-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8,10,8,.85);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.signal-node span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.node-a { top: 18%; left: 5%; }
.node-b { top: 17%; right: 4%; }
.node-b span { background: var(--mint); }
.node-c { right: 2%; bottom: 23%; }
.node-c span { background: var(--orange); }

.surface-window {
  position: absolute;
  right: 12%;
  bottom: 4%;
  min-width: 220px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(13,16,13,.92);
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
}

.surface-window > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
}

.mini-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.mini-slots i {
  display: block;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #20251e;
}

.mini-slots .v0 { background: #30362d; }
.mini-slots .v1 { background: var(--mint); box-shadow: 0 0 12px rgba(104,230,194,.22); }
.mini-slots .v2 { background: var(--violet); box-shadow: 0 0 12px rgba(189,168,255,.22); }
.mini-slots .v3 { background: var(--orange); box-shadow: 0 0 12px rgba(255,119,87,.22); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13,16,13,.75);
}

.proof-strip > div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: 26px max(20px, calc((100vw - var(--max)) / 8));
  border-right: 1px solid var(--line);
}

.proof-strip > div:last-child { border-right: 0; }

.proof-strip span {
  grid-row: 1 / 3;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.proof-strip strong {
  font-size: 13px;
  font-weight: 600;
}

.proof-strip small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
}

.section-kicker {
  margin-bottom: 18px;
}

.intro-grid,
.interface-section,
.closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.intro-grid h2 {
  margin: 0;
}

.prose {
  align-self: end;
  max-width: 610px;
  padding-bottom: 8px;
  color: #c6cac0;
  font-size: 19px;
  line-height: 1.65;
}

.prose p:last-child { margin-bottom: 0; }

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 86px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.loop-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(13,16,13,.26);
  transition: background .25s ease;
}

.loop-card:last-child { border-right: 0; }
.loop-card:hover { background: rgba(21,26,21,.7); }

.loop-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
}

.loop-card h3 {
  margin: 30px 0 13px;
  font-size: 22px;
  font-weight: 500;
}

.loop-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.loop-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.eye-icon::before {
  position: absolute;
  inset: 19px 12px;
  content: "";
  border: 1px solid var(--mint);
  border-radius: 50% 0 50% 0;
  transform: rotate(45deg);
}
.eye-icon::after { position: absolute; top: 27px; left: 27px; width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--mint); }
.probe-icon::before { position: absolute; top: 12px; left: 30px; width: 1px; height: 39px; content: ""; background: var(--orange); transform: rotate(35deg); }
.probe-icon::after { position: absolute; top: 10px; left: 36px; width: 9px; height: 9px; content: ""; border: 1px solid var(--orange); border-radius: 50%; }
.model-icon::before { position: absolute; inset: 16px; content: ""; border: 1px solid var(--violet); transform: rotate(45deg); }
.model-icon::after { position: absolute; inset: 23px; content: ""; border: 1px dashed var(--violet); border-radius: 50%; }
.control-icon::before { position: absolute; top: 31px; left: 12px; width: 38px; height: 1px; content: ""; background: var(--acid); }
.control-icon::after { position: absolute; top: 22px; right: 11px; width: 16px; height: 16px; content: ""; border-top: 1px solid var(--acid); border-right: 1px solid var(--acid); transform: rotate(45deg); }

.interface-section {
  align-items: center;
  width: min(1380px, calc(100% - 56px));
}

.interface-copy {
  max-width: 520px;
}

.interface-copy > p {
  color: #c6cac0;
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.check-list span { color: var(--acid); font-family: var(--mono); }

.caption {
  color: var(--dim) !important;
  font-family: var(--mono);
  font-size: 10px !important;
}

.machine {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 35%),
    #101410;
  box-shadow: 0 35px 100px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.04);
}

.machine::before,
.machine::after {
  position: absolute;
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid var(--dim);
  border-radius: 50%;
}
.machine::before { top: 9px; left: 9px; }
.machine::after { right: 9px; bottom: 9px; }

.machine-header,
.machine-controls,
.machine-label,
.machine-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.machine-header {
  padding: 5px 5px 18px;
  border-bottom: 1px solid var(--line);
}

.machine-overline,
.machine-header strong,
.machine-status,
.machine-label,
.machine-target > span,
.step-readout {
  font-family: var(--mono);
  letter-spacing: .08em;
}

.machine-overline {
  display: block;
  color: var(--dim);
  font-size: 7px;
}

.machine-header strong {
  font-size: 11px;
}

.machine-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.machine-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.machine-target {
  margin: 17px 0;
  padding: 11px 13px;
  border: 1px solid rgba(218,250,90,.22);
  border-radius: 5px;
  background: rgba(218,250,90,.035);
}

.machine-target > span {
  color: var(--acid);
  font-size: 8px;
}

.machine-target > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.target-glyph {
  font-style: normal;
  font-size: 16px;
}
.target-0 { color: var(--violet); }
.target-1 { color: var(--mint); }
.target-2 { color: var(--orange); }
.machine-target small { color: var(--dim); font-family: var(--mono); font-size: 7px; }

.machine-body {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 10px;
}

.machine-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 8px;
}

.machine-label small {
  color: var(--dim);
  font-size: 7px;
}

.machine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-family: var(--mono);
}

.manipulators,
.observations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.manipulator,
.observation {
  position: relative;
  min-height: 78px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(0,0,0,.2);
}

.slot-id {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
}

.slot-value {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
}

.manip-buttons {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: flex;
  gap: 4px;
}

.manip-buttons button {
  display: grid;
  width: 24px;
  height: 22px;
  padding: 0;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--panel-2);
  cursor: pointer;
}

.manip-buttons button:hover,
.manip-buttons button:focus-visible {
  color: var(--ink);
  border-color: var(--acid);
  outline: none;
}

.observation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.observation-light {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #293027;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.observation.flash .observation-light { transform: scale(1.08); }
.observation[data-value="0"] .observation-light { background: #30372e; }
.observation[data-value="1"] .observation-light { background: var(--mint); box-shadow: 0 0 16px rgba(104,230,194,.34); }
.observation[data-value="2"] .observation-light { background: var(--violet); box-shadow: 0 0 16px rgba(189,168,255,.34); }
.observation[data-value="3"] .observation-light { background: var(--orange); box-shadow: 0 0 16px rgba(255,119,87,.34); }

.machine-controls {
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.machine-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
}

.machine-button.secondary { color: var(--muted); background: transparent; }
.machine-button.primary { color: #11140c; border-color: var(--acid); background: var(--acid); }
.machine-button:hover { filter: brightness(1.08); }

.step-readout {
  color: var(--dim);
  font-size: 8px;
}

.step-readout strong { color: var(--ink); }

.machine-log {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.machine-log ol {
  max-height: 108px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.machine-log li {
  display: grid;
  grid-template-columns: 35px 1fr 1.3fr;
  gap: 8px;
  padding: 5px 0;
  color: var(--dim);
  border-top: 1px solid rgba(255,255,255,.05);
  font-family: var(--mono);
  font-size: 7px;
}

.machine-log code { color: var(--muted); font-family: inherit; }

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  column-gap: 90px;
  align-items: end;
  margin-bottom: 76px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading > p {
  max-width: 480px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 17px;
}

.architecture-section {
  width: min(1140px, calc(100% - 56px));
}

.stack {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 24px;
  align-items: center;
}

.stack-layers {
  display: grid;
}

.stack-layer {
  display: grid;
  grid-template-columns: 60px 1.2fr 1fr;
  align-items: center;
  min-height: 88px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17,21,17,.68);
}

.stack-layer > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
}

.stack-layer strong {
  font-size: 14px;
  font-weight: 500;
}

.stack-layer small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
}

.surface-layer { border-color: rgba(218,250,90,.28); background: rgba(218,250,90,.04); }
.base-layer { border-color: rgba(189,168,255,.26); }

.stack-link {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 30px;
}

.stack-link i {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.stack-link i:last-child { background: linear-gradient(90deg, var(--line-strong), transparent); }
.stack-link span { color: var(--dim); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }

.stack-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--dim);
  font-family: var(--mono);
}

.stack-side strong { color: var(--ink); font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.stack-side span { font-size: 8px; letter-spacing: .12em; }
.stack-side i { color: var(--acid); font-size: 24px; font-style: normal; }

.generation-section {
  width: min(1380px, calc(100% - 56px));
}

.generation-flow {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: stretch;
}

.generation-flow article {
  display: flex;
  gap: 12px;
  width: 210px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(17,21,17,.7);
}

.generation-flow article > span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 8px;
}

.generation-flow article div { display: flex; flex-direction: column; gap: 7px; }
.generation-flow strong { font-size: 14px; font-weight: 500; }
.generation-flow small { color: var(--dim); font-size: 11px; line-height: 1.45; }
.generation-flow > i { display: grid; width: 40px; place-items: center; color: var(--dim); font-family: var(--mono); font-style: normal; }

.constraint-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 46px 0;
  padding: 23px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
}

.constraint-line code { color: var(--ink); font-family: inherit; }
.constraint-line > div { display: flex; flex-wrap: wrap; gap: 8px; }
.constraint-line b { padding: 4px 8px; color: var(--bg); border-radius: 3px; background: var(--acid); font-size: 9px; text-transform: uppercase; }
.constraint-line b:nth-child(2) { background: var(--mint); }
.constraint-line b:nth-child(3) { background: var(--violet); }
.constraint-line b:nth-child(4) { background: var(--orange); }
.constraint-line b:nth-child(5) { background: var(--yellow); }

.research-caveat {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 45px;
  max-width: 950px;
  margin: 0 auto;
  padding: 30px;
  border-left: 2px solid var(--orange);
  background: rgba(255,119,87,.045);
}

.research-caveat strong { font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.research-caveat p { margin: 0; color: var(--muted); }

.measurement-section {
  width: min(1140px, calc(100% - 56px));
}

.score-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.score-main,
.score-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(17,21,17,.7);
}

.score-main {
  padding: 34px;
}

.score-label,
.score-card > span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 42px 0 51px;
}

.formula span { color: var(--muted); font-family: Georgia, serif; font-size: 28px; font-style: italic; }
.formula strong { font-family: var(--mono); font-size: clamp(22px, 3vw, 38px); font-weight: 500; letter-spacing: -.06em; }

.score-worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.score-worlds > div {
  position: relative;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.score-worlds small { display: block; color: var(--dim); font-family: var(--mono); font-size: 8px; }
.score-worlds strong { display: block; margin: 8px 0 14px; font-family: var(--mono); font-size: 25px; font-weight: 500; }
.score-worlds i { display: block; width: 100%; height: 2px; background: var(--line); }
.score-worlds i::before { display: block; width: var(--p); height: 100%; content: ""; background: var(--acid); }
.score-main > p { margin: 22px 0 0; color: var(--dim); font-family: var(--mono); font-size: 9px; }

.score-details { display: grid; gap: 16px; }
.score-card { padding: 24px; }
.score-card h3 { margin: 14px 0 9px; font-size: 18px; font-weight: 500; }
.score-card p { margin: 0; color: var(--muted); font-size: 13px; }

.rigor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rigor-grid article {
  padding: 26px;
  border-right: 1px solid var(--line);
}
.rigor-grid article:last-child { border-right: 0; }
.rigor-grid span { color: var(--acid); font-family: var(--mono); font-size: 8px; }
.rigor-grid h3 { margin: 36px 0 10px; font-size: 16px; font-weight: 500; }
.rigor-grid p { margin: 0; color: var(--muted); font-size: 12px; }

.research-section {
  width: min(1140px, calc(100% - 56px));
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.roadmap article {
  position: relative;
  min-height: 230px;
  padding: 28px;
  background: var(--bg-soft);
}

.roadmap article.active { background: linear-gradient(150deg, rgba(218,250,90,.11), var(--bg-soft) 56%); }
.roadmap article > span { color: var(--acid); font-family: var(--mono); font-size: 9px; }
.roadmap article strong { display: block; margin: 48px 0 11px; font-size: 18px; font-weight: 500; }
.roadmap article p { margin: 0; color: var(--muted); font-size: 13px; }
.roadmap article > i { position: absolute; top: 24px; right: 24px; padding: 3px 6px; color: var(--bg); border-radius: 3px; background: var(--acid); font-family: var(--mono); font-size: 7px; font-style: normal; }

.gates {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 70px;
  margin-top: 100px;
}

.gates-intro > span { color: var(--orange); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.gates-intro h3 { margin-top: 24px; font-size: 33px; font-weight: 400; line-height: 1.22; }
.gate-list { border-top: 1px solid var(--line); }
.gate-list article { display: grid; grid-template-columns: 45px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.gate-list b { color: var(--acid); font-family: var(--mono); font-size: 10px; }
.gate-list strong { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 500; }
.gate-list p { margin: 0; color: var(--muted); font-size: 12px; }

.comparison-section {
  width: min(1140px, calc(100% - 56px));
}

.comparison-table {
  border-top: 1px solid var(--line-strong);
}

.comparison-row {
  display: grid;
  grid-template-columns: .55fr 1fr 1.25fr;
  gap: 34px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line);
}

.comparison-row.header {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.comparison-row strong { font-size: 14px; font-weight: 500; }
.comparison-row:not(.header) span { color: var(--muted); font-size: 13px; }
.comparison-note { max-width: 760px; margin: 26px 0 0 auto; color: var(--dim); font-size: 12px; }

.faq-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 90px;
  width: min(1140px, calc(100% - 56px));
}

.faq-section .section-heading { display: block; margin: 0; }
.faq-section .section-heading h2 { font-size: clamp(44px, 5vw, 68px); }

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 23px 42px 23px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after { position: absolute; top: 50%; right: 6px; width: 14px; height: 1px; content: ""; background: var(--muted); transition: transform .2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { max-width: 670px; padding: 0 42px 22px 0; margin: 0; color: var(--muted); font-size: 14px; }

.closing-section {
  width: 100%;
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(218,250,90,.045), transparent 55%);
}

.closing-grid h2 { max-width: 690px; margin: 0; font-size: clamp(48px, 6vw, 76px); }
.closing-grid > div:last-child { align-self: end; }
.closing-grid p { max-width: 540px; color: #c6cac0; font-size: 21px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
}

.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { justify-self: center; }
.site-footer p:last-child { justify-self: end; }
.site-footer a:not(.brand) { color: var(--muted); }
.site-footer .brand { color: var(--ink); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1.1fr .9fr; }
  .hero-system { transform: scale(.88); transform-origin: right center; }
  .proof-strip > div { padding: 24px 18px; }
  .generation-flow { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .generation-flow article { width: auto; }
  .generation-flow > i { display: none; }
  .stack { grid-template-columns: 90px 1fr 90px; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 22px; }
  .nav { display: none; }
  .section { width: min(100% - 36px, var(--max)); padding: 98px 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 84px; }
  .hero-system { width: min(100%, 560px); margin-top: 45px; justify-self: center; transform: none; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid,
  .interface-section,
  .closing-grid,
  .section-heading,
  .score-grid,
  .gates,
  .faq-section { grid-template-columns: 1fr; gap: 42px; }
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-card:nth-child(2) { border-right: 0; }
  .loop-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .interface-section { width: min(100% - 36px, 760px); }
  .interface-copy { max-width: none; }
  .section-heading > p { max-width: 650px; }
  .stack { grid-template-columns: 1fr; }
  .stack-side { display: none; }
  .stack-layer { grid-template-columns: 50px 1fr; }
  .stack-layer small { grid-column: 2; margin-top: 7px; }
  .generation-flow { grid-template-columns: repeat(2, 1fr); }
  .generation-flow article:last-of-type { grid-column: 1 / -1; }
  .rigor-grid { grid-template-columns: repeat(2, 1fr); }
  .rigor-grid article:nth-child(2) { border-right: 0; }
  .rigor-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .faq-section .section-heading { margin-bottom: 10px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; padding: 27px 22px; text-align: center; }
  .site-footer > * { justify-self: center !important; }
}

@media (max-width: 600px) {
  body { background-size: 38px 38px; }
  .header-link { font-size: 9px; }
  .hero h1 { font-size: clamp(58px, 18vw, 86px); }
  .hero-system { width: 112%; margin-left: -6%; }
  .signal-node { font-size: 7px; }
  .surface-window { right: 6%; min-width: 190px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > div:last-child { border-bottom: 0; }
  .intro-grid h2,
  .section-heading h2,
  .interface-copy h2 { font-size: 48px; }
  .loop-grid { grid-template-columns: 1fr; }
  .loop-card { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .loop-card:last-child { border-bottom: 0; }
  .machine { padding: 15px; }
  .machine-header { align-items: flex-start; }
  .machine-status { display: none; }
  .machine-body { grid-template-columns: 1fr; }
  .machine-divider { height: 20px; transform: rotate(90deg); }
  .manipulators,
  .observations { grid-template-columns: repeat(2, 1fr); }
  .machine-log li { grid-template-columns: 28px 1fr 1fr; gap: 4px; }
  .generation-flow { grid-template-columns: 1fr; }
  .generation-flow article:last-of-type { grid-column: auto; }
  .constraint-line { align-items: flex-start; flex-direction: column; }
  .research-caveat { grid-template-columns: 1fr; gap: 13px; }
  .score-worlds { grid-template-columns: 1fr; }
  .rigor-grid { grid-template-columns: 1fr; }
  .rigor-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .rigor-grid article:last-child { border-bottom: 0; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap article { min-height: 205px; }
  .comparison-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .comparison-row.header { display: none; }
  .comparison-row strong { color: var(--acid); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
  .closing-grid p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
