/* Navy in both modes: navy on slate by day, light blue on deep navy by night. Red is kept for the logo's shortest bar and
   for errors, so an error message never looks like a button. Text colours meet WCAG AA against --surface and
   --surface-2 in both modes, because many visitors are older and read on a phone. */
:root {
    color-scheme: light dark;
    --bg: #eef1f5;
    --surface: #ffffff;
    --surface-2: #f4f6f9;
    --text: #1b2430;
    --muted: #556070;
    /* The drop-down arrow is an image, which cannot use currentColor, so it comes in a colour per theme. */
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%231b2430' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --border: #d5dbe3;
    --rule: #c3cbd6;
    --accent: #1f3a63;
    --accent-text: #ffffff;
    --danger: #b3261e;
    --notice-bg: #fff6e0;
    --notice-border: #e8c46a;
    --info-bg: #e3edf8;
    --info-border: #a9c3e2;
    /* Sequential scale for the map: 0 = no reports. */
    --bin-0: #dce1e8;
    --bin-1: #fbc595;
    --bin-2: #f59a5e;
    --bin-3: #e8703c;
    --bin-4: #c9482a;
    --bin-5: #962317;
    /* Praise on the map: the blue-green end of the logo, so it can never be mistaken for the incident scale. */
    --ros-1: #cdeee6;
    --ros-2: #93d6c7;
    --ros-3: #4fb8a3;
    --ros-4: #15917f;
    --ros-5: #0b6156;
    /* The comparison ("Samlet"): less praise than the country in the incident colours, the same in a warm grey, more in blue-green. */
    --cmp-n3: #c9482a;
    --cmp-n2: #e0805f;
    --cmp-n1: #efbba5;
    --cmp-0: #c9c1b3;
    --cmp-p1: #a9d9cd;
    --cmp-p2: #5fb7a5;
    --cmp-p3: #15917f;
    --map-stroke: #ffffff;
    --field-bg: #ffffff;
    --verified-bg: #e3f4e8;
    --verified-border: #8cc8a0;
    /* The logo: white tile, the whole of Denmark in pale pink, a navy pulse, and bars rising from red through orange to blue-green. */
    --logo-tile: #ffffff;
    --logo-land: #f8e1e5;
    --logo-edge: rgb(19 35 63 / .16);
    --logo-line: #13233f;
    --logo-bar-1: #c8102e;
    --logo-bar-2: #e8703c;
    --logo-bar-3: #0f8f7e;
    --logo-puls: #c8102e;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #151b24;
        --surface: #1f2733;
        --surface-2: #273040;
        --text: #e6eaf0;
        --muted: #a9b3c1;
        --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23e6eaf0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        --border: #344052;
        --rule: #465163;
        --accent: #9db8e0;
        --accent-text: #0f1a28;
        --danger: #f2877e;
        --notice-bg: #3a3020;
        --notice-border: #8a6d2a;
        --info-bg: #2b3f5a;
        --info-border: #41608a;
        --bin-0: #353e4b;
        --bin-1: #5c3a26;
        --bin-2: #8a4a2a;
        --bin-3: #bb5a2f;
        --bin-4: #e2733e;
        --bin-5: #ffa06b;
        --ros-1: #1d3d38;
        --ros-2: #1f5c52;
        --ros-3: #23826f;
        --ros-4: #3caf97;
        --ros-5: #82dcc8;
        --cmp-n3: #ff8a57;
        --cmp-n2: #b8603d;
        --cmp-n1: #74493a;
        --cmp-0: #6c6f75;
        --cmp-p1: #2b5a52;
        --cmp-p2: #2f8a78;
        --cmp-p3: #4fc7ad;
        --map-stroke: #151b24;
        --field-bg: #1a212b;
        --verified-bg: #1f3a2a;
        --verified-border: #3f7a55;
        /* The logo after dark: a navy tile with Denmark in a lighter navy, a white pulse, and bars rising from coral through orange to mint.
           The faint light edge keeps the tile from melting into the dark header. */
        --logo-tile: #13233f;
        --logo-land: #1d3152;
        --logo-edge: rgb(157 184 224 / .28);
        --logo-line: #ffffff;
        --logo-bar-1: #ff5a6e;
        --logo-bar-2: #ff8a57;
        --logo-bar-3: #4fd1bd;
        --logo-puls: #ff6b7f;
    }
}

