:root {
  --ink: #172026;
  --muted: #536069;
  --paper: #f3f5f3;
  --white: #fff;
  --line: #c9d1cd;
  --green: #1f594a;
  --green-dark: #153d34;
  --coral: #bd5338;
  --yellow: #f0c75e;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; }
a { color: var(--green-dark); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip { position: fixed; z-index: 30; top: 8px; left: 8px; padding: 10px 14px; background: #fff; transform: translateY(-160%); }
.skip:focus { transform: none; }
header { min-height: 58px; padding: 10px max(16px, calc((100% - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #172026; color: #fff; }
header .brand { color: #fff; font-weight: 900; text-decoration: none; letter-spacing: 0; }
header span { color: #cbd5d1; font-size: .85rem; text-align: right; }
section { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
.first { width: 100%; max-width: none; padding: 34px max(16px, calc((100% - var(--max)) / 2)) 48px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 38px; align-items: center; background: #e7ece7; border: 0; }
.first-copy { min-width: 0; }
.eyebrow, .lane { margin: 0 0 8px; color: var(--green); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 720px; margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 4.2rem); }
h2 { max-width: 780px; margin-bottom: 22px; font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { margin-bottom: 10px; font-size: 1.3rem; }
.lede { max-width: 760px; font-size: 1.17rem; }
.evidence, .sample-limit, .fine { color: var(--muted); }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0; border: 1px solid var(--line); background: #fff; }
.quick div { min-width: 0; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.quick div:nth-child(odd) { border-right: 1px solid var(--line); }
.quick div:nth-last-child(-n+2) { border-bottom: 0; }
.warning { padding: 13px 15px; border-left: 5px solid var(--coral); background: #fff; }
.verify { margin-bottom: 0; }
.hero { min-width: 0; margin: 0; }
.hero img { display: block; width: 100%; height: 640px; object-fit: cover; object-position: center; border-radius: 6px 6px 0 0; }
.hero figcaption { padding: 9px 11px; background: #26343a; color: #fff; font-size: .76rem; }
.guide-nav { position: sticky; top: 0; z-index: 10; width: 100%; display: flex; justify-content: center; gap: 22px; padding: 12px 16px; overflow-x: auto; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); white-space: nowrap; }
.guide-nav a { color: var(--ink); font-size: .86rem; font-weight: 800; text-decoration: none; }
.definitions, .fit-cards, .picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.definitions article, .fit-cards article, .pick { min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--line); }
.definitions p { margin: 5px 0; color: var(--muted); font-size: .92rem; }
.table-wrap { max-width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--line); }
table { width: 100%; min-width: 820px; border-collapse: collapse; }
caption { padding: 12px 14px; background: #26343a; color: #fff; font-weight: 800; text-align: left; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: #e6ece9; font-size: .78rem; text-transform: uppercase; }
.fit-steps, .state-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; border: 1px solid var(--line); background: #fff; }
.fit-steps div, .state-grid div { min-width: 0; padding: 16px; border-right: 1px solid var(--line); }
.fit-steps div:last-child, .state-grid div:last-child { border-right: 0; }
.fit-steps strong, .fit-steps span, .state-grid strong, .state-grid span { display: block; }
.fit-steps span, .state-grid span { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.fit-cards p { font-size: .91rem; }
.pick { border-top: 5px solid var(--green); }
.pick p { margin: 9px 0; }
.pick ul { padding-left: 20px; }
.pick [data-source-confidence] { color: var(--muted); font-size: .9rem; }
.rehearsal, .checklist { max-width: 860px; padding-left: 24px; }
.rehearsal li, .checklist li { margin: 8px 0; }
.return-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.return-grid p, .note { margin: 0; padding: 16px; background: #fff; border: 1px solid var(--line); }
.note { border-left: 5px solid var(--yellow); }
.source-list { max-width: 920px; }
.source-list li { margin: 10px 0; }
.correction-note { padding-top: 12px; border-top: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px max(16px, calc((100% - var(--max)) / 2)); background: #172026; color: #fff; }
footer span { color: #cbd5d1; }

@media (max-width: 820px) {
  html { scroll-padding-top: 54px; }
  header span { display: none; }
  .first { grid-template-columns: 1fr; padding-top: 22px; gap: 22px; }
  .hero { grid-row: 1; }
  .hero img { height: 360px; }
  .guide-nav { justify-content: flex-start; gap: 17px; }
  .fit-steps, .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-steps div:nth-child(2), .state-grid div:nth-child(2) { border-right: 0; }
  .fit-steps div:nth-child(-n+2), .state-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-details-wrap { overflow: visible; border: 0; background: transparent; }
  .product-details-wrap table, .product-details-wrap tbody, .product-details-wrap tr, .product-details-wrap th, .product-details-wrap td { display: block; width: 100%; min-width: 0; }
  .product-details-wrap thead { display: none; }
  .product-details-wrap caption { display: block; width: 100%; }
  .product-details-wrap tr { margin-bottom: 14px; padding: 12px; background: #fff; border: 1px solid var(--line); }
  .product-details-wrap th { border: 0; font-size: 1.08rem; }
  .product-details-wrap td { display: grid; grid-template-columns: minmax(105px, 34%) minmax(0, 1fr); gap: 10px; padding: 9px 8px; border: 0; overflow-wrap: anywhere; }
  .product-details-wrap td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; font-weight: 900; text-transform: uppercase; }
}

@media (max-width: 600px) {
  section { width: min(var(--max), calc(100% - 24px)); padding: 44px 0; }
  .first { width: 100%; padding-left: 12px; padding-right: 12px; }
  .hero img { height: 224px; }
  h1 { font-size: 2.12rem; }
  h2 { font-size: 1.72rem; }
  .lede { font-size: 1.02rem; }
  .quick, .definitions, .fit-cards, .picks, .return-grid { grid-template-columns: 1fr; }
  .quick div, .quick div:nth-child(odd), .quick div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick div:last-child { border-bottom: 0; }
  .fit-steps, .state-grid { grid-template-columns: 1fr; }
  .fit-steps div, .fit-steps div:nth-child(2), .fit-steps div:nth-child(-n+2), .state-grid div, .state-grid div:nth-child(2), .state-grid div:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .fit-steps div:last-child, .state-grid div:last-child { border-bottom: 0; }
  .product-details-wrap td { grid-template-columns: 1fr; gap: 2px; }
  footer { display: block; }
  footer span { display: block; margin-top: 6px; }
}
