:root {
  --black: #020504;
  --panel: #07100d;
  --panel-2: #0a1712;
  --line: rgba(110, 255, 177, 0.16);
  --line-strong: rgba(110, 255, 177, 0.35);
  --green: #6effb1;
  --green-hot: #18ff83;
  --green-muted: #7ed9aa;
  --white: #effff6;
  --muted: #8ca79a;
  --dim: #52675e;
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 52% 8%, rgba(22, 97, 64, 0.18), transparent 28rem),
    var(--black);
  color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(110,255,177,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,255,177,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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;
}

#matrix-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: .11;
  pointer-events: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(30px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(2, 7, 5, .84);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .16em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.25;
  filter: drop-shadow(0 0 8px rgba(110,255,177,.3));
}
.brand-mark circle { fill: var(--green); stroke: none; }
.brand-accent { color: var(--green); }

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  color: var(--muted);
  font-family: "Consolas", monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--green); }
.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  color: var(--green);
  background: rgba(110,255,177,.04);
}
.menu-toggle { display: none; }

.section {
  position: relative;
  width: min(var(--max), calc(100% - 60px));
  margin: 0 auto;
  padding: 128px 0;
}
.hero {
  min-height: 100svh;
  width: 100%;
  max-width: none;
  padding: 140px max(30px, calc((100vw - var(--max)) / 2)) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(110,255,177,.08);
  border-radius: 50%;
  right: -270px;
  top: 7%;
  box-shadow:
    0 0 0 95px rgba(110,255,177,.018),
    0 0 0 190px rgba(110,255,177,.012);
}
.hero-grid {
  position: absolute;
  left: 52%;
  right: -10%;
  bottom: -22%;
  height: 58%;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(110,255,177,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,255,177,.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to top, black, transparent);
}

.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: "Consolas", monospace;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-hot);
  box-shadow: 0 0 12px var(--green-hot);
  animation: blink 1.7s infinite;
}
@keyframes blink { 50% { opacity: .28; } }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 26px 0 28px;
  max-width: 850px;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 570;
}
h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(174, 255, 210, .72);
  text-shadow: 0 0 32px rgba(110,255,177,.12);
}
.hero-lede {
  max-width: 670px;
  color: #afc8bc;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; margin: 38px 0 42px; }
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid var(--line-strong);
  font-family: "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .2s, border-color .2s, color .2s, background .2s;
}
.button:hover { transform: translateY(-2px); border-color: var(--green); }
.button.primary {
  color: #00180c;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(110,255,177,.13);
}
.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%) skewX(-18deg);
  background: rgba(255,255,255,.35);
  transition: transform .5s;
}
.button.primary:hover::after { transform: translateX(110%) skewX(-18deg); }
.button.ghost { color: var(--green-muted); background: rgba(3,16,10,.5); }
.trust-row { display: flex; flex-wrap: wrap; gap: 25px; color: var(--dim); font: 10px "Consolas", monospace; letter-spacing: .12em; }
.trust-row span::before { content: "//"; margin-right: 8px; color: var(--green); }

.hero-visual { position: relative; z-index: 1; display: grid; place-items: center; min-height: 570px; }
.orbital-system { position: relative; width: min(42vw, 550px); aspect-ratio: 1; display: grid; place-items: center; }
.substrate-core {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid var(--green);
  background:
    linear-gradient(135deg, rgba(110,255,177,.18), rgba(3,15,10,.8)),
    repeating-linear-gradient(0deg, transparent, transparent 12px, rgba(110,255,177,.05) 13px);
  box-shadow: inset 0 0 45px rgba(110,255,177,.12), 0 0 55px rgba(110,255,177,.12);
  animation: coreFloat 6s ease-in-out infinite;
}
.substrate-core::before, .substrate-core::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(110,255,177,.28);
}
.substrate-core::after { inset: 33px; background: rgba(110,255,177,.07); }
.core-label {
  position: relative;
  z-index: 2;
  transform: rotate(-45deg);
  color: var(--green);
  text-align: center;
  font: 9px/1.6 "Consolas", monospace;
  letter-spacing: .13em;
}
@keyframes coreFloat {
  0%, 100% { transform: rotate(45deg) translate(0,0); }
  50% { transform: rotate(48deg) translate(-7px,-7px); }
}
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(110,255,177,.22); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px var(--green); }
.orbit::after { left: 8%; top: 22%; width: 3px; height: 3px; }
.orbit-two { inset: 20%; border-style: dashed; animation-duration: 12s; animation-direction: reverse; transform: rotateX(62deg); }
.orbit-three { inset: 2%; border-color: rgba(110,255,177,.1); animation-duration: 28s; }
.orbit i { position: absolute; left: 48%; top: -3px; width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 15px var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.datum {
  position: absolute;
  padding: 5px 8px;
  border-left: 1px solid var(--green);
  background: rgba(4,13,9,.74);
  color: var(--green-muted);
  font: 8px "Consolas", monospace;
  letter-spacing: .12em;
}
.d1 { top: 14%; left: 2%; }
.d2 { top: 24%; right: -2%; }
.d3 { bottom: 21%; left: -1%; }
.d4 { bottom: 10%; right: 5%; }
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: var(--dim);
  font: 8px "Consolas", monospace;
  letter-spacing: .18em;
}
.scroll-cue i { width: 34px; height: 1px; background: var(--line-strong); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid var(--green); border-bottom: 1px solid var(--green); transform: rotate(-45deg); }