/* Inter, served from the site itself like everything else (no font service), so the site looks the same on every phone
   and computer. Its "l" with a tail (cv05) is switched on below, so l, I and 1 are easy to tell apart for older eyes; its
   zero has no slash, which in Danish would look like Ø. Cut down from Inter 4.1 to the Latin letters and to text optical
   size, keeping every weight: the first file holds Danish (æ, ø, å) and loads first, the second only if a page has rarer
   letters. SIL Open Font License, see /fonts/OFL.txt. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-feature-settings: "cv05"; /* Inter's "l" with a tail, see the font above. */
    line-height: 1.5;
    /* The page is at least as tall as the window and the content grows to fill it, so the footer stays at the bottom
       on short pages instead of leaving an empty band below it. */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); }

.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 16px;
}

/* width: auto margins would otherwise shrink the centred container to its content inside the flex column. */
main { padding-block: 1.5rem; flex: 1 0 auto; width: 100%; }

h1 { font-size: 1.9rem; line-height: 1.2; margin-block: 0 .5rem; }
h2 { font-size: 1.3rem; margin-block: 2rem .75rem; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 70ch; }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem; z-index: 10; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.button {
    display: inline-block;
    padding: .5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
.button { background: var(--surface-2); }
.button:hover { border-color: var(--accent); }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.button-primary:hover { filter: brightness(1.08); }

input, select, textarea {
    font: inherit;
    color: var(--text);
    background: var(--field-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .45rem .6rem;
    width: 100%;
}
input[type="radio"], input[type="checkbox"] { width: auto; accent-color: var(--accent); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
/* Our own arrow instead of the browser's, so it sits as far from the right edge as from the top and bottom
   (14px in a 40px field: (40 - 12) / 2). */
select {
    appearance: none;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right .875rem center;
    background-size: .75rem;
    padding-right: 2.25rem;
}
::placeholder { color: var(--muted); opacity: 1; }

/* Filters */
.filters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr));
    gap: .75rem;
    align-items: end;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-block: 1rem;
}
.filters label { display: grid; gap: .25rem; font-size: .9rem; color: var(--muted); }
.filter-actions { display: flex; gap: .5rem; }
/* Fields and buttons share one height, so they line up on the row; a button's padding alone would make it a little taller. */
.filters :is(select, input:not([type="checkbox"], [type="radio"])) { height: 2.5rem; }
.filters .button { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; padding-block: 0; }

/* Incident list: the main filters and the buttons on one row, the rest folded away under "Flere filtre". */
.filters-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.filters-split-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.filters-split-1 { grid-template-columns: minmax(0, 24rem) auto; }
.filters-more { grid-column: 1 / -1; }
.filters-more > summary {
    cursor: pointer;
    width: fit-content;
    font-size: .9rem;
    color: var(--accent);
}
.filters-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr));
    gap: .75rem;
    margin-top: .75rem;
}
/* Its option is longer than a month or a region. */
.filters-more-grid .filter-wide { grid-column: span 2; }
/* One column on the narrowest phones: spanning two would add a column and scroll sideways. */
@media (max-width: 359px) { .filters-more-grid .filter-wide { grid-column: 1 / -1; } }

@media (max-width: 560px) {
    .filters { padding: .75rem; gap: .6rem; }
    .filters-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    /* Three main filters on two columns: the third gets the whole row rather than half of it. */
    .filters-split > label:nth-of-type(3) { grid-column: 1 / -1; }
    .filters-split-1 > label { grid-column: 1 / -1; }
    /* On a phone the buttons go last, below "Flere filtre", so they submit everything above them. */
    .filters-split .filter-actions { order: 1; grid-column: 1 / -1; }
    .filters-split .filter-actions .button { flex: 1 1 0; }
}

/* Buttons and links that belong together share one size: the widest label sets it for all of them, so a group never looks
   ragged. Used for switching between incidents and praise, the map's views, and the place tabs. */
.segmented {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}
.segmented > a, .segmented > button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .45rem 1.1rem;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.segmented > * + * { border-left: 1px solid var(--border); }
.segmented > :hover { background: var(--surface-2); }
.segmented > [aria-current="page"], .segmented > [aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
.segmented-wide { display: grid; width: 100%; }
.page-switch { margin-bottom: 1.25rem; }
@media (max-width: 560px) {
    .segmented { display: grid; width: 100%; }
    .segmented > a, .segmented > button { padding-inline: .5rem; }
}

/* Quick switch between care in the citizen's own home and care where they live. Equal widths, like .segmented. */
.place-tabs { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; max-width: 100%; margin-top: 1rem; }
.place-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .35rem .9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;
}
.place-tabs a:hover { border-color: var(--accent); }
.place-tabs a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
@media (max-width: 560px) {
    .place-tabs { display: grid; width: 100%; }
    .place-tabs a { border-radius: 12px; padding-inline: .5rem; }
}

