:root {
  color-scheme: dark;
  --bg: #05060a;
  --ink: #f4f7ff;
  --mute: #8b93a7;
  --bid: #3dff9a;
  --ask: #ff3d6e;
  --line: #1a2030;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
html { font-feature-settings: "liga" 0, "dlig" 0, "hlig" 0, "calt" 0, "kern" 1; }
body {
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  font-variant-ligatures: none;
  font-kerning: normal;
}

#tape {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
}

.ticker {
  position: relative; z-index: 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080b12;
  height: 36px;
}
.ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 28s linear infinite;
  color: var(--bid);
  font: 700 12px/36px Consolas, "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 20px;
}
.ticker-track span { color: var(--ask); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.top, main { position: relative; z-index: 2; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 18px 5vw;
  position: sticky; top: 0;
  background: rgba(5,6,10,.86);
  border-bottom: 1px solid var(--line);
}
.mark {
  display: flex; align-items: center; gap: 10px;
  letter-spacing: .22em; font-size: .78rem; color: var(--bid);
  text-decoration: none;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
}
.mark img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mark span { color: var(--mute); }
nav { display: flex; gap: 22px; }
nav a {
  color: var(--mute); text-decoration: none; font-size: .92rem;
  font-family: Consolas, "Courier New", monospace;
}
nav a:hover { color: var(--ink); }

.hero {
  min-height: calc(100vh - 110px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8vh 5vw 10vh;
  max-width: 80rem;
}
.hero-logo {
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; margin: 0 0 1.2rem;
  box-shadow: 0 0 64px rgba(61, 255, 154, .28);
}
.kicker {
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bid); font-size: .7rem; margin: 0 0 1rem;
  font-family: Consolas, "Courier New", monospace;
}
h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: .92;
  margin: 0 0 .45em;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 .7em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lede {
  max-width: 40rem;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.45;
  color: var(--mute);
  margin: 0 0 1.8rem;
}
.lede strong { color: var(--ink); }
.warn {
  margin: 1.4rem 0 0;
  color: var(--ask);
  font: 700 .82rem/1.4 Consolas, "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
  max-width: 36rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  appearance: none; border: 1px solid var(--bid);
  background: transparent; color: var(--ink);
  font: 700 .92rem/1 Consolas, "Courier New", monospace;
  padding: .9rem 1.2rem; text-decoration: none; cursor: pointer;
  text-transform: uppercase; letter-spacing: .04em;
}
.btn.bid {
  background: var(--bid); border-color: var(--bid); color: #04140c;
  box-shadow: 0 0 28px rgba(61, 255, 154, .25);
}
.btn.bid.xl { padding: 1.1rem 1.5rem; font-size: 1rem; }
.btn.ghost { color: var(--bid); }
.btn.sm { padding: .65rem .9rem; font-size: .78rem; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats article {
  background: #080b12;
  padding: 28px 5vw 28px 22px;
}
.stat-k {
  margin: 0 0 .55rem;
  color: var(--mute);
  font: 700 11px/1 Consolas, "Courier New", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.stat-n {
  margin: 0;
  font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 Arial, Helvetica, sans-serif;
  letter-spacing: -0.03em;
  transition: color .15s ease;
}
.stat-n small { font-size: .42em; color: var(--mute); font-weight: 700; }
.stat-n.flash {
  animation: statFlash .55s ease;
}
@keyframes statFlash {
  0% { color: var(--bid); text-shadow: 0 0 18px rgba(61, 255, 154, .55); }
  100% { color: var(--ink); text-shadow: none; }
}
.stat-s { margin: .7rem 0 0; color: var(--mute); font-size: .95rem; }
.bar {
  margin-top: 14px; height: 6px; background: #141a28; overflow: hidden;
}
.bar span {
  display: block; height: 100%; width: 0;
  background: var(--bid);
  box-shadow: 0 0 16px var(--bid);
}

.why, .how, .hearth, .contracts, footer { padding: 9vh 5vw; scroll-margin-top: 84px; }
.why ol {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px;
}
.why span, .flow b {
  display: block;
  color: var(--ask);
  font: 700 12px/1 Consolas, "Courier New", monospace;
  letter-spacing: .16em;
  margin-bottom: .7rem;
}
.why h3 { margin: 0 0 .45rem; font-size: 1.45rem; }
.why p, .flow p, .cards p, footer p {
  color: var(--mute); line-height: 1.5; font-size: 1.06rem; margin: 0;
}

.how { border-top: 1px solid var(--line); }
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1.6rem;
}
.flow article, .cards article {
  border: 1px solid var(--line);
  padding: 22px 20px;
  background: rgba(8, 11, 18, .7);
}
.flow .btn { margin-top: 1.1rem; display: inline-block; }

.hearth { border-top: 1px solid var(--line); }
.lede.short { max-width: 34rem; }
.panel {
  margin-top: 1.5rem; max-width: 34rem;
  border: 1px solid var(--bid);
  padding: 24px;
  background: rgba(61, 255, 154, .04);
}
.status, .fine {
  font: 700 12px/1.4 Consolas, "Courier New", monospace;
  color: var(--bid); margin: 0 0 1rem;
}
.fine { color: var(--mute); margin: 1rem 0 0; }
label { display: block; color: var(--mute); font-size: 1rem; margin-bottom: 1.1rem; }
input {
  display: block; width: 100%; margin-top: .45rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--bid);
  color: var(--ink);
  font: 700 1.6rem/1.4 Consolas, "Courier New", monospace;
  padding: .3rem 0;
}
input:focus { outline: none; }

.contracts { border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards h3 { margin: 0 0 .45rem; font-size: 1.35rem; }
.addr {
  display: block; margin-top: 1rem; color: var(--bid);
  font: 700 12px/1.4 Consolas, "Courier New", monospace;
  word-break: break-all; text-decoration: none;
}

footer { border-top: 1px solid var(--line); }
footer p { max-width: 44rem; }
.foot-mark {
  margin-top: 2rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bid);
  font: 700 12px/1 Consolas, "Courier New", monospace;
}

@media (max-width: 900px) {
  nav { display: none; }
  .stats, .why ol, .flow, .cards { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 8vh; }
  .top .btn.sm { display: none; }
}
