:root {
  color-scheme: light;
  --background: #f5f7f3;
  --paper: #fff;
  --ink: #192b23;
  --muted: #4c6157;
  --accent: #22573f;
  --dark: #193d30;
  --line: #d6e1d9;
  --soft: #eaf1e9;
  --row: #f7faf6;
  color: var(--ink);
  background: var(--background);
  font: 100%/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #16674b; outline-offset: 3px; }
button, input, select { font: inherit; }
.wrap { width: min(calc(100% - 3.5rem), 77rem); margin-inline: auto; }
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row, .footer-row, .catalogue-head, .table-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.header-row { min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 770; text-decoration: none; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.25rem; }
nav a { color: var(--muted); font-size: .875rem; font-weight: 620; text-decoration: none; }
nav a[aria-current], nav a:hover { color: var(--accent); text-decoration: underline; }

.intro {
  margin-top: clamp(1.1rem, 3vw, 2.2rem);
  padding: clamp(1.3rem, 3.8vw, 2.65rem);
  border-radius: .75rem;
  background: linear-gradient(112deg, #183a2e 15%, #24543e 100%);
  color: #fff;
}
.market { color: var(--accent); font-size: .875rem; font-weight: 700; margin-bottom: .5rem; }
.intro .market { color: #d4ead6; }
.market span { padding-inline: .2rem; }
h1 { max-width: 26ch; font-size: clamp(2.1rem, 4.6vw, 3.35rem); line-height: 1.07; font-weight: 760; letter-spacing: -.054em; text-wrap: balance; }
.intro > p:last-child { max-width: 62ch; color: #e5efe7; margin-top: .75rem; }
h2 { font-size: clamp(1.2rem, 2vw, 1.42rem); line-height: 1.25; letter-spacing: -.023em; }
h3 { font-size: 1rem; }
.catalogue { padding-block: 1.7rem 1.85rem; }
.catalogue-head { align-items: baseline; flex-wrap: wrap; margin-bottom: .65rem; }
.catalogue-head p, .table-note, .disclosure { color: var(--muted); font-size: .875rem; }
.catalogue-head time { color: var(--ink); font-weight: 650; }
.disclosure { margin-bottom: .65rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: .65rem; }
.filters {
  display: grid;
  grid-template-columns: minmax(10rem, 1.55fr) minmax(7rem, 1.1fr) repeat(3, minmax(7rem, 1fr)) auto;
  align-items: end;
  gap: .7rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.filters label { display: grid; gap: .3rem; min-width: 0; font-size: .875rem; font-weight: 680; }
.filters :is(input, select, button) { min-height: 2.65rem; width: 100%; min-width: 0; padding: .42rem .65rem; color: var(--ink); background: var(--paper); border: 1px solid #a9bdb0; border-radius: .38rem; font-weight: 450; }
.filters input::placeholder { color: var(--muted); opacity: 1; }
.filters select { appearance: none; padding-right: 1.7rem; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 13px center / 5px 5px no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 8px center / 5px 5px no-repeat; }
.filters .reset { width: auto; font-size: .875rem; font-weight: 680; color: var(--accent); cursor: pointer; }
.reset:not(:disabled):hover { background: var(--soft); }
.filters .reset:disabled { background: var(--row); color: var(--muted); border-color: var(--line); cursor: default; }
.table-meta { padding: .6rem 1rem; font-size: .875rem; font-weight: 660; }
.scroll-hint { display: none; color: var(--muted); font-size: .8125rem; font-weight: 450; }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -2px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 53rem; text-align: left; font-variant-numeric: tabular-nums; font-size: .925rem; }
th, td { padding: .67rem .8rem; vertical-align: middle; }
thead th { background: var(--soft); color: var(--dark); border-block: 1px solid var(--line); white-space: nowrap; font-size: .875rem; }
thead th:has(button) { padding: 0; }
thead button { display: flex; align-items: center; gap: .42rem; min-height: 2.8rem; width: 100%; padding: .55rem .8rem; border: 0; background: transparent; color: inherit; font-weight: inherit; cursor: pointer; text-align: left; }
thead button:disabled { cursor: default; }
thead button:focus-visible { outline-offset: -2px; }
thead button:not(:disabled):hover, thead th[aria-sort] { background: #dce9dc; }
thead button:not(:disabled)::after { content: ""; width: .49rem; height: .65rem; background: #587366; clip-path: polygon(50% 0, 100% 40%, 0 40%, 0 60%, 100% 60%, 50% 100%, 0 60%, 0 40%); }
thead [aria-sort="ascending"] button::after { background: var(--accent); clip-path: polygon(50% 17%, 100% 66%, 0 66%); }
thead [aria-sort="descending"] button::after { background: var(--accent); clip-path: polygon(0 34%, 100% 34%, 50% 83%); }
tbody tr { --row-background: var(--paper); }
tbody tr:nth-child(even) { --row-background: var(--row); }
tbody tr:hover, tbody tr:focus-within { --row-background: #edf5ed; }
tbody :is(th, td) { background: var(--row-background); border-bottom: 1px solid #e4ebe5; }
tbody tr:last-child > * { border-bottom: 0; }
thead th:first-child, tbody th { position: sticky; left: 0; z-index: 1; }
tbody th { min-width: 12rem; width: 26%; }
tbody td { white-space: nowrap; }
.sub { display: block; margin-top: .1rem; color: var(--muted); font-size: .8125rem; font-weight: 450; line-height: 1.28; }
.brand { margin-top: 0; font-weight: 630; }
.model { display: block; font-weight: 740; }
.price { font-weight: 750; }
.muted { color: var(--muted); }
.links { min-width: 10rem; }
.retailer { font-weight: 690; }
.secondary-link { display: inline-block; color: var(--muted); font-size: .8125rem; margin-left: .6rem; }
.secondary-link + .secondary-link { display: block; margin-left: 0; }
.table-note { margin-top: .7rem; max-width: 90ch; }
.empty { padding: 1rem; }
.guide-preview { background: var(--soft); border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1rem, 3vw, 1.5rem); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-block: .8rem 1rem; }
.guide-grid p, .methodology p, .article p { color: var(--muted); }
.guide-grid h3 { margin-bottom: .22rem; }
.guide-preview > p a, .return a { font-weight: 680; }
.methodology { padding-block: 1.6rem 2.2rem; }
.methodology p { max-width: 82ch; margin-top: .45rem; }
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding-block: 1.05rem; color: var(--muted); font-size: .875rem; }
.article { max-width: 50rem; padding-block: clamp(1.8rem, 4vw, 3rem) 3rem; }
.article .lede { margin-top: .65rem; }
.article h2 { margin-top: 1.5rem; }
.article h2 + p { margin-top: .35rem; }
.return { margin-top: 1.5rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; background: var(--paper); padding: .5rem; }
@media (max-width: 57rem) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scroll-hint { display: block; }
  thead th:first-child, tbody th { box-shadow: 1px 0 0 var(--line); }
}
@media (max-width: 36rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .header-row, .footer-row { flex-wrap: wrap; padding-block: .55rem; }
  .header-row nav { flex: 0 0 100%; padding-left: .1rem; }
  nav { gap: .3rem 1rem; }
  .catalogue { padding-top: 1.25rem; }
  .catalogue-head { margin-bottom: .55rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .75rem; }
  .filters .search { grid-column: 1 / -1; }
  .filters :is(input, select) { font-size: 1rem; }
  .table-meta, th, td { padding-inline: .65rem; }
  thead button { padding-inline: .65rem; }
  table { min-width: 47rem; }
  tbody th { width: 8.8rem; min-width: 8.8rem; max-width: 8.8rem; }
  .guide-grid { grid-template-columns: 1fr; gap: .85rem; }
}