.result-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-block: .75rem;
}
.result-bar .result-count { margin: 0; }
.sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.sort select { width: auto; }

/* Incident list */
.result-count { font-weight: 600; }
.incident-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.incident {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--border);
    border-radius: 8px;
    padding: .9rem 1rem;
}
.incident.severity-minor { border-left-color: var(--bin-3); }
.incident.severity-serious { border-left-color: var(--bin-5); }
.incident.praise { border-left-color: var(--ros-4); }
.tag-praise { background: var(--verified-bg); border-color: var(--ros-3); }
/* In the list of everything, what kind of report a card is. The two labels are the same size, in the map's colours. */
.kind {
    display: inline-block;
    min-width: 3.25rem;
    padding: .1rem .5rem;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    color: var(--accent-text);
}
.kind-fejl { background: var(--bin-5); }
.kind-ros { background: var(--ros-5); }
/* The municipality always opens the card at the same spot, so a list can be skimmed down the left edge;
   the tags whose length varies come on the line below. */
.incident-head { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; justify-content: space-between; }
.incident-municipality { font-weight: 600; font-size: 1.05rem; }
a.incident-municipality { text-decoration: none; }
a.incident-municipality:hover, a.incident-municipality:focus-visible { text-decoration: underline; }
.incident-date { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.incident-sub { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; margin-top: .4rem; }
.incident-meta { color: var(--muted); font-size: .9rem; }
.incident-text { margin: .5rem 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.tag {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--info-bg);
    border: 1px solid var(--info-border);
}
.tag-verified { background: var(--verified-bg); border-color: var(--verified-border); }
.incident-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: start; margin-top: .75rem; }
.incident-actions form { margin: 0; }
/* Buttons that sit side by side or right under each other (the action and its folded-away "Afvis"/"Slet") are the same size,
   whatever their label: a shared minimum width that fits the longest label used there ("Godkend rettelsen", "Slet min bruger"),
   centred text, and the same height. */
.incident-actions .button, .pager .button, .confirm > summary.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    min-height: 2.5rem;
    text-align: center;
}
.filter-actions .button { min-width: 6rem; }
.button-danger { background: var(--danger); border-color: var(--danger); color: var(--accent-text); }
/* A delete button that asks first, without JavaScript: the confirmation is folded away under the button. */
.confirm > summary { list-style: none; }
.confirm > summary::-webkit-details-marker { display: none; }
.confirm[open] > form { margin-top: .5rem; }
.passkeys { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .5rem; }
.passkeys li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.passkeys form { margin: 0; }
.recovery-code { font-family: ui-monospace, Consolas, monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: .05em; overflow-wrap: anywhere; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1.5rem; }
.empty { color: var(--muted); }

/* Report form */
.notice {
    position: relative;
    background: var(--notice-bg);
    border: 1px solid var(--notice-border);
    border-radius: 8px;
    padding: .625rem .875rem .625rem 2.625rem;
    margin-block: 1rem;
    max-width: 720px;
}
.notice::before {
    background: var(--notice-border);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20 10 10 0 1 0 0-20ZM9 4.3h2v7.9H9ZM10 13.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 1 0 0-2.8Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20 10 10 0 1 0 0-20ZM9 4.3h2v7.9H9ZM10 13.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 1 0 0-2.8Z'/%3E%3C/svg%3E");
}

/* A card that groups content, like the game's panels. */
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem 1.25rem;
}
.panel > .section-title:first-child { margin-top: 0; }
/* Panels in a form are spaced by the form's grid gap; elsewhere (e.g. "Min konto") they get the same space as margin. */
:not(.form) > .panel { margin-block: 1.25rem; }

