/* AEDspotten. Brand palette from the official Schok & Pomp website.
   Orange/green/red on the maps retain their existing data meanings. */
:root {
  --brand-blue: #1d3d78;
  --brand-aqua: #14c7cc;
  --brand-aqua-ink: #087b85;
  --brand-amber: #ffad0d;
  --brand-soft: #eaf8fa;
  --green: var(--brand-blue);
  --green-hover: #152e5b;
  --ink: #101f3c;
  --muted: #5a677b;
  --warm: #f8f9fb;
  --line: #e9ecf2;
  --focus: #1f3c79;
  font-family: "Acumin Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
::selection { color: var(--ink); background: #b9eff0; }
.button { border-radius: 10px 2px 10px 2px; font-weight: 650; }
.button-primary { background: var(--brand-amber); color: var(--ink); }
.button-primary:hover { background: #f4a000; color: var(--ink); }
.button-outline { border-color: #cbd4e2; }
.national-first .site-header { padding-block: 20px; border-bottom: 3px solid var(--brand-aqua); background: #fff; }
.brand-lockup { flex: 0 1 auto; min-width: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-blue); font-size: 32px; font-weight: 800; letter-spacing: -.045em; }
.brand-symbol { width: 33px; height: 40px; }
.wordmark .wordmark-name { color: inherit; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.wordmark-name > span { color: var(--brand-aqua-ink); font-weight: 600; letter-spacing: -.05em; }
.wordmark-name > small { margin-left: 1px; color: var(--muted); font-size: .48em; font-weight: 600; letter-spacing: -.02em; }
.brand-byline { margin-top: 5px; font-size: 10px; line-height: 1.4; color: var(--muted); }
.brand-byline a { color: var(--brand-blue); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.header-municipality-link { border-color: #cbd4e2; border-radius: 10px 2px 10px 2px; font-weight: 550; }
.national-overview { height: calc(100svh - 102px); min-height: 660px; }
.national-map-title { top: 21px; color: var(--brand-blue); font-weight: 650; letter-spacing: -.04em; }
.national-map-subtitle { top: 75px; font-size: 13px; }
.national-overview .hero-map-status { background: #f8f9fbf2; }
.national-overview .hero-reset { background: #fff; border-color: #cbd4e2; border-radius: 9px 2px 9px 2px; }
.national-overview .hero-legend { display: grid; justify-content: stretch; width: 320px; max-width: calc(100% - 84px); padding: 19px 20px 17px; gap: 12px; border-color: var(--line); border-radius: 14px 3px 14px 3px; background: #fffffffa; box-shadow: 0 5px 28px #101f3c0b; color: var(--ink); font-size: 12px; }
.legend-heading { color: var(--brand-blue); font-size: 14px; line-height: 1.4; font-weight: 700; }
.hero-legend .legend-category { display: grid; gap: 8px; }
.national-overview .hero-legend .legend-key { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; }
.legend-location-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.hero-legend .legend-location-note { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.municipality-map-legend + .legend-location-note { margin-top: 10px; max-width: 680px; }
.hero-legend sup, .municipality-map-legend sup { font-size: .85em; line-height: 0; }
.hero-legend .swatch { width: 14px; height: 14px; }
.hero-legend .swatch.is-population { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 36px; overflow: hidden; border-color: #975d262b; background: none; }
.hero-legend .swatch.is-population > i { border-radius: 0; }
.hero-legend .swatch.is-ring { border-width: 2px; }
.population-scale { padding-top: 12px; border-top: 1px solid var(--line); }
.hero-legend .population-scale { padding-top: 0; border-top: 0; }
.population-scale > strong { font-size: 11px; font-weight: 650; margin-bottom: 9px; }
.population-scale-bands { gap: 0; overflow: hidden; border-radius: 4px; }
.population-scale-bands i { height: 13px; border: 0; border-radius: 0; }
.population-scale-labels { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; color: var(--muted); font-size: 10px; }
.national-overview .hero-legend .population-scale small, .population-scale > small { margin-top: 7px; font-size: 10px; }
.national-overview .hero-legend-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.population-scale-detail { max-width: 340px; padding: 15px 17px; border: 1px solid var(--line); }
.why-intro :is(h1, h2), .municipality-intro h2, .exploration-heading h2, .call-to-action h2 { font-weight: 600; }
.why-intro > .national-eyebrow, .exploration-eyebrow { color: var(--brand-aqua-ink); font-weight: 650; }
.why-bullets > li::before { background: var(--brand-aqua); }
.coverage-explanation, .postcode-tools { background: var(--warm); }
.coverage-explanation-body a { color: var(--brand-blue); }
.national-first #gemeente { background: #fff; }
.municipality-intro > .municipality-eyebrow > span { background: var(--brand-aqua); }
.municipality-field-wrap, .municipality-suggestions, .postcode-field { border-color: #cbd4e2; }
.municipality-field-wrap:focus-within, .postcode-field:focus-within { border-color: var(--brand-blue); box-shadow: 0 0 0 3px #14c7cc20; }
.municipality-suggestion:hover, .municipality-suggestion[aria-selected=true] { background: var(--brand-soft); color: var(--ink); }
.municipality-next-step { border-color: #cce7eb; background: var(--brand-soft); }
.municipality-list-heading > select { background: var(--warm); }
.municipality-area-detail .municipality-area-id { color: var(--muted); }
.call-to-action { background: var(--brand-blue); color: #fff; border-top: 0; }
.call-to-action p { color: #dde7f5; }
.exploration-card { border-color: var(--line); border-radius: 20px 4px 20px 4px; background: var(--warm); }
.exploration-icon { border-color: #cce7eb; border-radius: 14px 3px 14px 3px; background: var(--brand-soft); color: var(--brand-blue); }
.exploration-tag { border-color: #d9e0e9; background: #fff; }
.exploration-form select, .exploration-duration-options span { border-color: #cbd4e2; }
.exploration-form select:disabled { background: #f0f3f7; }
.exploration-duration-options input:checked + span { border-color: var(--brand-blue); color: var(--brand-blue); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-blue); }
.exploration-small-dot { background: var(--brand-aqua); }
.exploration-result { border-color: #cce7eb; background: var(--brand-soft); }
.exploration-open { border-color: #b6c7dc; }
.exploration-open:hover { background: #e1f4f6; }
.aed-report-callout { border: 0; border-left: 5px solid var(--brand-aqua); border-radius: 14px 3px 14px 3px; background: var(--brand-soft); }
.aed-report-callout-icon { border-color: #cce7eb; background: #fff; }
.aed-report-inline-button { border-color: #b6c7dc; }
.aed-report-inline-button:hover { background: #e1f4f6; }
.aed-report-dialog, .data-dialog { border-color: var(--line); box-shadow: 0 28px 100px #101f3c35; }
.aed-report-dialog::backdrop, .data-dialog::backdrop { background: rgb(16 31 60 / .48); }
.aed-report-dialog-heading { border-top: 4px solid var(--brand-aqua); }
.aed-report-eyebrow { color: var(--brand-aqua-ink); }
.aed-report-choice-options label, .aed-report-field input, .aed-report-field textarea { border-color: #cbd4e2; }
.aed-report-choice-options label:has(input:checked) { background: var(--brand-soft); }
.aed-report-field input::placeholder, .aed-report-field textarea::placeholder { color: var(--muted); }
.aed-report-already-listed, .aed-report-success { border-color: #cce7eb; background: var(--brand-soft); }
.aed-report-success-icon { background: #c9eff0; }
.initiative-band { margin-top: 0; padding-block: 58px; background: var(--brand-blue); color: #fff; }
.initiative-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.initiative-copy { max-width: 700px; }
.initiative-eyebrow { margin-bottom: 15px; color: #81e6e9; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.initiative-copy h2 { max-width: 620px; font-size: clamp(27px, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.brand-keep-together { white-space: nowrap; }
.initiative-copy > p:last-child { max-width: 610px; margin-top: 18px; color: #dde7f5; font-size: 15px; line-height: 1.75; }
.initiative-logo { display: flex; flex-direction: column; align-items: center; flex: 0 0 285px; gap: 18px; padding: 25px 27px 19px; border-radius: 18px 3px 18px 3px; background: #fff; color: var(--brand-blue); text-decoration: none; }
.initiative-logo img { width: 100%; height: auto; }
.initiative-logo > span { display: flex; align-items: center; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; justify-content: center; font-size: 12px; font-weight: 600; }
.initiative-logo:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.footer-wordmark { font-size: 25px; }
.segmented-control { background: var(--warm); }
.national-population-title { border-color: var(--line); }
/* The selected paper collage and the explanation introduce the map. */
.why-with-illustration { max-width: 1320px; padding-block: 52px 48px; }
.why-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.why-copy { grid-column: 2; grid-row: 1; min-width: 0; }
.why-illustration { grid-column: 1; grid-row: 1; min-width: 0; margin: 0; }
.why-illustration img { width: 100%; height: auto; }
.why-with-illustration .why-intro { max-width: none; }
.why-with-illustration .why-intro :is(h1, h2) { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.12; }
.why-with-illustration .why-intro > p:not(.national-eyebrow) { margin-top: 16px; font-size: 15px; line-height: 1.7; }
.why-with-illustration .why-bullets { margin-top: 23px; gap: 9px; }
.why-with-illustration .why-bullets > li { padding-left: 20px; font-size: 14px; line-height: 1.65; }
.why-with-illustration .coverage-short-note { margin-top: 18px; font-size: 11px; }
.why-with-illustration .why-actions { margin-top: 25px; gap: 18px; }
.why-municipality-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-blue); font-size: 14px; font-weight: 600; line-height: 1.5; text-underline-offset: 4px; }
.why-with-illustration > .coverage-explanation { margin-top: 34px; }
.why-with-illustration > .coverage-explanation > summary { padding: 19px 23px; }
@media (max-width: 960px) {
  .why-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .why-copy { grid-column: 1; grid-row: 1; }
  .why-illustration { grid-column: 1; grid-row: 2; width: 100%; max-width: 460px; justify-self: center; }
}
@media (max-width: 1000px) {
  .national-overview .hero-legend { left: 28px; }
  .initiative-inner { gap: 35px; }
  .initiative-logo { flex-basis: 250px; padding-inline: 22px; }
}
@media (max-width: 720px) {
  .why-with-illustration { padding-block: 34px 36px; }
  .why-with-illustration .why-intro :is(h1, h2) { font-size: clamp(29px, 7.8vw, 34px); }
  .why-with-illustration .why-intro > p:not(.national-eyebrow) { font-size: 15px; }
  .why-with-illustration .why-actions { gap: 12px 18px; }
  .why-with-illustration > .coverage-explanation { margin-top: 28px; }
  .why-with-illustration > .coverage-explanation > summary { padding: 18px; }
  .national-first .site-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 14px; padding: 17px 20px; }
  .brand-lockup { grid-column: 1; grid-row: 1 / span 2; }
  .wordmark { gap: 7px; font-size: 27px; }
  .brand-symbol { width: 27px; height: 34px; }
  .brand-byline { max-width: 205px; font-size: 9px; margin-top: 5px; }
  .header-cta { grid-column: 2; grid-row: 1; min-height: 40px; padding: 10px 12px; gap: 7px; font-size: 11px; }
  .national-first .header-municipality-link { grid-column: 2; grid-row: 2; justify-self: end; min-height: 25px; padding: 0; font-size: 10px; }
  .national-overview { height: calc(100svh - 112px); min-height: 865px; }
  .national-map-title { top: 22px; font-size: 29px; }
  .national-map-subtitle { top: 68px; max-width: 320px; font-size: 12px; }
  .national-overview .hero-fallback { padding-top: 118px; padding-bottom: 434px; }
  .national-overview .hero-legend { left: 18px; right: 18px; bottom: 78px; width: auto; max-width: none; gap: 10px; padding: 16px 18px; font-size: 11px; }
  .legend-heading { font-size: 13px; }
  .national-overview .hero-legend .population-scale { order: 0; }
  .national-overview .hero-legend-note { order: 0; width: auto; text-align: left; font-size: 10px; }
  .national-overview .hero-legend .population-scale small { font-size: 9px; }
  .national-overview .hero-reset { bottom: 25px; }
  .national-overview .scroll-cue { bottom: 18px; }
  .national-overview .hero-map-status { bottom: 471px; }
  .national-overview .maplibregl-ctrl-bottom-left, .national-overview .maplibregl-ctrl-bottom-right { bottom: 449px; }
  .initiative-band { padding-block: 40px; }
  .initiative-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .initiative-logo { flex-basis: auto; width: 260px; max-width: 100%; }
  .initiative-copy > p:last-child { font-size: 14px; }
}
@media (max-width: 380px) {
  .national-first .site-header { padding-inline: 15px; gap: 9px; }
  .brand-lockup { grid-column: 1 / -1; grid-row: 1; }
  .wordmark { font-size: 27px; gap: 7px; }
  .brand-symbol { width: 27px; height: 34px; }
  .header-cta { grid-column: 2; grid-row: 2; padding-inline: 12px; font-size: 11px; }
  .national-first .header-municipality-link { grid-column: 1; grid-row: 2; justify-self: start; font-size: 11px; }
  .header-cta .icon { width: 13px; height: 13px; }
  .brand-byline { max-width: none; font-size: 10px; }
  .national-overview { height: calc(100svh - 152px); }
  .national-map-title { width: calc(100% - 40px); font-size: 27px; }
  .national-map-subtitle { top: 98px; max-width: 260px; }
  .national-overview .hero-fallback { padding-top: 150px; }
}