.section-kicker { margin-bottom: 28px; }
.section-kicker::after { content: ""; width: 60px; height: 1px; background: var(--line-strong); }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 70px; }
h2 {
  margin-bottom: 0;
  font-size: clamp(39px, 4.8vw, 68px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 520;
}
h2 em { color: var(--green); font-style: normal; }
.split-heading > p { margin-bottom: 4px; color: var(--muted); font-size: 16px; line-height: 1.8; }

.purpose { border-top: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.signal-card { position: relative; min-height: 270px; padding: 32px; border-right: 1px solid var(--line); background: linear-gradient(145deg, rgba(8,20,15,.72), rgba(2,7,5,.7)); overflow: hidden; }
.signal-card:last-child { border-right: 0; }
.signal-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  opacity: .2;
  background: repeating-linear-gradient(90deg, transparent 0 14px, var(--green) 15px 16px);
  mask-image: linear-gradient(to top, black, transparent);
}
.card-index { color: var(--green); font: 10px "Consolas", monospace; }
.signal-card h3 { margin: 60px 0 14px; font-size: 22px; font-weight: 550; }
.signal-card p { position: relative; z-index: 1; max-width: 310px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.signal-line { position: absolute; left: 32px; right: 32px; bottom: 28px; height: 1px; background: var(--line); }
.signal-line i { display: block; width: 26%; height: 1px; background: var(--green); box-shadow: 0 0 10px var(--green); animation: scan 3s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateX(280%); } }
.thesis {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  margin-top: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.thesis span { color: var(--green); font: 10px "Consolas", monospace; letter-spacing: .15em; }
.thesis p { margin: 0; max-width: 850px; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.35; letter-spacing: -.02em; }

.technology::before {
  content: "GEOMETRIC";
  position: absolute;
  right: -2vw;
  top: 90px;
  color: rgba(110,255,177,.018);
  font-size: 12vw;
  font-weight: 900;
  letter-spacing: -.08em;
  pointer-events: none;
}
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 78px; }
.pipeline-track { position: absolute; left: 8%; right: 8%; top: 18px; height: 1px; background: var(--line-strong); }
.pipeline article { position: relative; text-align: center; padding: 0 10px; }
.pipeline article > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--black);
  color: var(--green);
  font: 9px "Consolas", monospace;
  box-shadow: 0 0 18px rgba(110,255,177,.12);
}
.pipeline b { display: block; color: var(--white); font: 10px "Consolas", monospace; letter-spacing: .14em; }
.pipeline small { display: block; margin-top: 8px; color: var(--dim); font-size: 10px; }
.tech-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.architecture-panel { min-height: 510px; border: 1px solid var(--line-strong); background: rgba(4,13,9,.78); }
.panel-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 9px "Consolas", monospace;
  letter-spacing: .13em;
}
.live-indicator { color: var(--green); }
.live-indicator::before { content: "●"; margin-right: 6px; animation: blink 1.5s infinite; }
.architecture-map { position: relative; min-height: 460px; }
.arch-node {
  position: absolute;
  width: 140px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  background: #07110d;
}
.arch-node span { display: block; margin-bottom: 5px; color: var(--green); font: 8px "Consolas", monospace; letter-spacing: .13em; }
.arch-node b { font-size: 12px; font-weight: 500; }
.arch-node::before { content: ""; position: absolute; width: 5px; height: 5px; background: var(--green); box-shadow: 0 0 8px var(--green); }
.source { left: 7%; top: 12%; }
.lambda { left: 38%; top: 37%; }
.s3 { right: 7%; top: 12%; }
.dynamo { left: 10%; bottom: 10%; }
.agents { right: 8%; bottom: 11%; }
.source::before, .s3::before { bottom: -3px; left: 50%; }
.lambda::before { right: -3px; top: 50%; }
.dynamo::before, .agents::before { top: -3px; left: 50%; }
.flow { position: absolute; height: 1px; background: var(--line-strong); transform-origin: left center; }
.flow::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; background: var(--green); animation: flowPulse 2s infinite; }
.f1 { width: 34%; left: 24%; top: 29%; transform: rotate(27deg); }
.f2 { width: 31%; left: 58%; top: 48%; transform: rotate(-29deg); }
.f3 { width: 29%; left: 24%; top: 67%; transform: rotate(-34deg); }
.f4 { width: 36%; left: 38%; top: 75%; transform: rotate(2deg); }
@keyframes flowPulse { 50% { box-shadow: 0 0 14px 3px var(--green); } }
.tech-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { display: flex; gap: 18px; padding: 27px 23px; background: var(--panel); }
.feature-icon {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--green);
  font: 13px "Consolas", monospace;
}
.feature h3 { margin: 1px 0 8px; font-size: 14px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.roi { border-top: 1px solid var(--line); }
.roi-console { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line-strong); background: rgba(4,13,9,.88); }
.roi-inputs, .roi-results { padding: 38px; }
.roi-inputs { border-right: 1px solid var(--line); }
.console-title { display: flex; justify-content: space-between; margin-bottom: 36px; color: var(--green); font: 10px "Consolas", monospace; letter-spacing: .12em; }
.console-title small { color: var(--dim); }
.roi-inputs label { display: block; margin-bottom: 34px; }
.roi-inputs label > span { display: block; color: var(--muted); font-size: 12px; }
.roi-inputs strong { display: block; margin: 6px 0 15px; font: 500 25px "Consolas", monospace; }
input[type="range"] {
  width: 100%;
  height: 3px;
  appearance: none;
  border: 0;
  background: linear-gradient(to right, var(--green), var(--line-strong));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 0 12px rgba(110,255,177,.5);
}
.roi-results { display: flex; flex-direction: column; justify-content: center; }
.result-primary { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.result-primary span, .result-grid span { display: block; color: var(--green-muted); font: 9px "Consolas", monospace; letter-spacing: .13em; }
.result-primary strong { display: block; margin: 9px 0; color: var(--green); font: 500 clamp(42px, 5vw, 72px) "Consolas", monospace; letter-spacing: -.06em; text-shadow: 0 0 25px rgba(110,255,177,.18); }
.result-primary small { color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; }
.result-grid > div { min-height: 102px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.result-grid > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 22px; }
.result-grid > div:nth-child(even) { padding-left: 22px; }
.result-grid strong { display: block; margin-top: 9px; font: 500 19px "Consolas", monospace; }
.disclaimer { margin: 18px 0 0; color: var(--dim); font-size: 10px; line-height: 1.5; }
.market-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-strip div { display: flex; align-items: center; gap: 15px; min-height: 86px; padding: 0 20px; border-right: 1px solid var(--line); }
.market-strip div:last-child { border-right: 0; }
.market-strip span { color: var(--green); font: 9px "Consolas", monospace; }
.market-strip p { margin: 0; color: var(--muted); font-size: 12px; }

.team { padding-top: 140px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 210px;
  border: 1px solid var(--line);
  background: rgba(7,16,13,.72);
  transition: border-color .25s, transform .25s;
}
.team-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.portrait {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 35%, rgba(110,255,177,.22), transparent 3px),
    linear-gradient(135deg, rgba(110,255,177,.06), transparent),
    repeating-linear-gradient(45deg, transparent 0 9px, rgba(110,255,177,.035) 10px);
}
.portrait::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  left: 48px;
  top: 43px;
  border: 1px solid var(--green-muted);
  border-radius: 50%;
  box-shadow: 0 70px 0 23px rgba(110,255,177,.08);
}
.portrait::after { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); clip-path: polygon(0 0, 35% 0, 35% 1px, 1px 1px, 1px 35%, 0 35%, 0 0, 100% 0, 100% 35%, calc(100% - 1px) 35%, calc(100% - 1px) 1px, 65% 1px, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 65%, 100% 65%, 100% 100%, 0 100%, 0 65%, 1px 65%, 1px calc(100% - 1px), 35% calc(100% - 1px), 35% 100%, 0 100%); }
.portrait span { position: absolute; left: 17px; bottom: 13px; color: var(--green); font: 9px "Consolas", monospace; }
.team-card > div:last-child { align-self: center; padding: 28px; }
.team-card small { color: var(--green); font: 8px "Consolas", monospace; letter-spacing: .13em; }
.team-card h3 { margin: 8px 0 10px; font-size: 20px; font-weight: 550; }
.team-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.team-note { margin: 24px 0 0 auto; width: fit-content; color: var(--dim); font: 10px "Consolas", monospace; }

