:root {
  --bg: #f7f8f6;
  --bg-rule: #e6ebe8;
  --surface: #ffffff;
  --surface-2: #f1f4f2;
  --ink: #172125;
  --muted: #58656c;
  --soft: #7b858a;
  --line: #d9e0dd;
  --line-strong: #aebbb6;
  --accent: #16a34a;
  --accent-rgb: 22, 163, 74;
  --accent-text: #12823f;
  --accent-2: #2fbf5f;
  --accent-3: #7a8a80;
  --grade-a: #245f7a;
  --grade-b: #4c745f;
  --grade-c: #606a7a;
  --grade-d: #745b43;
  --grade-e: #76632d;
  --shadow: 0 14px 40px rgba(23, 33, 37, .08);
  --shadow-soft: 0 8px 24px rgba(23, 33, 37, .06);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--font);
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

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

a:hover {
  color: #0f6f0b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 14px auto 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 148px;
  height: 28px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  -webkit-mask: url("/img/factlogo_w.png?v=20260524-evidence1") center / contain no-repeat;
  mask: url("/img/factlogo_w.png?v=20260524-evidence1") center / contain no-repeat;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  font-size: 13px;
}

.site-nav a {
  color: var(--muted);
  padding: 7px 9px;
  border-radius: 6px;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 72px;
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 34px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumb-separator {
  color: var(--line-strong);
}

.page-hero {
  position: relative;
  max-width: none;
  min-height: 360px;
  padding: clamp(34px, 7vw, 82px);
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7f5 62%, #eef3f0 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 22px auto 22px 22px;
  width: 6px;
  background: linear-gradient(var(--accent), var(--accent-2), var(--accent-3));
  border-radius: 6px;
}

.page-hero::after {
  display: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3.4vw, 36px);
}

.home-hero .eyebrow,
.home-hero h1,
.home-hero .lede {
  grid-column: 1;
  max-width: 100%;
}

.home-hero h1 {
  max-width: 22ch;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.08;
  text-wrap: balance;
  word-break: keep-all;
  hyphens: none;
}

.home-hero .lede {
  max-width: 720px;
}

