:root {
  --bg: #07100d;
  --bg-soft: #0c1713;
  --panel: #101d18;
  --panel-2: #15241d;
  --paper: #f4f6f3;
  --paper-2: #e9ede8;
  --ink: #111714;
  --text: #eef5ef;
  --muted: #9fb0a5;
  --line: rgba(219, 235, 222, .15);
  --line-dark: rgba(15, 29, 23, .16);
  --green: #7fbd21;
  --green-bright: #9ee63a;
  --green-deep: #4d7f0d;
  --amber: #e29d35;
  --danger: #e65c4f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .25);
  --max: 1460px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% -10%, rgba(126, 189, 33, .14), transparent 33%),
    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: auto, 56px 56px, 56px 56px, auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 2000;
  background: var(--green-bright); color: var(--ink); padding: 12px 18px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.icon { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(7,16,13,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 38px rgba(0,0,0,.24); background: rgba(7,16,13,.97); }
.header-shell {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; width: 208px; align-items: center; text-decoration: none; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { list-style: none; display: flex; gap: 7px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }
.site-nav ul a {
  display: block; padding: 12px 11px; border-radius: 10px; color: #ced8d0;
  font-size: .88rem; font-weight: 690; letter-spacing: .015em;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; border: 0; background: none; color: white; width: 46px; height: 46px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: .2s ease; }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 12px;
  text-decoration: none; font-weight: 760; font-size: .9rem; letter-spacing: .01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #0a110d; border-color: var(--green); }
.button-primary:hover { background: var(--green-bright); border-color: var(--green-bright); }
.button-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(158,230,58,.55); }
.button-dark { background: var(--bg); color: #fff; border-color: var(--bg); }
.button-light { background: white; color: var(--ink); border-color: white; }
.button-small { min-height: 38px; padding: 0 14px; font-size: .82rem; }

.page-shell { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-tight { padding: 62px 0; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper + .section-paper { border-top: 1px solid var(--line-dark); }
.section-dark { background: var(--bg-soft); }
.section-grid { position: relative; overflow: hidden; }
.section-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section-grid > * { position: relative; }
.section-kicker {
  margin: 0 0 14px; color: var(--green-bright); text-transform: uppercase; letter-spacing: .18em;
  font-size: .74rem; font-weight: 820;
}
.section-paper .section-kicker { color: var(--green-deep); }
.display-title, h1, h2, h3 { line-height: 1.06; letter-spacing: -.035em; }
h1, h2, h3, p { margin-top: 0; }
.display-title { margin-bottom: 24px; font-size: clamp(3rem, 6.5vw, 7.5rem); max-width: 1120px; font-weight: 780; }
.display-title .accent { color: var(--green-bright); }
.section-title { margin-bottom: 22px; font-size: clamp(2.15rem, 4vw, 4.5rem); font-weight: 760; max-width: 980px; }
.section-lead { max-width: 790px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.55; }
.section-paper .section-lead { color: #4d5c53; }
.mini-title { font-size: 1.25rem; letter-spacing: -.02em; }
.eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.prototype-badge, .pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(158,230,58,.35); background: rgba(126,189,33,.1); color: var(--green-bright);
  font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.section-paper .prototype-badge, .section-paper .pill { color: var(--green-deep); border-color: rgba(77,127,13,.25); background: rgba(126,189,33,.09); }

.hero {
  min-height: calc(100svh - var(--header-h)); position: relative; overflow: hidden; display: grid; align-items: end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,9,7,.96) 0%, rgba(3,9,7,.76) 40%, rgba(3,9,7,.24) 70%, rgba(3,9,7,.44) 100%), linear-gradient(0deg, rgba(3,9,7,.96) 0%, transparent 48%);
}
.hero-content { position: relative; z-index: 2; padding: 108px 28px 72px; width: min(var(--max), 100%); margin: 0 auto; }
.hero-copy { max-width: 860px; }
.hero-copy p { max-width: 720px; color: #cad6ce; font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-status {
  margin-top: 62px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-status > div { padding: 22px 24px 22px 0; border-right: 1px solid var(--line); }
.hero-status > div + div { padding-left: 24px; }
.hero-status > div:last-child { border-right: 0; }
.hero-status strong { display: block; font-size: 1.15rem; color: #fff; }
.hero-status span { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }

.split { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(48px, 7vw, 110px); }
.split.reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.split.reverse .split-media { order: 1; }
.split.reverse .split-copy { order: 2; }
.split-copy > :last-child { margin-bottom: 0; }
.split-copy .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.system-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 52px;
}
.system-step { background: var(--panel); padding: 34px; min-height: 250px; position: relative; }
.system-step .number { font-size: .72rem; color: var(--green-bright); font-weight: 850; letter-spacing: .16em; }
.system-step h3 { margin: 42px 0 12px; font-size: 1.45rem; }
.system-step p { color: var(--muted); margin-bottom: 0; }
.system-step::after { content: "→"; position: absolute; right: -17px; top: 50%; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #0a110d; font-weight: 900; }
.system-step:last-child::after { display: none; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.metric { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; background: rgba(255,255,255,.025); }
.metric strong { display: block; color: var(--green-bright); font-size: clamp(1.8rem, 3vw, 3.2rem); letter-spacing: -.04em; }
.metric span { display: block; color: var(--muted); margin-top: 5px; }
.section-paper .metric { border-color: var(--line-dark); background: #fff; }
.section-paper .metric strong { color: var(--green-deep); }
.section-paper .metric span { color: #59685e; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: rgba(255,255,255,.025); }
.feature-card .icon-wrap { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(126,189,33,.12); color: var(--green-bright); margin-bottom: 30px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.section-paper .feature-card { background: white; border-color: var(--line-dark); }
.section-paper .feature-card .icon-wrap { color: var(--green-deep); }
.section-paper .feature-card p { color: #58665d; }

.technical-figure { margin: 0; background: white; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.technical-figure .image-open { width: 100%; display: block; padding: 0; border: 0; background: white; position: relative; }
.technical-figure img { width: 100%; object-fit: contain; background: #f7f8f6; }
.image-open-label { position: absolute; right: 18px; bottom: 18px; background: rgba(7,16,13,.9); color: white; padding: 8px 12px; border-radius: 8px; opacity: 0; transform: translateY(5px); transition: .2s ease; font-size: .78rem; font-weight: 750; }
.image-open:hover .image-open-label, .image-open:focus-visible .image-open-label { opacity: 1; transform: none; }
.technical-figure figcaption { display: flex; gap: 12px; align-items: center; color: #334139; padding: 16px 20px; font-size: .9rem; border-top: 1px solid var(--line-dark); }
.technical-figure figcaption span { flex: 0 0 auto; color: var(--green-deep); font-weight: 820; text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; }
.comp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 42px; }
.comp-grid .technical-figure:nth-child(3n) { grid-column: 1 / -1; }

.image-dialog { width: min(96vw, 1700px); max-height: 94vh; border: 0; border-radius: 18px; padding: 16px; background: #fff; color: var(--ink); box-shadow: 0 40px 130px rgba(0,0,0,.55); }
.image-dialog::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(7px); }
.image-dialog img { width: 100%; max-height: 83vh; object-fit: contain; }
.image-dialog p { margin: 10px 42px 0 0; color: #4f5d54; }
.dialog-close { position: absolute; right: 14px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 1px solid rgba(0,0,0,.1); border-radius: 50%; background: rgba(255,255,255,.92); font-size: 1.6rem; }

.page-hero { padding: 92px 0 54px; border-bottom: 1px solid var(--line); }
.page-hero .page-shell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 36px; }
.page-hero h1 { margin: 0; max-width: 1000px; font-size: clamp(3rem, 6vw, 6.6rem); }
.page-hero p { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.2rem; }
.page-index { color: var(--green-bright); font-size: clamp(4.5rem, 9vw, 10rem); font-weight: 830; line-height: .75; opacity: .22; }

.workflow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 42px; }
.workflow-step { min-height: 190px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 18px; background: rgba(255,255,255,.025); }
.workflow-step strong { display: block; color: var(--green-bright); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.workflow-step h3 { margin: 40px 0 8px; font-size: 1.05rem; }
.workflow-step p { color: var(--muted); font-size: .86rem; margin: 0; }

.data-flow { margin-top: 42px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; gap: 12px; }
.data-node { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; background: var(--panel); }
.data-node .icon { color: var(--green-bright); margin-bottom: 34px; }
.data-node h3 { margin-bottom: 8px; }
.data-node p { color: var(--muted); margin-bottom: 0; font-size: .9rem; }

.dashboard-demo { display: grid; grid-template-columns: 230px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #09120f; overflow: hidden; margin-top: 44px; box-shadow: var(--shadow); }
.dashboard-sidebar { padding: 24px; border-right: 1px solid var(--line); }
.dashboard-sidebar strong { display: block; color: white; margin-bottom: 26px; }
.dashboard-sidebar button { width: 100%; text-align: left; border: 0; border-radius: 9px; background: transparent; color: var(--muted); padding: 10px 12px; margin-bottom: 4px; }
.dashboard-sidebar button.is-active { background: rgba(126,189,33,.12); color: var(--green-bright); }
.dashboard-main { padding: 28px; }
.dashboard-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.dashboard-head h3 { margin: 0; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; color: #b6c4bb; font-size: .8rem; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 6px rgba(158,230,58,.08); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dashboard-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.dashboard-stat span { color: var(--muted); font-size: .75rem; }
.dashboard-stat strong { display: block; font-size: 1.65rem; margin-top: 7px; }
.dashboard-map { min-height: 330px; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; background: linear-gradient(135deg, #16301e, #09130f); }
.dashboard-map::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 8%, rgba(158,230,58,.14) 8.4% 9.2%, transparent 9.6% 13%); transform: skewY(-8deg) scale(1.3); }
.robot-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--green-bright); border: 4px solid rgba(7,16,13,.9); box-shadow: 0 0 0 4px rgba(158,230,58,.15); animation: pulse 2.4s infinite; }
.robot-dot:nth-child(1) { top: 26%; left: 22%; }
.robot-dot:nth-child(2) { top: 56%; left: 48%; animation-delay: .6s; }
.robot-dot:nth-child(3) { top: 38%; left: 72%; animation-delay: 1.1s; }
@keyframes pulse { 50% { box-shadow: 0 0 0 13px rgba(158,230,58,0); } }

.timeline { margin-top: 50px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 38px; }
.timeline-dot { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid rgba(158,230,58,.35); color: var(--green-bright); font-weight: 850; z-index: 2; }
.timeline-content { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.025); }
.timeline-content h3 { margin-bottom: 8px; }
.timeline-content p { color: var(--muted); margin-bottom: 0; }
.timeline-content ul { color: #ced8d0; padding-left: 20px; }

.funding-hero { padding: 88px 0 64px; }
.funding-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr); gap: 40px; align-items: start; }
.funding-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); padding: 30px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.funding-target { font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 820; letter-spacing: -.06em; line-height: 1; }
.funding-card p { color: #59675e; }
.funding-progress { height: 12px; border-radius: 999px; background: #dce3dc; overflow: hidden; margin: 24px 0 10px; }
.funding-progress span { display: block; width: 18%; height: 100%; background: var(--green); }
.funding-note { display: flex; justify-content: space-between; font-size: .78rem; color: #627168; }
.milestone-list { display: grid; gap: 16px; margin-top: 32px; }
.milestone { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.milestone-number { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(126,189,33,.12); color: var(--green-bright); font-weight: 850; }
.milestone p { color: var(--muted); margin: 4px 0 0; font-size: .88rem; }
.milestone-amount { font-weight: 800; color: var(--green-bright); }

.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: rgba(255,255,255,.025); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .82rem; font-weight: 740; color: #d5ded8; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.035); color: #fff; padding: 13px 14px; outline: none;
}
.form-field select option { color: #111; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(126,189,33,.12); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.form-note { color: var(--muted); font-size: .78rem; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; border: 1px solid var(--line); }
.alert-success { background: rgba(126,189,33,.12); color: #dff7bd; border-color: rgba(126,189,33,.35); }
.alert-error { background: rgba(230,92,79,.1); color: #ffc8c2; border-color: rgba(230,92,79,.3); }

.document-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 42px; }
.document-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.document-card header { padding: 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.document-card h2 { margin: 0; font-size: 1.2rem; }
.document-card object { width: 100%; height: 720px; background: white; }
.document-actions { display: flex; gap: 8px; }

.reference-list { display: grid; gap: 12px; margin-top: 32px; }
.reference-item { border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.reference-item span { color: var(--muted); font-size: .84rem; }
.reference-item:hover { border-color: rgba(158,230,58,.45); }

.video-shell { background: #020403; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-shell video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: contain; }

.callout { border-left: 3px solid var(--green); padding: 22px 0 22px 24px; max-width: 900px; }
.callout p { margin: 0; color: #cad5cd; font-size: 1.14rem; }
.section-paper .callout p { color: #4d5a52; }

.cta-band { padding: 68px 0; background: var(--green); color: #0a110d; }
.cta-band .page-shell { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { margin: 0; max-width: 900px; font-size: clamp(2rem, 4vw, 4rem); }
.cta-band .button { flex: 0 0 auto; }

.site-footer { padding: 74px 28px 26px; border-top: 1px solid var(--line); background: #050b08; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; }
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 380px; }
.footer-grid h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 18px; }
.footer-grid a { display: block; text-decoration: none; color: var(--muted); margin: 9px 0; }
.footer-grid a:hover { color: var(--green-bright); }
.footer-bottom { max-width: var(--max); margin: 54px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #798b80; font-size: .78rem; }
.footer-bottom p { margin: 0; }

.legal-copy { max-width: 880px; }
.legal-copy h2 { margin-top: 42px; font-size: 1.5rem; }
.legal-copy p, .legal-copy li { color: #c0ccc4; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 1220px) {
  .site-nav ul { gap: 1px; }
  .site-nav ul a { padding-inline: 8px; font-size: .81rem; }
  .nav-actions .button-ghost { display: none; }
  .workflow { grid-template-columns: repeat(4, 1fr); }
  .data-flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .header-shell { padding: 0 18px; }
  .brand { width: 170px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: rgba(7,16,13,.99); padding: 28px 22px; overflow-y: auto; align-items: stretch; flex-direction: column;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { font-size: 1.25rem; padding: 12px; }
  .nav-actions { margin-top: 18px; flex-direction: column; align-items: stretch; }
  .nav-actions .button-ghost { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 830px; }
  .hero-media img { object-position: 60% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(3,9,7,.94), rgba(3,9,7,.55)), linear-gradient(0deg, rgba(3,9,7,.98) 0%, rgba(3,9,7,.2) 60%); }
  .hero-status { grid-template-columns: repeat(2, 1fr); }
  .hero-status > div:nth-child(2) { border-right: 0; }
  .hero-status > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 42px; }
  .split.reverse .split-media, .split.reverse .split-copy { order: initial; }
  .system-rail { grid-template-columns: repeat(2, 1fr); }
  .system-step:nth-child(2)::after { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .data-flow { grid-template-columns: repeat(2, 1fr); }
  .page-hero .page-shell { grid-template-columns: 1fr; }
  .page-index { display: none; }
  .dashboard-demo { grid-template-columns: 1fr; }
  .dashboard-sidebar { border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; }
  .dashboard-sidebar strong { display: none; }
  .dashboard-sidebar button { width: auto; white-space: nowrap; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .funding-layout { grid-template-columns: 1fr; }
  .funding-card { position: static; }
  .document-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 680px) {
  .page-shell, .hero-content { padding-left: 18px; padding-right: 18px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .display-title { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .section-title { font-size: clamp(2rem, 10vw, 3.25rem); }
  .hero { min-height: 780px; }
  .hero-content { padding-top: 80px; padding-bottom: 34px; }
  .hero-status { margin-top: 40px; grid-template-columns: 1fr 1fr; }
  .hero-status > div { padding: 16px 12px 16px 0; }
  .hero-status > div + div { padding-left: 12px; }
  .system-rail { grid-template-columns: 1fr; }
  .system-step::after { display: none; }
  .metric-grid, .feature-grid, .workflow, .data-flow, .comp-grid { grid-template-columns: 1fr; }
  .comp-grid .technical-figure:nth-child(3n) { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .funding-card { padding: 24px; }
  .milestone { grid-template-columns: auto 1fr; }
  .milestone-amount { grid-column: 2; }
  .dashboard-main { padding: 18px; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .document-card object { height: 540px; }
  .document-card header { align-items: flex-start; flex-direction: column; }
  .cta-band .page-shell { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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