.form { display: grid; gap: 1.25rem; max-width: 720px; }
.form .panel { display: grid; gap: 1.25rem; }
.form .panel > .section-title { margin-bottom: -.25rem; }
.form > button { justify-self: start; }
/* On a phone the send button fills the width, like the panels above it, and is easy to hit with a thumb. */
@media (max-width: 560px) { .form > button { justify-self: stretch; } }
.field { display: grid; align-content: start; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
/* Columns, not a grid, so an alphabetical list reads down the left column first, like a newspaper. */
.choices { columns: 250px; column-gap: 1rem; }
.choice { display: flex; gap: .5rem; align-items: baseline; font-weight: 400; break-inside: avoid; margin-bottom: .35rem; }
.choice[hidden] { display: none; }
.choice-hint { display: block; font-size: .85rem; color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); }
.field-error, .validation-summary { color: var(--danger); font-size: .9rem; }
.validation-summary ul { margin: 0; padding-left: 1.2rem; }
.validation-summary-valid { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The report forms as a guide (wizard.js): one question at a time, in large type with large answers to tap.
   Without JavaScript the steps simply follow each other as panels. */
.step[hidden], .wizard-progress[hidden], .wizard-buttons[hidden], .wizard-buttons > [hidden], .wizard-arrow[hidden], .summary[hidden], .date-shortcuts[hidden] { display: none; }
.step-title { font-size: 1.45rem; line-height: 1.25; margin: 0; }
.step-title:focus { outline: none; }
.form.is-wizard { position: relative; gap: 1rem; overflow-x: clip; overflow-clip-margin: .5rem; }
.is-wizard .step { font-size: 1.05rem; }

.wizard-progress { display: grid; gap: .4rem; }
.wizard-count { margin: 0; font-weight: 600; color: var(--muted); }
.wizard-bar { height: .45rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.wizard-bar > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }

/* Tilbage and Næste are the same size; on the first question Næste keeps its place on the right. */
.wizard-buttons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.wizard-back[hidden] + .wizard-next { grid-column: 2; }
.button-large { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; font-size: 1.1rem; font-weight: 600; }
.step-summary > .button-large { width: 100%; }
.field-large { min-height: 3.25rem; font-size: 1.1rem; }

/* The arrows: back on the left, and forward on the right once the visitor has gone back. Beside the question on a wide
   screen; on a phone, at either end of the progress line, so they never cover an answer. */
.wizard-arrow {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    box-shadow: 0 1px 3px rgb(0 0 0 / .08);
}
.wizard-arrow:hover { color: var(--accent); border-color: var(--accent); }
.wizard-arrow .icon { width: 1.4rem; height: 1.4rem; stroke-width: 2.2; }
.wizard-arrow-back { left: 0; top: 0; }
.wizard-arrow-forward { right: 0; top: 0; }
.is-wizard .wizard-progress { padding-inline: 3.5rem; min-height: 2.75rem; align-content: center; }
@media (min-width: 760px) {
    .form.is-wizard { max-width: calc(720px + 8rem); padding-inline: 4rem; }
    .is-wizard .wizard-progress { padding-inline: 0; }
    /* Level with the question, not the middle of the form, which on a long list of answers is off the screen. */
    .wizard-arrow { width: 3rem; height: 3rem; top: 3.9rem; }
}

/* Next: the question slides out to the left and the next one in from the right. Back: the other way. */
@keyframes step-leave-left { to { opacity: 0; transform: translateX(-2.5rem); } }
@keyframes step-leave-right { to { opacity: 0; transform: translateX(2.5rem); } }
@keyframes step-enter-right { from { opacity: 0; transform: translateX(2.5rem); } }
@keyframes step-enter-left { from { opacity: 0; transform: translateX(-2.5rem); } }
.step.leave-left { animation: step-leave-left .18s ease-in forwards; }
.step.leave-right { animation: step-leave-right .18s ease-in forwards; }
.step.enter-right { animation: step-enter-right .25s ease-out; }
.step.enter-left { animation: step-enter-left .25s ease-out; }
@media (prefers-reduced-motion: reduce) {
    .step.leave-left, .step.leave-right, .step.enter-right, .step.enter-left { animation: none; }
    .wizard-bar > span { transition: none; }
}

/* Answers as large boxes with the radio button or checkbox inside, the whole box tappable. */
.field.options { gap: .5rem; }
.options-columns { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.options > .field-error, .options > .field-label { grid-column: 1 / -1; }
.options-group { grid-column: 1 / -1; margin: .5rem 0 0; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.options-group:first-child { margin-top: 0; }
.field-label { margin: .75rem 0 0; font-weight: 600; }
.option {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 3.25rem;
    padding: .6rem .9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--field-bg);
    font-weight: 400;
    cursor: pointer;
}
.option:hover { border-color: var(--accent); }
.option:has(input:checked) { border-color: var(--accent); background: var(--info-bg); box-shadow: inset 0 0 0 1px var(--accent); }
.option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.option[hidden] { display: none; }
.option input { flex: none; width: 1.35rem; height: 1.35rem; margin: 0; }
.option-text { display: grid; gap: .1rem; }
.option-title { font-weight: 600; }
.option-hint { font-size: .9rem; color: var(--muted); }
.has-error > :is(select, input, textarea) { border-color: var(--danger); }
/* In a list of answers the message comes first (wizard.js moves it there), so it is seen without scrolling down. */
.options > .field-error:first-child { font-weight: 600; }

.date-shortcuts { display: flex; gap: .5rem; }
.date-shortcuts .button { min-width: 6rem; min-height: 2.75rem; }

/* The summary before sending: each answer with a button to change it. */
.summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .6rem 1rem; margin: 0; }
.summary dt { padding-top: .5rem; font-weight: 600; color: var(--muted); }
.summary dd { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin: 0; }
.summary-answer { padding-top: .5rem; white-space: pre-line; overflow-wrap: anywhere; }
.summary-change { flex: none; min-width: 4.5rem; min-height: 2.5rem; }
@media (max-width: 560px) {
    .summary { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
    .summary dt { padding-top: .6rem; border-top: 1px solid var(--border); }
    .summary dt:first-child { border-top: 0; padding-top: 0; }
    .summary-answer { padding-top: .3rem; }
}

/* Section heading with a thin rule running out to the right. */
.section-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.15rem;
    font-weight: 600;
    margin-block: 2rem .75rem;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* Information box with an "i" badge. */
.info {
    position: relative;
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: 8px;
    padding: .625rem .875rem .625rem 2.625rem;
    margin-block: 1rem;
    max-width: 720px; /* Like .notice and .form, so the boxes line up and lines stay short enough to read. */
}
/* The badge sits in the left padding, so any content (text, <strong>, paragraphs) flows normally. It is inset as far
   from the top as from the left and centred on the first line of text (10px padding + half of the 24px line). */
/* The icon is an SVG mask: a filled circle with the mark cut out, painted in the box's own colour. */
.info::before, .notice::before {
    content: "";
    position: absolute;
    left: .75rem;
    top: .75rem;
    width: 1.25rem;
    height: 1.25rem;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.info::before {
    background: var(--accent);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20 10 10 0 1 0 0-20ZM10 3.9a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 1 0 0-2.8ZM9 8.3h2v7.4H9Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20 10 10 0 1 0 0-20ZM10 3.9a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 1 0 0-2.8ZM9 8.3h2v7.4H9Z'/%3E%3C/svg%3E");
}
.info p { margin: 0; }
.info p + p { margin-top: .5rem; }
/* Details folded away inside an info box, opened with a tap ("Sådan regner vi" on the map). */
.info-more { margin-top: .4rem; }
.info-more > summary { cursor: pointer; width: fit-content; color: var(--accent); font-weight: 600; }
.info-more > summary + p { margin-top: .5rem; }

/* Big number tiles. */
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-block: .75rem; }
.stat {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .15rem;
    min-height: 5.5rem;
    padding: .6rem .4rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}
.stat-value { font-size: 1.45rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .8rem; color: var(--muted); line-height: 1.25; }

/* Map */
.map-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 800px) { .map-layout { grid-template-columns: minmax(0, 1fr); } }

.map-wrap {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
/* One finger scrolls the page past the map; map.js moves and zooms it with two. */
#map { display: block; width: 100%; height: min(70vh, 640px); touch-action: pan-x pan-y; cursor: grab; }
#map:active { cursor: grabbing; }

.municipality { stroke: var(--map-stroke); stroke-width: .8; vector-effect: non-scaling-stroke; cursor: pointer; }
.municipality:hover { stroke: var(--text); stroke-width: 1.5; }
/* Focus and selection are drawn as outlines on top of the map (see map.js), so neighbours never cover them. */
.municipality:focus, .municipality:focus-visible { outline: none; }
.outline-selected, .outline-focus { fill: none; pointer-events: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.outline-selected { stroke: var(--accent); stroke-width: 2.5; }
.outline-focus { stroke: var(--text); stroke-width: 3; stroke-dasharray: 5 3; }

.bin-0 { fill: var(--bin-0); background: var(--bin-0); }
.bin-1 { fill: var(--bin-1); background: var(--bin-1); }
.bin-2 { fill: var(--bin-2); background: var(--bin-2); }
.bin-3 { fill: var(--bin-3); background: var(--bin-3); }
.bin-4 { fill: var(--bin-4); background: var(--bin-4); }
.bin-5 { fill: var(--bin-5); background: var(--bin-5); }
.ros-1 { fill: var(--ros-1); background: var(--ros-1); }
.ros-2 { fill: var(--ros-2); background: var(--ros-2); }
.ros-3 { fill: var(--ros-3); background: var(--ros-3); }
.ros-4 { fill: var(--ros-4); background: var(--ros-4); }
.ros-5 { fill: var(--ros-5); background: var(--ros-5); }
.cmp-n3 { fill: var(--cmp-n3); background: var(--cmp-n3); }
.cmp-n2 { fill: var(--cmp-n2); background: var(--cmp-n2); }
.cmp-n1 { fill: var(--cmp-n1); background: var(--cmp-n1); }
.cmp-0 { fill: var(--cmp-0); background: var(--cmp-0); }
.cmp-p1 { fill: var(--cmp-p1); background: var(--cmp-p1); }
.cmp-p2 { fill: var(--cmp-p2); background: var(--cmp-p2); }
.cmp-p3 { fill: var(--cmp-p3); background: var(--cmp-p3); }

.map-controls { position: absolute; top: .5rem; right: .5rem; display: flex; gap: .25rem; }
.map-controls .button { padding: .25rem .6rem; }
.button-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.25rem; }
.map-keys { grid-column: 1 / -1; order: 1; margin: 0; color: var(--muted); font-size: .85rem; }

.map-tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--text);
    color: var(--bg);
    padding: .2rem .5rem;
    border-radius: 4px;
    font-size: .85rem;
    white-space: nowrap;
}