.hero-index-panel {
  grid-column: 1;
  grid-row: auto;
  align-self: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.hero-index-panel div {
  display: grid;
  align-content: space-between;
  min-height: 92px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent 68%),
    rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero-index-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-index-panel strong {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .hero-index-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-index-panel div {
    min-height: 80px;
    padding: 12px;
  }
}

.eyebrow,
.record-kicker,
.quote-label {
  margin: 0 0 10px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  max-width: 980px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h3 {
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: break-word;
}

.lede {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  text-wrap: balance;
}

.section {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 16px;
  margin: 34px 0;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.section > h2 {
  grid-column: 1;
  color: var(--ink);
}

.section > h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 16px;
  background: var(--accent);
  border-radius: 3px;
}

.section > p,
.section > h3,
.section > ul,
.section > ol,
.section > .quote-block,
.section > .timeline,
.section > .evidence-figure,
.section > .evidence-list,
.section > .source-table,
.section > .record-list,
.section > .answer-grid,
.section > .signal-grid,
.section > .grade-grid,
.section > .facts,
.section > .home-copy,
.section > .home-facts,
.section > .two-column,
.section > .evidence-table-wrap {
  grid-column: 2;
  min-width: 0;
}

.section > p {
  max-width: 860px;
  margin: 0 0 14px;
}

.section > h3 {
  max-width: 860px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.section > ul,
.section > ol {
  max-width: 860px;
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.section li + li {
  margin-top: 8px;
}

.section > .quote-block:first-child {
  grid-column: 1 / -1;
  width: min(900px, 100%);
}

.section > .quote-block:first-child ~ h2 {
  grid-column: 1;
}

.section > .quote-block:first-child ~ p,
.section > .quote-block:first-child ~ h3,
.section > .quote-block:first-child ~ ul,
.section > .quote-block:first-child ~ ol,
.section > .quote-block:first-child ~ .timeline,
.section > .quote-block:first-child ~ .evidence-figure,
.section > .quote-block:first-child ~ .evidence-list,
.section > .quote-block:first-child ~ .source-table {
  grid-column: 2;
}

.intro-block {
  border-top: 2px solid var(--ink);
}

.home-copy {
  display: grid;
  gap: 16px;
}

.home-facts {
  margin-top: 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 960px;
}

.two-column p {
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.priority-route,
.evidence-callout {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(255, 255, 255, .9) 62%),
    var(--surface);
  border: 1px solid rgba(var(--accent-rgb), .28);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.section > .priority-route,
.section > .evidence-callout {
  grid-column: 2;
  min-width: 0;
}

.priority-route h3,
.evidence-callout h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.3vw, 28px);
}

.priority-route p,
.evidence-callout p {
  max-width: 860px;
  margin: 0 0 12px;
}

.priority-route p:last-child,
.evidence-callout p:last-child {
  margin-bottom: 0;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.route-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--accent-text);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .26);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.route-action:hover {
  background: rgba(var(--accent-rgb), .12);
  color: #0f6f0b;
}

.issue-accent {
  color: var(--accent-text);
  font-weight: 850;
}

.record-list,
.evidence-list,
.source-table {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.hero-badges {
  margin-top: 22px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
}

.answer-card {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .045), rgba(255, 255, 255, .9) 56%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.answer-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.answer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.signal-card,
.record-figure {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.signal-card {
  padding: 20px;
  border-top: 4px solid var(--accent);
}

.signal-card h3 {
  margin-bottom: 10px;
  color: var(--accent-text);
}

.signal-card p {
  margin: 0;
  color: var(--muted);
}

.map-embed {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.record-figure,
.evidence-figure,
.seo-image-figure {
  margin: 0;
  overflow: hidden;
}

.record-figure img,
.evidence-figure img,
.seo-image-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-2);
}

.seo-image-figure picture {
  display: block;
}

.record-figure figcaption,
.evidence-figure figcaption,
.seo-image-figure figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.record-figure figcaption strong,
.evidence-figure figcaption strong,
.seo-image-figure figcaption strong {
  color: var(--ink);
}

.evidence-figure {
  max-width: 920px;
  margin: 1.5rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.seo-image-figure {
  max-width: 960px;
  margin: 1.5rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section > .seo-image-figure {
  grid-column: 2;
}

.seo-image-figure img {
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.hero-media-figure {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
}

.hero-media-figure img {
  max-height: none;
  object-fit: initial;
}

.home-hero-media {
  justify-self: start;
}

.evidence-figure img {
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.evidence-figure-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.evidence-figure-button:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .32);
  outline-offset: 4px;
  border-radius: 12px;
}

.evidence-figure figcaption {
  padding: 0;
  margin-top: .65rem;
  font-size: .9rem;
  line-height: 1.45;
  opacity: .78;
}

.evidence-figure-details {
  margin: .65rem 0 0;
  padding: .75rem .95rem .75rem 1.15rem;
  color: var(--muted);
  background: rgba(255, 255, 255, .56);
  border-left: 3px solid rgba(var(--accent-rgb), .42);
  border-radius: 0 8px 8px 0;
  font-size: .86rem;
  line-height: 1.5;
}

.evidence-figure-details li + li {
  margin-top: .35rem;
}

.evidence-source-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: .85rem;
  padding: .48rem .68rem;
  color: var(--accent-text);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .28);
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.evidence-source-link:hover,
.evidence-source-link:focus-visible {
  color: var(--accent-strong);
  background: rgba(var(--accent-rgb), .13);
  border-color: rgba(var(--accent-rgb), .46);
  text-decoration: underline;
}

.evidence-source-link:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .32);
  outline-offset: 3px;
}

.timeline-evidence-figure {
  max-width: 760px;
  margin: 1rem 0;
}

.timeline-item .timeline-evidence-figure {
  grid-column: 2;
  max-width: 100%;
  margin: 4px 0 0;
}

.timeline-evidence-figure figcaption {
  font-size: .86rem;
}

.timeline-evidence-figure .evidence-figure-details {
  font-size: .82rem;
}

.has-evidence-lightbox {
  overflow: hidden;
}

.evidence-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(7, 14, 18, .76);
  backdrop-filter: blur(10px);
  animation: evidenceOverlayIn .18s ease-out;
}

.evidence-lightbox-frame {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1180px, 96vw);
  max-height: 92vh;
  padding: clamp(10px, 1.8vw, 18px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
  animation: evidenceFrameGrow .24s cubic-bezier(.2, .85, .25, 1);
}

.evidence-lightbox-frame img {
  display: block;
  width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  background: var(--surface-2);
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 12px;
}

.evidence-lightbox-frame p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.evidence-lightbox-text {
  display: grid;
  gap: .55rem;
}

.evidence-lightbox-text ul {
  max-height: 22vh;
  margin: 0;
  overflow: auto;
  padding: .7rem .95rem .7rem 1.2rem;
  color: var(--muted);
  background: rgba(241, 244, 242, .78);
  border-left: 3px solid rgba(var(--accent-rgb), .42);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.45;
}

.evidence-lightbox-text li + li {
  margin-top: .32rem;
}

.evidence-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

@keyframes evidenceOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes evidenceFrameGrow {
  from {
    opacity: .2;
    transform: scale(.82);
    border-radius: 8px;
  }
  to {
    opacity: 1;
    transform: scale(1);
    border-radius: 16px;
  }
}

.section > .evidence-table-wrap {
  grid-column: 2;
  max-width: 920px;
  min-width: 0;
  overflow-x: auto;
}

.evidence-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.evidence-table th,
.evidence-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.evidence-table th {
  color: var(--muted);
  background: rgba(241, 244, 242, .72);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.evidence-table td {
  font-size: 14px;
}

.evidence-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .section > .evidence-table-wrap {
    max-width: 100%;
    overflow-x: visible;
  }

  .evidence-table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .evidence-table thead {
    display: none;
  }

  .evidence-table tbody {
    display: grid;
    gap: 10px;
  }

  .evidence-table tr {
    display: grid;
    gap: 8px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
  }

  .evidence-table th,
  .evidence-table td {
    border-bottom: 0;
  }

  .evidence-table td {
    display: grid;
    grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    font-size: 13px;
  }

  .evidence-table td::before {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .evidence-table td:nth-child(1)::before {
    content: "Category";
  }

  .evidence-table td:nth-child(2)::before {
    content: "Public page";
  }

  .evidence-table td:nth-child(3)::before {
    content: "Public-safe meaning";
  }

  .evidence-table td a {
    overflow-wrap: anywhere;
  }
}

.record-card,
.evidence-row,
.source-row,
.grade-card,
.timeline-item,
.quote-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.record-card p,
.evidence-row p,
.source-row p,
.quote-block p,
.quote-block code,
.timeline-item p,
dd {
  overflow-wrap: break-word;
}

.record-card {
  padding: 26px;
}

.featured-record {
  position: relative;
  overflow: hidden;
}

.featured-record::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--accent), var(--accent-2), var(--accent-3));
}

