:root {
  --ink: #172126;
  --muted: #526168;
  --paper: #f6f7f4;
  --panel: #fff;
  --line: #ccd4d3;
  --green: #1d6b4f;
  --red: #b94734;
  --yellow: #f0bd4f;
  --blue: #155f78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.62 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: #075c5a; text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: #fff; padding: 10px; }
.mast { background: #17201d; color: #fff; }
.mast-inner,
.nav-inner,
main,
.foot-inner { width: min(1120px, calc(100% - 32px)); margin: auto; }
.mast-inner { padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: Georgia, serif; font-size: 1.35rem; }
.tag { color: #c7d6d6; font-size: .88rem; }
.nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; gap: 20px; overflow: auto; padding: 10px 0; white-space: nowrap; font-size: .88rem; }
.nav a { text-decoration: none; font-weight: 700; }
.first {
  padding: 30px 0 20px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}
.eyebrow { color: var(--red); font-weight: 800; text-transform: uppercase; font-size: .77rem; }
h1,
h2,
h3 { font-family: Georgia, serif; line-height: 1.16; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); margin: .2em 0; }
h2 { font-size: 2rem; margin: 0 0 .7rem; }
h3 { font-size: 1.25rem; }
.lede { font-size: 1.13rem; }
.hero img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.hero figcaption { font-size: .78rem; color: var(--muted); }
.quick { border-left: 4px solid var(--green); padding-left: 18px; }
.quick li { margin: .4rem 0; }
.section { padding: 52px 0; border-top: 1px solid var(--line); scroll-margin-top: 58px; }
.section > p { max-width: 800px; }
.definitions,
.picks,
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.definition,
.pick,
.value { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.definition p { margin: .45rem 0; }
.meaning { font-weight: 700; }
.comparison-wrap,
.details-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}
table { border-collapse: collapse; width: 100%; min-width: 760px; }
caption { text-align: left; font-weight: 700; padding: 14px; }
th,
td { text-align: left; vertical-align: top; padding: 12px; border-top: 1px solid var(--line); }
th { background: #e7eee9; }
.lane { color: var(--green); font-weight: 800; }
.pick { border-top: 5px solid var(--green); }
.pick ul { padding-left: 1.2rem; }
.avoid { color: #782d22; }
.utility { background: #edf2e9; border-top: 5px solid var(--red); padding: 24px; border-radius: 6px; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checks label { display: block; background: #fff; padding: 12px; border: 1px solid var(--line); }
.checks input { width: 100%; min-height: 42px; margin-top: 6px; }
.result { font-weight: 800; }
.source-list { columns: 2; }
.source-list li { break-inside: avoid; margin: 0 0 .7rem; }
.footer { background: #17201d; color: #dce6e5; padding: 28px 0; }

@media (max-width: 720px) {
  html,
  body { max-width: 100%; overflow-x: hidden; }
  body { font-size: 16px; }
  main,
  article,
  .section { min-width: 0; max-width: 100%; }
  .tag { display: none; }
  .nav-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    white-space: normal;
  }
  .nav a { min-width: 0; text-align: center; font-size: .75rem; overflow-wrap: anywhere; }
  .first { grid-template-columns: minmax(0, 1fr); padding-top: 20px; gap: 14px; }
  .first > * { min-width: 0; }
  .first p,
  .first li,
  h1 { overflow-wrap: anywhere; }
  h1 { font-size: 2.35rem; }
  .hero { margin: 0; order: -1; }
  .definitions,
  .picks,
  .value-grid,
  .checks { grid-template-columns: 1fr; }
  .section { padding: 38px 0; scroll-margin-top: 88px; }
  .source-list { columns: 1; }
  .details-wrap { border: 0; background: transparent; }
  .details-table { min-width: 0; }
  .details-table thead { position: absolute; left: -9999px; }
  .details-table tbody,
  .details-table tr,
  .details-table td { display: block; }
  .details-table tr { background: #fff; border: 1px solid var(--line); margin: 0 0 14px; padding: 12px; }
  .details-table td { border: 0; padding: 7px 4px; overflow-wrap: anywhere; }
  .details-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: .73rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .details-table td:first-child { font-size: 1.1rem; font-weight: 800; }
  .details-table td:first-child::before { display: none; }
}
