:root {
  --ink: #f4f7fa;
  --muted: #a6b2c1;
  --dim: #687588;
  --void: #07090d;
  --panel: #0b0e17;
  --panel-2: #101522;
  --line: rgba(210, 220, 255, 0.13);
  --line-bright: rgba(210, 220, 255, 0.28);
  --acid: #2979ff;
  --blue: #4b9cff;
  --cyan: #4fd1e8;
  --max: 1480px;
  --pad: clamp(1.25rem, 3.2vw, 3.75rem);
  --mx: 50vw;
  --my: 30vh;
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle 38rem at var(--mx) var(--my), rgba(41, 121, 255, 0.11), transparent 72%),
    var(--void);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--acid); color: var(--void); }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: .8rem 1rem;
  transform: translateY(-160%);
  background: var(--acid);
  color: var(--void);
  font: 700 .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-decoration: none;
}

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

:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }

.intro-sequence {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--void);
  pointer-events: none;
  animation: intro-field-exit .7s 1.65s cubic-bezier(.76,0,.24,1) forwards, intro-remove .01s 2.4s forwards;
}

.intro-field { position: relative; width: min(80vw, 760px); height: 220px; }
.intro-field::before {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 92%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  box-shadow: 0 0 22px rgba(63,157,255,.65);
  content: "";
  animation: organize-line .8s .65s cubic-bezier(.16,1,.3,1) forwards;
}
.intro-field i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 12px rgba(99,230,255,.42);
  animation: organize-point .9s .35s cubic-bezier(.16,1,.3,1) forwards;
}
.intro-field i:nth-child(1) { left: 5%; top: 18%; }
.intro-field i:nth-child(2) { left: 14%; top: 72%; }
.intro-field i:nth-child(3) { left: 23%; top: 38%; }
.intro-field i:nth-child(4) { left: 31%; top: 81%; }
.intro-field i:nth-child(5) { left: 39%; top: 12%; }
.intro-field i:nth-child(6) { left: 47%; top: 66%; }
.intro-field i:nth-child(7) { left: 55%; top: 29%; }
.intro-field i:nth-child(8) { left: 63%; top: 77%; }
.intro-field i:nth-child(9) { left: 71%; top: 20%; }
.intro-field i:nth-child(10) { left: 79%; top: 62%; }
.intro-field i:nth-child(11) { left: 87%; top: 36%; }
.intro-field i:nth-child(12) { left: 94%; top: 74%; }
.intro-field span {
  position: absolute;
  left: 50%;
  bottom: 0;
  color: var(--muted);
  font: 650 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  animation: intro-label .35s 1.05s ease-out forwards;
  white-space: nowrap;
}
@keyframes organize-point { to { top: calc(50% - 3px); background: var(--cyan); } }
@keyframes organize-line { to { transform: scaleX(1); } }
@keyframes intro-label { to { opacity: 1; transform: translateX(-50%); } }
@keyframes intro-field-exit { to { opacity: 0; transform: scale(1.08); } }
@keyframes intro-remove { to { visibility: hidden; } }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  background: rgba(255,255,255,.04);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--ink), var(--acid));
}

.cursor-signal {
  position: fixed;
  z-index: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--acid);
  box-shadow: 0 0 24px 5px rgba(41,121,255,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.route-shutter {
  position: fixed;
  inset: 0;
  z-index: 450;
  transform: translateX(105%) skewX(-10deg);
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(79,209,232,.18) 7% 9%, transparent 9% 15%, rgba(41,121,255,.76) 15% 52%, rgba(79,209,232,.7) 52% 86%, transparent 86%);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.route-shutter.is-routing { animation: route-wipe .68s cubic-bezier(.76,0,.24,1); }
@keyframes route-wipe { 0% { transform: translateX(105%) skewX(-10deg); } 48% { transform: translateX(0) skewX(-10deg); } 52% { transform: translateX(0) skewX(-10deg); } 100% { transform: translateX(-105%) skewX(-10deg); } }

@media (pointer: fine) { body:hover .cursor-signal { opacity: .75; } }

.site-header {
  position: fixed;
  inset: 2px 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 15, .78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100%, var(--max));
  min-height: 76px;
  margin: auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font: 800 .9rem/1 "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
}

.brand > span:last-child > span,
.footer-brand strong span { color: var(--acid); }

.brand-mark {
  display: inline-grid;
  width: 29px;
  height: 29px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  transform: skewX(-10deg);
}