.map-touch-hint {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    pointer-events: none;
    background: rgb(0 0 0 / .45);
    color: #fff;
    font-weight: 600;
    text-align: center;
}
.map-touch-hint[hidden] { display: none; }

.map-legend {
    position: absolute;
    left: .5rem;
    bottom: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    background: var(--surface);
    padding: .25rem .5rem;
    border-radius: 4px;
    font-size: .8rem;
}
.legend-item { display: inline-flex; align-items: center; gap: .25rem; }
.swatch { display: inline-block; width: .9rem; height: .9rem; border-radius: 2px; }

.map-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
}
.map-details h2 { margin-top: 0; font-size: 1.2rem; }
.map-details .section-title { font-size: 1rem; margin-block: 1.25rem .5rem; }
.category-bars { list-style: none; padding: 0; display: grid; gap: .4rem; }
.category-bars li { display: grid; grid-template-columns: 1fr 80px 2.5rem; gap: .5rem; align-items: center; font-size: .9rem; }
.bar { display: block; height: .6rem; background: var(--bin-0); border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--bin-4); }
.bars-praise .bar-fill { background: var(--ros-4); }

/* The map's three views, and what goes with them in the panel. */
.map-views { display: grid; gap: .5rem; margin-block: 1rem; }
.map-views .segmented { justify-self: start; }
.map-views .segmented > button { min-width: 7rem; }
/* Three times 7rem is wider than the narrowest phones; the grid keeps the buttons equal anyway. */
@media (max-width: 560px) { .map-views .segmented > button { min-width: 0; } }
.map-view-help { margin: 0; color: var(--muted); max-width: 70ch; }
.filters [hidden] { display: none; }
.stat-fejl .stat-value { color: var(--bin-4); }
.stat-ros .stat-value { color: var(--ros-4); }
.map-verdict { margin: .5rem 0; padding: .5rem .75rem; border-radius: 6px; background: var(--surface-2); border-left: 4px solid var(--cmp-0); }
.map-verdict.up { border-left-color: var(--cmp-p3); }
.map-verdict.down { border-left-color: var(--cmp-n3); }
.map-facts { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; margin: .75rem 0; font-size: .9rem; }
.map-facts dt { color: var(--muted); }
.map-facts dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.map-warning { font-size: .9rem; padding: .5rem .75rem; border: 1px solid var(--notice-border); background: var(--notice-bg); border-radius: 6px; }
/* Two buttons side by side, the same width. */
.map-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.map-links .button { text-align: center; }
.legend-scale .swatch { border-radius: 0; margin: 0; }
.legend-scale { gap: 0; }
.legend-scale > .swatch:first-of-type { margin-left: .35rem; }
.legend-scale > .swatch:last-of-type { margin-right: .35rem; }

