:root {
  --ink: #06100e;
  --panel: #0a1714;
  --panel-2: #0e201b;
  --line: rgba(162, 255, 126, .19);
  --acid: #9cff57;
  --mint: #bfffa2;
  --cyan: #5be9ce;
  --paper: #ecf4e8;
  --muted: #8ca29a;
  --danger: #ff665f;
  --mono: "Courier New", Courier, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); font-family: var(--sans); background: var(--ink); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2; background: radial-gradient(circle at 74% 13%, rgba(40, 182, 119, .16), transparent 28rem), linear-gradient(135deg, #06100e, #091b17 42%, #030806); }
.noise { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; 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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.topbar { height: 82px; position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px, 4vw, 68px); border-bottom: 1px solid var(--line); background: rgba(4, 12, 10, .75); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font: 800 15px/1 var(--mono); letter-spacing: .08em; }
.brand-eye { width: 30px; height: 19px; position: relative; display: inline-block; border: 2px solid var(--acid); border-radius: 100% 0 100% 0; transform: rotate(-45deg); }
.brand-eye i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); left: 9px; top: 4px; }
nav { display: flex; gap: 34px; font: 700 12px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--acid); }
.header-actions { justify-self: end; display: flex; gap: 10px; align-items: center; }
.icon-link { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 18px; transition: .2s ease; }
.icon-link:hover { border-color: var(--acid); color: var(--acid); }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid var(--acid); font: 800 13px/1 var(--mono); letter-spacing: .06em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(156, 255, 87, .16); }
.btn-small { min-height: 41px; padding: 0 17px; color: var(--acid); }
.btn-primary { color: #07100e; background: var(--acid); box-shadow: 0 0 34px rgba(156, 255, 87, .16); }
.btn-ghost { color: var(--paper); border-color: rgba(236, 244, 232, .3); }
.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: center; padding: clamp(52px, 8vh, 105px) clamp(20px, 5vw, 82px) 72px; max-width: 1700px; margin: 0 auto; }
.eyebrow, .kicker { margin: 0 0 22px; color: var(--cyan); font: 700 12px/1.3 var(--mono); letter-spacing: .14em; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); animation: pulse 1.4s infinite; }
h1, h2 { margin: 0; font-weight: 950; letter-spacing: -.065em; line-height: .88; }
h1 { font-size: clamp(56px, 7.3vw, 126px); }
h1 em { color: transparent; -webkit-text-stroke: 1.5px var(--acid); font-style: normal; text-shadow: 0 0 30px rgba(156,255,87,.08); }
.hero-lede { max-width: 590px; margin: 30px 0; color: #b5c8c0; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { font: 800 13px/1 var(--mono); letter-spacing: .07em; color: var(--muted); }
.text-link span { color: var(--acid); margin-left: 8px; }
.watch-status { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; max-width: 570px; margin-top: 48px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font: 700 11px/1 var(--mono); letter-spacing: .06em; }
.watch-status strong { color: var(--acid); font-size: 12px; }
.watch-time { color: var(--paper); }
.live-dot, .terminal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.hero-visual { min-width: 0; }
.image-frame { position: relative; aspect-ratio: 1; padding: 10px; border: 1px solid rgba(156,255,87,.35); background: #030807; box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 80px rgba(60,255,157,.08); transform: rotate(.8deg); overflow: hidden; }
.image-frame::before, .image-frame::after { content: ""; position: absolute; width: 34px; height: 34px; z-index: 4; border-color: var(--acid); }
.image-frame::before { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.image-frame::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.9) contrast(1.06); }
.frame-label, .frame-readout { position: absolute; z-index: 5; font: 700 10px/1.45 var(--mono); letter-spacing: .08em; text-shadow: 0 1px 3px #000; }
.frame-label { left: 25px; top: 23px; color: var(--acid); }
.frame-readout { right: 22px; bottom: 21px; color: rgba(236,244,232,.72); text-align: right; }
.scanline { position: absolute; inset: 10px; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(0,0,0,.18) 4px); mix-blend-mode: multiply; }
.reticle { position: absolute; inset: 50% auto auto 50%; width: 78px; height: 78px; transform: translate(-50%,-50%); z-index: 4; border: 1px solid rgba(156,255,87,.35); border-radius: 50%; }
.reticle::before, .reticle::after { content: ""; position: absolute; background: rgba(156,255,87,.35); }
.reticle::before { width: 110px; height: 1px; top: 38px; left: -16px; }
.reticle::after { height: 110px; width: 1px; left: 38px; top: -16px; }
.reticle span { position: absolute; width: 8px; height: 8px; border: 1px solid var(--acid); border-radius: 50%; left: 34px; top: 34px; }
.image-caption { margin: 16px 0 0; text-align: right; color: var(--acid); font: 800 11px/1.4 var(--mono); letter-spacing: .08em; }
.ticker { overflow: hidden; border-block: 1px solid var(--acid); background: var(--acid); color: var(--ink); transform: rotate(-1deg) scale(1.015); }
.ticker div { display: flex; width: max-content; gap: 25px; align-items: center; padding: 15px 0; animation: ticker 24s linear infinite; font: 900 14px/1 var(--mono); letter-spacing: .08em; }
.ticker i { font-style: normal; }
.lore, .terminal-section { max-width: 1540px; margin: 0 auto; padding: 140px clamp(20px, 5vw, 82px); }
.section-index { padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--cyan); font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.lore-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 10vw, 160px); padding: 70px 0 80px; }
h2 { font-size: clamp(54px, 7vw, 112px); }
h2 span { color: var(--acid); }
.log-copy { max-width: 600px; align-self: center; }
.log-copy p { color: #a9bcb4; font-size: 17px; line-height: 1.7; }
.log-copy .lead { margin-top: 0; color: var(--paper); font-size: clamp(23px, 2.1vw, 34px); line-height: 1.35; font-weight: 700; letter-spacing: -.03em; }
.log-copy strong { color: var(--acid); }
.log-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.log-cards article { min-height: 270px; padding: 30px; border-right: 1px solid var(--line); background: rgba(10, 23, 20, .46); transition: background .25s ease, transform .25s ease; }
.log-cards article:last-child { border-right: 0; }
.log-cards article:hover { background: rgba(20, 48, 39, .65); transform: translateY(-5px); }
.log-cards span { color: var(--acid); font: 700 12px/1 var(--mono); }
.log-cards h3 { margin: 80px 0 12px; font-size: 23px; letter-spacing: -.03em; }
.log-cards p { color: var(--muted); line-height: 1.5; max-width: 290px; }
.terminal-section { padding-top: 20px; }
.terminal-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; padding: 64px 0 50px; }
.terminal-head h2 { font-size: clamp(50px, 6.2vw, 94px); }
.terminal-head > p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 540px; }
.terminal { border: 1px solid rgba(156,255,87,.37); background: #030a08; box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 0 50px rgba(156,255,87,.02); outline: none; }
.terminal:focus-visible { box-shadow: 0 0 0 3px var(--cyan), 0 40px 100px rgba(0,0,0,.45); }
.terminal-bar, .terminal-footer { min-height: 50px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); font: 700 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.terminal-title { display: flex; align-items: center; gap: 9px; color: var(--paper); }
.terminal-dot { background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.terminal-meta b { color: var(--acid); }
.terminal-body { display: grid; grid-template-columns: minmax(0, 1fr) 255px; min-height: 520px; }
.chart-wrap { position: relative; overflow: hidden; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 70px 70px; }
#chartCanvas { width: 100%; height: 100%; display: block; }
.chart-overlay { position: absolute; top: 22px; left: 22px; display: grid; gap: 5px; font-family: var(--mono); pointer-events: none; }
.chart-overlay span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.chart-overlay strong { color: var(--acid); font-size: 26px; }
.idle-alert { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--danger); font: 800 15px/1.5 var(--mono); letter-spacing: .12em; background: rgba(2,8,6,.75); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.idle-alert strong { color: var(--acid); font-size: clamp(24px, 4vw, 48px); }
.terminal.idle .idle-alert { opacity: 1; animation: glitch .18s steps(2) 3; }
.telemetry { border-left: 1px solid var(--line); }
.telemetry > div { min-height: 89px; padding: 20px; display: flex; flex-direction: column; gap: 10px; justify-content: center; border-bottom: 1px solid var(--line); }
.telemetry span { color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .1em; }
.telemetry strong { font: 800 20px/1 var(--mono); }
.telemetry .green { color: var(--acid); }
.telemetry .terminal-note { border: 0; color: #587168; font: 700 10px/1.6 var(--mono); }
.terminal-footer { border-top: 1px solid var(--line); border-bottom: 0; color: #68877c; }
.terminal-footer button { color: var(--acid); background: transparent; border: 0; font: 800 11px/1 var(--mono); cursor: pointer; }
.contract { min-height: 780px; display: grid; grid-template-columns: .78fr 1.22fr; border-top: 1px solid var(--line); background: linear-gradient(135deg, rgba(156,255,87,.04), transparent 40%); }
.contract-art { position: relative; min-height: 540px; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); }
.giant-eye { width: min(30vw, 400px); aspect-ratio: 1.6; position: relative; display: block; border: 8px solid var(--acid); border-radius: 100% 0 100% 0; transform: rotate(-45deg); box-shadow: 0 0 90px rgba(156,255,87,.12), inset 0 0 50px rgba(156,255,87,.1); }
.giant-eye i { position: absolute; width: 35%; aspect-ratio: 1; left: 32%; top: 27%; border-radius: 50%; border: 7px solid var(--acid); box-shadow: inset 0 0 0 18px var(--ink), inset 0 0 0 34px var(--acid); }
.orbit { position: absolute; color: rgba(156,255,87,.2); font: 800 clamp(16px, 2vw, 28px)/1 var(--mono); letter-spacing: .1em; transform: rotate(90deg); }
.contract-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 130px); }
.contract-copy h2 { margin-bottom: 55px; }
.ca-box { display: flex; align-items: stretch; border: 1px solid rgba(156,255,87,.45); background: rgba(3,10,8,.8); }
.ca-box > div { flex: 1; min-width: 0; display: grid; gap: 8px; padding: 18px 20px; }
.ca-box span { color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .1em; }
.ca-box code { overflow: hidden; text-overflow: ellipsis; color: var(--paper); font: 700 14px/1.3 var(--mono); white-space: nowrap; }
.ca-box button { min-width: 130px; border: 0; border-left: 1px solid rgba(156,255,87,.45); background: var(--acid); color: var(--ink); font: 800 12px/1 var(--mono); cursor: pointer; }
.contract-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.disclaimer { max-width: 690px; margin: 30px 0 0; color: #60766e; font-size: 12px; line-height: 1.6; }
footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 25px clamp(20px, 5vw, 82px); border-top: 1px solid var(--line); color: var(--muted); font: 700 10px/1.4 var(--mono); letter-spacing: .08em; }
footer p:last-child { justify-self: end; }
.footer-brand { color: var(--paper); }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes glitch { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 760px; width: 100%; }
  .lore-grid, .terminal-head { grid-template-columns: 1fr; }
  .terminal-body { grid-template-columns: 1fr; }
  .chart-wrap { min-height: 440px; }
  .telemetry { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .telemetry > div { border-right: 1px solid var(--line); }
  .contract { grid-template-columns: 1fr; }
  .contract-art { min-height: 440px; border-right: 0; border-bottom: 1px solid var(--line); }
  .giant-eye { width: min(48vw, 380px); }
}
@media (max-width: 680px) {
  .topbar { height: 70px; padding-inline: 16px; }
  .brand { font-size: 12px; gap: 8px; }
  .brand-eye { transform: rotate(-45deg) scale(.78); margin: -3px; }
  .header-actions .btn { display: none; }
  .hero { padding: 48px 17px 55px; }
  h1 { font-size: clamp(49px, 16.2vw, 76px); }
  .hero-lede { margin-block: 22px; }
  .watch-status { grid-template-columns: auto 1fr auto; }
  .watch-status strong { grid-column: 2 / 4; }
  .image-frame { padding: 6px; transform: none; }
  .scanline { inset: 6px; }
  .image-caption { text-align: left; font-size: 9px; }
  .lore, .terminal-section { padding: 95px 17px; }
  .terminal-section { padding-top: 0; }
  h2, .terminal-head h2 { font-size: clamp(46px, 15vw, 70px); }
  .lore-grid { padding: 55px 0; gap: 36px; }
  .log-cards { grid-template-columns: 1fr; }
  .log-cards article { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .log-cards h3 { margin-top: 50px; }
  .terminal-head { gap: 20px; padding-top: 50px; }
  .terminal-bar { align-items: flex-start; flex-direction: column; justify-content: center; }
  .chart-wrap { min-height: 330px; background-size: 44px 44px; }
  .telemetry { grid-template-columns: 1fr 1fr; }
  .terminal-footer { min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .contract-art { min-height: 330px; }
  .giant-eye { width: 58vw; border-width: 5px; }
  .giant-eye i { border-width: 4px; box-shadow: inset 0 0 0 11px var(--ink), inset 0 0 0 22px var(--acid); }
  .contract-copy { padding: 75px 17px; }
  .contract-copy h2 { margin-bottom: 35px; }
  .ca-box { flex-direction: column; }
  .ca-box button { min-height: 49px; border-left: 0; border-top: 1px solid rgba(156,255,87,.45); }
  .contract-actions .btn { width: 100%; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer p:last-child { justify-self: center; }
}
