:root {
  --ink: #17211d;
  --muted: #516158;
  --paper: #ffffff;
  --soft: #f3f6f2;
  --line: #cbd5cf;
  --green: #17624a;
  --green-dark: #0e4635;
  --yellow: #f2c84b;
  --yellow-soft: #fff6d5;
  --red: #a43d35;
  --red-soft: #fff0ed;
  --blue: #2d5f87;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main, section, article, .section-wrap { min-width: 0; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0;
}
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; background: #fff; border: 2px solid var(--green); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: 0; }
h2[id] { scroll-margin-top: 16px; }
h1 { max-width: 900px; font-family: Georgia, serif; font-size: 54px; font-weight: 700; }
h2 { font-family: Georgia, serif; font-size: 38px; }
h3 { font-size: 21px; }
p { margin: 0 0 1rem; }

.site-header {
  min-height: 58px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
}
.brand { color: var(--ink); font-size: 15px; font-weight: 900; text-decoration: none; }
nav { display: flex; gap: 22px; }
nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 28px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: 38px;
  align-items: center;
}
.kicker { margin: 0 0 10px; color: var(--green); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.dek { max-width: 760px; margin: 17px 0; color: #33443b; font-size: 18px; }
.first-decisions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 12px 0; }
.first-decisions p { margin: 0; font-size: 14px; line-height: 1.4; }
.avoid-line { margin: 14px 0 0; padding-left: 12px; border-left: 4px solid var(--red); font-size: 14px; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; border: 1px solid var(--line); }
figcaption { margin-top: 7px; color: var(--muted); font-size: 12px; }

.scope-band, .comparison-band, .definitions-band, .details-band, .method-band { border-block: 1px solid var(--line); background: var(--soft); }
.scope-band { padding: 24px max(28px, calc((100vw - var(--max)) / 2 + 28px)); display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: start; }
.scope-band h2 { margin-bottom: 8px; font-size: 28px; }
.scope-band p { margin: 0; }
.callout { padding: 18px 20px; border-left: 5px solid var(--yellow); background: var(--yellow-soft); }
.callout p { margin: 5px 0 0; }
.callout.warning { border-color: var(--red); background: var(--red-soft); }

.section-wrap { max-width: var(--max); margin: 0 auto; padding: 68px 28px; }
.section-heading { max-width: 820px; margin-bottom: 30px; }
.section-heading h2 { max-width: 800px; }
.lede { max-width: 850px; color: var(--muted); }

.recommendation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.recommendation { padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 6px; background: #fff; }
.lane { margin-bottom: 10px; color: var(--green); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.recommendation h3 { font-size: 25px; }
.verdict { margin: 10px 0 18px; font-size: 18px; font-weight: 700; }
dl { margin: 0; }
dl div { padding: 10px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
dd { margin: 2px 0 0; }
.market-note { margin: 16px 0; padding: 12px; background: var(--soft); font-size: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.links a { font-size: 14px; font-weight: 800; }

.comparison-band .section-wrap, .details-band .section-wrap, .definitions-band .section-wrap, .method-band .section-wrap { padding-block: 58px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
caption { padding: 12px 14px; color: var(--ink); background: #e5eee8; font-weight: 800; text-align: left; }
.comparison { min-width: 1120px; }
th, td { padding: 14px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
thead th { background: var(--green-dark); color: #fff; font-size: 12px; text-transform: uppercase; }
tbody th { width: 165px; background: #eef4f0; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.table-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.passport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.passport-grid article { padding: 17px; border-top: 4px solid var(--blue); background: #eef5fa; }
.passport-grid h3 { margin-bottom: 8px; }
.passport-grid p { margin: 0; font-size: 15px; }
.reader-tools { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 18px; margin-top: 24px; }
.tool { padding: 22px; border: 1px solid var(--line); border-radius: 6px; }
.tool h3 { margin-bottom: 12px; }
.tool p:last-child, .tool ol:last-child { margin-bottom: 0; }
.tool ol { padding-left: 22px; }
.mini-ledger { display: grid; grid-template-columns: repeat(5, minmax(58px, 1fr)); overflow-x: auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 12px; }
.mini-ledger span { min-width: 58px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-ledger span:nth-child(-n+5) { background: var(--soft); font-weight: 800; }

.definition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.definition { padding: 18px; border-left: 4px solid var(--yellow); background: #fff; }
.definition h3 { margin-bottom: 7px; font-size: 18px; }
.definition p { margin: 0; font-size: 14px; }

.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.policy-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 6px; }
.policy-grid h3 { margin-bottom: 8px; font-size: 18px; }
.policy-grid p { margin: 0; font-size: 14px; }

.details { min-width: 1040px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.split h2 { margin-bottom: 18px; font-size: 30px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 900; }
.check-list.bad li::before { content: "×"; color: var(--red); }
.method-band .callout { margin-top: 24px; }

.sources ol { columns: 2; column-gap: 46px; padding-left: 24px; }
.sources li { break-inside: avoid; margin-bottom: 8px; padding-left: 4px; font-size: 14px; }
footer { padding: 28px max(28px, calc((100vw - var(--max)) / 2 + 28px)); border-top: 5px solid var(--green); background: var(--ink); color: #edf5f0; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; }
footer p { margin: 0; max-width: 420px; }
footer a { color: #fff; }

@media (max-width: 900px) {
  h1 { font-size: 44px; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { grid-row: 2; }
  .scope-band { grid-template-columns: 1fr; }
  .recommendation-grid, .policy-grid { grid-template-columns: 1fr; }
  .passport-grid { grid-template-columns: 1fr 1fr; }
  .reader-tools { grid-template-columns: 1fr; }
  .definition-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { min-height: 52px; padding: 0 16px; }
  nav a:nth-child(-n+3) { display: none; }
  h1 { font-size: 35px; }
  h2 { font-size: 30px; }
  .hero { padding: 22px 16px 18px; gap: 10px; }
  .dek { margin: 12px 0; font-size: 16px; line-height: 1.48; }
  .first-decisions { grid-template-columns: 1fr 1fr; gap: 5px 10px; }
  .first-decisions p { font-size: 12px; }
  .avoid-line { font-size: 12px; }
  .hero-media { width: 310px; max-width: 100%; margin-inline: auto; }
  .hero-media img { object-position: center 52%; }
  .scope-band { padding: 22px 16px; }
  .section-wrap { padding: 48px 16px; }
  .recommendation { padding: 18px; }
  .recommendation h3 { font-size: 22px; }
  .passport-grid, .definition-grid, .split { grid-template-columns: 1fr; }
  .mini-ledger { grid-template-columns: repeat(5, 70px); }
  .sources ol { columns: 1; }
  footer { padding: 24px 16px; flex-direction: column; }

  .details { min-width: 0; }
  .details caption { display: block; width: 100%; }
  .details thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .details, .details tbody, .details tr, .details th, .details td { display: block; width: 100%; }
  .details tr { padding: 12px; border-bottom: 8px solid var(--soft); }
  .details th, .details td { padding: 8px; border: 0; }
  .details th { background: #eef4f0; font-size: 17px; }
  .details td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
}
