:root {
  --void: #060807;
  --panel: #0a0d0b;
  --panel-2: #0d110e;
  --ink: #eff3e9;
  --muted: #8b9489;
  --quiet: #596159;
  --acid: #d7ff26;
  --alert: #ff402e;
  --blue: #3957ff;
  --bone: #ede9dd;
  --line: rgba(239, 243, 233, .17);
  --line-soft: rgba(239, 243, 233, .09);
  --display: "Teko", Impact, sans-serif;
  --mono: "Azeret Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--void);
  font: 300 13px/1.65 var(--mono);
}
body::after {
  content: "";
  position: fixed;
  z-index: 50;
  pointer-events: none;
  inset: 0;
  opacity: .2;
  mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.56'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
code { font-family: var(--mono); }
.skip { position: fixed; top: -70px; left: 18px; z-index: 100; background: var(--acid); color: var(--void); padding: 10px 14px; }
.skip:focus { top: 18px; }
.shell { width: min(1480px, calc(100% - 54px)); margin-inline: auto; }

.topbar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 7, .78);
  backdrop-filter: blur(14px);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 8px;
  transition: background .25s ease, border-color .25s ease;
}
.topbar.scrolled { background: rgba(6, 8, 7, .95); border-color: rgba(215, 255, 38, .22); }
.wordmark { font-weight: 500; font-size: 11px; white-space: nowrap; }
.wordmark span { color: var(--acid); }
.desktop-nav { display: flex; gap: 30px; color: var(--muted); }
.desktop-nav a, .github-link { transition: color .2s ease; }
.desktop-nav a:hover, .github-link:hover { color: var(--acid); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.live { color: var(--muted); white-space: nowrap; }
.live i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--alert); box-shadow: 0 0 14px var(--alert); animation: blink 1.4s steps(1) infinite; }
.github-link { color: var(--ink); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 8px 10px; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; cursor: pointer; }
.mobile-nav { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 118px 0 34px;
  background:
    radial-gradient(circle at 50% 35%, rgba(57, 87, 255, .18), transparent 18rem),
    linear-gradient(120deg, var(--void) 0 61%, #0a0e0a 61%);
}
.tunnel {
  position: absolute;
  z-index: -1;
  inset: 10% -8% 0 40%;
  overflow: hidden;
  perspective: 420px;
  opacity: .68;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 76%, transparent);
}
.tunnel::before {
  content: "";
  position: absolute;
  width: 105%;
  height: 120%;
  left: -2%;
  top: -8%;
  transform: rotateX(66deg) translateY(-14%);
  background-image:
    linear-gradient(rgba(215, 255, 38, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 255, 38, .18) 1px, transparent 1px);
  background-size: 76px 76px;
  animation: grid-drive 7s linear infinite;
}
.tunnel::after {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  left: 32%;
  top: 27%;
  border: 1px solid var(--acid);
  box-shadow: 0 0 35px rgba(215, 255, 38, .18), inset 0 0 35px rgba(215, 255, 38, .08);
  transform: rotate(45deg);
  animation: target 3s ease-in-out infinite;
}
.hero-code {
  position: absolute;
  right: 2.4%;
  top: 16%;
  color: rgba(239, 243, 233, .38);
  font-size: 7px;
  line-height: 1.9;
  writing-mode: vertical-rl;
  letter-spacing: .12em;
}
.hero-meta { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 18px; position: relative; z-index: 3; }
.eyebrow, .section-label { margin: 0; color: var(--acid); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.hero-meta .coordinates { justify-self: end; color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .14em; }
.coordinates b { color: var(--ink); font-weight: 400; }
h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font: 500 clamp(100px, 17.8vw, 300px)/.62 var(--display);
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
h1 span { display: block; }
h1 span:nth-child(1) { transform: translateX(-.4vw); }
h1 span:nth-child(2) { color: transparent; -webkit-text-stroke: 1px var(--ink); transform: translateX(17vw); }
h1 span:nth-child(3) { color: var(--acid); transform: translateX(5vw); text-shadow: 0 0 32px rgba(215, 255, 38, .11); }
.intercept {
  position: absolute;
  z-index: 5;
  right: 11%;
  top: 31%;
  width: 260px;
  padding: 15px 17px;
  border: 1px solid var(--alert);
  background: rgba(6, 8, 7, .9);
  box-shadow: 12px 12px 0 rgba(255, 64, 46, .12);
  transform: rotate(-2deg);
}
.intercept header { display: flex; justify-content: space-between; color: var(--alert); font-size: 7px; letter-spacing: .15em; }
.intercept strong { display: block; margin: 16px 0 5px; font: 500 35px/.85 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.intercept p { margin: 0; color: var(--muted); font-size: 8px; }
.intercept::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--alert); box-shadow: 0 0 15px var(--alert); }
.hero-bottom { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(300px, .8fr) 1fr auto; align-items: center; gap: 34px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; }
.hero-bottom p { max-width: 540px; margin: 0; color: var(--muted); font-size: 10px; }
.hero-bottom p strong { color: var(--ink); font-weight: 400; }
.command { display: flex; align-items: center; gap: 12px; min-width: 0; border-left: 2px solid var(--acid); padding: 10px 14px; background: rgba(215, 255, 38, .05); }
.command > span { color: var(--acid); }
.command code { font: 400 10px var(--mono); white-space: nowrap; }
.command button { margin-left: auto; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 7px; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.command button:hover { color: var(--acid); }
.primary-cta { display: inline-flex; align-items: center; gap: 28px; justify-content: space-between; min-width: 180px; padding: 13px 14px; background: var(--acid); color: var(--void); font-weight: 500; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; transition: background .2s ease; }
.primary-cta:hover { background: var(--ink); }

.transmission { overflow: hidden; border-block: 1px solid var(--line); background: var(--acid); color: var(--void); }
.transmission div { width: max-content; padding: 8px 0; font-weight: 500; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; animation: crawl 22s linear infinite; }
.transmission b { margin: 0 28px; }

.section { position: relative; padding-block: 130px; border-bottom: 1px solid var(--line); scroll-margin-top: 60px; }
h2 { margin: 13px 0 0; font: 500 clamp(62px, 9vw, 154px)/.76 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
h2 em { color: var(--acid); font-style: normal; }
.inline-link { display: inline-block; color: var(--acid); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid rgba(215, 255, 38, .45); padding-bottom: 4px; }
.inline-link:hover { color: var(--ink); border-color: var(--ink); }

.incident { overflow: hidden; }
.incident::before { content: "012"; position: absolute; right: -2vw; top: 10px; color: rgba(239, 243, 233, .025); font: 600 35vw/.8 var(--display); }
.incident-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 5vw; align-items: end; position: relative; z-index: 2; }
.incident-copy p:not(.section-label) { max-width: 570px; color: var(--muted); font-size: 11px; margin: 34px 0; }
.incident-copy p strong { color: var(--ink); font-weight: 400; }
.filmstrip { border: 1px solid var(--line); background: #020302; box-shadow: 0 30px 90px #000; transform: rotate(1.2deg); }
.sprockets { height: 25px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0 17px, rgba(239, 243, 233, .28) 17px 26px, transparent 26px 42px); }
.filmstrip .sprockets:last-child { border-top: 1px solid var(--line); border-bottom: 0; }
.frame { min-height: 370px; padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: radial-gradient(circle at 80% 10%, rgba(255, 64, 46, .12), transparent 15rem); }
.frame::before { content: ""; position: absolute; inset: 18% 11%; border: 1px solid rgba(255, 64, 46, .3); clip-path: polygon(0 0, 14% 0, 14% 1px, 1px 1px, 1px 14%, 0 14%, 0 0, 100% 0, 100% 14%, calc(100% - 1px) 14%, calc(100% - 1px) 1px, 86% 1px, 86% 0, 100% 0, 100% 100%, 86% 100%, 86% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 86%, 100% 86%, 100% 100%, 0 100%, 0 86%, 1px 86%, 1px calc(100% - 1px), 14% calc(100% - 1px), 14% 100%); }
.frame-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 7px; letter-spacing: .14em; text-transform: uppercase; }
.finding { margin: auto 0; border-left: 3px solid var(--alert); padding-left: 20px; position: relative; z-index: 2; }
.finding span { color: var(--alert); font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
.finding h3 { margin: 8px 0 10px; font: 500 47px/.88 var(--display); text-transform: uppercase; }
.finding p { color: var(--muted); font-size: 9px; max-width: 460px; }
.frame-foot { color: var(--acid); font-size: 7px; text-transform: uppercase; letter-spacing: .14em; }

.protocol { overflow: hidden; background: #080b09; }
.protocol-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: 6vw; }
.protocol-copy { position: sticky; top: 110px; align-self: start; }
.protocol-copy > p:last-child { max-width: 390px; color: var(--muted); font-size: 10px; margin-top: 28px; }
.timeline { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.event > span { color: var(--acid); font-size: 8px; }
.event h3 { margin: 0 0 8px; font: 500 33px/.9 var(--display); text-transform: uppercase; }
.event p { margin: 0; color: var(--muted); font-size: 9px; max-width: 590px; }
.event i { color: var(--muted); font-style: normal; font-size: 7px; text-transform: uppercase; letter-spacing: .12em; }
.event.alert h3, .event.alert i { color: var(--alert); }
.event.pass h3, .event.pass i { color: var(--acid); }

.witnesses { background: var(--panel); }
.witness-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; }
.witness-head > p { margin: 0; max-width: 490px; justify-self: end; color: var(--muted); font-size: 10px; }
.provider-wall { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 74px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.provider { min-height: 220px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; position: relative; transition: .25s ease; }
.provider:hover { background: var(--acid); color: var(--void); }
.provider:hover .provider-meta, .provider:hover p { color: rgba(6, 8, 7, .72); }
.provider-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .13em; }
.provider h3 { margin: auto 0 4px; font: 500 42px/.9 var(--display); text-transform: uppercase; }
.provider p { margin: 0; color: var(--muted); font-size: 8px; }
.provider-caveat { max-width: 900px; margin: 22px 0 0; color: var(--quiet); font-size: 8px; }

.proof { background: var(--blue); color: #fff; border-color: rgba(255, 255, 255, .2); }
.proof .section-label { color: var(--acid); }
.proof-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 7vw; align-items: end; }
.proof h2 { font-size: clamp(72px, 12vw, 190px); }
.proof h2 em { color: var(--acid); }
.proof-link { display: inline-block; margin-top: 32px; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 4px; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.metrics { border-top: 1px solid rgba(255, 255, 255, .3); }
.metric { padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.metric b { display: block; font: 500 56px/.8 var(--display); }
.metric span { display: block; margin-top: 9px; color: rgba(255, 255, 255, .72); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.metrics small { display: block; margin-top: 18px; color: rgba(255, 255, 255, .64); font-size: 8px; }

.system { background: var(--void); }
.system-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.system-head > p { margin: 0; justify-self: end; max-width: 500px; color: var(--muted); font-size: 10px; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 75px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.system-grid article { min-height: 250px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .2s ease, transform .2s ease; }
.system-grid article:hover { background: var(--panel-2); transform: translateY(-4px); }
.system-grid article > span { color: var(--acid); font-size: 7px; text-transform: uppercase; letter-spacing: .13em; }
.system-grid h3 { margin: 48px 0 12px; font: 500 29px/.95 var(--display); text-transform: uppercase; }
.system-grid p { margin: 0; color: var(--muted); font-size: 9px; }
.system-grid article > b { margin-top: auto; color: var(--quiet); font-size: 7px; text-transform: uppercase; letter-spacing: .1em; font-weight: 400; }

.memory { overflow: hidden; background: linear-gradient(135deg, #080a13, #0b1024 58%, #070908); }
.memory::before { content: "MEM"; position: absolute; right: -3vw; top: 0; color: rgba(255, 255, 255, .025); font: 600 30vw/.8 var(--display); }
.memory-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; position: relative; z-index: 2; }
.memory-copy { align-self: center; }
.memory-copy > p:not(.section-label) { max-width: 560px; color: #9aa1b5; font-size: 10px; margin: 30px 0; }
.memory-ledger { border-top: 1px solid rgba(255, 255, 255, .18); }
.memory-ledger article { display: grid; grid-template-columns: .65fr .55fr 1.3fr auto; gap: 20px; align-items: center; padding: 25px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.memory-ledger span, .memory-ledger b { color: #8c95b5; font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.memory-ledger h3 { margin: 0; font: 500 29px/.9 var(--display); text-transform: uppercase; }
.memory-ledger p { margin: 0; color: #9aa1b5; font-size: 8px; }
.memory-ledger b { color: var(--acid); font-weight: 400; white-space: nowrap; }

.setup { background: var(--bone); color: var(--void); }
.setup .section-label { color: #315000; }
.setup h2 em { color: #315000; }
.setup-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.setup-head > p { margin: 0; max-width: 500px; justify-self: end; color: #6d7066; font-size: 10px; }
.setup-console { display: grid; grid-template-columns: .68fr 1.32fr; margin-top: 70px; border: 1px solid rgba(6, 8, 7, .3); box-shadow: 16px 16px 0 rgba(6, 8, 7, .07); }
.setup-steps { border-right: 1px solid rgba(6, 8, 7, .24); }
.setup-step { width: 100%; min-width: 0; display: flex; gap: 20px; padding: 20px; border: 0; border-bottom: 1px solid rgba(6, 8, 7, .2); background: transparent; color: #62675d; text-align: left; cursor: pointer; }
.setup-step:last-child { border-bottom: 0; }
.setup-step.active { background: var(--acid); color: var(--void); box-shadow: inset 4px 0 var(--void); }
.setup-step > span { font-size: 8px; }
.setup-step b, .setup-step small { display: block; }
.setup-step b { font: 500 19px/.9 var(--display); text-transform: uppercase; }
.setup-step small { margin-top: 6px; color: inherit; opacity: .68; font-size: 8px; }
.setup-output { min-width: 0; background: var(--void); color: var(--ink); }
.setup-output header { min-height: 44px; padding: 12px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .13em; }
.setup-output header button { border: 1px solid var(--line); background: transparent; padding: 7px 9px; cursor: pointer; font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.setup-output header button:hover { color: var(--acid); border-color: var(--acid); }
.setup-output pre { min-height: 235px; margin: 0; padding: 30px; overflow: auto; font: 400 11px/1.9 var(--mono); }
.setup-output pre code { display: block; transition: opacity .12s ease; }
.setup-output > p { margin: 0; padding: 0 30px 26px; color: var(--muted); font-size: 8px; }
.code-comment { color: #667068; }
.code-prompt, .code-ok { color: var(--acid); }
.requirements { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 18px; padding: 13px 18px; border: 1px solid rgba(6, 8, 7, .22); color: #696e64; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.requirements b { color: var(--void); }
.trust-panel { display: grid; grid-template-columns: 1.25fr .75fr; margin-top: 70px; border: 1px solid rgba(6, 8, 7, .26); background: #e3dfd3; }
.trust-copy { padding: 35px; }
.trust-copy h3 { margin: 14px 0; font: 500 52px/.88 var(--display); text-transform: uppercase; }
.trust-copy p:not(.section-label) { max-width: 800px; color: #64685f; font-size: 9px; }
.trust-copy code, .trust-panel code { color: var(--void); background: rgba(6, 8, 7, .08); padding: 2px 5px; }
.trust-answer { border-left: 3px solid #315000; padding-left: 14px; margin: 22px 0 !important; }
.trust-answer b { color: var(--void); }
.trust-panel .inline-link { color: #315000; border-color: #315000; }
.trust-panel ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(6, 8, 7, .22); }
.trust-panel li { display: flex; gap: 20px; padding: 27px; border-bottom: 1px solid rgba(6, 8, 7, .2); }
.trust-panel li:last-child { border-bottom: 0; }
.trust-panel li > span { color: #63685e; font-size: 8px; }
.trust-panel li b, .trust-panel li small { display: block; }
.trust-panel li b { font: 500 22px/.9 var(--display); text-transform: uppercase; }
.trust-panel li small { color: #6b7066; font-size: 8px; margin-top: 5px; }

.security { background: #090b0a; }
.security-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; }
.security-copy { position: sticky; top: 110px; align-self: start; }
.security-copy > p:not(.section-label) { max-width: 520px; margin: 28px 0; color: var(--muted); font-size: 10px; }
.security-list { border-top: 1px solid var(--line); }
.security-list article { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.security-list article > span { color: var(--acid); font-size: 8px; }
.security-list h3 { margin: 0 0 8px; font: 500 29px/.9 var(--display); text-transform: uppercase; }
.security-list p { margin: 0; color: var(--muted); font-size: 9px; }
.security-list code { color: var(--ink); }
.security-list aside { margin-top: 28px; padding: 22px; border: 1px solid var(--alert); background: rgba(255, 64, 46, .06); }
.security-list aside b { color: var(--alert); font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.security-list aside p { margin-top: 10px; }

.faq { background: var(--panel); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; }
.faq-head { position: sticky; top: 110px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 23px 3px; cursor: pointer; font: 500 24px/.95 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--acid); font: 400 24px/1 var(--mono); transition: transform .2s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { max-width: 850px; margin: 0; padding: 0 36px 25px 3px; color: var(--muted); font-size: 9px; }
.faq details code { color: var(--ink); }

.deploy { min-height: 88vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.deploy::before, .deploy::after { content: ""; position: absolute; width: 55vw; height: 1px; background: linear-gradient(90deg, transparent, var(--acid), transparent); box-shadow: 0 0 25px rgba(215, 255, 38, .24); }
.deploy::before { transform: rotate(32deg); }
.deploy::after { transform: rotate(-32deg); }
.deploy-inner { width: min(940px, calc(100% - 54px)); position: relative; z-index: 2; }
.deploy h2 { margin-bottom: 38px; }
.deploy .command { width: min(720px, 100%); margin: 0 auto; text-align: left; border: 1px solid var(--line); border-left: 3px solid var(--acid); background: rgba(6, 8, 7, .9); padding: 18px; }
.deploy-actions { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.secondary-cta { padding: 13px 15px; border: 1px solid var(--line); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.secondary-cta:hover { border-color: var(--acid); color: var(--acid); }

.footer { min-height: 190px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: 8px; border-top: 1px solid var(--line); }
.footer p { text-align: center; }
.footer nav { justify-self: end; display: flex; gap: 22px; }
.footer nav a:hover { color: var(--acid); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .2; } }
@keyframes grid-drive { to { background-position: 0 152px; } }
@keyframes target { 50% { transform: rotate(45deg) scale(.83); filter: brightness(1.55); } }
@keyframes crawl { to { transform: translateX(-50%); } }

@media (max-width: 1180px) {
  .desktop-nav { gap: 18px; }
  .live { display: none; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .memory-grid { grid-template-columns: 1fr; }
  .memory-copy { max-width: 800px; margin-bottom: 40px; }
}

@media (max-width: 1000px) {
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-bottom > p { grid-column: 1 / -1; }
  .incident-grid, .protocol-grid, .proof-layout, .security-layout, .faq-layout { grid-template-columns: 1fr; }
  .filmstrip { margin-top: 40px; }
  .protocol-copy, .security-copy, .faq-head { position: static; margin-bottom: 55px; }
  .witness-head, .system-head, .setup-head { grid-template-columns: 1fr; }
  .witness-head > p, .system-head > p, .setup-head > p { justify-self: start; }
  .provider-wall { grid-template-columns: 1fr 1fr; }
  .proof .metrics { margin-top: 35px; }
  .setup-console { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1480px); }
  .topbar { width: calc(100% - 30px); height: 62px; grid-template-columns: 1fr auto; }
  .desktop-nav, .github-link { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav {
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: rgba(6, 8, 7, .98);
    border-bottom: 1px solid var(--line);
    transition: max-height .28s ease, visibility .28s ease;
  }
  .topbar.menu-open .mobile-nav { max-height: 430px; visibility: visible; }
  .mobile-nav a { padding: 15px; border-bottom: 1px solid var(--line-soft); font: 500 24px/.9 var(--display); letter-spacing: .02em; }
  .mobile-nav a:hover { color: var(--acid); }

  .hero { min-height: 920px; padding-top: 110px; }
  h1 { font-size: clamp(94px, 35vw, 156px); line-height: .66; }
  h1 span:nth-child(2) { transform: translateX(4vw); }
  h1 span:nth-child(3) { transform: translateX(0); }
  .tunnel { inset: 10% -50% 20% 5%; opacity: .45; }
  .intercept { right: 5%; top: 39%; width: 218px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta .coordinates { justify-self: start; }
  .hero-bottom { grid-template-columns: 1fr; gap: 16px; }
  .hero-bottom > p { grid-column: auto; }
  .primary-cta { width: 100%; }

  .section { padding-block: 90px; }
  h2 { font-size: clamp(62px, 20vw, 108px); }
  .filmstrip { transform: none; }
  .frame { min-height: 330px; padding: 22px; }
  .finding h3 { font-size: 38px; }
  .event { grid-template-columns: 50px 1fr; }
  .event i { grid-column: 2; }
  .provider-wall, .system-grid { grid-template-columns: 1fr; }
  .provider { min-height: 170px; }
  .system-grid article { min-height: 210px; }
  .proof h2 { font-size: clamp(70px, 28vw, 128px); }
  .memory-ledger article { grid-template-columns: 1fr 1fr; }
  .memory-ledger p { grid-column: 1 / -1; }
  .memory-ledger b { justify-self: end; }

  .setup-console { grid-template-columns: minmax(0, 1fr); box-shadow: 8px 8px 0 rgba(6, 8, 7, .07); }
  .setup-steps { min-width: 0; border-right: 0; border-bottom: 1px solid rgba(6, 8, 7, .24); }
  .setup-step { min-width: 0; }
  .setup-output { min-width: 0; }
  .setup-output pre { min-width: 0; min-height: 210px; padding: 22px; font-size: 9px; }
  .setup-output > p { padding-inline: 22px; }
  .requirements { flex-direction: column; gap: 5px; }
  .trust-panel { grid-template-columns: 1fr; margin-top: 45px; }
  .trust-copy { padding: 25px; }
  .trust-panel ol { border-left: 0; border-top: 1px solid rgba(6, 8, 7, .22); }

  .faq summary { font-size: 21px; }
  .deploy { min-height: 730px; }
  .deploy-inner { width: calc(100% - 30px); }
  .deploy-actions { flex-direction: column; align-items: center; }
  .footer { grid-template-columns: 1fr; gap: 18px; padding-block: 48px; text-align: center; }
  .footer nav { justify-self: center; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 430px) {
  .wordmark { font-size: 10px; }
  .hero { min-height: 900px; }
  .hero-code { right: 5px; }
  .command { padding-inline: 12px; }
  .command code { font-size: 9px; }
  .frame-head { gap: 10px; }
  .memory-ledger article { gap: 10px; }
  .trust-copy h3 { font-size: 42px; }
}

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