:root {
  --bg: #030504;
  --bg2: #070a08;
  --panel: #090d0a;
  --ink: #f5f7f4;
  --muted: #788179;
  --line: #1b241d;
  --green: #00f05a;
  --green2: #22ff70;
  --green-dim: rgba(0, 240, 90, .13);
  --green-faint: rgba(0, 240, 90, .05);
  --px: 3px;
  --font: "Press Start 2P", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(0,240,90,.025) 50%, transparent 50.2%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 11px;
  line-height: 1.8;
  text-rendering: geometricPrecision;
}

a { color: inherit; }
::selection { color: #001607; background: var(--green); }

.noise,
.scanlines,
.cursor-glow { position: fixed; inset: 0; pointer-events: none; }
.noise {
  z-index: 90;
  opacity: .14;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.10) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 60%, rgba(255,255,255,.06) 0 1px, transparent 1px);
  background-size: 17px 19px, 23px 29px;
}
.scanlines {
  z-index: 91;
  opacity: .16;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}
.cursor-glow {
  z-index: 1;
  width: 420px;
  height: 420px;
  left: var(--mouse-x, 50vw);
  top: var(--mouse-y, 50vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,90,.08), transparent 65%);
  filter: blur(14px);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 26px;
  border-bottom: var(--px) solid var(--line);
  background: rgba(3,5,4,.90);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #001608;
  background: var(--green);
  box-shadow: 4px 4px 0 #193620;
  font-size: 10px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.45; font-size: 9px; }
