:root {
  --ink: #14212c;
  --ink-soft: #41505c;
  --paper: #f5f1e8;
  --paper-bright: #fffdf8;
  --rule: #c9c2b5;
  --accent: #a63c2e;
  --accent-dark: #76271d;
  --blue: #275a72;
  --green: #376b51;
  --amber: #96631d;
  --shadow: 0 18px 44px rgba(20, 33, 44, 0.11);
  --radius: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 33, 44, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 44, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 33, 44, 0.16);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(var(--content), calc(100% - 36px));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper-bright);
  background: var(--accent);
  border-radius: 50% 50% 50% 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 10px;
  color: var(--ink-soft);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(166, 60, 46, 0.1);
}

main {
  overflow: hidden;
}

.container {
  width: min(var(--content), calc(100% - 36px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  position: relative;
  padding: clamp(70px, 10vw, 138px) 0 76px;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(44vw, 540px);
  aspect-ratio: 1;
  right: -13vw;
  top: -20%;
  z-index: -1;
  border: 1px solid rgba(166, 60, 46, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(166, 60, 46, 0.035), 0 0 0 90px rgba(39, 90, 114, 0.025);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.7fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 930px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  letter-spacing: -0.055em;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.lede {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-note {
  padding: 22px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 50px 0;
}

.section-dark {
  color: #f7f2e8;
  background: var(--ink);
}

.section-dark .card {
  color: var(--ink);
}

.section-dark .eyebrow,
.section-dark a {
  color: #f2a99e;
}

.section-dark p,
.section-dark .muted {
  color: #c1cbd2;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-dark .section-head p {
  color: #c1cbd2;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 25px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(20, 33, 44, 0.055);
}

.card > :last-child {
  margin-bottom: 0;
}

.card p,
.muted {
  color: var(--ink-soft);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-link:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-link .arrow {
  color: var(--accent);
  font-weight: 900;
}

.stat {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-value {
  display: block;
  margin: 5px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.tag-judgment {
  color: var(--accent-dark);
}

.tag-allegation {
  color: var(--amber);
}

.tag-verified {
  color: var(--green);
}

.tag-claim {
  color: var(--blue);
}

.tag-open {
  color: #675a85;
}

.evidence-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.evidence-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.evidence-key i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 35px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 9px;
  bottom: -9px;
  width: 1px;
  background: var(--rule);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 85px;
  top: 7px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.timeline li:last-child::before {
  display: none;
}

.timeline time {
  color: var(--accent-dark);
  font-weight: 900;
}

.timeline h3 {
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.record {
  margin-bottom: 22px;
  padding: 28px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 28px;
}

.record dl {
  margin: 0;
}

.record dt {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  background: #ece5d8;
  border-left: 5px solid var(--blue);
  border-radius: 0 12px 12px 0;
}

.callout strong {
  display: block;
  margin-bottom: 5px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 64px;
}

.prose h3 {
  margin-top: 34px;
}

.prose li + li {
  margin-top: 10px;
}

.document-list,
.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li,
.source-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.document-list li:first-child,
.source-list li:first-child {
  border-top: 1px solid var(--rule);
}

.document-list strong,
.source-list strong {
  display: block;
  margin-bottom: 3px;
}

.document-list small,
.source-list small {
  color: var(--ink-soft);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  color: white;
  background: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: white;
  background: var(--accent);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--rule);
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--paper-bright);
}

.site-footer {
  padding: 54px 0;
  color: #c1cbd2;
  background: #0e1821;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.site-footer h2 {
  color: white;
  font-size: 1.55rem;
}

.site-footer p {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer a {
  color: #f2a99e;
}

.updated {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

code {
  padding: 0.12em 0.35em;
  background: rgba(20, 33, 44, 0.07);
  border-radius: 4px;
  font-size: 0.9em;
}

@media (max-width: 920px) {
  .hero-grid,
  .record-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-note {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 0 auto;
    display: none;
    padding: 14px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 11px;
  }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .section {
    padding: 62px 0;
  }

  .timeline li {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 20px;
  }

  .timeline li::before {
    left: 60px;
  }

  .timeline li::after {
    left: 55px;
  }

  .document-list li,
  .source-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    overflow-wrap: anywhere;
  }

  .hero,
  .section {
    padding: 24px 0;
  }

  .card,
  .record,
  .hero-note {
    box-shadow: none;
    break-inside: avoid;
  }
}
