:root {
  --navy: #0F2A47;
  --emerald: #2EB97A;
  --paper: #F7F4EE;
  --ink: #0F2A47;
  --muted: #5C6B7A;
  --border: #E5E0D6;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--navy); }
.page { min-height: 100%; display: flex; flex-direction: column; }
header.nav {
  padding: 22px 24px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo svg { width: 28px; height: 32px; }
.logo .wordmark { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav-actions a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; }

main {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  width: 100%;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 8px;
}
h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
h2 {
  font-size: 18px;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}
p, li { font-size: 15px; color: var(--ink); }
ul { padding-left: 20px; }
.placeholder {
  background: rgba(242, 107, 94, 0.08);
  border: 1px solid rgba(242, 107, 94, 0.3);
  color: #B23E33;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  margin: 0 0 24px;
}
footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Per-claim citations ---------- */
.claim {
  /* The wrapper is invisible — its only job is to host the superscript. */
}
.claim sup { line-height: 0; }
.claim sup a {
  color: var(--muted, #5C6B7A);
  text-decoration: none;
  font-size: 8px;
  margin: 0 1px 0 2px;
  vertical-align: super;
}
.claim sup a:hover, .claim sup a:focus {
  text-decoration: underline;
  color: var(--ink, #0F2A47);
  outline: 2px solid rgba(46, 185, 122, 0.4);
  outline-offset: 1px;
}
.illustrative-note {
  font-size: 12px;
  color: var(--muted, #5C6B7A);
  font-style: italic;
  margin-top: 6px;
}
aside.citations {
  margin: 64px auto 0;
  max-width: 760px;
  padding: 24px;
  border-top: 1px solid var(--border, #E5E0D6);
  font-size: 13px;
  color: var(--muted, #5C6B7A);
  line-height: 1.5;
}
aside.citations h2.citations-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted, #5C6B7A);
  margin: 0 0 12px;
  font-weight: 600;
}
aside.citations ol { padding-left: 24px; margin: 0; }
aside.citations li { margin-bottom: 8px; color: var(--muted, #5C6B7A); }
aside.citations li:target {
  background: rgba(46, 185, 122, 0.08);
  padding: 6px;
  border-radius: 4px;
}
aside.citations a {
  color: var(--muted, #5C6B7A);
  text-decoration: underline;
}
aside.citations a:hover, aside.citations a:focus {
  color: var(--ink, #0F2A47);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
