/* ============================================================
   GRAMX6900 — Financial Resistance Network
   STYLE: Pure 2000s Internet Portal / Retro Web Revival
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Courier+Prime:wght@400;700&family=Oswald:wght@400;600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --blue: #00AEEF;
  --blue-bright: #33ccff;
  --blue-dark: #003366;
  --blue-link: #0099CC;
  --black: #000000;
  --black-panel: #050510;
  --white: #ffffff;
  --cream: #f5f0e8;
  --yellow: #ffcc00;
  --yellow-bright: #ffff00;
  --green: #00ff00;
  --green-dim: #00cc44;
  --red: #ff0033;
  --orange: #ff6600;
  --silver: #c0c0c0;
  --panel-bg: #0a0a1a;
  --panel-border: #003399;
  --bevel-light: #6699ff;
  --bevel-dark: #000033;
  --font-pixel: 'Press Start 2P', monospace;
  --font-vt: 'VT323', monospace;
  --font-courier: 'Courier Prime', monospace;
  --font-oswald: 'Oswald', Arial Narrow, sans-serif;
  --font-sys: Verdana, Arial, sans-serif;
  --font-serif: 'Times New Roman', Georgia, serif;
}

/* ============================================================
   GLOBAL RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }

body {
  background-color: #000011;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0,50,150,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,100,200,0.1) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  color: var(--white);
  font-family: var(--font-sys);
  font-size: 13px;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: default;
}

a { color: var(--blue-link); text-decoration: underline; }
a:hover { color: var(--yellow); text-decoration: underline; }
a:visited { color: #9966cc; }
code { font-family: var(--font-courier); font-size: 12px; }
button { cursor: pointer; }
img, video { max-width: 100%; display: block; }

/* ============================================================
   STARFIELD
   ============================================================ */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   SCANLINE OVERLAY
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 9999;
  background: var(--panel-bg);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-pixel);
  font-size: 10px;
  padding: 20px 32px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  text-align: center;
  box-shadow: 0 0 30px rgba(255,204,0,0.5), inset 0 0 20px rgba(255,204,0,0.05);
  letter-spacing: 0.1em;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ============================================================
   STICKY CONTRACT
   ============================================================ */
