/* =========================================================
   Présidentielle 2027 · Comparateur de programmes
   Feuille de style — aucune dépendance
   ========================================================= */

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #f5f6fa;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --border: #e2e5ee;
  --text: #15192b;
  --text-muted: #5b6275;
  --text-faint: #8b91a3;
  --accent: #0b3d91;
  --accent-contrast: #ffffff;
  --accent-soft: #e3ebfa;
  --danger: #c0392b;
  --ok: #1e8e5a;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 25, 45, .06), 0 8px 24px -12px rgba(20, 25, 45, .18);
  --shadow-lg: 0 2px 4px rgba(20, 25, 45, .08), 0 20px 40px -20px rgba(20, 25, 45, .3);

  --wrap: 1240px;
  --gutter: 16px;
}

:root[data-theme="dark"] {
  --bg: #0f1220;
  --bg-alt: #141829;
  --surface: #181d31;
  --surface-2: #202640;
  --border: #2a3150;
  --text: #eef0f8;
  --text-muted: #a9afc4;
  --text-faint: #7b819a;
  --accent: #7aa2ff;
  --accent-contrast: #0b1020;
  --accent-soft: #1d2a4d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 20px 40px -20px rgba(0, 0, 0, .7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1220;
    --bg-alt: #141829;
    --surface: #181d31;
    --surface-2: #202640;
    --border: #2a3150;
    --text: #eef0f8;
    --text-muted: #a9afc4;
    --text-faint: #7b819a;
    --accent: #7aa2ff;
    --accent-contrast: #0b1020;
    --accent-soft: #1d2a4d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 20px 40px -20px rgba(0, 0, 0, .7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__flag {
  width: 28px; height: 20px; border-radius: 4px; flex: none;
  background: linear-gradient(90deg, #0055A4 0 33.3%, #fff 33.3% 66.6%, #EF4135 66.6%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-weight: 800; font-size: 1rem; }
.brand__text small { color: var(--text-muted); font-size: .72rem; }
.topnav { display: none; gap: 20px; margin-left: 20px; }
.topnav a { color: var(--text-muted); font-weight: 500; font-size: .93rem; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.refresh-status {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  font-size: .85rem; color: var(--text-muted); min-height: 0;
  transition: all .2s;
}
.refresh-status:not(:empty) { padding-bottom: 8px; }
.refresh-status.is-ok { color: var(--ok); }
.refresh-status.is-error { color: var(--danger); }

@media (min-width: 900px) { .topnav { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 6px 16px -8px var(--accent); }
.btn--primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-faint); text-decoration: none; }
.btn--icon { width: 42px; height: 42px; padding: 0; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary.is-loading .icon { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon--moon { display: none; }
:root[data-theme="dark"] .icon--moon { display: block; }
:root[data-theme="dark"] .icon--sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon--moon { display: block; }
  :root:not([data-theme="light"]) .icon--sun { display: none; }
}
@media (max-width: 560px) {
  #btn-refresh span { display: none; }
  #btn-refresh { width: 42px; height: 42px; padding: 0; }
}

.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: .85rem; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(0, 85, 164, .14), transparent 60%),
    radial-gradient(600px 300px at 90% 10%, rgba(239, 65, 53, .12), transparent 60%);
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; }
.hero__accent { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 720px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section__sub { color: var(--text-muted); margin: 0; max-width: 680px; }
.section__meta { display: flex; gap: 8px; }
.note { font-size: .85rem; color: var(--text-muted); margin-top: 16px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: .86rem;
  cursor: pointer; transition: all .15s ease; line-height: 1.2;
}
.chip:hover { border-color: var(--text-faint); }
.chip.is-active { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.chip--muted { background: var(--surface-2); color: var(--text-muted); cursor: default; font-weight: 500; }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, #999); flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset; }
.chip--cand { padding-left: 9px; }
.chip--cand.is-active { background: var(--c); border-color: var(--c); color: var(--ct, #fff); }
.chip--cand.is-active .chip__dot { background: var(--ct, #fff); opacity: .8; }
.chip--cand.is-off { opacity: .55; }

/* ---------- Filters ---------- */
.filters { display: grid; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 24px; }
.filters__row { display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; align-items: start; }
.filters__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--text-faint); padding-top: 8px; }
.filters__tools { grid-column: 2; display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text-faint); }
@media (max-width: 640px) {
  .filters__row { grid-template-columns: 1fr; }
  .filters__tools { grid-column: 1; }
  .filters__label { padding-top: 0; }
}

.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.segmented__btn { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--text-muted); }
.segmented__btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.segmented--small .segmented__btn { padding: 5px 11px; font-size: .82rem; }

/* ---------- Polls ---------- */
.sources-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.sources-bar .filters__label { padding-top: 0; white-space: nowrap; }
.chip--src { padding: 6px 11px 6px 8px; font-size: .82rem; }
.chip--src small { font-weight: 500; opacity: .8; }
.chip--src.is-off { opacity: .55; text-decoration: line-through; text-decoration-color: var(--text-faint); }
.chip--src .chip__check { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font-size: .7rem; font-weight: 800; background: rgba(255,255,255,.25); }
.chip--src.is-off .chip__check { background: var(--surface-2); color: var(--text-faint); }
.chip--live { color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.chip--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.table--polls .is-excluded { opacity: .45; text-decoration: line-through; text-decoration-color: var(--text-faint); }
.sources-live { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); list-style: none; margin-left: -18px; }
.polls { display: grid; gap: 10px; }
.poll-row {
  display: grid; grid-template-columns: 44px minmax(140px, 190px) 1fr 96px; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.poll-row:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.poll-row.is-nodata { opacity: .7; }
.poll-row__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: var(--ct, #fff); font-weight: 800; font-size: .8rem; letter-spacing: .02em;
}
.poll-row__who { min-width: 0; }
.poll-row__name { font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poll-row__party { font-size: .78rem; color: var(--text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poll-row__bar { position: relative; height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.poll-row__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: var(--c); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.poll-row__range { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(0,0,0,.18) 0 3px, transparent 3px 6px); opacity: .5; }
.poll-row__value { font-weight: 800; font-size: 1.15rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.poll-row__value small { display: block; font-size: .68rem; font-weight: 500; color: var(--text-faint); white-space: nowrap; }
.poll-row__nodata { font-size: .8rem; color: var(--text-faint); font-style: italic; }
.hyp { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; text-decoration: none; cursor: help; vertical-align: middle; }
.poll-row.is-hyp .poll-row__fill { opacity: .7; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.25) 0 4px, transparent 4px 8px); }
@media (max-width: 640px) {
  .poll-row { grid-template-columns: 36px 1fr 86px; grid-template-areas: "avatar who value" "avatar bar bar"; gap: 6px 10px; }
  .poll-row__avatar { grid-area: avatar; width: 36px; height: 36px; font-size: .7rem; }
  .poll-row__who { grid-area: who; }
  .poll-row__bar { grid-area: bar; height: 10px; }
  .poll-row__value { grid-area: value; font-size: 1rem; }
}
.polls__details { margin-top: 18px; }
.polls__details summary { cursor: pointer; font-weight: 600; color: var(--accent); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); position: sticky; top: 0; z-index: 1; }
.table tbody tr:last-child td { border-bottom: 0; }
.table--polls td:not(:first-child), .table--polls th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.table--polls td.is-avg, .table--polls th.is-avg { font-weight: 800; background: var(--accent-soft); }
.table--polls .who { display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* Compare table */
.table-scroll--compare { max-height: 80vh; }
.table--compare { min-width: 900px; }
.table--compare th.col-cand { min-width: 220px; color: var(--ct, #fff); background: var(--c); text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 800; }
.table--compare th.col-cand small { display: block; font-weight: 500; opacity: .9; font-size: .75rem; }
.table--compare th.col-theme { position: sticky; left: 0; z-index: 2; background: var(--surface-2); min-width: 130px; font-size: .85rem; color: var(--text); text-transform: none; letter-spacing: 0; }
.table--compare thead th.col-theme { z-index: 3; }
.table--compare td { font-size: .85rem; }
.table--compare td .t { font-weight: 700; display: block; margin-bottom: 4px; border-left: 3px solid var(--c); padding-left: 8px; }
.table--compare td ul { margin: 0; padding-left: 18px; color: var(--text-muted); }
.table--compare td li { margin: 2px 0; }

/* Synthesis matrix */
.table-scroll--matrix { max-height: 85vh; }
.table--matrix { border-collapse: separate; border-spacing: 0; }
.table--matrix th, .table--matrix td { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.table--matrix th:last-child, .table--matrix td:last-child { border-right: 0; }
.table--matrix thead th.col-cand {
  min-width: 170px; max-width: 220px; text-align: center; vertical-align: middle;
  background: var(--c); color: var(--ct, #fff); text-transform: none; letter-spacing: 0; padding: 12px 10px;
  background-image: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.08));
}
.table--matrix thead th.col-cand .mx-avatar {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.55); font-weight: 800; font-size: .72rem; margin-bottom: 4px;
}
.table--matrix thead th.col-cand .mx-name { display: block; font-weight: 800; font-size: .92rem; line-height: 1.15; }
.table--matrix thead th.col-cand small { display: block; font-weight: 500; font-size: .72rem; opacity: .92; margin-top: 2px; }
.table--matrix .col-theme {
  position: sticky; left: 0; z-index: 2; background: var(--surface-2); min-width: 128px;
  font-size: .85rem; font-weight: 700; color: var(--text); text-transform: none; letter-spacing: 0; vertical-align: middle;
  box-shadow: 2px 0 0 var(--border);
}
.table--matrix thead th.col-theme { z-index: 3; }
.table--matrix .mx-icon { margin-right: 4px; }
.table--matrix td { padding: 0; vertical-align: top; }
.mx-cell {
  display: flex; align-items: flex-start; gap: 8px; width: 100%; text-align: left;
  background: none; border: 0; padding: 10px 10px 10px 12px; cursor: pointer; color: inherit;
  border-left: 3px solid var(--c); transition: background .12s ease;
}
.mx-cell:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.mx-cell.is-open { background: color-mix(in srgb, var(--c) 10%, transparent); }
.mx-title { flex: 1; font-size: .84rem; font-weight: 600; line-height: 1.3; }
.mx-more { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--text-faint); border: 1px solid var(--border); background: var(--surface); }
.mx-points { margin: 0; padding: 0 12px 12px 28px; font-size: .8rem; color: var(--text-muted); border-left: 3px solid var(--c); }
.mx-points li { margin: 3px 0; }
.mx-empty { display: block; padding: 10px 12px; font-size: .8rem; color: var(--text-faint); border-left: 3px solid var(--border); }
@media (max-width: 640px) {
  .table--matrix thead th.col-cand { min-width: 150px; }
  .table--matrix .col-theme { min-width: 104px; font-size: .78rem; }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.cards.is-empty::after { content: "Aucun candidat sélectionné."; grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--text-faint); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card__head {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
  padding: 16px 16px 12px; background: var(--c); color: var(--ct, #fff);
  background-image: linear-gradient(135deg, rgba(255,255,255,.14), rgba(0,0,0,.08));
}
.card__avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; font-size: .85rem; border: 2px solid rgba(255,255,255,.5); }
.card__name { margin: 0; font-size: 1.12rem; font-weight: 800; color: inherit; }
.card__party { margin: 0; font-size: .8rem; opacity: .92; }
.card__poll { text-align: right; line-height: 1; }
.card__poll-value { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; display: block; }
.card__poll-value.is-na { font-size: .8rem; font-weight: 600; opacity: .85; max-width: 90px; line-height: 1.2; }
.card__poll-label { font-size: .68rem; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.card__badges { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.badge--bloc { background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--text); border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }
.card__body { padding: 12px 16px 6px; flex: 1; display: grid; gap: 12px; }
.theme-block { border-top: 1px solid var(--border); padding-top: 10px; }
.theme-block:first-child { border-top: 0; padding-top: 0; }
.theme-block__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.theme-block__icon { font-size: 1rem; }
.theme-block__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--text-faint); }
.theme-block__title { font-weight: 700; margin: 0 0 6px; border-left: 3px solid var(--c); padding-left: 10px; line-height: 1.3; }
.theme-block ul { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: .9rem; }
.theme-block li { margin: 3px 0; }
.theme-block--single .theme-block__title { font-size: 1.05rem; }
.theme-block--single ul { font-size: .95rem; }
.theme-block--empty { color: var(--text-faint); font-style: italic; font-size: .9rem; }
.card__foot { padding: 10px 16px 14px; font-size: .78rem; color: var(--text-faint); border-top: 1px dashed var(--border); margin-top: 6px; }
.card__foot a { font-weight: 600; }

/* Collapsible "all themes" blocks on cards */
.theme-block details summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.theme-block details summary::-webkit-details-marker { display: none; }
.theme-block details summary::after { content: "+"; margin-left: auto; color: var(--text-faint); font-weight: 700; }
.theme-block details[open] summary::after { content: "–"; }
.theme-block details .theme-block__title { margin: 0; flex: 1; font-size: .92rem; }

/* ---------- Sources ---------- */
.sources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card-plain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card-plain ul { padding-left: 18px; color: var(--text-muted); font-size: .92rem; }
.card-plain li { margin: 4px 0; }

/* ---------- Footer ---------- */
.footer { padding: 28px 0 40px; color: var(--text-faint); font-size: .82rem; text-align: center; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .hero__cta, .filters, .segmented, .footer { display: none !important; }
  .card { break-inside: avoid; box-shadow: none; }
  body { background: #fff; }
}
