/* ===== Design proposal 2026-10 – editorial, hand-made, fast =====
   Fonts: self-hosted, SIL Open Font License 1.1 (see /fonts/OFL.txt). No external requests. */
@font-face { font-family: "Head"; src: url("/fonts/fraunces.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Body"; src: url("/fonts/publicsans.woff") format("woff"); font-weight: 400 700; font-display: swap; }


:root {
  --paper: #f6f2e9;
  --surface: #fffdf7;
  --ink: #23221d;
  --ink-2: #3b3932;
  --muted: #6a6457;
  --rule: #e0d7c4;
  --accent: #3e5b3b;
  --accent-soft: #dfe7d6;
  --clay: #9c4f25;
  --link: #335032;
  --btn: #3e5b3b;
  --btn-hover: #2d452b;
  --btn-ink: #fffdf7;
  --ok: #3f6a37;
  --warn: #8f5a12;
  --footer-bg: #2b3327;
  --footer-ink: #f1ece0;
  --footer-muted: #b9b4a5;
  --footer-accent: #c9d8b6;
  --radius: 4px;
  --max: 42rem;
  --wide: 68rem;
  --font-head: "Head", Georgia, "Times New Roman", serif;
  --font-body: "Body", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }

h1, h2, h3, .brand { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 2.9rem); line-height: 1.08; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.7rem); line-height: 1.2; margin: 2.75rem 0 .8rem; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; margin: 1.6rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin: .3rem 0; }
strong { font-weight: 650; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.15rem 3.5rem; }

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 20;
}
.site-header .inner {
  max-width: var(--wide); margin: 0 auto; padding: .7rem 1.15rem;
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap;
}
.brand { font-size: 1.3rem; font-weight: 700; text-decoration: none; flex-shrink: 0; letter-spacing: -.02em; }
.brand span { color: var(--accent); font-weight: 400; }
.site-nav {
  display: flex; align-items: center; gap: 1.35rem; flex: 1 1 auto; justify-content: flex-end;
  overflow-x: auto; white-space: nowrap; min-width: 0; scrollbar-width: none; font-size: .95rem;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--muted); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.site-header .inner > a.lang {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; margin: -.5rem -.35rem -.5rem 0; padding: 0 .35rem 0 .9rem;
  border-left: 1px solid var(--rule); font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  color: var(--muted); text-decoration: none;
}
.site-header .inner > a.lang:hover { color: var(--ink); }
@media (max-width: 640px) {
  .site-header .inner { gap: .9rem; padding: .55rem 1rem; }
  .brand { font-size: 1.15rem; }
  .site-nav { justify-content: flex-start; gap: 1rem; font-size: .9rem;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

/* ---------- article head ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 2rem 0 .9rem; letter-spacing: .01em; }
.breadcrumb a { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 1.25rem; }
.meta-bar {
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .85rem; color: var(--muted);
  padding: .6rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 0 1.75rem;
}
.author-line { font-size: .9rem; color: var(--muted); margin: .3rem 0 1rem; }

figure.photo { margin: 1.75rem 0 2rem; }
figure.photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); background: var(--rule); }
figure.photo figcaption { font-size: .78rem; color: var(--muted); margin-top: .45rem; }
figure.photo figcaption a { color: var(--muted); }
@media (min-width: 900px) {
  main.wrap > figure.photo:first-of-type { margin-left: -4rem; margin-right: -4rem; }
}

/* ---------- quick picks: a numbered shortlist, not three identical cards ---------- */
.quick-picks { counter-reset: pick; display: grid; gap: 0; margin: 1rem 0 2rem; border-top: 2px solid var(--ink); }
.pick, a.pick {
  counter-increment: pick; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .5rem;
  padding: .95rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; background: none;
}
.pick::before {
  content: counter(pick); grid-row: 1 / span 3; font-family: var(--font-head); font-size: 1.7rem; line-height: 1; color: var(--accent);
}
.pick .label {
  font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--clay); margin-bottom: .15rem;
}
.pick strong { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pick p { margin: .2rem 0 0; font-size: .95rem; color: var(--muted); }
a.pick:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

/* ---------- field notes / lists ---------- */
.field-notes { padding-left: 0; list-style: none; }
.field-notes li { position: relative; padding-left: 1.4rem; margin: .8rem 0; }
.field-notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 2px; background: var(--clay); }
.list-clean { margin: 0; padding-left: 1.1rem; }

.note { font-size: .95rem; color: var(--ink-2); border-left: 3px solid var(--clay); padding: .1rem 0 .1rem .9rem; margin: 1.25rem 0; }

/* ---------- tables: fit the text column, stacked cards on phones (never a horizontal scrollbar) ---------- */
.table-wrap { margin: 1rem 0 1.75rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .65rem .75rem .65rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; color: var(--muted); line-height: 1.3; }
th:last-child, td:last-child { padding-right: 0; }
tr:last-child td { border-bottom: 0; }
table a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); }
table a:hover { color: var(--link); text-decoration-color: currentColor; }
table.compare { table-layout: auto; font-size: .875rem; line-height: 1.4; }
table.compare th, table.compare td { padding: .6rem .6rem .6rem 0; overflow-wrap: break-word; hyphens: auto; }
table.compare th:last-child, table.compare td:last-child { padding-right: 0; }
table.compare td:first-child { width: 24%; }
table.compare td:first-child strong { overflow-wrap: anywhere; }
table.compare .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.compare .fuel { white-space: normal; font-variant-numeric: tabular-nums; }
table.compare .fuel span { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
table.compare td.price { font-weight: 600; }
@media (min-width: 641px) { table.compare td.short { white-space: nowrap; } }
table.compare tr.win td { background: var(--accent-soft); }
@media (max-width: 640px) {
  .table-wrap { border-bottom: 0; }
  table.compare, table.compare tbody, table.compare tr, table.compare td { display: block; width: auto; }
  table.compare thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  table.compare tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: .55rem 1rem; padding: .9rem 0 1rem; border-bottom: 1px solid var(--rule); }
  table.compare td, table.compare td:first-child { padding: 0; border: 0; width: auto; font-size: .95rem; line-height: 1.35; }
  table.compare td:first-child { grid-column: 1 / -1; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.25; }
  table.compare td.wide { grid-column: 1 / -1; }
  table.compare td[data-label]::before { content: attr(data-label); display: block; margin-bottom: .1rem; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  table.compare .num { white-space: normal; }
  table.compare tr.win { padding-left: .75rem; padding-right: .75rem; background: var(--accent-soft); }
  table.compare tr.win td { background: none; }
}

/* ---------- product boxes ---------- */
article.card[id], .card[id], section[id] { scroll-margin-top: 5.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); padding: 1.25rem 1.25rem .5rem; margin: 1.5rem 0 1.75rem;
}
.card h3 { margin-top: 0; font-size: 1.3rem; }
.card .price-note {
  font-size: .85rem; color: var(--muted); margin: -.1rem 0 1rem; padding-bottom: .75rem; border-bottom: 1px dashed var(--rule);
  font-variant-numeric: tabular-nums;
}
.buy-if, .skip { margin: .9rem 0 0; padding: .1rem 0 .1rem .9rem; font-size: .97rem; background: none; }
.buy-if { border-left: 3px solid var(--ok); }
.skip { border-left: 3px solid var(--warn); }
.buy-if strong { color: var(--ok); }
.skip strong { color: var(--warn); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  background: var(--btn); color: var(--btn-ink) !important; text-decoration: none !important;
  font-weight: 600; font-size: .95rem; padding: .6rem 1.05rem; border-radius: var(--radius);
  transition: background-color .15s ease;
}
.btn::after { content: "\2192"; font-weight: 400; opacity: .8; }
.btn:hover { background: var(--btn-hover); }
.btn-secondary { background: transparent; color: var(--btn) !important; border: 1px solid var(--btn); }