.featured-record > * {
  position: relative;
}

.record-card p {
  max-width: 820px;
}

.badge-row,
.statement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.badge,
.source-badge,
.redaction-label,
.review-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.source-badge {
  color: #0d160d;
  border-color: transparent;
  background: var(--accent);
}

.source-badge.grade-a,
.source-badge.grade-b,
.source-badge.grade-c,
.source-badge.grade-d,
.source-badge.grade-e {
  color: #fff;
}

.grade-a {
  background: var(--grade-a);
}

.grade-b {
  background: var(--grade-b);
}

.grade-c {
  background: var(--grade-c);
}

.grade-d {
  background: var(--grade-d);
}

.grade-e {
  background: var(--grade-e);
}

.redaction-label {
  color: var(--accent-text);
}

.review-label {
  color: var(--accent-text);
}

.facts,
.compact-facts {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}

.facts {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 900px;
}

.compact-facts {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.facts div,
.compact-facts div {
  padding: 14px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.quote-block {
  width: 100%;
  max-width: 900px;
  padding: 24px;
  border-left: 5px solid var(--accent);
  overflow-x: hidden;
}

.quote-block p:last-child {
  margin-bottom: 0;
}

pre.quote-block {
  white-space: pre-wrap;
}

.quote-block code {
  display: block;
  max-width: 100%;
  white-space: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.grade-card {
  padding: 18px;
}

.grade-card h3 {
  margin-top: 12px;
  overflow-wrap: normal;
  word-break: normal;
}

.grade-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.home-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.principle-card h3 {
  margin-bottom: 10px;
}

.principle-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 2px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 26px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.timeline-item time {
  grid-column: 1;
  align-self: start;
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.timeline-item p {
  grid-column: 2;
  margin: 0;
}

.timeline-item .statement-meta {
  grid-column: 2;
  margin-top: 0;
}

.evidence-row {
  padding: 20px;
}

.evidence-row p {
  margin: 0;
}

.source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
}

.source-row h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.source-row p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0 0 6px;
}

@media (max-width: 920px) {
  .site-header,
  .home-hero,
  .two-column,
  .facts,
  .compact-facts,
  .grade-grid,
  .home-principle-grid,
  .source-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section {
    display: block;
  }

  .section > * {
    grid-column: 1 / -1;
  }

  .section > h2 {
    margin-bottom: 16px;
  }

  .section > h2:not(:first-child) {
    margin-top: 24px;
  }

  .section > .quote-block:first-child ~ h2,
  .section > .quote-block:first-child ~ p,
  .section > .quote-block:first-child ~ h3,
  .section > .quote-block:first-child ~ ul,
  .section > .quote-block:first-child ~ ol,
  .section > .quote-block:first-child ~ .timeline,
  .section > .quote-block:first-child ~ .evidence-figure,
  .section > .quote-block:first-child ~ .seo-image-figure,
  .section > .quote-block:first-child ~ .evidence-list,
  .section > .quote-block:first-child ~ .source-table {
    grid-column: 1 / -1;
  }

  .home-hero .eyebrow,
  .home-hero h1,
  .home-hero .lede,
  .hero-media-figure,
  .hero-index-panel {
    grid-column: 1;
  }

  .seo-image-figure {
    width: 100%;
  }

  .hero-index-panel {
    grid-row: auto;
  }

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

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

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .timeline-item .statement-meta {
    grid-column: auto;
  }

  .timeline-item time,
  .timeline-item > p,
  .timeline-item .statement-meta,
  .timeline-item .timeline-evidence-figure,
  .signal-type-tag {
    grid-column: 1;
  }

  .section > .evidence-table-wrap {
    grid-column: 1;
  }

  .section > .priority-route,
  .section > .evidence-callout {
    grid-column: 1;
  }

  .page-hero::after {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .page-shell,
  .site-header,
  .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-shell {
    padding-top: 22px;
  }

  .site-header {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 12px;
  }

  .brand {
    width: min(196px, 68vw);
    height: 34px;
  }

  .brand-mark {
    -webkit-mask-position: left center;
    mask-position: left center;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px 22px;
    line-height: 1.25;
  }

  .site-nav a {
    padding: 2px 0;
  }

  .breadcrumbs {
    margin: 8px 0 24px;
  }

  .page-hero {
    min-height: 0;
    padding: 22px 12px 26px 24px;
  }

  .page-hero::before {
    inset: 18px auto 18px 12px;
    width: 5px;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(26px, 7.35vw, 30px);
    line-height: 1.06;
    white-space: normal;
    text-wrap: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .lede {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.62;
  }

  .section > *:not(h2) {
    max-width: calc(100vw - 36px);
  }

  .section p,
  .section dd,
  .section dt,
  .timeline-item p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .record-card,
  .evidence-row,
  .source-row,
  .grade-card,
  .principle-card,
  .timeline-item,
  .quote-block {
    border-radius: 6px;
  }

  .hero-index-panel {
    grid-template-columns: 1fr;
  }

  .hero-index-panel div {
    min-height: 76px;
  }
}

.risk-signal-panel {
  display: block;
  position: relative;
  margin: 34px 0;
  padding: 28px 32px 24px;
  border-top: none;
  border: 1px solid var(--accent);
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(var(--accent-rgb), .015) 60%, transparent),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.risk-signal-panel > .eyebrow {
  margin: 0 0 6px;
}

.risk-signal-panel > h2 {
  max-width: 880px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
}

.risk-signal-panel > h2::after {
  display: none;
}

.risk-signal-panel .risk-lede {
  max-width: 880px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.risk-grid article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}

.risk-grid article strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.risk-grid article span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.risk-grid article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.risk-signal-panel .scope-note {
  max-width: 880px;
  margin: 0;
  color: var(--soft);
  font-size: 12.5px;
  font-style: italic;
}

.home-risk-signal-panel .route-actions {
  margin-top: 16px;
}

.signal-type-tag {
  grid-column: 2;
  margin: 0;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signal-type-tag > span {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
}

@media (max-width: 720px) {
  .risk-grid {
    grid-template-columns: 1fr;
  }

  .risk-signal-panel {
    padding: 22px 20px 18px;
  }
}
