:root {
  --bg: #07090c;
  --bg-2: #0c1014;
  --panel: #10161c;
  --panel-2: #141c24;
  --line: #22303a;
  --line-2: #2d4050;
  --ink: #e9ebdc;
  --ink-soft: #c5cbb6;
  --muted: #8a9388;
  --dim: #5d665e;
  --up: #3dff9a;
  --up-2: #1f8f58;
  --up-bg: rgba(61, 255, 154, 0.1);
  --down: #ff5c5c;
  --down-bg: rgba(255, 92, 92, 0.1);
  --gold: #d4b45a;
  --gold-2: #8a7330;
  --paper: #efe8d4;
  --max: 1120px;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(61, 255, 154, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 154, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  background: var(--up);
  color: #04110a;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
}

/* ——— tape ——— */
.tape {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050708;
  height: 36px;
}

.tape-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 36px;
}

.tape-bottom { border-top: 1px solid var(--line); border-bottom: 0; }

.tape-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.tape-item--fund { background: var(--up-bg); }

.tape-sym { color: var(--ink); font-weight: 600; }
.tape-px { color: var(--muted); }
.tape-ch.up { color: var(--up); }
.tape-ch.down { color: var(--down); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— chrome ——— */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--up); }

.top-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.brand:hover { color: var(--ink); }
.brand:hover .brand-name { color: var(--up); }

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.x-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.x-mark {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  font-size: 10px;
}

.session {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.session::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}

.session.is-open { color: var(--up); }
.session.is-open::before { background: var(--up); box-shadow: 0 0 8px var(--up); }
.session.is-closed { color: var(--down); }
.session.is-closed::before { background: var(--down); }

.clock { color: var(--muted); }

.top-right { display: flex; align-items: center; gap: 18px; }

.stock-link {
  color: var(--up);
  border: 1px solid var(--up-2);
  padding: 4px 10px;
}

.stock-link:hover { background: var(--up-bg); }

/* ——— page ——— */
.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.masthead {
  padding: 36px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.stamp {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-2);
  padding: 6px 10px;
  white-space: nowrap;
}

.hero { padding: 12px 0 48px; }

.hero h1 {
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 8px 0 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--up);
}

.lede {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 20px;
}

.lede strong { color: var(--ink); font-weight: 600; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 32px 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--up);
  background: var(--up);
  color: #04110a;
  font-weight: 600;
}

.btn:hover { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: transparent;
  padding-left: 0;
}

.btn-ghost:hover { color: var(--up); }

.hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.stat-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px 14px 12px;
}

.stat b {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--up);
  font-weight: 600;
}

.figure {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(61, 255, 154, 0.05), transparent 40%),
    var(--panel);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.figure-cap {
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.figure-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.chart { width: 100%; height: 280px; }

/* ——— sections ——— */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.sec-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section h2 {
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin-bottom: 18px;
}

.section .sub {
  max-width: 62ch;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.callout {
  border-left: 3px solid var(--up);
  background: var(--up-bg);
  padding: 16px 20px;
  max-width: 70ch;
  color: var(--ink);
  font-size: 18px;
}

/* ——— timeline ——— */
.timeline {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.tl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.tl-date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}

.tl h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
}

.tl p { color: var(--ink-soft); font-size: 17px; }

.tl.is-hot {
  background: linear-gradient(90deg, var(--up-bg), transparent 70%);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

/* ——— scale ——— */
.scale-list { display: flex; flex-direction: column; gap: 14px; }

.scale-row {
  display: grid;
  grid-template-columns: minmax(160px, 28%) 1fr auto;
  gap: 16px;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
}

.scale-name { color: var(--ink-soft); }
.scale-val { color: var(--ink); min-width: 8ch; text-align: right; }

.bar {
  height: 10px;
  background: #0a1210;
  border: 1px solid var(--line);
  position: relative;
}

.bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--up-2), var(--up));
}

