/*
 * Atkinson Hyperlegible Next + Mono (Braille Institute; free for commercial use, files unaltered, no
 * attribution required) — served from our own host, no
 * external font request (DSGVO). One variable file per family covers weights 200–800 (`wght`) and the
 * italics (`ital`), so every page needs exactly one download per family.
 *
 * DECISION: plain CSS in public/ instead of a Vite entry — the error pages, the portal login and the
 * signing/acceptance pages are standalone documents that must render even without a build manifest.
 */
@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    src: url('AtkinsonHyperlegibleNext-Variable.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    src: url('AtkinsonHyperlegibleNext-Variable.woff2') format('woff2');
    font-weight: 200 800;
    font-style: italic;
    /* Chrome/Edge do not switch the `ital` axis on by themselves and, since the face claims to be italic,
       do not slant it either — without this every <em> rendered upright. */
    font-variation-settings: 'ital' 1;
    font-display: swap;
}

@font-face {
    font-family: 'Atkinson Hyperlegible Mono';
    src: url('AtkinsonHyperlegibleMono-Variable.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atkinson Hyperlegible Mono';
    src: url('AtkinsonHyperlegibleMono-Variable.woff2') format('woff2');
    font-weight: 200 800;
    font-style: italic;
    font-variation-settings: 'ital' 1;
    font-display: swap;
}