.brand-copy b { color: var(--green); font-size: 7px; }
.desktop-nav { display: flex; justify-content: center; gap: 26px; }
.desktop-nav a { text-decoration: none; color: #879087; font-size: 7px; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--green); }
.live-badge { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 8px; }
.live-badge i { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 13px var(--green); animation: blink 1.1s steps(2,end) infinite; }

.rail {
  position: fixed;
  z-index: 70;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.rail a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #253027;
  color: #5e665f;
  background: rgba(4,7,5,.72);
  text-decoration: none;
  font-size: 6px;
}
.rail a:hover, .rail a.active { border-color: var(--green); color: #001608; background: var(--green); }

main { position: relative; z-index: 2; }
.slide {
  position: relative;
  min-height: 100vh;
  padding: 122px max(7vw, 84px) 84px;
  border-bottom: var(--px) solid var(--line);
  overflow: hidden;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(0,240,90,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,90,.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.slide-index { position: absolute; right: max(4vw, 36px); top: 102px; color: #465047; font-size: 7px; letter-spacing: .08em; }
.eyebrow { margin: 0 0 19px; color: var(--green); font-size: 8px; letter-spacing: .06em; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 0; font-size: clamp(34px, 6.2vw, 90px); line-height: 1.02; letter-spacing: -.06em; }

.hero-slide { display: flex; flex-direction: column; justify-content: center; padding-top: 112px; }
.hero-slide::after {
  content: "";
  position: absolute;
  z-index: -3;
  right: -18vw;
  top: 10vh;
  width: 65vw;
  height: 65vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,90,.12), transparent 66%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(380px,1.12fr); gap: clamp(34px, 6vw, 96px); align-items: center; width: min(1320px, 100%); margin: auto; }
.hero-copy h1 { margin: 0; font-size: clamp(54px, 8.7vw, 132px); line-height: .82; letter-spacing: -.09em; }
.hero-copy h1 span { color: var(--green); text-shadow: 8px 8px 0 #0d351b; }
.hero-ticker { margin: 26px 0 22px; color: var(--green2); font-size: clamp(15px, 2vw, 25px); }
.intro { max-width: 590px; margin-bottom: 32px; color: #8c958d; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-btn, .square-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--px) solid var(--ink);
  text-decoration: none;
  transition: transform 100ms steps(2,end), background 100ms linear, color 100ms linear;
}
.primary-btn { gap: 24px; padding: 0 22px; color: #001607; background: var(--green); box-shadow: 7px 7px 0 #14381f; }
.square-btn { min-width: 66px; padding: 0 12px; color: #aeb5af; background: var(--panel); font-size: 8px; }
.primary-btn:hover, .square-btn:hover { transform: translate(3px,3px); color: #001607; background: var(--green2); }

.hero-visual { position: relative; width: min(640px, 100%); margin-left: auto; }
.visual-meta { display: flex; justify-content: space-between; gap: 20px; color: #69736a; font-size: 6px; }
.visual-meta.top { margin-bottom: 10px; }
.visual-meta.bottom { margin-top: 10px; }
.blink { color: var(--green); animation: blink 1s steps(2,end) infinite; }
.art-frame { position: relative; padding: 12px; border: 1px solid #233127; background: #000; box-shadow: 16px 16px 0 rgba(0,240,90,.07); }
.art-frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(0,240,90,.15); pointer-events: none; }
.art-frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: pixelated; filter: contrast(1.08) saturate(1.05); }
.corner { position: absolute; z-index: 3; width: 22px; height: 22px; border-color: var(--green); border-style: solid; }
.c1 { top: 4px; left: 4px; border-width: 3px 0 0 3px; }
.c2 { top: 4px; right: 4px; border-width: 3px 3px 0 0; }
.c3 { bottom: 4px; left: 4px; border-width: 0 0 3px 3px; }
.c4 { bottom: 4px; right: 4px; border-width: 0 3px 3px 0; }

.ca-terminal { width: min(1320px,100%); margin: 34px auto 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: stretch; border: var(--px) solid #28332a; background: #050806; }
.ca-terminal .prompt { display: flex; align-items: center; padding: 0 16px; color: #001607; background: var(--green); }
.ca-terminal code { min-height: 56px; display: flex; align-items: center; padding: 0 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #aeb5af; font-family: var(--font); font-size: 8px; }
.ca-terminal button { border: 0; border-left: var(--px) solid #28332a; padding: 0 18px; color: var(--green); background: #0c110d; font: inherit; font-size: 8px; cursor: pointer; }
.ca-terminal button:hover { color: #001607; background: var(--green); }
.scroll-cue { align-self: center; margin-top: 26px; color: #536055; text-decoration: none; font-size: 6px; }
.scroll-cue:hover { color: var(--green); }

.ticker-strip { position: relative; z-index: 3; overflow: hidden; border-block: var(--px) solid #001607; background: var(--green); color: #001607; }
.ticker-track { display: flex; width: max-content; animation: ticker 20s linear infinite; }
.ticker-track span { padding: 14px 0; white-space: nowrap; font-size: 8px; }

.section-head { width: min(1180px,100%); margin: 4vh auto 8vh; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.head-note { max-width: 370px; margin: 0 0 8px; color: #7e8880; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; line-height: 1.6; }

.signal-slide { background: linear-gradient(135deg, #040605 0%, #060b07 55%, #030504 100%); }
.signal-layout { width: min(1180px,100%); margin: 0 auto; display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); gap: clamp(34px,6vw,90px); align-items: center; }
.art-card { border: var(--px) solid var(--green); padding: 9px; background: #000; box-shadow: -14px 14px 0 rgba(0,240,90,.11); transform: rotate(-1deg); }
.art-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: pixelated; }
.signal-copy { padding: 30px 0; }
.terminal-line { padding: 14px 0; border-bottom: 1px dashed #2b352d; color: #858e86; font-size: 8px; }
.terminal-line span { color: var(--green); }
.signal-copy > p { margin: 34px 0 0; color: #98a099; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; line-height: 1.8; }
.signal-copy .green-copy { color: var(--green); font-family: var(--font); font-size: 10px; line-height: 1.8; }

.protocol-slide { background: #050705; }
.card-grid { width: min(1180px,100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); border: var(--px) solid #263128; }
.protocol-card { position: relative; min-height: 360px; padding: 34px; border-right: var(--px) solid #263128; background: rgba(7,11,8,.86); }
.protocol-card:last-child { border-right: 0; }
.protocol-card.featured { color: #001607; background: var(--green); }
.card-no { position: absolute; right: 20px; top: 18px; color: #657067; font-size: 7px; }
.featured .card-no { color: rgba(0,20,8,.45); }
.icon-pixel { margin: 50px 0 58px; color: var(--green); font-size: 44px; line-height: 1; }
.featured .icon-pixel { color: #001607; }
.protocol-card h3 { margin-bottom: 18px; font-size: 15px; line-height: 1.4; }
.protocol-card p { margin: 0; color: #79827b; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.65; }
.featured p { color: #083016; }

.how-slide { background: radial-gradient(circle at 50% 110%, rgba(0,240,90,.12), transparent 45%), #030504; }
.steps { width: min(1180px,100%); margin: 0 auto; border-top: var(--px) solid #2b362d; }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; padding: 25px 0; border-bottom: var(--px) solid #202a22; }
.step > span { color: var(--green); font-size: clamp(20px,3vw,42px); }
.step h3 { margin: 0 0 7px; font-size: 11px; }
.step p { max-width: 760px; margin: 0; color: #7f8981; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.55; }
.risk-note { width: min(1180px,100%); margin: 28px auto 0; color: #59615b; font-size: 7px; }

.community-slide { display: grid; place-items: center; background: var(--green); color: #001607; }
.community-slide::before { opacity: .35; background-image: linear-gradient(rgba(0,20,8,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(0,20,8,.15) 1px,transparent 1px); }
.community-slide .slide-index, .community-slide .eyebrow { color: #074d1f; }
.community-shell { width: min(1180px,100%); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,110px); align-items: center; }
.community-copy h2 { font-size: clamp(42px,6vw,78px); }
.community-copy > p:last-child { max-width: 520px; margin: 28px 0 0; color: #075020; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; line-height: 1.6; }
.community-links { border: var(--px) solid #001607; box-shadow: 12px 12px 0 rgba(0,20,8,.25); }
.community-links a { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 24px; border-bottom: var(--px) solid #001607; text-decoration: none; }
.community-links a:last-child { border-bottom: 0; }
.community-links a:hover { color: var(--green); background: #001607; }
.community-links span { font-size: 10px; }
.community-links b { font-size: 7px; }

.faq-slide { background: #050705; }
.faq-list { width: min(1180px,100%); margin: 0 auto; display: grid; gap: 10px; }
details { border: var(--px) solid #222d25; background: #070a08; }
summary { position: relative; padding: 24px 62px 24px 22px; cursor: pointer; list-style: none; font-size: 9px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 20px; }
details[open] { border-color: var(--green); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 22px 25px; color: #919a92; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.65; }
details strong { color: var(--green); }

.disclaimer-slide { display: grid; place-items: center; background: #020302; }
.disclaimer-box { width: min(980px,100%); padding: clamp(28px,5vw,64px); border: var(--px) solid var(--green); background: rgba(0,240,90,.025); box-shadow: 16px 16px 0 #0d2214; }
.disclaimer-box h2 { margin-bottom: 34px; font-size: clamp(38px,6vw,76px); }
.disclaimer-box > p:not(.eyebrow) { color: #959e96; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.75; }
.warning { margin-top: 34px; padding: 18px; border: 1px dashed var(--green); color: var(--green); font-size: 8px; text-align: center; }

.footer { position: relative; z-index: 2; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(7vw,84px); color: #59625b; background: #020302; font-size: 7px; }
.footer-glow { color: var(--green); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; padding: 15px 18px; border: var(--px) solid #001607; color: #001607; background: var(--green); box-shadow: 6px 6px 0 var(--ink); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .12s steps(2,end); }
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:.2} }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .rail { display: none; }
  .slide { min-height: auto; padding: 112px 28px 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; width: min(560px,100%); margin: 0 auto; }
  .hero-copy { text-align: center; }
  .intro { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .signal-layout { grid-template-columns: 1fr; }
  .art-card { width: min(520px,100%); margin: 0 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .protocol-card { min-height: auto; border-right: 0; border-bottom: var(--px) solid #263128; }
  .protocol-card:last-child { border-bottom: 0; }
  .icon-pixel { margin: 25px 0 35px; }
  .community-shell { grid-template-columns: 1fr; }
  .footer { padding-inline: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 10px; }
  .topbar { height: 64px; padding: 0 16px; }
  .brand-copy { font-size: 7px; }
  .brand-mark { width: 34px; height: 34px; font-size: 8px; }
  .live-badge { font-size: 6px; }
  .slide { padding: 94px 18px 64px; }
  .slide-index { top: 78px; right: 18px; }
  .hero-copy h1 { font-size: clamp(54px,20vw,90px); }
  .hero-actions { display: grid; grid-template-columns: repeat(3,1fr); }
  .primary-btn { grid-column: 1 / -1; }
  .square-btn { min-width: 0; }
  .ca-terminal { grid-template-columns: auto minmax(0,1fr); }
  .ca-terminal button { grid-column: 1 / -1; min-height: 46px; border-left: 0; border-top: var(--px) solid #28332a; }
  .ca-terminal code { font-size: 6px; }
  .split-head { display: block; }
  .head-note { margin-top: 24px; }
  .step { grid-template-columns: 62px 1fr; gap: 14px; }
  .step > span { font-size: 22px; }
  .community-links a { padding: 0 16px; }
  .community-links b { font-size: 6px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .live-badge i, .blink { animation: none; }
  .cursor-glow { display: none; }
  .primary-btn, .square-btn, .toast { transition: none; }
}