.brand-mark i { display: block; background: var(--ink); }
.brand-mark i:nth-child(2) { background: var(--blue); transform: translateY(5px); }
.brand-mark i:nth-child(3) { background: var(--acid); transform: translateY(10px); }
.home-page .brand-mark i { animation: mark-settle .55s 2.2s cubic-bezier(.16,1,.3,1) both; }
.home-page .brand-mark i:nth-child(2) { animation-delay: 2.27s; }
.home-page .brand-mark i:nth-child(3) { animation-delay: 2.34s; }
@keyframes mark-settle { from { opacity: 0; translate: 0 -12px; } to { opacity: 1; translate: 0; } }

.nav-links { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3.3rem); }
.nav-links a {
  position: relative;
  padding: 1rem 0;
  color: var(--muted);
  font: 700 .68rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-links a::after {
  position: absolute;
  inset: auto 0 .55rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--acid);
  content: "";
  transition: transform .25s ease;
}

.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--muted);
  font: 700 .58rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-status i, .console-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(79,209,232,.1);
  animation: status-pulse 2.4s ease-in-out 3;
}

@keyframes status-pulse { 50% { box-shadow: 0 0 0 10px rgba(79,209,232,0); } }

.hero {
  position: relative;
  width: min(100%, var(--max));
  min-height: 100svh;
  margin: auto;
  padding: clamp(9rem, 16vh, 12rem) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 76px var(--pad) 0;
  z-index: -1;
  border-inline: 1px solid var(--line);
  background-image:
    radial-gradient(circle at 68% 42%, rgba(41,121,255,.15), transparent 25%),
    linear-gradient(115deg, transparent 20%, rgba(82,154,255,.035) 45%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 96%);
}

.hero-grid::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--void) 4%, transparent 45%, rgba(79,209,232,.07) 70%, var(--void));
  content: "";
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.section-index,
.console-topline,
.console-footer,
.system-number,
.system-title span,
.system-brief span,
.system-action,
.protocol-item > span,
.legal-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 clamp(1.7rem, 4vh, 3.5rem);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.eyebrow span { color: var(--acid); }

.hero h1 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.7rem, 8.5vw, 9rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .78;
  text-transform: uppercase;
}

.headline-row { display: block; overflow: hidden; padding: .04em .1em .05em 0; }
.headline-row > span { display: block; animation: headline-in .9s 2.18s cubic-bezier(.16,1,.3,1) both; }
.headline-row:nth-child(2) > span { animation-delay: 2.27s; }
.headline-row:nth-child(3) > span { animation-delay: 2.36s; }
.headline-row:nth-child(4) > span { animation-delay: 2.45s; }
.headline-row:first-child > span { color: var(--ink); }
.headline-row:last-child > span { color: transparent; -webkit-text-stroke: 1px rgba(245,247,255,.82); }
.accent-row > span {
  color: transparent;
  background: linear-gradient(105deg, var(--cyan), var(--blue) 42%, #83b9ff 56%, var(--blue) 72%, var(--cyan));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: headline-in .9s 2.27s cubic-bezier(.16,1,.3,1) both, accent-sweep 1.2s 3s cubic-bezier(.16,1,.3,1) both;
}
.indent-row { padding-left: clamp(1rem, 6vw, 6rem); color: var(--ink); }

@keyframes headline-in { from { transform: translateY(115%) skewY(5deg); } to { transform: none; } }
@keyframes accent-sweep { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

.hero-lower {
  max-width: 690px;
  margin-top: clamp(2rem, 5vh, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.hero-lower p {
  max-width: 480px;
  margin: 0;
  color: #b4bdc9;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}

.signal-button {
  position: relative;
  min-height: 56px;
  padding: .5rem .6rem .5rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line-bright);
  color: var(--ink);
  font: 700 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .25s, background .25s, color .25s;
  overflow: hidden;
}

.signal-button::before {
  position: absolute;
  inset: -50% auto -50% -35%;
  width: 24%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  content: "";
  transition: translate .42s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}

.signal-button > * { position: relative; z-index: 1; }

.signal-button i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--void);
  font-size: 1.1rem;
  font-style: normal;
  transition: transform .25s;
}

.signal-button:hover { border-color: var(--acid); background: var(--acid); color: var(--void); }
.signal-button:hover::before { translate: 610% 0; }
.signal-button:hover i { transform: rotate(-45deg); background: var(--void); color: var(--acid); }

.flow-console {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line-bright);
  background: rgba(7,10,15,.72);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.flow-console::before {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,121,255,.13), transparent 66%);
  filter: blur(12px);
  content: "";
}

