/* ConvertirDoc — ink on paper.
   One idea runs through the pages: the dotted line of a form to fill in.
   It links a file to its format, shows progress, and ties a label to its answer. */

@font-face {
  font-family: "Bitter";
  src: url("/static/fonts/bitter-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FBFCFE;
  --sheet: #FFFFFF;
  --wash: #EEF2FA;
  --line: #C9D3EA;
  --ink: #1F3FA3;
  --ink-deep: #172E78;
  --text: #101B3B;
  --muted: #4A5578;
  --marker: #FFE45C;
  --stamp: #B3261E;
  --stamp-wash: #FDECEA;
  --radius: 6px;
  --wrap: 70rem;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Bitter", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 1.0625rem/1.6 var(--body);
}

h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.9rem); line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 1.22rem + 0.9vw, 1.75rem); line-height: 1.2; }
h3 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
a:hover { color: var(--ink-deep); text-decoration-thickness: 0.12em; }
::selection { background: var(--marker); color: var(--text); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--marker);
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--text); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 0.5rem; color: #fff; }

/* the dotted line */
.leader {
  flex: 1 1 2rem;
  min-width: 1.5rem;
  height: 1em;
  position: relative;
  align-self: center;
  background: radial-gradient(circle at 2px 50%, var(--dot, var(--line)) 1.4px, transparent 1.6px) 0 72% / 8px 4px repeat-x;
}
.leader::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: radial-gradient(circle at 2px 50%, var(--ink) 1.4px, transparent 1.6px) 0 72% / 8px 4px repeat-x;
  transition: width 0.35s ease-out;
}

/* ---------------------------------------------------------------- header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.25rem; min-height: 3.75rem; padding-block: 0.4rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; min-height: 2.75rem; }
.logo__word { font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--text); letter-spacing: -0.015em; }
.logo__word b { color: var(--ink); font-weight: 700; }
.nav { display: flex; gap: 0.25rem 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 0.65rem 0.1rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 27rem) {
  .logo__word { font-size: 1.2rem; }
  .nav { gap: 0.25rem 1rem; }
  .nav a[href="/formats"] { display: none; }   /* still one tap away: "Voir tous les formats", and the footer */
}

/* ---------------------------------------------------------------- hero and tool */
.hero { padding-block: clamp(1.5rem, 4vw, 3.25rem) 1.5rem; display: grid; gap: 1rem 3rem; }
.hero h1 { max-width: 20ch; }
.lead { font-size: 1.15rem; line-height: 1.5; color: var(--muted); max-width: 38rem; margin-bottom: 0.5rem; }
.hero .tool { margin-top: 0.75rem; }
.crumbs { font-size: 0.875rem; color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); }

@media (min-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); align-items: start; }
  .hero > h1, .hero > .lead, .hero > .crumbs { grid-column: 1; }
  .hero > .tool { grid-column: 2; grid-row: 1 / span 6; margin-top: 0.4rem; }
}

.sheet {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1rem, 3.5vw, 1.75rem);
  box-shadow: 5px 5px 0 var(--wash), 5px 5px 0 1px var(--line);
}
.tool .sheet { padding-top: clamp(1.5rem, 4vw, 2rem); display: flex; flex-direction: column; }
.tool .lines { order: 1; }
.tool .field { order: 2; }
.tool .tool__actions { order: 3; }
.tool .promise { order: 9; }
.tool .sheet::before {            /* the folded corner */
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 30px;
  height: 30px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--marker) 50%);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 4vw, 1.75rem); transition: background-color 0.15s, border-color 0.15s; }
