:root {
  color-scheme: light;
  --ink: #102235;
  --muted: #5c6f82;
  --navy: #14304a;
  --deep: #0f2438;
  --gold: #d9a63a;
  --line: #dbe4ec;
  --paper: #f7fafc;
  --white: #ffffff;
  --trust-panel: #183650;
  --trust-border: #39566d;
  --hero-text: #dce8f2;
  --warning-bg: #fff7df;
  --warning-line: #c9911f;
  --success: #276749;
  --reading: 48rem;
  --wide: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}
a { color: #0b5fa5; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: #073f70; }
a:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
code { font-family: Consolas, "Liberation Mono", monospace; font-size: 0.86em; }
.shell { width: min(calc(100% - 36px), var(--wide)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 20; padding: 12px 16px; background: var(--gold); color: var(--ink); font-weight: 800; }
.skip-link:focus { left: 12px; top: 12px; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { display: block; width: 180px; }
.header-link { color: var(--navy); font-size: 0.92rem; font-weight: 800; white-space: nowrap; }
.review-banner { background: var(--warning-bg); border-bottom: 2px solid var(--warning-line); }
.review-banner .shell { padding-block: 14px; display: flex; gap: 12px; align-items: flex-start; }
.review-banner strong { color: #6d4800; }

.hero { background: var(--deep); color: var(--white); padding-block: clamp(58px, 9vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.75fr); gap: clamp(34px, 7vw, 84px); align-items: start; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--gold); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--ink); line-height: 1.14; }
h1 { margin: 0; color: var(--white); font-size: clamp(2.5rem, 6.5vw, 4.8rem); letter-spacing: -0.035em; max-width: 14ch; }
.hero .lede { margin: 24px 0 0; color: var(--hero-text); font-size: clamp(1.16rem, 2vw, 1.38rem); line-height: 1.58; max-width: 43rem; }
.hero-note { background: var(--trust-panel); border: 1px solid var(--trust-border); border-radius: 8px; padding: 26px; }
.hero-note h2 { margin: 0 0 10px; color: var(--white); font-size: 1.36rem; }
.hero-note p { margin: 0; color: var(--hero-text); font-size: 0.98rem; }
.hero-note dl { margin: 22px 0 0; }
.hero-note dt { margin-top: 13px; color: #aebfd0; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.hero-note dd { margin: 2px 0 0; color: var(--white); font-weight: 700; }

.jump { background: var(--white); border-bottom: 1px solid var(--line); }
.jump .shell { padding-block: 22px; }
.jump h2 { margin: 0 0 10px; font: 800 0.83rem/1.2 Arial, Helvetica, sans-serif; letter-spacing: 0.07em; text-transform: uppercase; }
.jump ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.jump a { font-weight: 800; font-size: 0.94rem; }

main section { scroll-margin-top: 24px; }
.band { padding-block: clamp(52px, 8vw, 88px); }
.band + .band { border-top: 1px solid var(--line); }
.band-white { background: var(--white); }
.section-kicker { margin-bottom: 10px; color: #8a6110; font-size: 0.79rem; }
h2 { margin: 0 0 22px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { margin: 34px 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1.2em; }
.intro { color: #334b60; font-size: 1.14rem; }
.plain-list { padding-left: 1.25em; }
.plain-list li { margin-block: 0.75em; }
.scope-grid, .capture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 54px; }
.scope-grid h3, .capture-grid h3 { margin-top: 0; }
.stat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stat { padding: 20px; background: var(--white); }
.stat strong { display: block; font: 700 1.85rem/1.1 Georgia, "Times New Roman", serif; color: var(--navy); }
.stat span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.hash { display: block; padding: 14px; background: #eaf0f5; border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }

.finding { padding-block: clamp(58px, 8vw, 94px); background: var(--white); }
.finding:nth-of-type(even) { background: var(--paper); }
.finding + .finding { border-top: 1px solid var(--line); }
.finding-header { display: grid; grid-template-columns: 5.2rem minmax(0, var(--reading)); gap: 22px; align-items: start; }
.finding-number { display: grid; place-items: center; width: 58px; height: 58px; background: var(--navy); color: var(--white); border-radius: 8px; font: 700 1.65rem/1 Georgia, "Times New Roman", serif; }
.finding h2 { margin-bottom: 8px; }
.finding-status { margin: 0; color: var(--success); font-size: 0.91rem; font-weight: 800; }
.finding-body { margin-left: calc(5.2rem + 22px); width: min(calc(100% - 7rem), var(--reading)); }
.claim { margin: 30px 0; padding: 22px 24px; border-left: 5px solid var(--gold); background: #f3f6f9; }
.claim h3 { margin: 0 0 7px; font: 800 0.82rem/1.25 Arial, Helvetica, sans-serif; letter-spacing: 0.07em; text-transform: uppercase; }
.claim p { margin: 0; color: #293f52; font-size: 1.08rem; }
.label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.79rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.authority-list { padding: 0; list-style: none; }
.authority-list li { margin-block: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.authority-list li:last-child { border-bottom: 0; }
.authority-type { display: block; color: var(--muted); font-size: 0.88rem; }
.source-url { display: block; margin-top: 5px; color: #4f6578; font-size: 0.78rem; line-height: 1.45; overflow-wrap: anywhere; }
.permalink { margin-top: 28px; font-size: 0.9rem; }

.authorship-callout { padding: clamp(26px, 5vw, 42px); background: var(--deep); color: var(--hero-text); border-radius: 8px; }
.authorship-callout h3 { margin-top: 0; color: var(--white); }
.authorship-callout strong { color: var(--white); }
.change-log { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.change-log th, .change-log td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.change-log th { background: #eaf0f5; font-weight: 800; }
.change-log code { overflow-wrap: anywhere; }
.machine-link { display: inline-flex; min-height: 46px; align-items: center; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 6px; font-weight: 800; text-decoration: none; }
.machine-link:hover { color: var(--ink); background: #e6b84f; }

.site-footer { background: var(--deep); color: var(--hero-text); padding-block: 38px; }
.site-footer .shell { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.site-footer p { margin: 0; max-width: 52rem; }
.site-footer a { color: var(--white); }

@media (max-width: 800px) {
  body { font-size: 17px; }
  .hero-grid, .scope-grid, .capture-grid, .site-footer .shell { grid-template-columns: 1fr; }
  .finding-header { grid-template-columns: 3.7rem minmax(0, 1fr); gap: 14px; }
  .finding-number { width: 48px; height: 48px; font-size: 1.35rem; }
  .finding-body { margin-left: 0; width: 100%; }
  .stat-list { grid-template-columns: 1fr; }
  .change-log { display: block; overflow-x: auto; }
}

@media (max-width: 520px) {
  .shell { width: min(calc(100% - 26px), var(--wide)); }
  .site-header .shell { min-height: 68px; }
  .brand img { width: 154px; }
  .header-link { font-size: 0.84rem; }
  .review-banner .shell { display: block; }
  .review-banner strong { display: block; margin-bottom: 4px; }
  .hero { padding-block: 48px; }
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  .hero-note, .claim, .authorship-callout { padding: 20px; }
  .jump ul { display: grid; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .skip-link, .jump, .header-link { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .site-footer { background: #fff; color: #000; }
  .hero h1, .hero-note h2, .site-footer a { color: #000; }
  .hero .lede, .hero-note p, .hero-note dd, .site-footer { color: #222; }
  .hero-note { border-color: #777; background: #fff; }
  .finding { break-inside: avoid; }
  a { color: #000; }
}