.console-topline,
.console-footer {
  position: relative;
  z-index: 2;
  min-height: 48px;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.console-topline { border-bottom: 0; }
.console-footer { border-top: 0; }
.console-footer span { display: inline-flex; align-items: center; gap: .55rem; }

.console-core {
  position: relative;
  min-height: 422px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(41,121,255,.16), transparent 48%),
    radial-gradient(circle, rgba(183,201,255,.18) 0 1px, transparent 1.5px);
  background-size: auto, 24px 24px;
  mask-image: radial-gradient(circle at center, #000 28%, transparent 78%);
  transform: translate3d(0, var(--console-shift, 0), 0);
  will-change: transform;
}

.scan-line {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px var(--cyan);
  animation: scan 3.8s ease-in-out 2 2.4s;
}

@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: .8; } 100% { transform: translateY(420px); opacity: 0; } }

.flow-node {
  position: absolute;
  z-index: 3;
  width: 112px;
  display: grid;
  justify-items: center;
  gap: .65rem;
  color: var(--muted);
  font: 700 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.flow-node i { width: 17px; height: 17px; border: 2px solid currentColor; transform: rotate(45deg); }
.flow-node small { color: var(--dim); font-size: .5rem; }
.node-problem { top: 75px; left: 9%; }
.node-system { top: 173px; left: calc(50% - 56px); color: var(--cyan); }
.node-system i { background: var(--cyan); box-shadow: 0 0 28px rgba(99,230,255,.55); }
.node-flow { right: 7%; bottom: 62px; color: var(--cyan); }

.flow-path {
  position: absolute;
  z-index: 2;
  height: 1px;
  overflow: visible;
  background: var(--line-bright);
  transform-origin: left;
}

.path-one { top: 126px; left: 25%; width: 28%; transform: rotate(18deg); }
.path-two { top: 245px; left: 56%; width: 28%; transform: rotate(28deg); }
.flow-path b { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: packet 2.1s ease-in-out 4 2.5s; }
.path-two b { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation-delay: 3s; }
@keyframes packet { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 7px); opacity: 0; } }

