:root {
  --black: #030609;
  --ink: #eaf8ff;
  --muted: #8fa5b1;
  --cyan: #8edcff;
  --cyan-2: #35b8ef;
  --line: rgba(180, 228, 248, .16);
  --decay: .27;
  --mx: 50%;
  --my: 50%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--black);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 400px at var(--mx) var(--my), rgba(98, 202, 255, .09), transparent 70%);
}
::selection { color: #001018; background: var(--cyan); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

#network { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .58; }
.noise {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .12;
  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='.3'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.cursor-scan {
  position: fixed; width: 110px; height: 110px; border: 1px solid rgba(142, 220, 255, .22); border-radius: 50%;
  z-index: 20; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity .2s;
  box-shadow: inset 0 0 30px rgba(53, 184, 239, .05);
}
.cursor-scan::before, .cursor-scan::after { content: ""; position: absolute; background: rgba(142, 220, 255, .4); }
.cursor-scan::before { width: 16px; height: 1px; top: 50%; left: -8px; box-shadow: 110px 0 rgba(142, 220, 255, .4); }
.cursor-scan::after { width: 1px; height: 16px; left: 50%; top: -8px; box-shadow: 0 110px rgba(142, 220, 255, .4); }
.cursor-scan span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font: 9px monospace; letter-spacing: .2em; color: var(--cyan); }
body:hover .cursor-scan { opacity: 1; }

.topbar {
  position: fixed; inset: 0 0 auto; z-index: 15; height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 3.2vw; border-bottom: 1px solid var(--line); background: rgba(3, 6, 9, .58); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; color: #031018; background: var(--ink); font-weight: 900; clip-path: polygon(0 0, 100% 12%, 84% 100%, 10% 88%); }
nav { display: flex; gap: 36px; }
nav a, .micro-cta { font-family: ui-monospace, Consolas, monospace; font-size: 11px; letter-spacing: .15em; color: var(--muted); transition: color .2s; }
nav a:hover, .micro-cta:hover { color: var(--ink); }
.micro-cta { color: var(--cyan); }

main, footer { position: relative; z-index: 3; }
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; padding: 110px 5.4vw 60px; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 1px; top: 76px; bottom: 0; left: 51%; background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent); }
.hero-copy { position: relative; z-index: 4; max-width: 760px; }
.eyebrow, .section-index { color: var(--cyan); font: 11px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .18em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(142,220,255,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(142,220,255,0); } }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0 25px; font-size: clamp(3.6rem, 7.2vw, 8.2rem); line-height: .79; letter-spacing: -.075em; font-weight: 900; text-transform: uppercase; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(234,248,255,.72); }
h1 em { color: var(--cyan); font-style: normal; text-shadow: 0 0 28px rgba(53,184,239,.22); }
.lede { max-width: 590px; color: #a8bac4; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 210px; padding: 17px 19px; border: 1px solid var(--line); font: 700 12px ui-monospace, Consolas, monospace; letter-spacing: .12em; transition: transform .2s, background .2s, color .2s, border .2s; }
.button:hover { transform: translateY(-3px); }
.button.primary { background: var(--ink); color: #02080c; border-color: var(--ink); box-shadow: 0 0 34px rgba(142,220,255,.12); }
.button.primary:hover { background: var(--cyan); border-color: var(--cyan); }
.button.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.contract { max-width: 520px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; border: 1px solid var(--line); background: rgba(5,12,18,.7); }
.contract > * { padding: 13px 14px; }
.contract-label { color: var(--cyan); font: 10px monospace; letter-spacing: .15em; border-right: 1px solid var(--line); }
.contract code { overflow: hidden; text-overflow: ellipsis; color: #a5b8c2; font-size: 11px; white-space: nowrap; }
.contract button { align-self: stretch; border: 0; border-left: 1px solid var(--line); color: var(--ink); background: transparent; font: 10px monospace; letter-spacing: .12em; cursor: pointer; }
.copy-done { display: none; color: var(--cyan); }
.contract.copied .copy-default { display: none; }
.contract.copied .copy-done { display: inline; }

.hero-visual { position: relative; z-index: 2; display: grid; place-items: center; min-height: 650px; filter: contrast(calc(.95 + var(--decay) * .15)); }
.hero-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(75,188,239,.13), transparent 63%); filter: blur(12px); }
.hero-visual img { position: relative; z-index: 2; width: min(100%, 730px); height: auto; transform: translateY(3%) scale(1.04); filter: drop-shadow(0 0 32px rgba(112,210,255,.14)); animation: hover 6s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(0) scale(1.055); } }
.orbit { position: absolute; border: 1px solid rgba(167,224,247,.13); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; top: 17%; left: 9%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit-a { width: 78%; aspect-ratio: 1; transform: rotate(-22deg); }
.orbit-b { width: 58%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 12s; }
@keyframes spin { to { rotate: 360deg; } }
.scan-line { position: absolute; z-index: 4; width: 80%; height: 1px; top: 18%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); animation: scan 4.5s ease-in-out infinite; opacity: .65; }
@keyframes scan { 50% { top: 81%; } }
.crosshair { position: absolute; z-index: 4; width: 48px; height: 48px; border: 1px solid rgba(142,220,255,.3); border-radius: 50%; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: rgba(142,220,255,.5); }
.crosshair::before { width: 64px; height: 1px; top: 23px; left: -9px; }
.crosshair::after { height: 64px; width: 1px; left: 23px; top: -9px; }
.specimen-label { position: absolute; z-index: 5; padding: 7px 9px; border: 1px solid var(--line); color: var(--cyan); font: 9px monospace; letter-spacing: .14em; background: rgba(3,6,9,.7); }
.label-a { top: 20%; left: 6%; }
.label-b { right: 3%; bottom: 22%; }
.scroll-cue { position: absolute; bottom: 26px; left: 5.4vw; display: flex; align-items: center; gap: 12px; color: #6f818a; font: 9px monospace; letter-spacing: .18em; }
.scroll-cue i { width: 48px; height: 1px; background: var(--line); overflow: hidden; }

.statement, .lab, .protocol { padding: 120px 7vw; border-top: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 10vw; margin-top: 70px; }
.statement h2, .lab h2, .protocol h2, .finale h2 { font-size: clamp(3.4rem, 7vw, 8rem); line-height: .83; letter-spacing: -.07em; margin-bottom: 0; }
.statement h2 span, .protocol h2 span, .finale h2 span { color: var(--cyan); }
.story { max-width: 650px; align-self: end; color: #9eb0ba; font-size: 1.08rem; line-height: 1.65; }
.story .big { color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.2; letter-spacing: -.03em; }
blockquote { margin: 32px 0; padding: 16px 0 16px 24px; border-left: 2px solid var(--cyan); color: var(--cyan); font-size: 1.25rem; font-style: italic; }
.ticker { width: calc(100% + 14vw); margin: 110px -7vw -120px; border-top: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.ticker div { width: max-content; padding: 17px 0; color: transparent; -webkit-text-stroke: 1px rgba(142,220,255,.5); font-size: 34px; font-weight: 900; letter-spacing: .04em; animation: ticker 24s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.lab { background: linear-gradient(180deg, rgba(7,17,24,.78), rgba(3,6,9,.8)); }
.lab-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 65px 0 50px; }
.lab-header h2 { margin-bottom: 20px; }
.lab-header p { color: var(--muted); font-size: 1.05rem; }
.readout { min-width: 230px; text-align: right; }
.readout span { display: block; color: var(--cyan); font: 10px monospace; letter-spacing: .18em; }
.readout strong { font-size: clamp(4rem, 8vw, 8rem); line-height: .9; letter-spacing: -.08em; }
.console { position: relative; padding: 30px; border: 1px solid rgba(142,220,255,.28); background: rgba(2,8,12,.82); box-shadow: inset 0 0 80px rgba(41,156,205,.04); }
.console::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(142,220,255,.06); pointer-events: none; }
.console-meta, .range-labels { display: flex; justify-content: space-between; color: #71858f; font: 10px monospace; letter-spacing: .12em; }
.console-meta span:last-child { color: var(--cyan); }
.waveform { display: flex; align-items: center; gap: 4px; height: 180px; padding: 20px 0; overflow: hidden; }
.waveform i { flex: 1; min-width: 2px; max-width: 7px; height: var(--h); background: linear-gradient(var(--cyan), rgba(142,220,255,.08)); opacity: calc(.25 + var(--decay)); transform: scaleY(calc(.5 + var(--decay))); transition: transform .15s, opacity .15s; }
.console label { display: block; margin: 5px 0 14px; color: var(--ink); font: 11px monospace; letter-spacing: .15em; }
input[type="range"] { width: 100%; height: 2px; appearance: none; background: linear-gradient(90deg, var(--cyan) 0 var(--range), rgba(142,220,255,.15) var(--range)); outline: none; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border: 2px solid var(--cyan); border-radius: 50%; background: #071018; box-shadow: 0 0 22px rgba(142,220,255,.5); cursor: ew-resize; }
.range-labels { margin-top: 12px; }
.decoded { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(1.2rem, 2.5vw, 2.4rem); letter-spacing: .06em; text-align: center; }

.protocol-head { display: grid; grid-template-columns: 1fr .65fr; gap: 10vw; align-items: end; margin: 70px 0 80px; }
.protocol-head p { color: var(--muted); line-height: 1.65; font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards article { position: relative; min-height: 300px; padding: 30px; border-right: 1px solid var(--line); overflow: hidden; transition: background .25s, transform .25s; }
.cards article:last-child { border-right: 0; }
.cards article:hover { background: rgba(98,202,255,.055); transform: translateY(-8px); }
.cards article > span { color: var(--cyan); font: 10px monospace; letter-spacing: .16em; }
.cards h3 { margin: 95px 0 12px; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -.03em; }
.cards p { max-width: 260px; color: var(--muted); line-height: 1.5; }
.cards i { position: absolute; right: 20px; bottom: -33px; color: transparent; -webkit-text-stroke: 1px rgba(142,220,255,.1); font-size: 130px; font-style: normal; font-weight: 900; }

.finale { position: relative; min-height: 92svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 5vw; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.finale img { position: absolute; z-index: -1; width: min(88vw, 880px); opacity: .18; filter: blur(1px); mask-image: linear-gradient(transparent 5%, black 30%, black 75%, transparent 96%); }
.halo { position: absolute; z-index: -2; width: 700px; height: 700px; border: 1px solid rgba(142,220,255,.12); border-radius: 50%; box-shadow: 0 0 120px rgba(53,184,239,.08), inset 0 0 120px rgba(53,184,239,.05); }
.finale > p { color: var(--cyan); font: 10px/1.6 monospace; letter-spacing: .2em; }
.finale h2 { margin: 25px 0 45px; font-size: clamp(4rem, 9vw, 10rem); }
.button.jumbo { min-width: min(480px, 90vw); padding: 23px 25px; }
footer { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 30px; padding: 35px 4vw; border-top: 1px solid var(--line); color: #728690; }
footer p { margin: 0; font: 9px/1.6 monospace; letter-spacing: .1em; text-align: center; }
footer > div { display: flex; justify-content: flex-end; gap: 20px; font: 10px monospace; color: var(--cyan); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; transform: translate(-50%, 130%); padding: 13px 18px; border: 1px solid var(--cyan); color: var(--cyan); background: #061017; font: 10px monospace; letter-spacing: .12em; transition: transform .35s; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero::after { display: none; }
  .hero-visual { min-height: 520px; grid-row: 1; margin-top: -10px; }
  .hero-copy { grid-row: 2; margin-top: -90px; }
  h1 { font-size: clamp(3.4rem, 15vw, 6.5rem); }
  .scroll-cue { display: none; }
  .statement-grid, .protocol-head { grid-template-columns: 1fr; gap: 50px; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cards article:last-child { border-bottom: 0; }
  .cards h3 { margin-top: 65px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer > div { justify-content: center; }
}

@media (min-width: 901px) and (max-height: 800px) {
  .hero { padding-top: 92px; padding-bottom: 25px; }
  h1 { margin: 18px 0 18px; font-size: clamp(3.6rem, 6.4vw, 6.8rem); }
  .lede { line-height: 1.45; }
  .actions { margin: 20px 0 13px; }
  .hero-visual { min-height: 550px; }
  .hero-visual img { width: min(92%, 660px); }
}

@media (max-width: 600px) {
  .topbar { height: 64px; padding: 0 18px; }
  .micro-cta { font-size: 9px; }
  .hero { padding: 85px 20px 55px; }
  .hero-visual { min-height: 315px; }
  .hero-visual img { width: 105%; max-width: none; }
  .label-a { left: 0; }
  .label-b { right: 0; bottom: 15%; }
  .hero-copy { margin-top: -48px; }
  h1 { font-size: clamp(2.85rem, 13.2vw, 3.45rem); line-height: .8; }
  .lede { font-size: 1rem; }
  .button { width: 100%; }
  .contract { grid-template-columns: auto minmax(0,1fr) auto; }
  .contract code { padding-left: 10px; padding-right: 10px; }
  .statement, .lab, .protocol { padding: 85px 20px; }
  .statement h2, .lab h2, .protocol h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .statement-grid { margin-top: 50px; }
  .ticker { width: calc(100% + 40px); margin: 75px -20px -85px; }
  .lab-header { display: block; margin-top: 50px; }
  .readout { text-align: left; margin-top: 35px; }
  .console { padding: 20px; }
  .waveform { height: 120px; }
  .protocol-head { margin: 50px 0; }
  .cursor-scan { display: none; }
  .finale { min-height: 80svh; }
}

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