.ranking {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.ranking th, .ranking td { padding: .6rem .9rem; text-align: left; }
.ranking th { font-weight: 600; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.ranking tbody tr:nth-child(even) { background: var(--surface-2); }
.ranking tbody tr:hover { background: var(--info-bg); }
.ranking th.num, .ranking td.num { text-align: right; }

/* Moderation */
.moderation-item { display: grid; gap: .6rem; }
.moderation-item form { margin: 0; display: grid; gap: .35rem; }
.moderation-item label { font-weight: 600; font-size: .9rem; }
.moderation-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: 0; font-size: .9rem; }
.moderation-facts dt { color: var(--muted); }
.moderation-facts dd { margin: 0; }
.moderation-warning { color: var(--danger); font-weight: 600; }
/* Why the owner's report was rejected, under "Min konto". */
.rejected-reason { margin: .5rem 0; padding: .5rem .75rem; border-left: 3px solid var(--border); background: var(--surface-2); font-size: .9rem; }
.moderation-label { margin: 0; color: var(--muted); font-size: .85rem; }
.moderation-current { margin: 0; padding: .5rem .75rem; background: var(--surface-2); border-radius: 6px; }
/* Wide tables scroll sideways on a phone instead of widening the page. */
.table-scroll { overflow-x: auto; }
.log-table td, .log-table th { white-space: nowrap; }

.prose { max-width: 72ch; }
.prose li + li { margin-top: .35rem; }
.site-header {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgb(0 0 0 / .06), 0 4px 12px rgb(0 0 0 / .04);
}

/* Logo, menu and the report button on one row; on a phone the menu drops to its own row below. */
.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav report";
    align-items: center;
    gap: .75rem 1.5rem;
    padding-block: .75rem;
}
.brand { grid-area: brand; }
.header-nav { grid-area: nav; justify-self: end; }
.header-report { grid-area: report; }
/* As tall as the report button, so the header keeps its height on the front page, which has no button. */
.brand { min-height: 2.625rem; }

