:root {
  --bg: #02060d;
  --panel: #06101c;
  --panel-2: #081522;
  --ink: #eef7ff;
  --muted: #7f96aa;
  --line: #173147;
  --blue: #1977ff;
  --cyan: #00d5ff;
  --acid: #baff26;
  --cream: #eadfc6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(25,119,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(25,119,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 19%, rgba(0,213,255,.08), transparent 24rem),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  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='.7'/%3E%3C/svg%3E");
}

.scanline {
  position: fixed;
  left: 0;
  right: 0;
  top: -10vh;
  height: 9vh;
  z-index: 998;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(186,255,38,.025), transparent);
  animation: scan 7s linear infinite;
}

@keyframes scan { to { transform: translateY(120vh); } }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 68px);
  background: rgba(2,6,13,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cyan);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 13px;
  box-shadow: 4px 4px 0 rgba(0,213,255,.11);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(186,255,38,.8);
  animation: blink 1.3s steps(2, end) infinite;
}

@keyframes blink { 50% { opacity: .3; } }

.topnav { display: flex; gap: 10px; align-items: center; }
.mini-link, .buy-link {
  height: 38px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 900;
  letter-spacing: .08em;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.buy-link {
  min-width: 74px;
  background: var(--acid);
  color: #091007;
  border-color: var(--acid);
}
.mini-link:hover, .buy-link:hover { transform: translate(-2px,-2px); border-color: var(--cyan); }

.section-shell {
  width: min(1400px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(30px, 6vw, 96px);
  padding: clamp(56px, 8vw, 110px) 0 72px;
}

.eyebrow, .kicker {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 800;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(78px, 11vw, 184px);
  line-height: .78;
  letter-spacing: -.065em;
  text-transform: uppercase;
  font-style: italic;
  transform: skewX(-5deg);
  text-shadow: 7px 7px 0 rgba(25,119,255,.18);
}
h1 span { display: inline-block; }
h1 .acid { color: var(--acid); }

.subhead {
  margin: 32px 0 10px;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 900;
  letter-spacing: -.025em;
}

.microcopy {
  max-width: 630px;
  margin: 0 0 34px;
  color: var(--muted);
  line-height: 1.65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
}

.resource {
  position: relative;
  min-height: 68px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(8,21,34,.9), rgba(2,6,13,.75));
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.resource::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(.12);
  transform-origin: left;
  transition: transform .18s ease;
}
.resource:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background: #071726;
}
.resource:hover::before { transform: scaleX(1); }
.resource-code { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }
.resource-title { font-weight: 900; letter-spacing: .05em; }
.arrow { text-align: right; color: var(--acid); font-size: 22px; }

.hero-visual {
  position: relative;
  min-width: 0;
}

.image-frame {
  position: relative;
  border: 1px solid #194864;
  background: #000;
  clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 6% 100%, 0 94%);
  overflow: hidden;
  box-shadow: 24px 24px 0 rgba(25,119,255,.055), -12px -12px 0 rgba(186,255,38,.025);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(25,119,255,.12));
  mix-blend-mode: screen;
}

.image-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.06);
  transition: transform .35s ease;
}
.hero-visual:hover img { transform: scale(1.025); }

.status-stamp {
  position: absolute;
  top: 22px;
  right: -12px;
  z-index: 3;
  background: var(--acid);
  color: #101700;
  padding: 9px 16px;
  font-family: ui-monospace, monospace;
  font-weight: 900;
  letter-spacing: .18em;
  transform: rotate(4deg);
  box-shadow: 8px 8px 0 rgba(0,0,0,.7);
}

.visual-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.leak-panel, .contract, .final-access {
  border-top: 1px solid var(--line);
  padding: clamp(68px, 8vw, 118px) 0;
}

.leak-panel {
  display: grid;
  grid-template-columns: 110px 1fr minmax(320px, .85fr);
  gap: 36px;
  align-items: start;
}

.section-index {
  color: var(--muted);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  padding-top: 7px;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(42px, 5.4vw, 84px);
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.terminal {
  border: 1px solid var(--line);
  background: rgba(3,13,23,.8);
  box-shadow: inset 4px 0 0 rgba(0,213,255,.28);
}
.terminal-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.terminal-row:last-child { border-bottom: 0; }
.terminal-row span { color: var(--muted); }
.terminal-row b { color: var(--acid); letter-spacing: .08em; }

.contract {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
}
.contract-main { max-width: 1060px; }
.ca-box {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--cyan);
  background: #030b13;
  box-shadow: 10px 10px 0 rgba(0,213,255,.055);
}
.ca-box code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 20px;
  color: var(--ink);
  font-size: clamp(11px, 1.4vw, 16px);
}
.ca-box button {
  border: 0;
  border-left: 1px solid var(--cyan);
  background: var(--acid);
  color: #0a1200;
  padding: 0 28px;
  font-weight: 950;
  letter-spacing: .07em;
  cursor: pointer;
  transition: filter .16s ease, transform .16s ease;
}
.ca-box button:hover { filter: brightness(1.08); }
.ca-box button:active { transform: translate(2px,2px); }
.copy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .7fr);
  gap: 34px;
  align-items: end;
}
.big-buy {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #091000;
  font-size: clamp(26px, 3vw, 52px);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.03em;
  transition: transform .18s ease, box-shadow .18s ease;
}
.big-buy:hover { transform: translate(-5px,-5px); box-shadow: 12px 12px 0 rgba(0,213,255,.28); }
.big-arrow { font-size: 1.2em; }

footer {
  min-height: 94px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 68px);
  color: #587084;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; order: -1; }
  .leak-panel { grid-template-columns: 72px 1fr; }
  .terminal { grid-column: 2; }
  .contract { grid-template-columns: 72px 1fr; }
  .final-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .topbar { height: 62px; padding: 0 14px; }
  .ticker { font-size: 11px; padding: 8px 9px; }
  .buy-link { min-width: 62px; }
  .section-shell { width: min(100% - 24px, 1400px); }
  .hero { padding-top: 28px; gap: 40px; }
  h1 { font-size: clamp(66px, 22vw, 108px); }
  .subhead { margin-top: 24px; }
  .cta-grid { grid-template-columns: 1fr; }
  .resource { min-height: 60px; }
  .visual-meta { flex-direction: column; }
  .leak-panel, .contract { display: block; }
  .section-index { margin-bottom: 22px; }
  .terminal { margin-top: 30px; }
  .ca-box { grid-template-columns: 1fr; }
  .ca-box code { border-bottom: 1px solid var(--cyan); }
  .ca-box button { min-height: 58px; border-left: 0; }
  .big-buy { min-height: 112px; }
  footer { flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 20px; padding-bottom: 20px; }
}

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