.drop__hint { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.95rem; }
.tool.is-over .drop { background: var(--wash); border-color: var(--ink); }
.drop .drop__more, .tool.has-lines .drop .drop__first { display: none; }
.tool.has-lines .drop { order: 4; margin-top: 1.25rem; padding: 0.85rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.tool.has-lines .drop .drop__more { display: inline-flex; }
.tool.has-lines .drop__hint { margin: 0; }

.lines { list-style: none; margin: 0; padding: 0; }
.tool .lines .line:first-child { padding-top: 0.25rem; }
.line {
  display: grid;
  grid-template-columns: minmax(1.5rem, 1fr) auto;
  grid-template-areas: "name name" "leader side" "meta meta";
  align-items: center;
  gap: 0.35rem 0.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--wash);
}
.line__name { grid-area: name; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.line > .leader { grid-area: leader; }
.line__side { grid-area: side; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; min-width: 0; }
.line[data-state="ready"] .line__side { flex-wrap: nowrap; gap: 0.15rem; }
.line__side .select { flex: 0 1 auto; min-width: 0; max-width: min(13.5rem, 58vw); text-overflow: ellipsis; }
.line__side form { display: contents; }
.line__meta { grid-area: meta; font-size: 0.9rem; color: var(--muted); min-height: 1.3em; }
.line__status { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.line[data-state="error"] .line__meta { color: var(--stamp); font-weight: 600; }
.line[data-state="deleted"] { opacity: 0.6; }
@media (min-width: 40rem) {
  .line { grid-template-columns: minmax(0, max-content) minmax(2rem, 1fr) auto; grid-template-areas: "name leader side" "meta meta meta"; }
  .line__name { max-width: 20rem; }
}

.field { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 0; border-bottom: 1px solid var(--wash); }
.field__label { font-weight: 600; flex: none; }
.field .leader { flex: 1 1 0.75rem; min-width: 0.75rem; }
.field .select { flex: 0 1 auto; min-width: 0; }
.tool__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.promise { font-size: 0.925rem; line-height: 1.55; color: var(--muted); margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.marker { background: linear-gradient(transparent 55%, var(--marker) 55%); color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 1.05rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--wash); color: var(--ink-deep); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.btn--big { min-height: 3.25rem; padding-inline: 1.5rem; font-size: 1.0625rem; }
.btn--small { min-height: 2.5rem; padding: 0.3rem 0.8rem; font-size: 0.95rem; }
.btn--quiet { border-color: var(--line); color: var(--text); }
.btn--danger { border-color: var(--stamp); color: var(--stamp); }
.btn--danger:hover { background: var(--stamp-wash); color: var(--stamp); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.icon-btn { width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: 1.5rem; line-height: 1; border-radius: var(--radius); cursor: pointer; }
.icon-btn:hover { color: var(--stamp); background: var(--wash); }
.linklike { border: 0; padding: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

.select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.4rem 2.1rem 0.4rem 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F3FA3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center / 0.7rem;
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

/* ---------------------------------------------------------------- content */
.cols { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .cols--side { grid-template-columns: minmax(0, 1fr) 300px; } }
.cols__side { display: none; }
@media (min-width: 64rem) { .cols__side { display: block; } }

.block { padding-block: clamp(1.75rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.block > h2 { margin-bottom: 1rem; }
.block p, .block li { max-width: 44rem; }
.block--note { background: var(--wash); border: 1px solid var(--line); padding-inline: clamp(1rem, 3vw, 1.75rem); margin-bottom: 1rem; }
.more { margin: 1.25rem 0 0; font-weight: 600; }
.page { padding-block: clamp(1.5rem, 4vw, 3rem) 1rem; }
.page > h1 { margin-bottom: 0.75rem; }
.page > .lead { margin-bottom: 1.75rem; }
.page--narrow { max-width: 40rem; }
.page--text { max-width: 48rem; }
.page--text h2 { margin: 2.25rem 0 0.75rem; }
.page--text li { margin-bottom: 0.5rem; }
.todo { background: var(--marker); color: var(--text); font-weight: 600; padding: 0 0.25em; }

.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0 2.5rem; }
.pair { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--wash); color: var(--text); font-weight: 600; text-decoration: none; }
.pair:hover { color: var(--ink); --dot: var(--ink); }
.pair__to { color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 0.75rem; border-top: 3px solid var(--text); }
.steps li::before { content: counter(step); display: block; font: 700 2.2rem/1 var(--head); color: var(--ink); margin-bottom: 0.4rem; }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.fate { margin: 1.25rem 0 0; }
.fate > div { padding: 0.7rem 0; border-bottom: 1px solid var(--wash); }
.fate dt { font-weight: 700; }
.fate dd { margin: 0; color: var(--muted); }
@media (min-width: 46rem) {
  .fate > div { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 0.6rem; align-items: baseline; }
  .fate dt { display: flex; align-items: baseline; gap: 0.5rem; }
  .fate dt::after { content: ""; flex: 1; min-width: 1.5rem; height: 1em; align-self: center; background: radial-gradient(circle at 2px 50%, var(--line) 1.4px, transparent 1.6px) 0 72% / 8px 4px repeat-x; }
  .fate dd { color: var(--text); }
}

.points { margin: 0; padding-left: 1.15rem; }
.points li { margin-bottom: 0.6rem; }
.points li::marker { color: var(--ink); }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0.4rem; top: 0.75rem; font: 700 1.5rem/1.3 var(--head); color: var(--ink); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { color: var(--muted); margin: 0 0 1.1rem; }

.table-wrap { overflow-x: auto; position: relative; }   /* relative: hidden labels inside stay clipped with the table */
.formats { width: 100%; border-collapse: collapse; }
.formats th, .formats td { text-align: left; vertical-align: top; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--wash); }
.formats thead th { font-size: 0.9rem; color: var(--muted); font-weight: 600; border-bottom-color: var(--line); }
.formats tbody th { font-weight: 700; min-width: 9rem; }
.ext { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }

/* ---------------------------------------------------------------- the owner's sentence, ratings, comments */
.motto { font: 700 clamp(1.2rem, 1.05rem + 0.8vw, 1.5rem)/1.35 var(--head); letter-spacing: -0.01em; max-width: 36rem; margin: 0 0 1.25rem; padding-left: 1rem; border-left: 5px solid var(--marker); }
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; margin: 0 0 1rem; }
.rating__value { font: 700 2.4rem/1 var(--head); color: var(--ink); }
.rating__stars { position: relative; display: inline-block; font-size: 1.5rem; line-height: 1; letter-spacing: 0.1em; color: var(--line); }
.rating__stars::before, .rating__fill::before { content: "★★★★★"; }
.rating__fill { position: absolute; inset: 0 auto 0 0; width: 0; overflow: hidden; white-space: nowrap; color: var(--ink); }
.rating__count { color: var(--muted); }
.reviews { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 1rem 0; border-bottom: 1px solid var(--wash); }
.reviews__stars { color: var(--ink); letter-spacing: 0.1em; }
.reviews__stars span { color: var(--line); }
.reviews__text { margin: 0.35rem 0; white-space: pre-line; overflow-wrap: anywhere; }
.reviews__meta { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--muted); }
.tool .review { order: 5; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.stars { border: 0; margin: 0; padding: 0; min-width: 0; }
.stars legend { padding: 0; margin-bottom: 0.25rem; font-weight: 600; }
.stars label { display: inline-block; cursor: pointer; padding: 0.1rem 0.2rem; border-radius: 4px; font-size: 2.2rem; line-height: 1; color: var(--line); }
.stars label:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.stars[data-value="1"] label:nth-of-type(-n+1), .stars[data-value="2"] label:nth-of-type(-n+2), .stars[data-value="3"] label:nth-of-type(-n+3),
.stars[data-value="4"] label:nth-of-type(-n+4), .stars[data-value="5"] label:nth-of-type(-n+5) { color: var(--ink); }
.review__label { font-weight: 600; }
.review textarea { width: 100%; min-height: 5rem; padding: 0.6rem 0.75rem; border: 1.5px solid var(--muted); border-radius: var(--radius); background: #fff; color: var(--text); font: inherit; resize: vertical; }
.review .form__hint { margin: 0; }
.review__done { margin: 0; font-weight: 600; }

/* ---------------------------------------------------------------- forms and messages */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.form__row label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form__row input { width: 100%; min-height: 2.9rem; padding: 0.5rem 0.75rem; border: 1.5px solid var(--muted); border-radius: var(--radius); background: #fff; color: var(--text); font: inherit; }
.form__hint { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; }
.form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; font-size: 0.95rem; }
.check { display: flex; align-items: flex-start; gap: 0.65rem; }
.check input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--ink); }
.inline-form { margin-top: 1.25rem; }
.notice, .flash { margin: 0 0 1rem; padding: 0.8rem 1rem; border-left: 4px solid var(--ink); background: var(--wash); }
.flash { margin-top: 1.25rem; }
.notice--error, .flash--error { border-color: var(--stamp); background: var(--stamp-wash); color: #7A1A14; }
.empty { color: var(--muted); }
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.account-head .lead { margin: 0.4rem 0 0; overflow-wrap: anywhere; }
.meter { margin-bottom: 1rem; max-width: 34rem; }
.meter__bar { height: 0.65rem; border: 1px solid var(--line); border-radius: 99px; background: var(--wash); overflow: hidden; }
.meter__fill { display: block; height: 100%; width: 0; background: var(--ink); }
.meter__text { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---------------------------------------------------------------- the owner's pages */
.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem 0.4rem; margin: 0.5rem 0 0; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.tabs a { padding: 0.55rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--text); font-weight: 600; text-decoration: none; }
.tabs a:hover { border-color: var(--ink); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs--small { border-bottom: 0; padding-bottom: 0; margin-bottom: 0.75rem; }
.pager, .filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 0.75rem 0; }
.filter input { min-height: 2.5rem; padding: 0.3rem 0.6rem; border: 1.5px solid var(--muted); border-radius: var(--radius); font: inherit; }
.journal th[scope="row"] { min-width: 12rem; overflow-wrap: anywhere; }
.journal td { font-size: 0.95rem; }
.journal__actions { white-space: nowrap; }
.journal__actions form { display: inline-block; margin: 0 0.25rem 0.25rem 0; }
.stats td, .stats tfoot th { font-variant-numeric: tabular-nums; }
.stats tfoot th, .stats tfoot td { font-weight: 700; border-top: 2px solid var(--text); }
.bar { display: inline-block; vertical-align: middle; width: 5rem; height: 0.6rem; margin-right: 0.4rem; background: var(--wash); }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 1.5rem; }
.cal th { padding: 0.4rem; font-size: 0.85rem; color: var(--muted); text-align: left; }
.cal td { height: 4.6rem; padding: 0.35rem 0.4rem; border: 1px solid var(--line); vertical-align: top; font-size: 0.8rem; background: #fff; }
.cal td a { display: block; font-weight: 700; font-size: 1rem; }
.cal__out { background: var(--wash) !important; }
.cal__n, .cal__v { display: block; color: var(--muted); }
.cal__n { color: var(--ink); font-weight: 600; }
.rankings { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.rankings ol { margin: 0.4rem 0 0; padding-left: 1.3rem; }
.rankings li { margin-bottom: 0.3rem; }
.rankings .ext { display: inline; }
.form--wide { max-width: 40rem; }
.form--wide h3 { margin-top: 0.5rem; }
.form .select { width: 100%; }

/* ---------------------------------------------------------------- advertising */
.ad { position: relative; margin-block: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.ad__label { position: absolute; top: 0.15rem; left: 0; font-size: 0.75rem; color: var(--muted); }
.ad--haut { min-height: 124px; margin-block: 0.75rem 0; border-top: 0; }
.ad--outil, .ad--contenu1, .ad--contenu2, .ad--bas { min-height: 274px; }
.ad--lateral { min-height: 624px; position: sticky; top: 1rem; margin-top: 0; }
@media (min-width: 46rem) { .ad--haut { min-height: 114px; } .ad--outil, .ad--contenu1, .ad--contenu2, .ad--bas { min-height: 114px; } }
.ad--preview { display: grid; place-items: center; border: 1px dashed var(--muted); background: repeating-linear-gradient(-45deg, var(--wash), var(--wash) 10px, #fff 10px, #fff 20px); }
.ad--preview .ad__label { top: 0.3rem; left: 0.5rem; }
.ad__where { color: var(--muted); font-size: 0.9rem; background: #fff; padding: 0.1rem 0.5rem; }
.adsbygoogle { display: block; }

/* ---------------------------------------------------------------- footer and consent */
.foot { margin-top: 3rem; padding-block: 2.25rem 1.25rem; background: var(--wash); border-top: 1px solid var(--line); font-size: 0.95rem; }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
@media (min-width: 46rem) { .foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot h2 { font-size: 1rem; margin-bottom: 0.6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.15rem; }
.foot a, .foot .linklike { display: inline-block; padding: 0.3rem 0; color: var(--text); }
.foot__end { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.foot__end p { margin: 0; }

.consent { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 0.75rem; }
.consent__in { max-width: 44rem; margin-inline: auto; background: #fff; border: 1px solid var(--text); border-top: 5px solid var(--ink); padding: 1.1rem 1.25rem 1.25rem; box-shadow: 0 8px 30px rgba(16, 27, 59, 0.25); max-height: 80vh; overflow: auto; }
.consent h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.consent p { font-size: 0.95rem; }
.consent__actions { display: flex; gap: 0.75rem; }
.consent__actions .btn { flex: 1 1 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