/* Line icons drawn in SVG; they take the colour of the text around them. */
.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.header-report {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.625rem;
    padding-block: 0;
    white-space: nowrap;
}
/* Trim the text to its cap height and baseline, so it centres against the icon by the letters
   themselves rather than by the font's uneven space above and below. */
.button-label { text-box: trim-both cap alphabetic; }
.header-report .icon { stroke-width: 2.4; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.logo { display: inline-flex; align-items: center; gap: .5rem; }
/* The mark is cut to the tile's rounded corners, so nothing drawn near them pokes out. */
.logo-mark { width: 1.6em; height: 1.6em; flex: none; clip-path: inset(0 round 21.875%); }
.logo-tile { fill: var(--logo-tile); }
.logo-land { fill: var(--logo-land); }
/* The edge is one screen pixel at every size, so a large logo does not get a thick frame. */
.logo-edge { fill: none; stroke: var(--logo-edge); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.logo-line, .logo-bar { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.logo-line { stroke: var(--logo-line); stroke-width: 4.8; }
.logo-bar { stroke-width: 5.2; }
.logo-bar-1 { stroke: var(--logo-bar-1); }
.logo-bar-2 { stroke: var(--logo-bar-2); }
.logo-bar-3 { stroke: var(--logo-bar-3); }
/* Centre the capitals on the mark: trim the text to its cap height and baseline, so the j's tail and the font's uneven
   space above and below do not count. That holds whatever system font the phone or computer has; a fixed nudge did not
   (it was right on Windows and too high on Android). Browsers without text-box get the nudge, tuned on Windows. */
.logo-name { letter-spacing: -.01em; position: relative; top: -.06em; }
@supports (text-box: trim-both cap alphabetic) {
    .logo-name { top: 0; text-box: trim-both cap alphabetic; }
}
.logo-accent { color: var(--logo-puls); }
.beta {
    display: inline-block;
    vertical-align: middle;
    margin-left: .3rem;
    padding: .05rem .45rem;
    border-radius: 999px;
    border: 1px solid var(--notice-border);
    background: var(--notice-bg);
    color: var(--text);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    padding-block: .25rem;
    border-bottom: 2px solid transparent;
}
.nav-link:hover { border-bottom-color: var(--rule); }
/* Signing in is not a place on the site, so it sits apart from the pages. */
.nav-account { padding-left: 1.25rem; border-left: 1px solid var(--border); }
.nav-account .nav-link { color: var(--muted); }
.nav-account .nav-link:hover, .nav-account .nav-link[aria-current="page"] { color: var(--text); }

@media (max-width: 640px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand report" "nav nav";
        padding-bottom: 0;
    }
    .header-report { min-height: 2.5rem; padding-inline: .8rem; }
    .brand { min-height: 2.5rem; }
    .hide-narrow { display: none; }
    /* The menu scrolls sideways rather than wrapping, should it ever outgrow the screen. */
    .header-nav {
        justify-self: stretch;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -16px;
        padding-inline: 16px;
        border-top: 1px solid var(--border);
    }
    .nav { gap: 1.1rem; padding-block: .35rem; }
    .nav-account { margin-left: auto; padding-left: 1.1rem; }
}
.nav-link[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }

.site-footer {
    margin-top: 3rem;
    padding-block: 2.5rem 1.25rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 3rem;
}
.footer-about p { margin: .5rem 0 0; max-width: 46ch; }
.footer-brand {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
}
.footer-note {
    padding-left: .75rem;
    border-left: 3px solid var(--rule);
    font-size: .85rem;
}
.footer-heading {
    margin: 0 0 .6rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .4rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); text-decoration: underline; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: .8rem;
}
.footer-bottom a { color: inherit; }

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .ranking:not(.log-table) th:nth-child(3), .ranking:not(.log-table) td:nth-child(3) { display: none; }
    .ranking th, .ranking td { padding: .45rem .5rem; }
}