.sticky-contract {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1000;
  background: #000022;
  border: 1px solid var(--blue);
  border-top: 2px solid var(--blue-bright);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-courier);
  font-size: 10px;
  transform: translateY(120px);
  transition: transform 0.4s;
  box-shadow: 0 0 12px rgba(0,174,239,0.3), 2px 2px 0 #000033;
}
.sticky-contract.visible { transform: translateY(0); }
.sticky-label {
  color: var(--yellow);
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.sticky-addr {
  color: #66ccff;
  font-size: 9px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn-small {
  background: linear-gradient(to bottom, #3399ff, #0055aa);
  color: var(--white);
  border: 1px solid #0033cc;
  border-bottom: 2px solid #001166;
  padding: 3px 8px;
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.copy-btn-small:hover {
  background: linear-gradient(to bottom, #66bbff, #2277cc);
}
.copy-btn-small:active {
  border-top: 2px solid #001166;
  border-bottom: 1px solid #0033cc;
}

/* ============================================================
   TOP TICKER
   ============================================================ */
.ticker-wrap {
  width: 100%;
  background: linear-gradient(to bottom, #000033, #000011);
  border-bottom: 2px solid var(--blue);
  overflow: hidden;
  position: relative;
  z-index: 500;
}
.ticker-track { overflow: hidden; }
.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  padding: 5px 0;
}
.ticker-content:hover { animation-play-state: paused; }
.tick {
  font-family: var(--font-courier);
  font-size: 12px;
  font-weight: 700;
  padding: 0 18px;
  letter-spacing: 0.05em;
}
.tick.up { color: var(--green); text-shadow: 0 0 6px rgba(0,255,0,0.5); }
.tick.down { color: var(--red); text-shadow: 0 0 6px rgba(255,0,50,0.4); }
.tick-sep { color: #334; font-size: 11px; }

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

.footer-ticker {
  border-top: 2px solid var(--blue);
  border-bottom: none;
}

/* ============================================================
   NAVBAR — 2000s Portal Header
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: linear-gradient(to bottom, #0a0a2a, #000011);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 2px 0 #001155, 0 4px 20px rgba(0,100,255,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 50px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 30px; width: auto; image-rendering: pixelated; }
.nav-brand {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--blue-bright);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px var(--blue), 0 0 20px rgba(0,174,239,0.4);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-family: var(--font-sys);
  font-size: 11px;
  font-weight: bold;
  color: #99ccff;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}
.nav-links a:hover {
  background: linear-gradient(to bottom, #003399, #001166);
  border-color: var(--blue-bright);
  color: var(--white);
  text-decoration: none;
}
.nav-contract {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-courier);
  font-size: 9px;
  color: #66aacc;
  background: #00001a;
  border: 1px solid #003366;
  padding: 3px 8px;
  flex-shrink: 0;
}
.nav-contract button {
  background: linear-gradient(to bottom, #0066cc, #003399);
  color: var(--white);
  border: 1px solid #0044aa;
  padding: 2px 6px;
  font-family: var(--font-sys);
  font-size: 9px;
  font-weight: bold;
}
.nav-contract button:hover { background: linear-gradient(to bottom, #0088ff, #0055cc); }
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid #336;
  color: var(--white);
  font-size: 18px;
  padding: 2px 8px;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: #000022;
  border-top: 1px solid #336;
  padding: 12px 20px;
  gap: 12px;
}
.nav-mobile-menu a {
  font-family: var(--font-sys);
  font-size: 12px;
  font-weight: bold;
  color: #99ccff;
  text-decoration: none;
}
.nav-mobile-menu.open { display: flex; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECTION HEADERS — 2000s style
   ============================================================ */
.section-header { margin-bottom: 28px; }
.section-eyebrow {
  font-family: var(--font-courier);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-oswald);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 0 #000033, 0 0 20px rgba(0,174,239,0.3);
}
.section-rule {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--blue), transparent);
  margin-top: 12px;
}
.accent { color: var(--blue-bright); }

/* ============================================================
   REVEAL (simpler for retro feel)
   ============================================================ */
.reveal {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.reveal.visible { opacity: 1; }

/* ============================================================
   HERO — Full retro portal splash
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 40px;
  overflow: hidden;
}

/* Star field background effect */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, #fff 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 70%, #adf 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, #fff 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, #adf 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 60%, #fff 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 85%, #adf 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 15%, #fff 0%, transparent 100%);
  z-index: 0;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mix-blend-mode: screen;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,17,0.3) 0%,
    rgba(0,0,17,0.5) 50%,
    rgba(0,0,17,0.95) 100%);
}
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  mix-blend-mode: screen;
}
.hero-banner-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, #000011 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* BLINKING CURSOR EYEBROW */
.hero-eyebrow {
  font-family: var(--font-courier);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0,255,0,0.6);
}
.hero-eyebrow::after {
  content: '_';
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* MAIN TITLE — pixel/VT terminal */
.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(24px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--blue-bright);
  text-shadow:
    0 0 10px var(--blue),
    0 0 30px rgba(0,174,239,0.5),
    2px 2px 0 #000033,
    4px 4px 0 #000022;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.hero-accent {
  color: var(--yellow-bright);
  text-shadow:
    0 0 10px rgba(255,255,0,0.8),
    0 0 30px rgba(255,200,0,0.4),
    2px 2px 0 #333300;
}

/* MARQUEE-STYLE SUBTITLE */
.hero-subtitle {
  font-family: var(--font-vt);
  font-size: clamp(28px, 3vw, 42px);
  color: var(--yellow);
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(255,200,0,0.6);
  text-transform: uppercase;
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
}

.hero-body {
  font-family: var(--font-sys);
  font-size: 13px;
  line-height: 1.8;
  color: #aabbcc;
  max-width: 660px;
  margin-bottom: 24px;
  border: 1px solid #111133;
  background: rgba(0,0,30,0.7);
  padding: 16px;
}
.hero-body br { display: block; content: ''; margin-bottom: 8px; }

