/* The blind-test vote (/blindtest, /en/blindtest). Its own sheet: tokens, light and dark. */
:root {
  --bg: #fbfaf7; --ink: #0b0b0c; --muted: #4a4f57; --line: #e4e2dc; --card: #ffffff;
  --sky: #e8f4fd; --sky-ink: #0b4a75; --bar: #0b4a75; --bar-soft: #d6e8f5; --ok: #0f6b3f; --ok-bg: #e7f6ee;
  --warn: #8a4b00; --focus: #1167b1; --btn: #0b0b0c; --btn-ink: #ffffff; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117; --ink: #f2f4f7; --muted: #b3bac4; --line: #2a313b; --card: #121820;
    --sky: #10233a; --sky-ink: #bfe0fb; --bar: #7cc1ff; --bar-soft: #1a2d42; --ok: #7ddfa8; --ok-bg: #0f2a1c;
    --warn: #ffc27a; --focus: #7cc1ff; --btn: #f2f4f7; --btn-ink: #0b0b0c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1117; --ink: #f2f4f7; --muted: #b3bac4; --line: #2a313b; --card: #121820;
  --sky: #10233a; --sky-ink: #bfe0fb; --bar: #7cc1ff; --bar-soft: #1a2d42; --ok: #7ddfa8; --ok-bg: #0f2a1c;
  --warn: #ffc27a; --focus: #7cc1ff; --btn: #f2f4f7; --btn-ink: #0b0b0c; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--ll-font, "Heebo", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: var(--ll-font-en, "Inter", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif); }
a { color: var(--sky-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 5; }
.skip:focus { top: 12px; }
.top, main, footer { max-width: 680px; margin: 0 auto; padding-inline: 16px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.top a { color: var(--ink); text-decoration: none; font-weight: 700; }
.top .brand { font-weight: 800; letter-spacing: -0.01em; }
.top .lang { font-weight: 600; color: var(--muted); font-size: 15px; }
h1, h2 { text-wrap: balance; letter-spacing: -0.02em; margin: 0; }
p, li { text-wrap: pretty; }
.hero { padding: 36px 0 6px; }
.eyebrow { display: inline-block; background: var(--sky); color: var(--sky-ink); font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 0 0 14px; }
h1 { font-weight: 800; font-size: clamp(28px, 6.4vw, 42px); line-height: 1.18; }
.sub { font-size: 19px; color: var(--muted); margin: 12px 0 0; }
.facts { margin: 26px 0 0; }
.facts ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: fact; }
.facts li { position: relative; padding-inline-start: 44px; counter-increment: fact; }
.facts li::before {
  content: counter(fact); position: absolute; inset-inline-start: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 15px;
}
.facts strong { display: block; }
.rule { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; margin: 26px 0 0; }
.card h2 { font-size: 22px; margin-bottom: 14px; }
.vote { border-color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 12px 32px -20px rgba(0,0,0,.25); }
.choices { display: grid; gap: 10px; }
@media (min-width: 620px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choices button, .btn, .after button[type="submit"] {
  font: inherit; font-weight: 700; min-height: 54px; padding: 12px 16px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); text-align: center; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s ease, color .15s ease, transform .1s ease;
}
.choices button:hover:not(:disabled) { background: var(--sky); }
.choices button:active:not(:disabled) { transform: scale(.98); }
.choices button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.choices button:disabled { cursor: default; opacity: .62; }
.choices button[aria-pressed="true"]:disabled { opacity: 1; }
.btn, .after button[type="submit"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.note { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.note.warn { color: var(--warn); font-weight: 600; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.results { margin: 18px 0 0; }
.results .mine { margin: 0 0 12px; font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.bars .label { font-weight: 600; }
.bars .pct { font-weight: 800; font-size: 18px; }
.bars .track { grid-column: 1 / -1; height: 12px; border-radius: 999px; background: var(--bar-soft); overflow: hidden; }
.bars .fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--bar); opacity: .55; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bars li.is-mine .fill { opacity: 1; }
.bars li.is-mine .label::after { content: " ✓"; }
.results .total { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.after form { display: grid; gap: 10px; }
.after label { font-weight: 600; }
.after input[type="text"] { font: inherit; width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.after input[type="text"]:focus { border-color: var(--focus); outline: none; }
.after .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin-top: 6px; cursor: pointer; }
.after .check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.hint { color: var(--muted); font-size: 14px; margin: 0; }
.saved { margin: 0; font-weight: 600; color: var(--ok); min-height: 1.5em; }
.saved.warn { color: var(--warn); }
.report p, .share p { margin: 0 0 14px; color: var(--muted); }
.share .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .share .row { grid-template-columns: repeat(4, 1fr); } }
.share .row button { font: inherit; font-weight: 700; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.share .row button:hover { border-color: var(--ink); }
.share .copied { margin: 10px 0 0; min-height: 1.4em; color: var(--ok); font-weight: 600; font-size: 15px; }
details.how { margin: 26px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
details.how summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
details.how ul { margin: 10px 0 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--muted); }
.verify { margin: 18px 0 0; }
footer { margin: 34px auto 0; padding-block: 22px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 0 0 6px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .bars .fill, .choices button { transition: none; } }
/* Search and answer engines read the page as plain HTML: the date, the questions and the table. */
.updated { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.faq { margin: 34px 0 0; display: grid; gap: 22px; }
.qa h2 { font-size: 20px; margin: 0 0 8px; }
.qa p { margin: 0; color: var(--ink); }
.table-wrap { margin: 28px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.facts-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.facts-table caption { text-align: start; font-weight: 800; font-size: 18px; padding: 0 0 10px; }
.facts-table th, .facts-table td { text-align: start; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.facts-table thead th { border-top: 0; background: var(--sky); color: var(--sky-ink); font-size: 14px; }
.facts-table tbody th { font-weight: 700; white-space: nowrap; width: 1%; }
