/* The municipality pages (scripts/pages.ts): plain documents, read like an article, light like
   the Dossier. No script and no map: they load instantly and every word is there for search. */
:root {
  --paper: #f7f5f0; --text: #1c1f24; --soft: #4a515c; --faint: #737b87; --rule: #dcd8cf; --link: #1f6f86;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--link); }
.top, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
/* The same header on every page: the mark, the four places, the other language; under it, a
   search that goes straight to a report. */
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; padding-top: 18px; padding-bottom: 10px; font-size: 14.5px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.top nav .lang { padding: 1px 8px; border: 1px solid var(--rule); border-radius: 10px; font-size: 12.5px; }
.search { display: flex; gap: 8px; max-width: 760px; margin: 0 auto 6px; padding: 0 20px; }
.search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: inherit; font-size: 16px; color: var(--text); }
.search button { padding: 0 16px; border: 0; border-radius: 22px; background: var(--text); color: var(--paper); font: inherit; font-size: 14.5px; cursor: pointer; }
main { padding-bottom: 40px; }
.crumbs { margin: 8px 0 0; font-size: 13px; color: var(--faint); }
.crumbs a { color: var(--faint); }
h1 { margin: 6px 0 2px; font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; }
.subtitle { margin: 0 0 16px; font-size: 16px; color: var(--soft); }
h2 { margin: 30px 0 8px; font-size: 20px; }
section { border-top: 1px solid var(--rule); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }
.lead { font-size: 18px; font-weight: 500; }
.small { font-size: 13.5px; color: var(--faint); }
.cta {
  display: inline-block; margin: 6px 0; padding: 10px 18px; border-radius: 22px; background: var(--text); color: var(--paper);
  text-decoration: none; font-weight: 500;
}
.cta:hover { background: #33373e; }
.links a { white-space: nowrap; }
.columns { columns: 3 180px; column-gap: 24px; padding-left: 0; list-style: none; }
.columns li { break-inside: avoid; }
footer { padding-top: 16px; padding-bottom: 40px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--faint); }
footer { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--faint); }

/* Guides: tables that read on a phone, and a list of guides with their one-line summaries. */
table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; }
th, td { padding: 7px 8px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { font-weight: 600; font-size: 13px; color: var(--soft); }
.guides { padding-left: 0; list-style: none; }
.guides li { margin-bottom: 14px; }
@media (max-width: 600px) { table { font-size: 13.5px; } th, td { padding: 6px 4px; } }
/* Pricing: three plans side by side (stacked on a phone), the middle one marked. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 8px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 18px 16px 12px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.plan--best { border: 2px solid var(--text); }
.plan__badge { position: absolute; top: -11px; left: 14px; padding: 1px 10px; border-radius: 10px; background: var(--text); color: var(--paper); font-size: 12px; }
.plan h2 { margin: 0 0 4px; font-size: 19px; }
.plan__price { margin: 0; }
.plan__price strong { font-size: 30px; }
.plan__price span { color: var(--soft); font-size: 14px; }
.plan__launch { margin: 2px 0 0; color: #1d6b43; font-size: 14px; font-weight: 500; }
.plan__for { margin: 8px 0; color: var(--soft); font-size: 14px; }
.plan ul { flex: 1; padding-left: 18px; font-size: 14.5px; }
.plan__coming { color: var(--faint); }
.plan__coming em { font-style: normal; font-size: 12px; padding: 0 6px; border: 1px solid var(--rule); border-radius: 8px; }
.join { display: grid; gap: 12px; max-width: 460px; }
.join label { display: grid; gap: 4px; font-size: 14px; color: var(--soft); }
.join input[type=email], .join select { padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--text); }
.join__consent { display: flex !important; align-items: flex-start; gap: 8px !important; }
.join__consent input { margin-top: 4px; }
.join__trap { position: absolute; left: -9999px; }
.join button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.notice { padding: 10px 12px; border-radius: 10px; }
.notice--good { background: rgba(29, 107, 67, 0.1); color: #1d6b43; }
.notice--bad { background: rgba(163, 38, 26, 0.08); color: #a3261a; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  h1 { font-size: 28px; }
}
