/* vaultforpump prelaunch site: same EGA/pixel identity as the app.
   Display = VT323, body = IBM Plex Mono, 16-colour hardware palette, 4px grid. */
:root {
  --navy: #000040;
  --blue: #0000aa;
  --cyan: #00aaaa;
  --lcyan: #55ffff;
  --white: #ffffff;
  --text: #f2f2ff;
  --muted: #b8b8e8;
  --grey: #aaaaaa;
  --dgrey: #555577;
  --yellow: #ffff55;
  --green: #55ff55;
  --red: #ff6b6b;
  --magenta: #ff55ff;
  --black: #000000;
  --px: 4px;
  --display: "VT323", "Lucida Console", monospace;
  --body: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 4px), var(--navy);
  min-height: 100vh;
  overflow-x: hidden;
}
::selection { background: var(--cyan); color: var(--black); }
:focus-visible { outline: var(--px) solid var(--yellow); outline-offset: 2px; }
a { color: var(--lcyan); }
img, svg { display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--yellow); color: var(--black); padding: 4px 10px; }
h1, h2, h3, .display { font-family: var(--display); font-weight: normal; line-height: 1; letter-spacing: .01em; }
h2 { font-size: clamp(40px, 6vw, 60px); color: var(--white); margin: 0 0 14px; }
h3 { font-size: 30px; color: var(--yellow); margin: 0 0 8px; }
p { margin: 8px 0; max-width: 68ch; }
.dim { color: var(--muted); }
.hi { color: var(--yellow); }
.ok { color: var(--green); }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.sprite svg { image-rendering: pixelated; shape-rendering: crispEdges; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--cyan); color: var(--black); border-bottom: var(--px) solid var(--black); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; }
.brand .sprite svg { width: 36px; height: 36px; }
.wordmark { font-family: var(--display); font-size: 32px; line-height: 1; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--black); text-decoration: none; font-weight: 600; padding: 6px 10px; border: 2px solid transparent; }
.nav a:hover { border-color: var(--black); }
.nav a[aria-current="page"] { background: var(--black); color: var(--yellow); }
.btn.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  font: inherit; font-weight: 600; cursor: pointer; min-height: 48px; padding: 10px 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cyan); color: var(--black); border: 0; text-decoration: none;
  box-shadow: var(--px) var(--px) 0 var(--black);
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translate(var(--px), var(--px)); box-shadow: none; }
.btn.x { background: var(--yellow); }
.btn.go { background: var(--green); }
.btn.ghost { background: transparent; color: var(--lcyan); box-shadow: inset 0 0 0 2px var(--lcyan); }
.btn.small { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 22px; }

/* ---------- status ticker ---------- */
.ticker { background: var(--black); color: var(--yellow); border-bottom: 2px solid var(--dgrey); overflow: hidden; white-space: nowrap; font-size: 14px; }
.ticker .track { display: inline-flex; gap: 48px; padding: 6px 0; animation: tick 40s linear infinite; }
.ticker span::before { content: "■ "; color: var(--magenta); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.kicker { display: inline-block; font-family: var(--display); font-size: 24px; background: var(--magenta); color: var(--black); padding: 0 10px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(60px, 10vw, 120px); color: var(--white); margin: 0; text-shadow: 6px 6px 0 var(--blue); }
.hero h1 .hi { color: var(--yellow); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin-top: 18px; }
.cursor::after { content: "_"; color: var(--yellow); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* the "inside the NFT" showcase */
.showcase { position: relative; display: grid; place-items: center; min-height: 420px; }
.nftcard {
  width: min(320px, 100%); background: var(--blue); border: 6px double var(--lcyan); padding: 18px;
  box-shadow: 12px 12px 0 var(--black); position: relative; z-index: 2;
}
.nftcard .art { background: var(--navy); border: 2px solid var(--lcyan); padding: 18px; display: grid; place-items: center; }
.nftcard .art svg { width: 100%; height: auto; max-width: 200px; aspect-ratio: 1; }
.nftcard .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; gap: 4px 10px; flex-wrap: wrap; }
.nftcard .row .dim { white-space: nowrap; }
.nftcard .name { font-family: var(--display); font-size: 28px; color: var(--white); line-height: 1; }
.nftcard .amt { font-family: var(--display); font-size: 34px; color: var(--yellow); line-height: 1; }
.nftcard .badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.badge { display: inline-block; padding: 1px 7px; font-size: 13px; font-weight: 600; background: var(--green); color: var(--black); }
.badge.fee { background: var(--yellow); }
.badge.pink { background: var(--magenta); }
.coins { position: absolute; inset: 0; pointer-events: none; }
.coins i { position: absolute; width: 20px; height: 20px; background: var(--yellow); box-shadow: inset -4px -4px 0 #aa5500, 4px 4px 0 var(--black); animation: float 4s steps(8) infinite; }
.coins i:nth-child(1) { left: 6%; top: 18%; }
.coins i:nth-child(2) { right: 8%; top: 10%; animation-delay: -1s; }
.coins i:nth-child(3) { left: 12%; bottom: 14%; animation-delay: -2s; }
.coins i:nth-child(4) { right: 4%; bottom: 26%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-16px); } }

