/* ---------- Police (copie locale : aucune requête vers Google) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('vendor/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Thème ---------- */
:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-2: #f1f1f4;
  --ink: #16161a;
  --ink-2: #55555f;
  --line: #e3e3e8;
  --line-strong: #cfcfd6;
  --brand: #d0353b;
  --brand-hover: #b72d33;
  --brand-ink: #b42a30;
  --brand-soft: #fdeeee;
  --ok: #1f7a45;
  --ok-soft: #e7f4ec;
  --err: #b42318;
  --err-soft: #fdecea;
  --warn-bg: #fff7e0;
  --warn-ink: #6b4a00;
  --focus: #2563eb;
  --shadow: 0 1px 2px rgba(16, 16, 24, .05), 0 8px 24px -12px rgba(16, 16, 24, .12);
  --radius: 16px;
  --radius-sm: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f12;
    --surface: #18181c;
    --surface-2: #222228;
    --ink: #f3f3f5;
    --ink-2: #a9a9b4;
    --line: #2c2c33;
    --line-strong: #3d3d46;
    --brand-ink: #ff8a8e;
    --brand-soft: #3a1a1c;
    --ok: #5bd08c;
    --ok-soft: #15301f;
    --err: #ff8a80;
    --err-soft: #3a1a18;
    --warn-bg: #3a2f12;
    --warn-ink: #f3d27a;
    --focus: #7aa7ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Barre du haut ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.2px; }
.brand-mark { width: 30px; height: 30px; color: var(--brand); stroke: none; }
.trust { display: flex; gap: 18px; list-style: none; padding: 0; font-size: 14px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.5; }

/* ---------- Héros ---------- */
.hero { text-align: center; padding: 56px 0 32px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -1.2px; max-width: 720px; margin: 0 auto; text-wrap: balance; }
.lead { margin-top: 14px; font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2); max-width: 560px; margin-inline: auto; text-wrap: balance; }

