:root {
  color-scheme: dark;
  --bg: var(--deep-navy, #060b14);
  --ink: var(--white, #ffffff);
  --muted: var(--medium-gray, #8b9bb4);
  --line: var(--border, #1e2d45);
  --panel: rgba(12, 18, 32, 0.88);
  --panel-strong: rgba(22, 32, 53, 0.96);
  --teal: var(--teal-400, #32b8c6);
  --gold: var(--orange-400, #f4a261);
  --rust: var(--orange-500, #ea580c);
  --green: var(--teal-300, #5ccfdb);
  --muted-strong: #a8b7cc;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 2000; transform: translateY(-160%); background: var(--teal); color: #031018; font-weight: 800; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--white); outline-offset: 2px; }
.nav-link-active { color: var(--white); }
.shell { min-height: 100vh; background: radial-gradient(circle at 70% 15%, rgba(50,184,198,0.12), transparent 32rem), var(--deep-navy, #060b14); }
.stage { position: relative; min-height: min(860px, 96vh); overflow: hidden; border-bottom: 1px solid var(--line); }
#orbitCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: var(--deep-navy, #060b14); }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,11,20,0.88) 0%, rgba(6,11,20,0.62) 42%, rgba(6,11,20,0.2) 100%), linear-gradient(0deg, rgba(6,11,20,0.86) 0%, transparent 44%); pointer-events: none; }
.stage-overlay { position: relative; z-index: 2; min-height: min(860px, 96vh); display: grid; grid-template-rows: 1fr auto; padding: 104px clamp(18px, 4vw, 64px) 28px; }
.hero-copy { align-self: center; width: min(760px, 94vw); padding: 7vh 0 4vh; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; }
h1, h2 { margin: 0; letter-spacing: 0; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); max-width: 10ch; }
h2 { font-size: clamp(1.45rem, 2.2vw, 2.4rem); }
.lede { max-width: 680px; margin: 22px 0 0; color: var(--light-gray, #cbd5e1); font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.65; }
.audience-note { max-width: 660px; margin: 14px 0 0; color: var(--muted-strong); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.primary-action, .secondary-action, .text-button, .text-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-weight: 800; font-size: 0.9rem; }
.primary-action { background: var(--teal); color: #041019; padding: 0 18px; }
.secondary-action { border: 1px solid rgba(168,183,204,0.34); color: var(--white); padding: 0 16px; background: rgba(255,255,255,0.04); }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; width: min(920px, 100%); background: var(--line); border: 1px solid var(--line); margin-bottom: 22px; }
.stat-strip div { background: rgba(12,18,32,0.82); padding: 18px; min-width: 0; }
.stat-strip span { display: block; color: var(--ink); font-size: clamp(1.15rem, 1.85vw, 1.9rem); font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
.stat-strip small { color: var(--muted-strong); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; line-height: 1.35; }
.number-note { width: min(920px, 100%); color: var(--muted-strong); line-height: 1.55; font-size: 0.9rem; margin: -8px 0 0; }
.band { padding: clamp(42px, 7vw, 90px) clamp(18px, 4vw, 64px); }
.band:nth-of-type(2n + 1) { background: var(--charcoal, #0c1220); }
.compact { padding-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 22px; }
.section-head h2 { max-width: 760px; }
.guide-copy, .modal-note { max-width: 980px; margin: 0 0 22px; color: var(--light-gray); line-height: 1.7; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.glossary-grid div { border: 1px solid var(--line); background: rgba(255,255,255,0.035); padding: 16px; border-radius: 8px; }
.glossary-grid strong { display: block; color: var(--white); margin-bottom: 6px; }
.glossary-grid span { color: var(--muted-strong); line-height: 1.55; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.delta-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.delta-table th, .delta-table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.delta-table th { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(255,255,255,0.04); }
.delta-table td:first-child { color: var(--ink); font-weight: 800; width: 18%; }
.delta-table td { color: var(--light-gray, #cbd5e1); }
.table-tag { display: inline-block; color: #061018; background: var(--gold); font-size: 0.65rem; line-height: 1; padding: 5px 7px; border-radius: 3px; margin-right: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.grid-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 18px; align-items: stretch; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: clamp(20px, 3vw, 34px); min-height: 280px; }
.primary-panel { background: var(--panel-strong); }
.quiet-panel { background: rgba(234, 88, 12, 0.08); }
.panel p:not(.eyebrow) { color: var(--light-gray, #cbd5e1); line-height: 1.65; }
.metric-list { display: grid; gap: 10px; margin: 24px 0 0; }
.metric-list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted-strong); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
dd { margin: 0; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.hash-value { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 0.86rem; line-height: 1.5; word-break: break-all; }
.evidence-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.text-button, .text-link { border: 1px solid rgba(168,183,204,0.34); background: rgba(255,255,255,0.04); color: var(--white); padding: 0 14px; cursor: pointer; font-family: inherit; }
.text-button:hover, .text-link:hover, .secondary-action:hover { border-color: var(--teal); color: var(--green); }
.panel-note { margin-top: 20px; font-size: 0.9rem; color: var(--muted-strong) !important; }
.claim-filter { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.claim-filter p { max-width: 1100px; line-height: 1.7; margin: 0; }
@media (max-width: 820px) {
  .stage, .stage-overlay { min-height: 880px; }
  .stage::after { background: linear-gradient(0deg, rgba(6,11,20,0.92) 0%, rgba(6,11,20,0.58) 70%, rgba(6,11,20,0.28) 100%); }
  h1 { max-width: 11ch; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { display: block; }
  .glossary-grid { grid-template-columns: 1fr; }
  .grid-band { grid-template-columns: 1fr; }
  .metric-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  #orbitCanvas { opacity: 0.84; }
}