/* "Hent som app": the banner under the header on phones, and the guides on /app. */
.install-banner {
    background: var(--info-bg);
    border-bottom: 1px solid var(--info-border);
}
.install-banner-inner {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-block: .6rem;
}
.install-banner-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.install-banner-mark .logo-mark { width: 100%; height: 100%; display: block; }
.install-banner-text { flex: 1; margin: 0; font-size: .95rem; line-height: 1.35; }
.install-banner-action { flex: none; white-space: nowrap; }
.install-banner-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 2.25rem;
    min-height: 2.25rem;
    margin-right: -.5rem;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--muted);
    cursor: pointer;
}
.install-banner-close:hover { color: var(--text); }
.install-banner [hidden], .install-direct[hidden] { display: none; }

.install-direct { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-block: 1.25rem; }
.install-direct .button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.625rem; }
.install-guides { display: grid; gap: 1rem; margin-block: 1.5rem; }
.install-guide .hint { margin-bottom: 0; }
.install-steps { padding-left: 1.4rem; }
.install-steps li { padding-left: .2rem; }
.install-steps li + li { margin-top: .6rem; }
/* A button as it looks on the phone, so people recognise what to tap. */
.install-key {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .05rem .45rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface-2);
    font-weight: 600;
    white-space: nowrap;
}

/* The front page: two large, equal ways in, and nothing else that could be mistaken for a form. */
.home { max-width: 760px; margin-inline: auto; padding-block: 1rem; text-align: center; }
.home-title { font-size: clamp(2rem, 6vw, 2.6rem); margin-bottom: .75rem; }
.home-lead { max-width: 46ch; margin: 0 auto 2rem; font-size: 1.2rem; color: var(--muted); }
.home-choices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.home-choice {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: .35rem;
    min-height: 11rem;
    padding: 1.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 1px 3px rgb(0 0 0 / .06), 0 4px 12px rgb(0 0 0 / .04);
    transition: border-color .15s ease, transform .15s ease;
}
.home-choice:hover { border-color: var(--accent); transform: translateY(-2px); }
.home-choice-icon { width: 3rem; height: 3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-choice-fejl .home-choice-icon { color: var(--bin-4); }
.home-choice-ros .home-choice-icon { color: var(--ros-4); }
.home-choice-title { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.home-choice-text { font-size: 1.05rem; color: var(--muted); }
.home-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.home-about { max-width: 760px; margin: 2.5rem auto 0; }
.home-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; max-width: 26rem; }
.home-links .button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; text-align: center; }
@media (max-width: 560px) {
    .home-choices { grid-template-columns: minmax(0, 1fr); }
    .home-choice { min-height: 8.5rem; }
    .home-facts { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
    .home-links { grid-template-columns: minmax(0, 1fr); max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .home-choice { transition: none; } .home-choice:hover { transform: none; } }