/* ---------- Alerte ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; background: var(--warn-bg); color: var(--warn-ink); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 15px; }
.alert svg { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px var(--brand); }
.btn-primary:not(:disabled):hover { background: var(--brand-hover); }
.btn-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:not(:disabled):hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:not(:disabled):hover { color: var(--ink); background: var(--surface-2); }
.btn.is-busy { pointer-events: none; }
.btn.is-busy svg { display: none; }
.btn.is-busy::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.small-tag { font-size: 12px; font-weight: 500; opacity: .7; }

/* ---------- Zone de dépôt ---------- */
.drop {
  position: relative; text-align: center; cursor: pointer;
  background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius);
  padding: 48px 24px 40px; box-shadow: var(--shadow);
  transition: border-color .2s, background-color .2s;
}
.drop:hover { border-color: var(--brand); }
.drop.is-over { border-color: var(--brand); background: var(--brand-soft); border-style: solid; }
.drop-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; margin: 0 auto 16px; }
.drop-icon svg { width: 30px; height: 30px; }
.drop h2 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.drop .muted { margin: 6px 0 14px; font-size: 14px; }
.hint { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.formats li { font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }

/* ---------- Liste des fichiers ---------- */
.panel { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.count { font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); padding: 1px 9px; border-radius: 999px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.list { list-style: none; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.item {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid transparent; background: var(--surface);
  transition: background-color .15s, border-color .15s;
}
.item:hover { background: var(--surface-2); }
.item.is-dragging { opacity: .4; }
.item.drop-before { box-shadow: inset 0 3px 0 var(--brand); }
.item.drop-after { box-shadow: inset 0 -3px 0 var(--brand); }
.item[draggable="true"] { cursor: grab; }

.handle { color: var(--line-strong); display: grid; place-items: center; width: 16px; }
.handle svg { width: 16px; height: 16px; stroke: none; fill: currentColor; }
.item:not([draggable="true"]) .handle { visibility: hidden; }

.thumb {
  flex: none; width: 52px; height: 68px; border-radius: 6px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-2);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: #fff; display: block; }
.thumb a { display: block; width: 100%; height: 100%; }
.item.is-error .thumb { background: var(--err-soft); color: var(--err); border-color: transparent; }

.info { flex: 1; min-width: 0; }
.name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.badge svg { width: 12px; height: 12px; stroke-width: 3; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-err { background: var(--err-soft); color: var(--err); }
.badge-wait { background: var(--surface-2); color: var(--ink-2); }

.progress { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; max-width: 280px; }
.progress-fill { height: 100%; background: var(--brand); border-radius: inherit; transition: width .2s; }

.merge-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.merge-name label { font-weight: 600; color: var(--ink-2); }
.merge-name-field { display: flex; align-items: center; flex: 1; min-width: 200px; max-width: 360px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); overflow: hidden; }
.merge-name-field:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.merge-name-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 9px 12px; outline: none; }
.merge-name-field span { padding: 0 12px 0 2px; color: var(--ink-2); }

.notice { display: flex; align-items: center; gap: 12px; margin: 12px 12px 0; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--err-soft); color: var(--err); font-size: 14px; font-weight: 500; }
.notice > svg { width: 20px; height: 20px; }
.notice p { flex: 1; }
.notice .icon-btn { color: inherit; }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.spinner-sm { width: 12px; height: 12px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.item-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:not(:disabled):hover { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn.danger:not(:disabled):hover { color: var(--err); }
.btn-dl { min-height: 38px; padding: 0 14px; font-size: 14px; margin-left: 6px; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn-pages { margin: 0 4px; }
.btn-pages svg { width: 16px; height: 16px; }

/* ---------- Extraction de pages ---------- */
.split {
  width: min(920px, calc(100% - 32px)); max-width: none; height: min(760px, calc(100vh - 32px)); max-height: none;
  margin: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .45); overflow: hidden;
}
.split[open] { display: flex; flex-direction: column; }
.split::backdrop { background: rgba(10, 10, 14, .55); }
.split-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 16px 8px 20px; }
.split-head h2 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.split-head .muted { overflow-wrap: anywhere; }
.split-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 4px 20px 0; font-size: 14px; }
.split-status { padding: 10px 20px 0; font-size: 14px; font-weight: 600; }
.range-err { color: var(--err); font-weight: 500; }
.split-tip { padding: 2px 20px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.split-notice { margin: 12px 20px 0; padding: 10px 16px; }

.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.segmented input[value="drop"]:checked + span { color: var(--err); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }

.range-field { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.range-field label { font-weight: 600; color: var(--ink-2); }
.range-field input {
  width: 150px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  color: var(--ink); font: inherit; padding: 6px 10px;
}
.range-field input[aria-invalid="true"] { border-color: var(--err); }

.pages {
  flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 16px 20px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); align-content: start; gap: 12px;
  background: var(--surface-2);
}
.tile { position: relative; display: flex; flex-direction: column; border: 2px solid transparent; border-radius: 12px; transition: background-color .15s, border-color .15s; }
.tile:hover { background: var(--surface); }
.tile[draggable="true"] { cursor: grab; }
.tile.is-dragging { opacity: .4; }
.tile.drop-before { box-shadow: -4px 0 0 var(--brand); }
.tile.drop-after { box-shadow: 4px 0 0 var(--brand); }
.page {
  position: relative; width: 100%; display: block; padding: 8px 8px 0;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
}
.tile-bar { display: flex; align-items: center; gap: 2px; padding: 2px 4px 4px 10px; }
.tile-bar .page-num { margin-right: auto; }
.rot-tag { font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 0 6px; border-radius: 999px; margin-right: 2px; }
.icon-sm { width: 30px; height: 30px; border-radius: 8px; }
.icon-sm svg { width: 15px; height: 15px; }
.page-img {
  width: 100%; aspect-ratio: 1 / 1.414; display: grid; place-items: center; overflow: hidden;
  background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(0, 0, 0, .08);
}
.page-img canvas { width: 100%; height: 100%; object-fit: contain; display: block; }
.page-num { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.page-check {
  position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong); color: transparent;
}
.page-check svg { width: 14px; height: 14px; stroke-width: 3; }
.tile.is-on { border-color: var(--brand); background: var(--brand-soft); }
.tile.is-on .page-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.tile.is-on .page-num { color: var(--brand-ink); }
/* Mode « supprimer » : les pages cochées sont barrées et pâlies. */
.pages.mode-drop .tile.is-on { border-color: var(--err); background: var(--err-soft); }
.pages.mode-drop .tile.is-on .page-img { opacity: .35; }
.pages.mode-drop .tile.is-on .page-check { background: var(--err); border-color: var(--err); }
.pages.mode-drop .tile.is-on .page-num { color: var(--err); text-decoration: line-through; }

.split-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; }
.split-foot label { font-weight: 600; color: var(--ink-2); }
.split-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

/* Agrandissement d'une page, par-dessus la fenêtre. */
.zoom { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: var(--surface); }
.zoom-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.zoom-body { flex: 1; min-height: 0; overflow: auto; padding: 20px; background: var(--surface-2); display: grid; place-items: center; }
.zoom-body canvas { max-width: 100%; height: auto; background: #fff; box-shadow: 0 4px 24px rgba(0, 0, 0, .25); border-radius: 4px; }

/* ---------- Fonctionnalités ---------- */
.features { margin: 56px 0 32px; }
.features h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; text-align: center; margin-bottom: 20px; }
.feature-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 12px; }
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; font-weight: 700; }
.feature p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ---------- Pied de page ---------- */
.footer { margin-top: auto; border-top: 1px solid var(--line); padding: 20px 0; font-size: 14px; color: var(--ink-2); }
.footer p { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.footer svg { width: 16px; height: 16px; }
.footer-links { margin-top: 8px; }
.footer a { color: var(--ink-2); text-underline-offset: 3px; }
.footer a:hover { color: var(--ink); }

/* ---------- Connexion ---------- */
.login-page { justify-content: center; align-items: center; padding: 24px 16px; }
.login {
  width: 100%; max-width: 380px; text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 28px 28px;
}
.login-mark { width: 52px; height: 52px; color: var(--brand); stroke: none; margin-bottom: 12px; }
.login h1 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.login > .muted { margin-top: 4px; font-size: 15px; }
.login-error { margin: 18px 0 0; padding: 10px 14px; justify-content: center; }
.login-form { display: grid; gap: 10px; margin-top: 22px; text-align: left; }
.login-form label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.login-form input {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px;
}
.login-form .btn { margin-top: 6px; width: 100%; }
.login-note { margin-top: 16px; }
.logout { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.logout:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- Page de texte (mentions légales) ---------- */
.legal { max-width: 720px; padding: 48px 20px 56px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.back:hover { color: var(--ink); }
.back svg { width: 16px; height: 16px; }
.legal h1 { font-size: clamp(28px, 4.5vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.legal .updated { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.legal .summary { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.legal .summary h2 { margin-top: 0; font-size: 16px; }
.legal .summary ul { margin-top: 10px; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; margin-top: 40px; }
.legal h3 { font-size: 16px; font-weight: 700; margin-top: 20px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.legal p { margin-top: 10px; }
.legal ul { margin-top: 10px; padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--brand-ink); text-underline-offset: 3px; }
.legal mark { background: var(--warn-bg); color: var(--warn-ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .trust { display: none; }
  .hero { padding: 36px 0 24px; }
  .drop { padding: 36px 16px 32px; }
  .panel-actions { width: 100%; }
  .panel-actions .btn { flex: 1; }
  .panel-actions .btn-ghost { flex: 0 0 100%; order: 3; }
  .features { margin-top: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .item { flex-wrap: wrap; gap: 10px 12px; }
  .handle { display: none; }
  .info { flex-basis: calc(100% - 70px); }
  .item-actions { width: 100%; justify-content: flex-end; }
  /* Sur téléphone, toute la fenêtre défile : la grille des pages garde de la place. */
  .split { width: calc(100% - 16px); height: calc(100vh - 16px); }
  .split[open] { display: block; overflow-y: auto; }
  .pages { overflow: visible; min-height: 0; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); padding: 12px; gap: 8px; }
  .split-head { position: sticky; top: 0; background: var(--surface); z-index: 1; }
  .segmented { width: 100%; }
  .segmented label { flex: 1; min-width: 0; text-align: center; }
  .segmented span { white-space: normal; padding: 6px 8px; }
  .zoom { position: fixed; inset: 8px; border-radius: var(--radius); }
  .split-foot .merge-name-field { max-width: none; }
  .split-actions { width: 100%; }
  .split-actions .btn { flex: 1 0 100%; }
  .range-field { margin-right: 0; width: 100%; }
  .range-field input { flex: 1; }
  .split-tip { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .spinner, .btn.is-busy::before { animation: spin 1.6s linear infinite !important; }
}
