/* Designed for older readers: large type, strong contrast, big targets, no sideways scrolling. */
:root {
  --paper: #fffdf8;
  --surface: #ffffff;
  --ink: #141c1f;
  --muted: #333f44;
  --line: #a9a294;
  --accent: #0b4f4f;
  --accent-dark: #063838;
  --accent-ink: #ffffff;
  --tint: #e3efec;
  --warn: #fdf0dd;
  --warn-line: #a85b12;
  --focus: #b3261e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Verdana, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 20px/1.75 var(--sans); }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: 800px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 2px solid var(--line); background: var(--surface); }
.site-header .wrap { padding-top: 14px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; font: 700 26px/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.brand img { flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 6px; font-size: 19px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; }

.disclosure { font-size: 17px; line-height: 1.55; color: var(--muted); padding: 14px 0; margin: 0; }
.crumbs { font-size: 17px; color: var(--muted); padding-top: 18px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(36px, 7vw, 48px); margin: 16px 0 14px; }
h2 { font-size: 32px; margin: 56px 0 14px; }
h3 { font-size: 25px; margin: 32px 0 8px; }
p, ul, ol { margin: 0 0 20px; }
li { margin-bottom: 10px; }
.byline { font-size: 17px; color: var(--muted); margin-bottom: 24px; }

.verdict { background: var(--tint); border-left: 6px solid var(--accent); padding: 20px; margin: 24px 0; }
.verdict h2 { margin-top: 0; font-size: 28px; }
.verdict p:last-child { margin-bottom: 0; }

.caution { background: var(--warn); border-left: 6px solid var(--warn-line); padding: 18px 20px; margin: 24px 0; }

.toc { background: var(--surface); border: 2px solid var(--line); padding: 18px 20px; margin: 24px 0; }
.toc strong { font-size: 22px; }
.toc ol { margin: 8px 0 0; padding-left: 30px; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 7px 0; }

.table-scroll { margin: 24px 0; border: 2px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 18px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--tint); }
tr:last-child td { border-bottom: 0; }

/* Phones and large zoom levels: each row becomes a labeled card. */
@media (max-width: 720px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { display: block; padding: 8px 0; border-bottom: 2px solid var(--line); }
  tr:last-child { border-bottom: 0; }
  td { display: block; border: 0; padding: 6px 14px; }
  td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--accent); }
}

.cta { background: var(--tint); border: 2px solid var(--accent); padding: 24px 20px; margin: 36px 0; text-align: center; }
.cta p { margin: 0 0 16px; }
.cta small { display: block; margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.5; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; max-width: 100%; background: var(--accent); color: var(--accent-ink); font-size: 21px; font-weight: 700; line-height: 1.3; padding: 14px 28px; border-radius: 6px; }
.btn:hover { background: var(--accent-dark); color: var(--accent-ink); }

figure { margin: 28px auto; max-width: 520px; }
figure img { display: block; width: 100%; height: auto; border: 2px solid var(--line); background: var(--surface); }
figcaption { font-size: 17px; line-height: 1.5; color: var(--muted); margin-top: 8px; }

.chart { max-width: none; background: var(--surface); border: 2px solid var(--line); padding: 18px 20px; }
.chart h3 { margin: 0 0 14px; }
.bar-row { margin-bottom: 16px; }
.bar-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; font-size: 18px; line-height: 1.4; margin-bottom: 4px; }
.bar-track { height: 16px; border-bottom: 2px solid var(--line); }
.bar { height: 14px; background: var(--accent); border-radius: 0 4px 4px 0; }

.sources { font-size: 18px; line-height: 1.6; padding-left: 28px; overflow-wrap: anywhere; }

.site-footer { border-top: 2px solid var(--line); margin-top: 64px; padding: 24px 0 36px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 12px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 48px; }