.pros-cons { display: grid; gap: .75rem; margin: .75rem 0 0; }
@media (min-width: 560px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons { border-top: 2px solid var(--rule); padding: .6rem 0; font-size: .95rem; }
.pros h4, .cons h4 { margin: 0 0 .35rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.pros h4 { color: var(--ok); } .cons h4 { color: var(--warn); }
.pros ul, .cons ul, .faq ul { margin: 0; padding-left: 1.1rem; }

/* alternatives */
.alt-grid { display: grid; gap: 0 1.5rem; margin: 1rem 0 1.5rem; }
@media (min-width: 640px) { .alt-grid { grid-template-columns: 1fr 1fr; } }
.alt { border-top: 1px solid var(--rule); padding: .9rem 0; }
.alt h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.alt .when { font-size: .93rem; margin: 0 0 .4rem; }
.alt .when strong { color: var(--ok); }
.alt .trade { font-size: .93rem; color: var(--muted); margin: 0; }
.alt .trade strong { color: var(--warn); }

.toc-mini { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .88rem; margin: 0 0 1rem; }
.toc-mini a { color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding: .85rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .5rem 0 0; color: var(--ink-2); }

/* disclosure */
.disclosure { font-size: .88rem; color: var(--muted); margin: 0 0 1.75rem; }
.disclosure-footer {
  max-width: var(--max); margin: 0 auto 2rem; padding: .9rem 1.15rem 0; border-top: 1px solid var(--rule);
  font-size: .82rem; line-height: 1.5; color: var(--muted); text-align: left; background: none;
}

/* ---------- home ---------- */
.home { max-width: var(--wide); margin: 0 auto; padding: 0 1.15rem 3.5rem; }
.home-hero { display: grid; gap: 1.5rem; padding: 2.25rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.home-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.6rem); max-width: 16ch; }
.home-hero .lead { max-width: 34rem; }
.home-hero figure { margin: 0; }
.home-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.home-hero figcaption { font-size: .75rem; color: var(--muted); margin-top: .4rem; }
.home-hero figcaption a { color: var(--muted); }
@media (min-width: 860px) {
  .home-hero { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: end; padding: 3.5rem 0 3rem; }
  .home-hero figure { margin-bottom: -1.25rem; transform: translateY(1.5rem); }
}
.section-label {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 2.5rem 0 .5rem;
}
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.guide-list li { margin: 0; border-bottom: 1px solid var(--rule); }
.guide-row { display: grid; grid-template-columns: 1fr 6.5rem; gap: 1rem; align-items: start; padding: 1.1rem 0; color: inherit; text-decoration: none; }
.guide-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); grid-column: 2; grid-row: 1; }
.guide-row .txt { grid-column: 1; grid-row: 1; }
.guide-row .tag { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.guide-row h2 { margin: .2rem 0 .35rem; font-size: 1.3rem; line-height: 1.2; }
.guide-row p { margin: 0; color: var(--muted); font-size: .97rem; }
.guide-row:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
@media (min-width: 700px) {
  .guide-row { grid-template-columns: 3rem 1fr 13rem; gap: 1.5rem; padding: 1.5rem 0; }
  .guide-row::before { content: counter(guide, decimal-leading-zero); counter-increment: guide; font-family: var(--font-head); font-size: 1.1rem; color: var(--muted); grid-column: 1; grid-row: 1; padding-top: .15rem; }
  .guide-row .txt { grid-column: 2; }
  .guide-row img { grid-column: 3; aspect-ratio: 16 / 10; }
  .guide-row h2 { font-size: 1.55rem; }
}
.guide-list { counter-reset: guide; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 2.5rem 0 2.25rem; font-size: .92rem; margin-top: 1rem; }
.site-footer .inner { max-width: var(--wide); margin: 0 auto; padding: 0 1.15rem; display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .site-footer .inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: var(--footer-ink); font-size: 1.25rem; }
.site-footer .brand span { color: var(--footer-accent); }
.site-footer h2 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-muted); margin: 0 0 .6rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: var(--footer-ink); text-decoration-color: var(--footer-muted); }
.site-footer p { margin: .5rem 0 0; color: var(--footer-muted); }
.site-footer .inner p { margin: .5rem 0 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- v2: standfirst ---------- */
.standfirst { font-size: clamp(1.25rem, 1.12rem + .55vw, 1.45rem); line-height: 1.42; color: var(--ink); margin: 0 0 1.1rem; max-width: 38rem; text-wrap: pretty; }
.standfirst + .lead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
table.compare td.price span { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; margin-top: .1rem; white-space: normal; }