/* ---------- sections ---------- */
section.band { padding: 72px 0; border-top: var(--px) solid var(--black); }
section.band.alt { background: rgba(0, 0, 170, .35); }
.eyebrow { font-family: var(--display); font-size: 24px; color: var(--lcyan); margin: 0 0 6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.panel { background: var(--blue); border: 6px double var(--lcyan); box-shadow: 8px 8px 0 var(--black); padding: 22px; min-width: 0; }
.tile { background: var(--navy); border-left: var(--px) solid var(--yellow); padding: 18px; box-shadow: var(--px) var(--px) 0 var(--black); }
.tile .num { font-family: var(--display); font-size: 48px; color: var(--yellow); line-height: 1; }
.tile b { color: var(--white); }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 28px; }
.flow .node { background: var(--navy); border: 3px solid var(--lcyan); padding: 16px; box-shadow: var(--px) var(--px) 0 var(--black); }
.flow .node .display { font-size: 28px; color: var(--white); }
.flow .arrow { display: grid; place-items: center; font-family: var(--display); font-size: 40px; color: var(--yellow); }

/* fee split */
.split { display: flex; height: 64px; border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--black); margin: 22px 0 10px; font-weight: 600; }
.split span { display: grid; place-items: center; color: var(--black); white-space: nowrap; overflow: hidden; padding: 0 8px; }
.split .h { background: var(--green); flex: 75; }
.split .p { background: var(--yellow); flex: 25; }
table.ex { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
table.ex td, table.ex th { text-align: left; padding: 7px 4px; border-bottom: 1px dotted var(--dgrey); }
table.ex td:last-child, table.ex th:last-child { text-align: right; white-space: nowrap; }
table.ex th { color: var(--muted); font-weight: 400; }
.note { font-size: 14px; color: var(--muted); }

/* stages / roadmap */
ol.stages { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; counter-reset: s; }
ol.stages li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--navy); padding: 14px; border: 2px solid var(--dgrey); }
ol.stages li::before { content: counter(s); font-family: var(--display); font-size: 44px; line-height: 1; color: var(--yellow); text-align: center; }
ol.stages b { color: var(--white); }
.road { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.road li { padding: 16px 14px; border-top: 8px solid var(--dgrey); background: var(--navy); }
.road li + li { border-left: 2px solid var(--black); }
.road li.done { border-top-color: var(--green); }
.road li.now { border-top-color: var(--yellow); }
.road .tag { font-family: var(--display); font-size: 22px; }
.road li.done .tag { color: var(--green); }
.road li.now .tag { color: var(--yellow); }
.road li .tag::before { content: "[ ] "; }
.road li.done .tag::before { content: "[x] "; }
.road li.now .tag::before { content: "[>] "; }

/* checks */
ul.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
ul.checks li { position: relative; padding-left: 30px; }
ul.checks li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--green); font-weight: 600; }
ul.checks li.warn::before { content: "!"; color: var(--yellow); }

