:root {
  --ink: #172126;
  --muted: #526169;
  --paper: #f3f5f2;
  --panel: #ffffff;
  --line: #c7d0cc;
  --green: #1d604e;
  --red: #943c32;
  --blue: #275d7c;
  --yellow: #d5a629;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
  color: #075e58;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #ffffff;
  padding: 10px;
}

.mast {
  background: #1d2928;
  color: #ffffff;
}

.inner,
.nav div,
main,
.foot {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}

.inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
}

.brand {
  font: 1.35rem Georgia, serif;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.nav div {
  display: flex;
  gap: 20px;
  overflow: auto;
  white-space: nowrap;
  padding: 10px 0;
}

.nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 750;
}

.first {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 24px;
}

.eyebrow,
.lane {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, serif;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  margin: 0.18em 0;
  font-size: 4rem;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
}

h3 { font-size: 1.3rem; }

.lede { font-size: 1.1rem; }

.hero { margin: 0; }

.hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}

.hero figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.first-actions {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.first-actions h2 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.first-actions .lanes {
  gap: 14px;
}

.first-actions .lanes div {
  padding-left: 10px;
}

.first-actions .quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 14px 0 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.quick { padding-left: 1.2rem; }

.section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 74px;
}

.lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lanes div {
  padding-left: 14px;
  border-left: 5px solid var(--blue);
}

.lanes strong,
.lanes span {
  display: block;
}

.definitions,
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.definition,
.pick,
.step {
  min-width: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.definition h3,
.pick h3,
.step h3 { margin-top: 0; }

.definition p { margin: 0.45rem 0; }

.meaning { font-weight: 750; }

.avoid {
  padding-left: 10px;
  border-left: 4px solid var(--red);
}

.correction-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.table-wrap {
  overflow: auto;
  background: #ffffff;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

caption {
  padding: 12px;
  background: #e3ede8;
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.utility {
  padding-right: 20px;
  padding-left: 20px;
  background: #e5eeea;
}

.tape {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tape div {
  padding: 14px;
  background: #ffffff;
  border-top: 5px solid var(--blue);
}

.performance {
  padding-right: 20px;
  padding-left: 20px;
  background: #f5eee8;
  border-top-color: #d8c4b9;
}

.exclusions li { margin-bottom: 0.7rem; }

.source-list {
  columns: 2;
  column-gap: 36px;
}

.source-list li {
  margin-bottom: 0.55rem;
  break-inside: avoid;
  overflow-wrap: anywhere;
}

.footer {
  background: #1d2928;
  color: #dce6e2;
}

.foot {
  padding: 24px 0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .inner span { display: none; }

  .first {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .first-actions .quick { grid-template-columns: 1fr; }

  .hero { grid-row: 1; }

  .hero img { max-height: 160px; }

  h1 { font-size: 2.35rem; }

  h2 { font-size: 1.75rem; }

  .definitions,
  .picks,
  .steps,
  .lanes,
  .tape { grid-template-columns: 1fr; }

  .section { padding: 30px 0; }

  .source-list { columns: 1; }

  .nav div {
    flex-wrap: wrap;
    gap: 8px 16px;
    white-space: normal;
  }

  .details { min-width: 0; }

  .details caption {
    display: block;
    width: 100%;
  }

  .details thead { display: none; }

  .details,
  .details tbody,
  .details tr,
  .details th,
  .details td {
    display: block;
    width: 100%;
  }

  .details tr {
    padding: 10px;
    border-top: 2px solid var(--green);
  }

  .details th,
  .details td {
    display: grid;
    grid-template-columns: minmax(108px, 36%) minmax(0, 1fr);
    gap: 10px;
    padding: 9px 4px;
    overflow-wrap: anywhere;
  }

  .details th::before,
  .details td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 800;
  }

  .details th[data-product-detail="product"] {
    display: block;
    font: 700 1.1rem Georgia, serif;
  }

  .details th[data-product-detail="product"]::before { content: ""; }

  .details td[data-product-detail="warranty"] {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
