:root {
  --bg: #f3efe6;
  --paper: #fffcf7;
  --ink: #1b1914;
  --muted: #5e584e;
  --line: #e3d9c8;
  --header: #17261f;
  --accent: #1f4d3a;
  --mark: #9a5b24;
  --diff: #f8e7c4;
  --shadow: none;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 "Segoe UI", "Noto Sans", sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; }
h1 { font-size: 2rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 0.6rem; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 6px 10px;
}
.skip:focus { top: 8px; }
.site-header { background: var(--header); color: #f6f3ec; }
.header-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { color: inherit; text-decoration: none; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.logo-mark {
  width: 18px; height: 18px; display: inline-block; position: relative;
}
.logo-mark::before, .logo-mark::after {
  content: ""; position: absolute; bottom: 0; width: 6px; background: #f3efe6; border-radius: 1px;
}
.logo-mark::before { left: 0; height: 16px; }
.logo-mark::after { right: 0; height: 10px; background: #e2a15a; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nav a { color: #f6f3ec; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
main { padding: 28px 0 64px; }
.hero { max-width: 42rem; }
.eyebrow { letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; color: var(--mark); margin: 0 0 8px; }
.lede { font-size: 1.08rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.mono { font-family: ui-monospace, monospace; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 8px; min-height: 100%;
  background: var(--paper); border: 1px solid var(--line); padding: 16px; text-decoration: none; color: inherit;
}
.card-kicker { color: var(--mark); font-size: 0.82rem; }
.card-title { font-size: 1.15rem; font-weight: 700; }
.card-text { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 16px 0; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; color: var(--muted); }
.filters select, .filters input, .btn {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0;
}
.filters select, .filters input { padding: 6px 8px; min-width: 7rem; }
.btn { display: inline-block; padding: 8px 14px; background: var(--accent); color: #fff; text-decoration: none; border: 0; cursor: pointer; }
.btn-small { padding: 6px 10px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); background: var(--paper); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
th { font-weight: 650; }
.spec th:first-child, .spec td:first-child, .catalog th:first-child, .catalog td:first-child {
  position: sticky; left: 0; background: var(--paper); z-index: 1;
}
.spec .is-diff th, .spec .is-diff td { background: var(--diff); }
.diff-mark { display: block; font-size: 0.75rem; font-weight: 500; color: var(--mark); }
.catalog td:first-child, .catalog th:first-child { width: 2.2rem; }
.pair-list, .conclusions, .sources, .plain { padding-left: 1.1rem; }
.rule { background: var(--paper); border-left: 3px solid var(--mark); padding: 8px 12px; }
.pick-bar {
  position: sticky; bottom: 12px; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; background: var(--header); color: #fff; padding: 10px 14px; margin-top: 12px;
}
.pick-bar .btn { background: #e2a15a; color: #1b1914; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: inherit; }
.prices { margin-top: 8px; }
.ad { margin: 16px 0; padding: 8px; border: 1px dashed var(--line); }
.ad-label { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; background: #ebe4d8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.footer-title { font-weight: 700; margin: 0 0 6px; }
.cookie { position: sticky; bottom: 0; background: var(--header); color: #f6f3ec; }
.cookie a { color: #f3d7b0; }
.cookie-inner { width: min(1080px, calc(100% - 32px)); margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 0; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { background: #f3efe6; color: var(--ink); }
.cookie .btn-ghost { background: transparent; color: #f6f3ec; border-color: #8ea197; }
.prose { max-width: 44rem; }
@media (max-width: 800px) {
  .cards, .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  .cookie-inner, .header-inner { flex-direction: column; align-items: flex-start; }
}
