:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --ink: #f3f1ea;
  --muted: #9b9992;
  --line: rgba(255,255,255,.18);
  --rh-green: #00C805;
  --rh-green-hover: #19db1e;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .13;
  background-image: url('assets/risk-grain.png');
  background-repeat: repeat;
  mix-blend-mode: screen;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.08), transparent 42%),
    #020202;
  overflow: hidden;
}
.intro.is-hidden { display: none; }
.intro-youtube {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  opacity: .5;
  pointer-events: none;
}
.intro-youtube iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.youtube-audio-player {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -9999px;
  bottom: -9999px;
  overflow: hidden;
  pointer-events: none;
}
.intro.no-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0,200,5,.13), transparent 30%),
    linear-gradient(135deg, #080808, #020202);
}
.intro-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.4) 50%, rgba(0,0,0,.88)); }
.intro-topbar,
.nav-shell {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 64px), var(--max));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  z-index: 4;
}
.brand-mini { font-size: 14px; letter-spacing: .06em; font-weight: 700; }
.brand-mini span { color: var(--rh-green); margin: 0 .35em; }
.text-button, .nav-button {
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
}
.intro-copy {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(calc(100% - 64px), var(--max));
  transform: translate(-50%, -50%);
  z-index: 3;
}
.eyebrow, .kicker, .section-label { color: var(--rh-green); font-weight: 800; letter-spacing: .08em; }
.intro-copy h1 { margin: 8px 0 6px; font-size: clamp(62px, 11vw, 180px); line-height: .84; letter-spacing: -.07em; }
.intro-copy h1 span { color: var(--rh-green); }
.intro-copy p:last-child { color: var(--muted); font-size: clamp(18px, 2vw, 28px); }
.intro-controls { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); width: min(calc(100% - 64px), var(--max)); display: flex; gap: 12px; z-index: 4; }

.site { display: none; }
.site.is-live { display: block; }
.nav-shell { position: fixed; z-index: 20; background: linear-gradient(180deg, rgba(5,5,5,.98), rgba(5,5,5,.78), transparent); border-bottom-color: rgba(255,255,255,.12); }
.nav-shell nav { display: flex; gap: 28px; align-items: center; font-size: 13px; letter-spacing: .04em; }

.panel { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.022) 58% 70%, transparent 70%),
    radial-gradient(circle at 72% 36%, rgba(255,255,255,.035), transparent 34%);
}
.panel-inner { position: relative; z-index: 2; width: min(calc(100% - 96px), var(--max)); padding: 150px 0 100px; }
.hero-inner { align-self: center; }
.mega { margin: 0 0 8px; font-size: clamp(108px, 16vw, 260px); line-height: .72; letter-spacing: -.075em; }
.hero-inner .kicker { margin: 24px 0 54px; font-size: clamp(22px, 2.6vw, 44px); }
.hero-inner h3 { max-width: 1040px; margin: 0 0 34px; font-size: clamp(34px, 4vw, 70px); line-height: .98; letter-spacing: -.035em; }
.lede, .body-copy { color: var(--muted); font-size: clamp(18px, 1.55vw, 27px); line-height: 1.52; }
.actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.green-button, .outline-button {
  min-height: 58px;
  padding: 0 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-weight: 800;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.green-button { background: var(--rh-green); border-color: var(--rh-green); color: #031a04; }
.green-button:hover { background: var(--rh-green-hover); border-color: var(--rh-green-hover); transform: translateY(-2px); }
.outline-button { background: transparent; color: var(--ink); }
.outline-button:hover { border-color: var(--rh-green); color: var(--rh-green); transform: translateY(-2px); }
.disabled { opacity: .4; pointer-events: none; }
.micro { margin-top: 36px; color: #aaa69d; font-size: 12px; letter-spacing: .05em; }
.ghost-word { position: absolute; left: -1vw; bottom: -9vh; color: rgba(255,255,255,.032); font-weight: 900; font-size: 31vw; letter-spacing: -.09em; line-height: .7; user-select: none; }
.page-count { position: absolute; z-index: 3; right: max(32px, calc((100vw - var(--max))/2)); bottom: 34px; font-size: 13px; color: var(--muted); }

.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr); gap: 90px; }
.manifesto-grid h2 { margin: 18px 0 38px; font-size: clamp(54px, 6vw, 104px); letter-spacing: -.05em; line-height: .95; }
.risk-stack { margin-top: 45px; display: grid; gap: 18px; font-size: clamp(28px, 3vw, 54px); font-weight: 900; line-height: 1; }
.risk-stack .accent { color: var(--rh-green); }
.manifesto-aside { border-left: 1px solid var(--line); padding: 36px 0 20px 64px; align-self: center; }
.manifesto-aside h3 { font-size: clamp(34px, 4vw, 64px); line-height: 1.03; margin: 0 0 42px; }
.manifesto-aside p { color: var(--muted); font-size: 20px; line-height: 1.5; }
.manifesto-aside strong { display: block; color: var(--rh-green); margin-top: 28px; font-size: 16px; line-height: 1.35; }

.token-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; align-items: center; }
.token-mega { font-size: clamp(100px, 14vw, 220px); }
.token-quote { margin-top: 48px; font-size: clamp(24px, 3vw, 48px); font-weight: 900; }
.token-info { border-left: 1px solid var(--line); padding-left: 56px; }
.token-row { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.12); align-items: start; }
.token-row span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.token-row strong { font-size: 18px; word-break: break-all; }
.token-actions { margin-top: 38px; }
.disclaimer { color: #716f69; margin-top: 34px; font-size: 12px; line-height: 1.5; max-width: 660px; }
.closing { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); width: min(calc(100% - 96px), var(--max)); font-size: clamp(22px, 2.2vw, 38px); font-weight: 900; letter-spacing: -.02em; }
.closing span { color: var(--rh-green); }

@media (max-width: 900px) {
  .intro-topbar, .nav-shell, .intro-copy, .intro-controls, .panel-inner, .closing { width: calc(100% - 36px); }
  .nav-shell { min-height: 64px; }
  .nav-shell nav a { display: none; }
  .panel-inner { padding: 110px 0 90px; }
  .mega { font-size: clamp(92px, 29vw, 160px); }
  .hero-inner h3 { font-size: clamp(38px, 10vw, 64px); }
  .manifesto-grid, .token-grid { grid-template-columns: 1fr; gap: 54px; }
  .manifesto-aside, .token-info { border-left: 0; border-top: 1px solid var(--line); padding: 38px 0 0; }
  .risk-stack { font-size: clamp(28px, 8vw, 46px); }
  .token-row { grid-template-columns: 100px 1fr; }
  .intro-controls { flex-direction: column; }
  .green-button, .outline-button { width: 100%; }
  .page-count { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