.pulse-ring { position: absolute; border: 1px solid rgba(75,156,255,.32); border-radius: 48% 52% 56% 44%; }
.ring-one { width: 260px; height: 260px; left: calc(50% - 130px); top: 80px; animation: ring-spin 14s linear 1; }
.ring-two { width: 330px; height: 330px; left: calc(50% - 165px); top: 45px; border-style: dashed; animation: ring-spin 20s reverse linear 1; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.kinetic-strip {
  grid-column: 1 / -1;
  align-self: end;
  width: calc(100% + (var(--pad) * 2));
  margin-left: calc(var(--pad) * -1);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(6,7,12,.94);
  color: var(--ink);
  font: 800 clamp(.7rem, 1vw, .9rem)/1 "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: .16em;
  white-space: nowrap;
}

.kinetic-strip div { width: max-content; padding: .9rem 0; animation: ticker 16s linear 2 2.4s; }
.kinetic-strip b { margin: 0 1.7rem; color: var(--cyan); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section {
  width: min(100%, var(--max));
  margin: auto;
  padding: clamp(7rem, 13vw, 13rem) var(--pad);
  border-inline: 1px solid var(--line);
}

.section-index { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .14em; }
.section-index span { min-width: 44px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line-bright); color: var(--acid); }
.section-index p { margin: 0; }

.manifesto { display: grid; grid-template-columns: .35fr 1.5fr; gap: clamp(3rem, 9vw, 10rem); background: radial-gradient(circle at 75% 35%, rgba(41,121,255,.1), transparent 38%); }
.manifesto .section-index { align-self: start; }
.manifesto-copy { max-width: 970px; }
.manifesto-copy p { margin: 0; }
.manifesto-lead { color: var(--ink); font-size: clamp(2.5rem, 5.4vw, 6.2rem); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.manifesto-lead em, .section-header h2 em, .contact h2 em { color: var(--acid); font-style: normal; }
.manifesto-copy > p:last-child { max-width: 680px; margin: 3rem 0 0 auto; color: #acb6c3; font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1.65; }
.manifesto-meter { grid-column: 2; display: grid; grid-template-columns: auto repeat(5, 1fr) 3fr auto; align-items: center; gap: .55rem; color: var(--dim); font: 700 .53rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; }
.manifesto-meter i { height: 4px; background: var(--acid); }
.manifesto-meter.is-visible i { transform-origin: left; animation: meter-build .38s cubic-bezier(.16,1,.3,1) both; }
.manifesto-meter.is-visible i:nth-of-type(2) { animation-delay: .06s; }
.manifesto-meter.is-visible i:nth-of-type(3) { animation-delay: .12s; }
.manifesto-meter.is-visible i:nth-of-type(4) { animation-delay: .18s; }
.manifesto-meter.is-visible i:nth-of-type(5) { animation-delay: .24s; }
@keyframes meter-build { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.manifesto-meter i:nth-of-type(2) { opacity: .8; }
.manifesto-meter i:nth-of-type(3) { opacity: .6; }
.manifesto-meter i:nth-of-type(4) { opacity: .4; }
.manifesto-meter i:nth-of-type(5) { opacity: .2; }
.manifesto-meter b { height: 1px; background: repeating-linear-gradient(90deg, var(--line-bright) 0 5px, transparent 5px 10px); }

.systems { background: #090d13; }
.section-header { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(2rem, 6vw, 8rem); align-items: start; margin-bottom: clamp(4rem, 8vw, 8rem); }
.section-header h2 { margin: -.12em 0 0; font-size: clamp(2.8rem, 6.3vw, 7rem); font-weight: 750; letter-spacing: -.065em; line-height: .92; }

.system-list { border-top: 1px solid var(--line-bright); }
.system-card {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: .22fr .72fr 1.15fr .65fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(2rem, 4.5vw, 4.5rem) 1rem;
  border-bottom: 1px solid var(--line-bright);
  overflow: hidden;
  transition: color .35s cubic-bezier(.16,1,.3,1);
}

.system-card::before { position: absolute; inset: 0; z-index: 0; transform: scaleY(0); transform-origin: bottom; background: linear-gradient(110deg, #0f5bd8, #147edb 58%, #128fa8); content: ""; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.system-card::after { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle 15rem at var(--card-x) var(--card-y), rgba(255,255,255,.2), transparent 70%); content: ""; opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.system-card > * { position: relative; z-index: 1; }
.system-card:hover { color: var(--ink); }
.system-card:hover::before { transform: scaleY(1); }
.system-card:hover::after { opacity: 1; }
.system-card:hover .system-number, .system-card:hover .system-title span, .system-card:hover .system-brief span, .system-card:hover .system-action > span { color: rgba(245,247,255,.72); }
.system-card:hover .system-brief > div + div { border-color: rgba(245,247,255,.24); }
.system-card:hover .system-action a { border-color: var(--ink); color: var(--ink); }
.system-card:hover .system-title img { transform: rotate(-4deg) scale(1.05); box-shadow: 12px 12px 0 rgba(6,7,12,.2); }

.system-number { color: var(--dim); font-size: .6rem; letter-spacing: .12em; }
.system-title { display: flex; align-items: center; gap: 1.5rem; }
.system-title img { width: 82px; height: 82px; border-radius: 18px; transition: transform .35s, box-shadow .35s; }
.system-title span, .system-brief span { display: block; margin-bottom: .55rem; color: var(--acid); font-size: .53rem; font-weight: 700; letter-spacing: .1em; }
.system-title h3 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 3rem); letter-spacing: -.045em; line-height: .95; }
.system-brief { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.system-brief > div + div { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.system-brief p { margin: 0; color: currentColor; font-size: .91rem; line-height: 1.55; opacity: .78; }
.system-action { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 1.5rem; color: var(--dim); font-size: .52rem; font-weight: 700; letter-spacing: .1em; text-align: right; }
.system-action a { min-height: 44px; padding: 0 .85rem; display: inline-flex; align-items: center; gap: .7rem; border: 1px solid var(--line-bright); color: var(--ink); text-decoration: none; white-space: nowrap; }
.system-action i { font-size: 1rem; font-style: normal; }

.protocol { background: #e9eef2; color: #0a0d12; }
.protocol .section-index { color: rgba(10,11,18,.58); }
.protocol .section-index span { border-color: rgba(10,11,18,.3); color: #175fc9; }
.protocol .section-header h2 em { color: #176dcc; -webkit-text-stroke: 0; }
.protocol-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(10,11,18,.25); border-left: 1px solid rgba(10,11,18,.25); }
.protocol-item { min-height: 320px; padding: 1.5rem; display: flex; flex-direction: column; border-right: 1px solid rgba(10,11,18,.25); border-bottom: 1px solid rgba(10,11,18,.25); transition: background .3s, color .3s, transform .3s; }
.protocol-item:hover { background: #111526; color: var(--ink); transform: translateY(-6px); }
.protocol-item > span { color: rgba(10,11,18,.55); font-size: .55rem; font-weight: 700; letter-spacing: .12em; }
.protocol-item:hover > span { color: var(--cyan); }
.protocol-item h3 { margin: auto 0 1rem; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.035em; }
.protocol-item p { max-width: 240px; margin: 0; font-size: .9rem; line-height: 1.55; opacity: .72; }

.contact { position: relative; min-height: 780px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 85% 50%, rgba(41,121,255,.15), transparent 38%); }
.contact-copy { position: relative; z-index: 2; width: min(100%, 1000px); }
.contact h2 { margin: clamp(2rem, 5vw, 4rem) 0 2rem; font-size: clamp(3.5rem, 8vw, 8.8rem); letter-spacing: -.075em; line-height: .85; }
.contact-copy > p { max-width: 590px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.6; }
.email-link { width: 100%; margin-top: clamp(2.5rem, 5vw, 5rem); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; border-block: 1px solid var(--line-bright); font: 700 clamp(1.25rem, 3.2vw, 3.25rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.05em; text-decoration: none; transition: padding .25s, color .25s; }
.email-link:hover { padding-inline: 1rem; color: var(--acid); }
.email-link i { font-style: normal; }

.contact-signal { position: absolute; right: -7%; width: min(45vw, 620px); aspect-ratio: 1; display: grid; place-items: center; opacity: .5; }
.contact-signal i { position: absolute; border: 1px solid var(--acid); border-radius: 50%; animation: signal-out 3s ease-out 3; }
.contact-signal i:nth-child(1) { width: 32%; height: 32%; }
.contact-signal i:nth-child(2) { width: 58%; height: 58%; animation-delay: .5s; }
.contact-signal i:nth-child(3) { width: 84%; height: 84%; animation-delay: 1s; }
.contact-signal span { width: 11px; height: 11px; background: var(--acid); transform: rotate(45deg); box-shadow: 0 0 30px var(--acid); }
@keyframes signal-out { 0% { opacity: .2; transform: scale(.72); } 55% { opacity: .8; } 100% { opacity: .15; transform: scale(1); } }

.site-footer {
  width: min(100%, var(--max));
  min-height: 170px;
  margin: auto;
  padding: 2.5rem var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 2rem;
  border: 1px solid var(--line);
  border-top-color: var(--line-bright);
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand > div { display: flex; flex-direction: column; gap: .4rem; }
.footer-brand strong { font: 800 .9rem/1 "Arial Narrow", "Helvetica Neue", sans-serif; letter-spacing: .08em; }
.footer-brand small { color: var(--dim); font: .56rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a, .site-footer > p { color: var(--muted); font: 600 .59rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--acid); }
.site-footer > p { justify-self: end; margin: 0; text-align: right; }

.js .reveal { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 18%); transition: opacity .75s ease, transform .85s cubic-bezier(.16,1,.3,1), clip-path .85s cubic-bezier(.16,1,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0); }
.system-card.reveal:nth-child(2), .protocol-item.reveal:nth-child(2) { transition-delay: .07s; }
.protocol-item.reveal:nth-child(3) { transition-delay: .14s; }
.protocol-item.reveal:nth-child(4) { transition-delay: .21s; }

/* Legal pages */
.legal-page .site-header { position: sticky; top: 0; }
.legal-main { width: min(100%, 1120px); margin: auto; padding: clamp(7rem, 12vw, 11rem) var(--pad); }
.legal-hero { position: relative; padding-bottom: 4rem; border-bottom: 1px solid var(--line-bright); }
.legal-hero::after { position: absolute; right: 0; bottom: -1px; width: 30%; height: 2px; background: var(--acid); content: ""; }
.legal-hero h1 { margin: 0 0 1.5rem; font-size: clamp(3.5rem, 8vw, 7.5rem); letter-spacing: -.075em; line-height: .9; }
.legal-hero > p:not(.eyebrow) { max-width: 730px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.6; }
.legal-meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; color: var(--dim); font-size: .57rem; letter-spacing: .1em; }
.legal-content { padding-top: 2rem; }
.legal-content section { display: grid; grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr); column-gap: clamp(2rem, 8vw, 7rem); padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.legal-content h2, .legal-content .legal-callout strong { grid-column: 1; grid-row: 1 / span 20; margin: 0; color: var(--acid); font: 700 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.legal-content p, .legal-content ul, .legal-content h3 { grid-column: 2; }
.legal-content p, .legal-content li { color: #b3bdc9; font-size: .98rem; line-height: 1.75; }
.legal-content p { margin: 0 0 1.15rem; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content h3 { margin: 1.6rem 0 .7rem; font-size: 1.05rem; }
.legal-content ul { margin: 0; padding-left: 1.25rem; }
.legal-content a { text-decoration-color: var(--blue); text-underline-offset: .25em; }
.legal-content a:hover { color: var(--acid); }
.legal-callout { margin-top: 2rem; padding-inline: 1.5rem !important; background: var(--panel); border: 1px solid var(--line-bright) !important; }

@media (max-width: 1080px) {
  .nav-status { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 10rem; }
  .hero-copy { max-width: 930px; }
  .flow-console { min-height: 440px; }
  .console-core { min-height: 342px; }
  @keyframes scan { 100% { transform: translateY(340px); opacity: 0; } }
  .kinetic-strip { margin-top: 4rem; }
  .system-card { grid-template-columns: .18fr .82fr 1.3fr; }
  .system-action { grid-column: 2 / -1; flex-direction: row; align-items: center; }
}

@media (max-width: 760px) {
  :root { --pad: 1.2rem; }
  .site-header { background: rgba(7,10,15,.92); }
  .nav-shell { min-height: 66px; gap: 1rem; }
  .brand { font-size: .76rem; }
  .brand-mark { width: 24px; height: 24px; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .56rem; letter-spacing: .07em; }
  .nav-links a:nth-child(1) { display: none; }
  .hero { min-height: auto; padding-top: 8.8rem; gap: 4rem; }
  .hero-coordinate { display: none; }
  .hero h1 { font-size: clamp(3.3rem, 17vw, 6rem); line-height: .8; }
  .indent-row { padding-left: .6rem; }
  .hero-lower { grid-template-columns: 1fr; align-items: start; }
  .signal-button { width: fit-content; }
  .flow-console { min-height: 390px; box-shadow: none; }
  .console-core { min-height: 292px; }
  .node-problem { left: 0; }
  .node-flow { right: 0; }
  .ring-one { width: 210px; height: 210px; left: calc(50% - 105px); top: 50px; }
  .ring-two { width: 260px; height: 260px; left: calc(50% - 130px); top: 25px; }
  .kinetic-strip { margin-top: 2rem; }
  .manifesto, .section-header { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-meter { grid-column: 1; }
  .manifesto-copy > p:last-child { margin-left: 0; }
  .system-card { grid-template-columns: 1fr; padding-inline: .4rem; }
  .system-title { align-items: flex-start; }
  .system-title img { width: 70px; height: 70px; border-radius: 15px; }
  .system-brief { grid-template-columns: 1fr; }
  .system-brief > div + div { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .system-action { grid-column: 1; align-items: flex-start; flex-direction: column; text-align: left; }
  .protocol-grid { grid-template-columns: 1fr 1fr; }
  .protocol-item { min-height: 260px; }
  .contact { min-height: 650px; }
  .contact-signal { right: -40%; width: 100vw; }
  .email-link { font-size: clamp(.86rem, 4.4vw, 1.3rem); letter-spacing: -.06em; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer > p { justify-self: start; text-align: left; }
  .footer-links { flex-wrap: wrap; }
  .legal-main { padding-top: 5rem; }
  .legal-content section { grid-template-columns: 1fr; }
  .legal-content h2, .legal-content .legal-callout strong, .legal-content p, .legal-content ul, .legal-content h3 { grid-column: 1; grid-row: auto; }
  .legal-content h2, .legal-content .legal-callout strong { margin-bottom: 1.5rem; }
}

@media (max-width: 480px) {
  .nav-links a:nth-child(2) { display: none; }
  .hero h1 { font-size: 15.8vw; }
  .flow-console { min-height: 350px; }
  .console-core { min-height: 252px; }
  .flow-node { transform: scale(.84); }
  .node-problem { top: 42px; }
  .node-system { top: 110px; }
  .node-flow { bottom: 34px; }
  .path-one { top: 90px; }
  .path-two { top: 175px; }
  .protocol-grid { grid-template-columns: 1fr; }
  .protocol-item { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro-sequence { display: none; }
  .cursor-signal { display: none; }
  .headline-row > span { transform: none; }
  .console-core { transform: none; }
  .js .reveal { opacity: 1; transform: none; clip-path: none; }
}
