:root {
  color-scheme: light;
  --background: #fbfaf7;
  --text: #111111;
  --muted: #3f3f3f;
  --navy: #17365d;
  --link: #0645ad;
  --visited: #551a8b;
  --rule: #8a8a8a;
  --soft-rule: #b3b3b3;
  --focus: #ffbf47;
  --good: #215c32;
  --caution: #7a4d00;
  --light: #f2f0e9;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

.page {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 28px 8px 24px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--link);
  border: 2px solid var(--navy);
}

.skip-link:focus {
  top: 12px;
}

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

a:visited {
  color: var(--visited);
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.site-name {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
}

.site-name a,
.site-name a:visited {
  color: inherit;
  text-decoration: none;
}

.site-note {
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 1rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0;
  padding: 4px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

main {
  padding: 28px 0 24px;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.4rem);
  line-height: 1.17;
}

h2 {
  margin: 28px 0 8px;
  font-size: 1.42rem;
  line-height: 1.25;
}

h3 {
  margin: 22px 0 6px;
  font-size: 1.14rem;
  line-height: 1.3;
}

p,
li {
  max-width: 740px;
}

p {
  margin: 12px 0;
}

ul {
  margin: 10px 0;
  padding-left: 26px;
}

ol {
  padding-left: 28px;
}

li {
  margin: 8px 0;
}

.bluf {
  max-width: 750px;
  margin: 18px 0 0;
  font-size: 1.16rem;
  line-height: 1.58;
}

.deck {
  margin-top: 16px;
  font-size: 1.05rem;
}

.quiet-rule {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--soft-rule);
}

.plain-links {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.plain-links li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #d4d1c8;
}

.plain-links a {
  display: inline-block;
  padding: 5px 0;
  font-weight: 700;
}

.label {
  display: inline-block;
  margin-right: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label.established {
  color: var(--good);
}

.label.limited {
  color: var(--caution);
}

.label.unknown {
  color: #7a1f1f;
}

.answer {
  margin: 20px 0;
  padding: 15px 18px;
  border: 1px solid var(--rule);
  background: var(--light);
}

.answer p:first-child {
  margin-top: 0;
}

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

.facts {
  margin: 18px 0 24px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--rule);
}

.facts div {
  display: grid;
  grid-template-columns: minmax(135px, 0.42fr) 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #d4d1c8;
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin: 0;
}

.data-wrap {
  width: 100%;
  margin: 16px 0 24px;
  overflow-x: auto;
  border-top: 2px solid var(--navy);
}

.data-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.91rem;
}

.data-table th,
.data-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--soft-rule);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--light);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.breadcrumb {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.next-read {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.next-read h2 {
  margin-top: 0;
}

.correction {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

.evidence-list {
  margin: 27px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--navy);
}

.evidence-list h2 {
  margin-top: 0;
}

.evidence-list p {
  margin: 8px 0;
  font-size: 1.04rem;
}

.evidence-list a {
  display: inline-block;
  padding: 7px 0;
  font-weight: 600;
}

.status {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--soft-rule);
}

.status p {
  margin: 8px 0;
}

.small,
.reviewed {
  color: var(--muted);
  font-size: 0.89rem;
}

.source-list li {
  margin-bottom: 14px;
}

footer {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.84rem;
}

footer p {
  margin: 6px 0;
}

@media (max-width: 560px) {
  html {
    font-size: 17px;
  }

  .page {
    width: min(100% - 28px, 820px);
    padding-top: 21px;
  }

  .primary-nav {
    gap: 0 15px;
  }

  .facts div {
    display: block;
  }

  .facts dt {
    margin-bottom: 3px;
  }

  .data-wrap {
    overflow: visible;
  }

  .data-table {
    min-width: 0;
    font-size: 1rem;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 11px 0;
    border-bottom: 1px solid var(--rule);
  }

  .data-table td {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 10px;
    padding: 5px 0;
    border: 0;
  }

  .data-table td::before {
    content: attr(data-label);
    color: var(--navy);
    font-weight: 700;
  }
}

@media print {
  .skip-link,
  .primary-nav,
  footer {
    display: none;
  }

  .page {
    width: 100%;
    max-width: none;
  }

  a {
    color: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