/* CONTRACT BLOCK — terminal style */
.hero-contract-block {
  margin-bottom: 24px;
  background: #000011;
  border: 1px solid var(--blue);
  border-left: 4px solid var(--blue);
  padding: 12px 16px;
  max-width: 660px;
  font-family: var(--font-courier);
}
.hero-ca-label {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.hero-ca-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-ca {
  font-size: 12px;
  color: var(--blue-bright);
  letter-spacing: 0.03em;
  word-break: break-all;
  text-shadow: 0 0 6px rgba(0,174,239,0.4);
}
.hero-copy-btn {
  background: linear-gradient(to bottom, #0066ff, #003399);
  color: var(--white);
  border: 1px solid #0044cc;
  border-bottom: 2px solid #001177;
  padding: 5px 12px;
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.hero-copy-btn:hover { background: linear-gradient(to bottom, #3388ff, #0055bb); }
.hero-copy-btn:active { border-top: 2px solid #001177; border-bottom: 1px solid #0044cc; }

/* CTA BUTTONS */
.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }

.cta-primary {
  display: inline-block;
  background: linear-gradient(to bottom, #ff9900, #cc6600);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border: 1px solid #ff6600;
  border-bottom: 3px solid #883300;
  text-decoration: none;
  text-shadow: 1px 1px 0 #000;
  transition: background 0.1s;
}
.cta-primary:hover {
  background: linear-gradient(to bottom, #ffbb00, #ee7700);
  color: var(--white);
  text-decoration: none;
}
.cta-primary:active { border-bottom: 1px solid #883300; border-top: 3px solid #cc6600; }

.cta-secondary {
  display: inline-block;
  background: linear-gradient(to bottom, #003399, #001166);
  color: #99ccff;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border: 1px solid #0055cc;
  border-bottom: 3px solid #000033;
  text-decoration: none;
  text-shadow: 1px 1px 0 #000;
}
.cta-secondary:hover {
  background: linear-gradient(to bottom, #0044cc, #002288);
  color: var(--white);
  text-decoration: none;
}

.cta-ghost {
  display: inline-block;
  background: linear-gradient(to bottom, #111133, #000011);
  color: #6699cc;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border: 1px solid #334466;
  border-bottom: 3px solid #000;
  text-decoration: none;
}
.cta-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  text-decoration: none;
}

/* STATS BAR */
.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid #002244;
  background: #000011;
  max-width: 660px;
}
.stat-block {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  text-align: center;
  border-right: 1px solid #002244;
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-vt);
  font-size: 32px;
  color: var(--green);
  line-height: 1;
  text-shadow: 0 0 10px rgba(0,255,0,0.4);
}
.stat-label {
  font-family: var(--font-pixel);
  font-size: 6px;
  color: #558899;
  margin-top: 4px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.stat-divider { display: none; }

/* ============================================================
   STORY SECTION — White newspaper on retro bg
   ============================================================ */
.story-section {
  padding: 60px 0;
  background: var(--cream);
  color: #111;
  position: relative;
  z-index: 1;
  border-top: 4px solid #333;
  border-bottom: 4px solid #333;
}
.story-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, #cc0000, #ff6600, #ffcc00, #00cc00, var(--blue), #6600cc);
}
.story-section .section-eyebrow { color: #660000; font-family: var(--font-courier); }
.story-section .section-title {
  color: #111;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: normal;
  text-shadow: none;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.01em;
}
.story-section .section-title .accent {
  color: #003399;
  font-style: normal;
  font-family: var(--font-oswald);
}
.story-section .section-rule {
  background: #111;
  height: 3px;
}

.section-video {
  margin-bottom: 32px;
  position: relative;
  background: #000;
  border: 2px solid #333;
}
.section-video-el {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}
.section-video-caption {
  background: #111;
  color: var(--blue-bright);
  font-family: var(--font-courier);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-top: 1px solid #333;
}

/* STORY GRID — classic 2-column newspaper */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 48px;
}

.story-article {
  border-top: 3px double #333;
  padding-top: 20px;
}
.article-kicker {
  font-family: var(--font-courier);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #cc0000;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: bold;
  line-height: 1.2;
  color: #111;
  margin-bottom: 8px;
  text-decoration: none;
}
.article-meta {
  font-family: var(--font-courier);
  font-size: 10px;
  color: #666;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
}
.article-body p {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: #222;
  margin-bottom: 14px;
  text-align: justify;
  hyphens: auto;
}
.article-expandable {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  position: relative;
}
.article-expandable::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  transition: opacity 0.3s;
}
.article-expandable.open { max-height: 5000px; }
.article-expandable.open::after { opacity: 0; pointer-events: none; }
.article-expand-btn {
  margin-top: 12px;
  background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
  border: 1px solid #999;
  border-bottom: 2px solid #666;
  color: #333;
  font-family: var(--font-sys);
  font-size: 11px;
  font-weight: bold;
  padding: 6px 16px;
}
.article-expand-btn:hover { background: linear-gradient(to bottom, #ffffff, #e0e0e0); }
.article-expand-btn:active { border-top: 2px solid #666; border-bottom: 1px solid #999; }

/* SIDEBAR — classic portal widget boxes */
.story-sidebar { }
.sidebar-block {
  border: 1px solid #bbb;
  margin-bottom: 16px;
  background: #fff;
  overflow: hidden;
}
.sidebar-title {
  font-family: var(--font-sys);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #fff;
  background: linear-gradient(to bottom, #336699, #1a3d66);
  padding: 6px 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #224466;
}
.sidebar-fact {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sys);
  font-size: 11px;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
}
.fact-label { color: #666; }
.fact-val { color: #111; font-weight: bold; }
.sidebar-quote {
  background: #000033;
  border: 2px solid #003399;
}
.sidebar-quote .sidebar-title { background: linear-gradient(to bottom, #003399, #001166); }
.quote-text {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.6;
  color: #99ccff;
  padding: 12px;
  font-style: italic;
}
.quote-attr {
  font-family: var(--font-courier);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--yellow);
  padding: 0 12px 12px;
}
.sidebar-ca {
  font-family: var(--font-courier);
  font-size: 9px;
  color: #336699;
  word-break: break-all;
  padding: 8px 10px;
  cursor: pointer;
  background: #f5f5ff;
  transition: background 0.2s;
}
.sidebar-ca:hover { background: #e5e5ff; color: var(--blue); }
.sidebar-copy-btn {
  background: linear-gradient(to bottom, #003399, #001166);
  color: var(--white);
  border: none;
  padding: 8px;
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 0.05em;
  width: 100%;
}
.sidebar-copy-btn:hover { background: linear-gradient(to bottom, #0044cc, #002299); }

/* TIMELINE */
.timeline-wrap {
  border-top: 3px double #333;
  padding-top: 32px;
}
.timeline-title {
  font-family: var(--font-courier);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.25em;
  color: #333;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 72px 20px 20px 1fr;
  align-items: flex-start;
  gap: 0 12px;
  padding-bottom: 28px;
}
.tl-year {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #003399;
  text-align: right;
  padding-top: 2px;
  line-height: 1.6;
}
.tl-connector {
  width: 2px;
  background: #bbb;
  margin: 0 auto;
  align-self: stretch;
}
.tl-item:last-child .tl-connector { background: linear-gradient(to bottom, #bbb, transparent); }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #333;
  border: 2px solid #888;
  margin-top: 2px;
  flex-shrink: 0;
}
.tl-dot-red { background: #cc0000; border-color: #ff0000; }
.tl-dot-blue { background: #003399; border-color: var(--blue); box-shadow: 0 0 6px rgba(0,174,239,0.6); }
.tl-headline {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: bold;
  color: #111;
  margin-bottom: 4px;
}
.tl-detail { font-family: var(--font-serif); font-size: 12px; line-height: 1.65; color: #555; }

/* ============================================================
   WHITEPAPER SECTION
   ============================================================ */
.whitepaper-section {
  padding: 60px 0;
  background: #000011;
  position: relative;
  z-index: 1;
}

.wp-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.wp-sidebar { position: sticky; top: 70px; }
.wp-toc-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.wp-search-wrap { margin-bottom: 8px; }
.wp-search {
  width: 100%;
  background: #000022;
  border: 1px solid var(--blue);
  color: var(--green);
  font-family: var(--font-courier);
  font-size: 11px;
  padding: 6px 10px;
  outline: none;
}
.wp-search:focus { border-color: var(--yellow); }
.wp-search::placeholder { color: #336; }

.wp-toc {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #113;
  background: #000;
}
.wp-toc-link {
  font-family: var(--font-sys);
  font-size: 11px;
  font-weight: bold;
  color: #6699bb;
  padding: 7px 10px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #0a0a22;
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.wp-toc-link:hover { background: #000033; color: var(--blue-bright); border-left-color: var(--blue); text-decoration: none; }
.wp-toc-link.active { background: #000044; color: var(--yellow); border-left-color: var(--yellow); }
.wp-toc-link.hidden { display: none; }

/* WP chapters — accordion with retro bevel */
.wp-chapter {
  border: 1px solid #113355;
  margin-bottom: 6px;
  background: #000011;
  overflow: hidden;
}
.wp-chapter:hover { border-color: var(--blue); }
.wp-chapter.highlighted { border-color: var(--yellow); box-shadow: 0 0 12px rgba(255,200,0,0.15); }
.wp-ch-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(to bottom, #0a0a33, #050520);
  border-bottom: 1px solid #113;
}
.wp-ch-header:hover { background: linear-gradient(to bottom, #111144, #080830); }
.wp-ch-num {
  font-family: var(--font-vt);
  font-size: 20px;
  color: var(--yellow);
  width: 28px;
  flex-shrink: 0;
}
.wp-ch-title {
  font-family: var(--font-oswald);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wp-ch-arrow {
  font-family: var(--font-courier);
  font-size: 18px;
  color: var(--blue-bright);
  transition: transform 0.3s;
}
.wp-ch-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.wp-ch-body.open { max-height: 1200px; }
.wp-ch-body p {
  padding: 0 16px 16px;
  font-family: var(--font-sys);
  font-size: 13px;
  line-height: 1.8;
  color: #99aacc;
}
.wp-ch-body p:first-child { padding-top: 16px; }

/* ============================================================
   HOW TO BUY — Retro step panels
   ============================================================ */
.buy-section {
  padding: 60px 0;
  background: var(--cream);
  color: #111;
  z-index: 1;
  position: relative;
  border-top: 4px solid #333;
  border-bottom: 4px solid #333;
}
.buy-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, #cc0000, #ff6600, #ffcc00, #00cc00, var(--blue), #6600cc);
}
.buy-section .section-eyebrow { color: #660000; font-family: var(--font-courier); }
.buy-section .section-title { color: #111; font-family: var(--font-serif); font-style: italic; text-shadow: none; font-weight: normal; }
.buy-section .section-title .accent { color: #003399; font-style: normal; font-family: var(--font-oswald); }
.buy-section .section-rule { background: #111; }

.buy-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: flex-start;
}
.buy-step {
  border: 1px solid #bbb;
  background: #fff;
  overflow: hidden;
}
.buy-step:hover { border-color: #336699; box-shadow: 2px 2px 8px rgba(0,100,200,0.2); }
.buy-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #336699;
  padding: 0 12px;
  margin-top: 50px;
  font-weight: bold;
}
.step-num {
  font-family: var(--font-vt);
  font-size: 64px;
  font-weight: 400;
  color: #fff;
  background: linear-gradient(to bottom, #336699, #1a3d66);
  text-align: center;
  padding: 4px 0;
  border-bottom: 1px solid #224466;
  line-height: 1;
}
.step-title {
  font-family: var(--font-sys);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #111;
  background: #f0f0f0;
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
  text-transform: uppercase;
}
.step-desc { font-size: 12px; color: #555; padding: 8px 12px; border-bottom: 1px solid #eee; }
.step-links { display: flex; flex-direction: column; gap: 0; padding: 8px 12px; }
.step-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sys);
  font-size: 12px;
  font-weight: bold;
  color: #003399;
  padding: 5px 0;
  border-bottom: 1px dotted #ccc;
  text-decoration: underline;
}
.step-link:hover { color: #cc0000; }
.step-link svg { width: 12px; height: 12px; flex-shrink: 0; }
.step-link-primary {
  background: linear-gradient(to bottom, #ffcc00, #ee9900);
  color: #333;
  border: 1px solid #cc8800;
  border-bottom: 2px solid #884400;
  padding: 8px 12px;
  margin-top: 4px;
  text-decoration: none;
  justify-content: center;
  font-weight: bold;
}
.step-link-primary:hover { background: linear-gradient(to bottom, #ffdd33, #ffaa00); color: #111; text-decoration: none; }
.step-ca-block { margin: 8px 12px 12px; }
.step-ca-label {
  font-family: var(--font-courier);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #666;
  margin-bottom: 4px;
}
.step-ca-row { display: flex; align-items: flex-start; gap: 6px; }
.step-ca { font-size: 9px; color: #336699; word-break: break-all; flex: 1; }
.step-copy-btn {
  background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
  color: #333;
  border: 1px solid #999;
  border-bottom: 2px solid #666;
  padding: 4px 8px;
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.step-copy-btn:hover { background: linear-gradient(to bottom, #fff, #eee); }

/* ============================================================
   6900 MEANING
   ============================================================ */
.meaning-section {
  padding: 60px 0;
  background: #000011;
  position: relative;
  z-index: 1;
}
.meaning-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.meaning-card {
  flex: 1;
  min-width: 220px;
  border: 1px solid #113355;
  padding: 0;
  background: #000022;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.meaning-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0,174,239,0.2);
}
.meaning-card-result {
  background: #000033;
  border: 2px solid var(--blue);
}
.meaning-card-header {
  background: linear-gradient(to bottom, #0a0a44, #05052a);
  padding: 20px 20px 16px;
  border-bottom: 1px solid #113355;
}
.meaning-card-body { padding: 16px 20px; }
.meaning-number {
  font-family: var(--font-vt);
  font-size: 80px;
  color: var(--blue-bright);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,174,239,0.5);
}
.meaning-card-result .meaning-number { color: var(--yellow-bright); text-shadow: 0 0 20px rgba(255,255,0,0.4); }
.meaning-number-large { font-size: 100px; }
.meaning-tag {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.meaning-desc p {
  font-family: var(--font-sys);
  font-size: 12px;
  line-height: 1.7;
  color: #778899;
}
.meaning-card-result .meaning-desc p { color: #aabbcc; }
.meaning-plus, .meaning-equals {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-vt);
  font-size: 60px;
  color: #336;
  padding: 0 8px;
  flex-shrink: 0;
  align-self: center;
}
.meaning-visual { margin-top: 16px; }
.cycle-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-slow 8s linear infinite;
  box-shadow: 0 0 12px rgba(0,174,239,0.3);
}
.cycle-text { font-size: 24px; color: var(--blue-bright); }
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.zero-block { display: flex; gap: 6px; }
.zero-block span {
  font-family: var(--font-vt);
  font-size: 40px;
  color: var(--blue-bright);
  border: 1px solid var(--blue);
  width: 48px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000033;
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.community-section {
  padding: 60px 0;
  background: #000011;
  position: relative;
  z-index: 1;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}
.community-card {
  border: 1px solid #113355;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: linear-gradient(to bottom, #0a0a2a, #050518);
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.community-card:hover {
  border-color: var(--blue-bright);
  box-shadow: 0 0 20px rgba(0,174,239,0.15);
  background: linear-gradient(to bottom, #0d0d35, #080820);
  color: var(--white);
  text-decoration: none;
}
.comm-icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 4px; }
.comm-icon svg { width: 100%; height: 100%; }
.comm-name {
  font-family: var(--font-oswald);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}
.comm-handle {
  font-family: var(--font-courier);
  font-size: 10px;
  color: #6699bb;
}
.comm-arrow {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 16px;
  color: var(--blue-bright);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.community-card:hover .comm-arrow { opacity: 1; transform: translateX(3px); }

.community-manifesto {
  border: 2px solid #113;
  background: #000;
  padding: 32px;
  text-align: center;
}
.manifesto-line {
  font-family: var(--font-pixel);
  font-size: clamp(9px, 1.2vw, 13px);
  color: #334466;
  line-height: 2.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.manifesto-line-accent { color: var(--blue-bright); text-shadow: 0 0 10px rgba(0,174,239,0.3); }

/* ============================================================
   MERCH
   ============================================================ */
.merch-section {
  padding: 60px 0;
  background: var(--cream);
  color: #111;
  border-top: 4px solid #333;
  z-index: 1;
  position: relative;
}
.merch-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, #cc0000, #ff6600, #ffcc00, #00cc00, var(--blue), #6600cc);
}
.merch-section .section-eyebrow { color: #660000; font-family: var(--font-courier); }
.merch-section .section-title { color: #111; text-shadow: none; font-family: var(--font-serif); font-style: italic; font-weight: normal; }
.merch-section .section-title .accent { color: #003399; font-style: normal; font-family: var(--font-oswald); }
.merch-section .section-rule { background: #111; }
.merch-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.merch-img-wrap {
  position: relative;
  border: 1px solid #bbb;
  background: #fff;
}
.merch-img { width: 100%; display: block; }
.merch-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(to bottom, #cc0000, #880000);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 6px 10px;
  border: 1px solid #ff0000;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 0 #000;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255,0,0,0.4); }
  50% { box-shadow: 0 0 12px rgba(255,0,0,0.7); }
}
.merch-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: bold;
  color: #111;
  line-height: 1.2;
  margin-bottom: 8px;
}
.merch-subtitle {
  font-family: var(--font-sys);
  font-size: 14px;
  font-weight: bold;
  color: #336699;
  margin-bottom: 12px;
}
.merch-desc {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.merch-notify-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #003399, #001166);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border: 1px solid #0055cc;
  border-bottom: 3px solid #000033;
  text-decoration: none;
}
.merch-notify-btn:hover { background: linear-gradient(to bottom, #0044cc, #002288); color: var(--white); text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000011;
  border-top: 2px solid var(--blue);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 20px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 36px; width: auto; }
.footer-brand {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--blue-bright);
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(0,174,239,0.4);
}
.footer-tagline {
  font-family: var(--font-courier);
  font-size: 9px;
  color: var(--yellow);
  margin-top: 4px;
  letter-spacing: 0.1em;
}
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col-title {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--yellow);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.footer-col a {
  font-family: var(--font-sys);
  font-size: 11px;
  color: #6699bb;
  text-decoration: underline;
}
.footer-col a:hover { color: var(--white); }
.footer-ca-block { display: flex; flex-direction: column; gap: 6px; }
.footer-ca { font-size: 9px; color: #446688; word-break: break-all; max-width: 200px; }
.footer-copy-btn {
  background: linear-gradient(to bottom, #111133, #000022);
  color: #6699bb;
  border: 1px solid #224;
  padding: 4px 10px;
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 0.05em;
  width: fit-content;
}
.footer-copy-btn:hover { color: var(--blue-bright); border-color: var(--blue); }
.footer-bottom {
  border-top: 1px solid #112;
  padding: 16px 20px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-disclaimer {
  font-family: var(--font-sys);
  font-size: 9px;
  color: #334;
  line-height: 1.7;
}
.footer-copy {
  font-family: var(--font-courier);
  font-size: 9px;
  color: #223;
  letter-spacing: 0.05em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wp-layout { grid-template-columns: 1fr; }
  .wp-sidebar { position: static; }
  .buy-steps { grid-template-columns: 1fr; }
  .buy-step-arrow { display: none; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .merch-block { grid-template-columns: 1fr; }
  .meaning-grid { flex-direction: column; }
  .meaning-plus, .meaning-equals { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-contract { display: none; }
  .nav-hamburger { display: block; }
  .container { padding: 0 12px; }
  .hero-content { padding: 0 12px; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }
  .sticky-contract { display: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .stat-block { border-right: none; border-bottom: 1px solid #002244; width: 100%; }
  .section-video-el { height: 180px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .cta-primary, .cta-secondary, .cta-ghost { text-align: center; }
  .story-sidebar { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000011; }
::-webkit-scrollbar-thumb { background: #003366; border: 1px solid #0044aa; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection { background: var(--blue); color: #000; }

/* ============================================================
   RETRO DETAILS
   ============================================================ */

/* Blinking "NEW" badge */
.retro-new {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 7px;
  padding: 2px 5px;
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
  margin-left: 6px;
}

/* Hit counter style */
.hit-counter {
  font-family: var(--font-vt);
  font-size: 28px;
  color: var(--green);
  background: #000;
  border: 1px solid #333;
  padding: 2px 8px;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(0,255,0,0.5);
  display: inline-block;
}

/* Meaning card restructure for retro */
.meaning-card-header {
  background: linear-gradient(to bottom, #0a0a44, #05052a);
  padding: 20px 20px 16px;
  border-bottom: 1px solid #113355;
}
.meaning-card-body { padding: 16px 20px; }