/* faq */
details.faq { background: var(--navy); border: 2px solid var(--lcyan); padding: 0; margin-top: 12px; }
details.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--white); list-style: none; display: flex; gap: 10px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+"; color: var(--yellow); font-family: var(--display); font-size: 24px; line-height: 1; }
details.faq[open] summary::before { content: "−"; }
details.faq > div { padding: 0 16px 14px 42px; }

/* x call to action */
.xcta { text-align: center; padding: 80px 0; border-top: var(--px) solid var(--black); background: var(--black); }
.xcta h2 { color: var(--yellow); }
.xcta p { margin-left: auto; margin-right: auto; }
.xcta .actions { justify-content: center; }

footer.foot { background: var(--black); border-top: 2px solid var(--dgrey); padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
footer.foot .wrap { display: grid; gap: 10px; }
footer.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- docs layout ---------- */
.docs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 40px 0 80px; align-items: start; }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; background: var(--blue); border: 3px solid var(--lcyan); box-shadow: var(--px) var(--px) 0 var(--black); padding: 14px 0; }
.toc .t { font-family: var(--display); font-size: 24px; color: var(--yellow); padding: 0 16px 6px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 5px 16px; color: var(--text); text-decoration: none; font-size: 14px; border-left: var(--px) solid transparent; }
.toc a:hover { color: var(--lcyan); }
.toc a.active { border-left-color: var(--yellow); color: var(--yellow); background: rgba(0, 0, 0, .25); }
.toc details summary { display: none; }
.doc h1 { font-size: clamp(54px, 8vw, 84px); color: var(--white); margin: 0 0 6px; text-shadow: 5px 5px 0 var(--blue); }
.doc > section { padding: 34px 0 10px; border-top: 2px dashed var(--dgrey); margin-top: 26px; }
.doc > section:first-of-type { border-top: 0; margin-top: 8px; }
.doc h2 { font-size: 46px; }
.doc h3 { font-size: 28px; margin-top: 22px; color: var(--lcyan); }
.doc ul, .doc ol:not(.stages) { padding-left: 22px; max-width: 70ch; }
.doc li { margin: 6px 0; }
.doc code { background: var(--black); color: var(--green); padding: 1px 6px; font-size: 14px; }
.callout { background: rgba(255, 255, 85, .08); border-left: var(--px) solid var(--yellow); padding: 12px 16px; margin: 16px 0; max-width: 72ch; }
.callout.info { background: rgba(85, 255, 255, .07); border-color: var(--lcyan); }
.callout b:first-child { color: var(--yellow); }
.callout.info b:first-child { color: var(--lcyan); }
.formula { font-family: var(--display); font-size: 28px; color: var(--yellow); background: var(--black); padding: 12px 16px; display: inline-block; box-shadow: var(--px) var(--px) 0 var(--blue); }
dl.gloss { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; max-width: 80ch; }
dl.gloss dt { color: var(--yellow); font-weight: 600; }
dl.gloss dd { margin: 0; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.lost .big { font-family: var(--display); font-size: clamp(90px, 20vw, 180px); color: var(--yellow); line-height: 1; text-shadow: 8px 8px 0 var(--blue); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .showcase { min-height: 0; padding: 24px 0; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow .arrow { transform: rotate(90deg); min-height: 32px; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road li + li { border-left: 0; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
  .toc { position: static; max-height: none; }
  .toc details summary { display: flex; cursor: pointer; font-family: var(--display); font-size: 24px; color: var(--yellow); padding: 0 16px; list-style: none; }
  .toc details summary::-webkit-details-marker { display: none; }
  .toc details summary::after { content: " ▾"; }
  .toc .t { display: none; }
}
@media (max-width: 720px) {
  .btn.menu-btn { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cyan); border-bottom: var(--px) solid var(--black); flex-direction: column; padding: 8px 16px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
  .topbar .wrap { position: relative; }
  .wordmark { font-size: 28px; }
  .road { grid-template-columns: minmax(0, 1fr); }
  section.band { padding: 52px 0; }
  .hero { padding: 40px 0; }
  dl.gloss { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  dl.gloss dd { margin-bottom: 10px; }
  .split { font-size: 13px; }
  table.ex td:last-child, table.ex th:last-child { white-space: normal; text-align: right; }
  table.ex td { vertical-align: top; }
}