.bar.is-tiny > i { background: var(--gold); }
.bar.is-fund > i {
  background: repeating-linear-gradient(
    90deg,
    var(--up) 0 4px,
    transparent 4px 8px
  );
}

/* ——— mechanism ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  background: var(--panel);
  padding: 22px 20px 24px;
  min-height: 180px;
}

.step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--up);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.step p { color: var(--ink-soft); font-size: 16px; }

/* ——— facts ——— */
.facts-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

table.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

table.facts th,
table.facts td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.facts th {
  width: 38%;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  padding-right: 16px;
}

.exhibits { display: flex; flex-direction: column; gap: 16px; }

.exhibit {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px 18px 20px;
}

.exhibit .ex-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
}

.exhibit h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.exhibit p { color: var(--ink-soft); font-size: 16px; }

/* ——— live desk ——— */
.desk-section { padding-top: 56px; }

.desk-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.desk-sub { margin-bottom: 0; }

.desk-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding-top: 6px;
}

.desk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}

.desk-dot.is-live {
  background: var(--up);
  box-shadow: 0 0 8px var(--up);
}

.desk-dot.is-error { background: var(--down); }

.desk-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(61, 255, 154, 0.04), transparent 28%),
    var(--panel);
}

.desk-metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.desk-metric {
  background: var(--panel);
  padding: 16px 14px 14px;
  min-height: 88px;
}

.desk-k {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.desk-metric strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.desk-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.desk-progress {
  padding: 18px 18px 20px;
  border-bottom: 1px solid var(--line);
}

.desk-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.desk-progress-top b { color: var(--up); }

.desk-bar {
  height: 10px;
  background: #0a1210;
  border: 1px solid var(--line);
}

.desk-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--up-2), var(--up));
  transition: width 0.6s ease;
}

.desk-progress-note {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.desk-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1px;
  background: var(--line);
}

.desk-ledger,
.desk-side {
  background: var(--panel);
}

.desk-ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.desk-ledger-head h3 {
  font-size: 20px;
  font-weight: 500;
}

.desk-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-2);
  padding: 4px 8px;
}

.desk-table-wrap { overflow-x: auto; }

.desk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.desk-table th,
.desk-table td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.desk-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.desk-table td b { color: var(--up); }

.desk-table a {
  color: var(--up);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
}

.desk-table a:hover { text-decoration: underline; }

.desk-empty td {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 28px 18px;
}

.desk-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.desk-card {
  background: var(--panel);
  padding: 18px 18px 20px;
  flex: 1;
}

.desk-card-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.desk-card-p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 16px;
}

.desk-loop {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desk-loop li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.desk-loop li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.desk-loop b { color: var(--up); font-weight: 600; }

.desk-buy { width: 100%; justify-content: center; }
.desk-dex { width: 100%; justify-content: center; margin-top: 8px; }

/* ——— footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.brand-mark {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.brand-mark span { color: var(--up); }

.foot-blurb { color: var(--ink-soft); font-size: 16px; max-width: 36ch; }

.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.foot-col a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  padding: 4px 0;
  color: var(--ink-soft);
}

.foot-col a:hover { color: var(--up); }

.legal {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.copy {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ——— marquee text ——— */
.slogan {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050708;
}

.slogan-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0;
}

.slogan-track span { padding: 0 28px; }
.slogan-track em { color: var(--up); font-style: normal; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { padding: 12px 16px; }
  .clock { display: none; }
  .hero-grid,
  .tl,
  .facts-grid,
  .foot-grid,
  .steps,
  .desk-grid,
  .desk-metrics { grid-template-columns: 1fr; }
  .desk-head { flex-direction: column; }
  .desk-metrics { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .scale-row { grid-template-columns: 1fr auto; }
  .scale-row .bar { grid-column: 1 / -1; }
  .masthead { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .top-right .session { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tape-track,
  .slogan-track { animation: none; }
  html { scroll-behavior: auto; }
}
