@font-face {
  font-family: Athiti;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("athiti-regular.ttf") format("truetype");
}

@font-face {
  font-family: Athiti;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("athiti-semibold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --blue: #337ab7;
  --blue-hover: #2b699f;
  --text: #333;
  --muted: #626d77;
  --line: #dce5ec;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: url("site-bg.png") top center repeat-x #fff;
  color: var(--text);
  font-family: Athiti, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
a:focus-visible { outline: 3px solid #163f63; outline-offset: 5px; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 16px;
  background: white;
  z-index: 2;
}
.skip-link:focus { top: 12px; }
.site-header { text-align: center; }
.brand { display: block; max-width: 900px; margin: 0 auto; line-height: 0; }
.brand img { width: 100%; height: auto; }
.page { width: min(1080px, calc(100% - 64px)); margin: 0 auto; }
main { padding-top: 44px; }
.eyebrow { color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { margin: 8px 0 14px; font-size: clamp(29px, 3.2vw, 39px); }
.page-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.page-heading p { max-width: 750px; margin-bottom: 0; color: var(--muted); }
article { padding-top: 34px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 13px; font-size: 15px; color: var(--muted); }
.category { color: var(--blue); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 14px; }
.lead { max-width: 800px; font-size: 21px; line-height: 1.5; margin-bottom: 27px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: start; }
.article-copy p { margin-bottom: 19px; }
strong { font-weight: 600; }
h3 { font-size: 25px; margin-bottom: 14px; }
.article-copy section { padding-top: 12px; }
.action-list { padding-left: 23px; margin: 0; }
.action-list li { padding-left: 5px; margin-bottom: 9px; }
.action-list li::marker { color: var(--blue); }
.facts { padding: 25px; border-top: 3px solid var(--blue); background: #f3f7fa; }
.severity { display: inline-block; padding: 1px 10px; background: #f9e8e5; color: #922f23; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.score { margin: 7px 0 0; font-size: 52px; font-weight: 600; line-height: 1.2; color: #294d6d; }
.score span { font-size: 23px; font-weight: 400; color: var(--muted); }
.score-caption { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
dl { margin: 0; }
dl div { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
dt { color: var(--muted); font-size: 15px; }
dd { margin: 0; font-weight: 600; line-height: 1.4; }
.source { margin-top: 35px; padding: 25px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source h3 { font-size: 23px; margin-bottom: 6px; }
.source p { margin-bottom: 15px; color: var(--muted); font-size: 16px; }
.source-link { display: inline-flex; align-items: center; gap: 20px; padding: 10px 19px; background: var(--blue); color: white; text-decoration: none; font-size: 17px; line-height: 1.4; }
.source-link:hover { color: white; background: var(--blue-hover); }
.source-link span { font-size: 23px; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer > :first-child { color: var(--blue); font-weight: 600; }

@media (max-width: 900px) {
  body { background-image: none; }
  .article-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 220px; }
  .facts { padding: 20px; }
}
@media (max-width: 640px) {
  .page { width: calc(100% - 36px); }
  main { padding-top: 29px; }
  .page-heading { padding-bottom: 25px; }
  article { padding-top: 26px; }
  .article-layout { grid-template-columns: 1fr; gap: 25px; }
  .facts { max-width: none; }
  .facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .facts dl > :last-child { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; gap: 3px; }
}
@media print {
  body { background: #fff; font-size: 12pt; }
  .brand { max-width: 400px; }
  .skip-link { display: none; }
  .page { width: 100%; }
  .article-layout { grid-template-columns: 1fr; }
  .facts { break-inside: avoid; }
  .source-link { padding: 0; background: none; color: #000; }
  .source-link::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; }
}