.investors { width: 100%; max-width: none; padding: 110px max(30px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(9,30,20,.9), rgba(2,7,5,.9)); }
.investor-shell { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid var(--line-strong); }
.investor-code {
  min-height: 550px;
  padding: 40px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-content: center;
  gap: 25px 10px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(5,15,10,.75), rgba(5,15,10,.95)),
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(110,255,177,.08) 20px);
}
.investor-code > span { grid-column: 1 / -1; margin-bottom: 25px; color: var(--green); font: 9px "Consolas", monospace; letter-spacing: .13em; }
.investor-code b { color: var(--green); font: 12px "Consolas", monospace; }
.investor-code i { color: var(--muted); font: normal 11px "Consolas", monospace; letter-spacing: .08em; }
.investor-copy { padding: 65px; align-self: center; }
.investor-copy h2 { margin: 26px 0; font-size: clamp(36px, 4vw, 58px); }
.investor-copy > p { max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.investor-copy ul { margin: 30px 0 36px; padding: 0; list-style: none; }
.investor-copy li { display: flex; gap: 14px; margin: 13px 0; color: #b4cbbf; font-size: 13px; }
.investor-copy li span { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 6px; border: 1px solid var(--green); transform: rotate(45deg); }

footer {
  width: min(var(--max), calc(100% - 60px));
  margin: 0 auto;
  padding: 55px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 25px;
}
footer > p { margin: 0; color: var(--dim); text-align: center; font-size: 11px; }
footer > div { display: flex; justify-content: flex-end; gap: 20px; color: var(--dim); font: 9px "Consolas", monospace; }
footer a:hover { color: var(--green); }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-visual { min-height: 460px; margin-top: -30px; }
  .orbital-system { width: min(76vw, 500px); }
  .split-heading { grid-template-columns: 1fr; gap: 28px; }
  .tech-layout, .roi-console { grid-template-columns: 1fr; }
  .roi-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .team-card { grid-template-columns: 120px 1fr; }
  .portrait::before { left: 23px; }
  .investor-shell { grid-template-columns: 1fr; }
  .investor-code { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .site-header { height: 66px; padding: 0 22px; }
  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 36px;
    padding: 9px;
    border: 1px solid var(--line);
    background: var(--panel);
  }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: var(--green); }
  nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    align-items: stretch;
    padding: 17px;
    background: rgba(3,11,7,.97);
    border: 1px solid var(--line-strong);
  }
  nav.open { display: grid; gap: 6px; }
  nav a { padding: 12px; }
  .section { width: min(100% - 36px, var(--max)); padding: 90px 0; }
  .hero { width: 100%; padding: 125px 22px 90px; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 360px; }
  .hero-visual { min-height: 380px; }
  .problem-grid, .team-grid { grid-template-columns: 1fr; }
  .signal-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-card:last-child { border-bottom: 0; }
  .pipeline { grid-template-columns: 1fr; gap: 0; }
  .pipeline-track { left: 17px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; }
  .pipeline article { display: grid; grid-template-columns: 38px 110px 1fr; align-items: center; gap: 14px; text-align: left; padding: 10px 0; }
  .pipeline article > span { margin: 0; }
  .pipeline small { margin: 0; }
  .tech-features, .result-grid { grid-template-columns: 1fr; }
  .result-grid > div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .result-grid > div:nth-child(even) { padding-left: 0; }
  .market-strip { grid-template-columns: 1fr 1fr; }
  .market-strip div:nth-child(2) { border-right: 0; }
  .market-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .investors { padding: 75px 18px; }
  .investor-copy, .investor-code { padding: 32px 24px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  footer > div { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .trust-row { display: grid; gap: 9px; }
  .hero-visual { min-height: 320px; }
  .substrate-core { width: 120px; height: 120px; }
  .datum { display: none; }
  .architecture-panel { min-height: 600px; }
  .architecture-map { min-height: 550px; }
  .arch-node { width: 126px; }
  .source { top: 7%; left: 7%; }
  .s3 { top: 7%; right: 7%; }
  .lambda { top: 37%; left: calc(50% - 63px); }
  .dynamo { left: 7%; bottom: 8%; }
  .agents { right: 7%; bottom: 8%; }
  .f1, .f2, .f3, .f4 { display: none; }
  .roi-inputs, .roi-results { padding: 26px 20px; }
  .market-strip { grid-template-columns: 1fr; }
  .market-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .team-card { grid-template-columns: 1fr; }
  .portrait { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .portrait::before { left: calc(50% - 36px); top: 24px; }
  .thesis { grid-template-columns: 1fr; }
}

@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; }
  #matrix-rain { display: none; }
}
