/* ============================================================
   D.A. G.O.A.T. — whitepaper.css
   The reading surface. Same palette and type voice as the site,
   but a document is read, not staged: the fixed 1280x720 stage,
   the hidden overflow and the 12px micro-type all give way to a
   measured column at a comfortable reading size.
   ============================================================ */

:root {
  --bg: #060608;
  --text: #f2f3f5;
  --dim: #a2a4ab;
  --faint: #84868d;
  --hairline: rgba(255, 255, 255, 0.16);
  --font: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --micro: 500 10px/1.5 var(--font);
  --pad: clamp(20px, 4vw, 56px);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* a faint top-lit field, echoing the stage gradient on the site's inner views */
  background-image: radial-gradient(120% 60% at 50% 0%, #171a24 0%, #0b0c11 45%, #060608 100%);
  background-attachment: fixed;
}

a { color: inherit; }
a:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.65); outline-offset: 3px; }

.topline {
  position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 70; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 16%, rgba(255,255,255,.55) 84%, transparent);
}

/* ---------- bar ---------- */
.wp-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wp-brand { display: flex; align-items: center; gap: 8px; text-decoration: none;
  font: 500 11px/1 var(--font); letter-spacing: 0.18em; white-space: nowrap; }
.wp-mark { width: 15px; height: 15px; color: var(--text); flex: none; }
.wp-back { font: var(--micro); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; transition: color .35s var(--ease-io); }
.wp-back:hover { color: #fff; }

/* ---------- layout: sticky contents beside a measured column ---------- */
.wp {
  display: grid;
  grid-template-columns: 210px minmax(0, 74ch);
  gap: clamp(28px, 5vw, 76px);
  justify-content: center;
  padding: clamp(40px, 7vh, 84px) var(--pad) 140px;
}

.wp-toc { position: sticky; top: 96px; align-self: start; }
.wp-toc-label { font: var(--micro); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px; }
.wp-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 9px; }
.wp-toc li { counter-increment: toc; }
.wp-toc a {
  display: block; font-size: 12px; line-height: 1.4; letter-spacing: 0.01em;
  color: rgba(162, 164, 171, 0.82); text-decoration: none;
  transition: color .35s var(--ease-io);
}
.wp-toc a:hover { color: #fff; }

/* ---------- the document ---------- */
.wp-doc { min-width: 0; }
.wp-doc h1 {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 200; line-height: 1.1;
  letter-spacing: -0.015em; color: #f4f5f7; margin-bottom: 26px;
}
.wp-doc h2 {
  margin-top: 58px; margin-bottom: 16px;
  font-size: clamp(19px, 1.9vw, 25px); font-weight: 300; line-height: 1.25;
  letter-spacing: -0.008em; color: #f2f3f5;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 92px;
}
.wp-doc h3 {
  margin-top: 30px; margin-bottom: 10px;
  font: 500 11px/1.4 var(--font); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); scroll-margin-top: 92px;
}
.wp-doc p { margin-bottom: 17px; font-size: 15px; line-height: 1.72; color: rgba(226, 228, 234, 0.9); }
.wp-doc ul, .wp-doc ol { margin: 0 0 20px 20px; }
.wp-doc li { margin-bottom: 9px; font-size: 15px; line-height: 1.7; color: rgba(226, 228, 234, 0.88); }
.wp-doc strong { font-weight: 500; color: #fff; }
.wp-doc em { font-style: italic; color: rgba(226, 228, 234, 0.96); }
.wp-doc a { color: #fff; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.35); }
.wp-doc a:hover { text-decoration-color: #fff; }
.wp-doc hr { border: 0; height: 1px; background: rgba(255,255,255,.1); margin: 34px 0; }
.wp-doc code {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px; padding: 2px 5px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.07); color: #e6e8ee;
}

/* status vocabulary — the document's own tags, made scannable */
.tag {
  display: inline-block; font: 500 9px/1 var(--font); letter-spacing: 0.12em;
  text-transform: uppercase; padding: 3px 6px; border-radius: 2px;
  border: 1px solid currentColor; vertical-align: 1px; white-space: nowrap;
}
.tag-NOW     { color: #7fd8a8; }
.tag-TARGET  { color: #8fb4ff; }
.tag-INTENT  { color: #c3a6ff; }
.tag-UNCLEAR { color: #ffc46b; }

/* ---------- the status matrix ---------- */
.tablewrap { overflow-x: auto; margin: 22px 0 26px; border: 1px solid var(--hairline); border-radius: 2px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 11px 14px; vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; line-height: 1.55; }
th { font: 500 10px/1.5 var(--font); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
td { color: rgba(214, 216, 222, 0.9); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* ---------- narrow ---------- */
@media (max-width: 900px) {
  .wp { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wp-toc {
    position: static; margin-bottom: 40px; padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .wp-toc ol { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
