
:root {
  /* Layout idea: a ranking sheet. Narrow reading column, one wide comparison table as the centrepiece. */
  --ink: #14172b;
  --paper: #f6f6f9;
  --surface: #ffffff;
  --muted: #5d6178;
  --line: #dcdde6;
  --accent: #c8243b;
  --accent-ink: #ffffff;
  --score: #9a6b00;
  --good: #1e7a4c;
  --bad: #b3261e;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eceef7; --paper: #101222; --surface: #181b30; --muted: #a3a7bf;
    --line: #2c3050; --accent: #ff5a6e; --accent-ink: #14172b; --score: #e8b64a;
    --good: #5fd39a; --bad: #ff8a80; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eceef7; --paper: #101222; --surface: #181b30; --muted: #a3a7bf;
  --line: #2c3050; --accent: #ff5a6e; --accent-ink: #14172b; --score: #e8b64a;
  --good: #5fd39a; --bad: #ff8a80; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.prose { max-width: 66ch; display: grid; gap: 14px; }
section { padding-block: 56px; display: grid; gap: 24px; }
section + section { border-top: 1px solid var(--line); }


.age-bar {
  background: var(--ink); color: var(--paper); font-size: .9rem; padding: 8px 0;
}
.age-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.age-bar button {
  font: inherit; background: transparent; color: inherit; border: 1px solid currentColor;
  border-radius: 6px; padding: 2px 10px; cursor: pointer;
}

header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover { color: var(--accent); }

.hero { padding-block: 48px 40px; display: grid; gap: 18px; }
.byline { color: var(--muted); font-size: .95rem; display: flex; gap: 6px 16px; flex-wrap: wrap; }
.byline strong { color: var(--ink); }

.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.pick {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: grid; gap: 10px; align-content: start;
}
.pick .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.pick .name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.pick .why { color: var(--muted); }
.score { font-family: var(--font-display); font-weight: 800; color: var(--score); font-variant-numeric: tabular-nums; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn {
  display: inline-block; padding: 9px 16px; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-size: .95rem;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.08); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 820px; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 14px 16px; color: var(--muted); font-size: .95rem; caption-side: top; }
th, td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-top: 0; }
tbody th { font-family: var(--font-display); font-size: 1.05rem; }
td.num { text-align: right; }
.rank { color: var(--muted); font-weight: 600; margin-right: 6px; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; border-radius: 99px; padding: 2px 10px; }
.pill.yes { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.pill.part { background: color-mix(in srgb, var(--score) 15%, transparent); color: var(--score); }

.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: grid; gap: 14px; max-width: 640px;
}
.calc-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.calc label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.calc select, .calc input {
  font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); min-width: 140px;
}
.calc output { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc small { color: var(--muted); }

.method { display: grid; gap: 10px; max-width: 720px; }
.method-row { display: grid; grid-template-columns: 1fr 52px; gap: 6px 14px; align-items: center; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.method-row b { font-variant-numeric: tabular-nums; text-align: right; }

.reviews { display: grid; gap: 18px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 12px;
}
.review header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.proscons ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.proscons h4 { margin: 0 0 4px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.pro h4 { color: var(--good); }
.con h4 { color: var(--bad); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.compare-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; }
.compare-box ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { margin-top: 10px; color: var(--muted); max-width: 66ch; }

footer.site { background: var(--ink); color: var(--paper); padding-block: 40px; font-size: .92rem; }
footer.site .wrap { display: grid; gap: 16px; }
footer.site a { color: var(--paper); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.disclosure { max-width: 75ch; opacity: .85; }

.howbox { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; max-width: 75ch; font-size: .98rem; }
.pill.pend { background: color-mix(in srgb, var(--muted) 15%, transparent); color: var(--muted); }
.type { font-size: .85rem; color: var(--muted); display:block; font-family: var(--font-body); font-weight: 400; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); display: grid; gap: 2px; }
.cat:hover { border-color: var(--accent); }
.cat b { font-family: var(--font-display); }
.cat span { color: var(--muted); font-size: .9rem; }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.more article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px; align-content: start; }
.more h3 { font-size: 1.1rem; }
.more p { color: var(--muted); font-size: .95rem; }

.crumbs { font-size: .9rem; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; grid-template-columns: 1fr auto; align-items: center; }
.verdict .big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--score); font-variant-numeric: tabular-nums; line-height: 1; text-align: center; }
.verdict .big small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
@media (max-width: 520px) { .verdict { grid-template-columns: 1fr; } .verdict .big { text-align: left; } }
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts table { min-width: 0; }
.facts th { width: 42%; font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.tbd { color: var(--muted); font-style: italic; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
.toc { position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: .95rem; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink); }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .toc { position: static; } }
.article section { padding-block: 36px; }
.testlog { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 6px; font-size: .95rem; }
.alts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; }
.filters label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.filters .check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.filters select { font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.full table { min-width: 1500px; }
.full th[scope="row"] { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 170px; }
.full thead th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 2; }
.full thead button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; text-transform: inherit; letter-spacing: inherit; }
.full thead button::after { content: " \2195"; opacity: .5; }
.yes-mark { color: var(--good); font-weight: 600; }
.no-mark { color: var(--bad); font-weight: 600; }
.legend { color: var(--muted); font-size: .9rem; }
.site-logo { height: auto; vertical-align: middle; margin-right: 8px; border-radius: 4px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: .9rem; color: var(--muted); }
