/* Rekall UI — tokens.css
   The one source for Rekall colours, type and spacing. Shared by the course site,
   rekall-administratie and rekall-education-crm. Names are always English.

   Palette "mint & coral" (October 2026). Every text/background pair is contrast-checked:
   - coral #d04637 with white text = 4.55:1: the lightest coral that passes, do NOT lighten
   - on dark (#0f2a2a) coral is always #ff9b82 (7.4:1)
   - #f2705e and lighter only for surfaces without text
   - red #b7352d: text 4.79–5.90:1, white on it 5.90:1
   - green #2f6b34: text 5.21–6.42:1, white on it 6.42:1
   - field border #5e8782: 3.99:1 on white, 3.71:1 on mint-band (non-text needs 3:1)
   Colour is never the only signal: always add a word or an icon. */

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-SemiBoldItalic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rekall Atkinson";
    src: url("../fonts/AtkinsonHyperlegibleNext-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;

    /* Text */
    --ink: #0f2a2a;
    --ink-soft: #465f5d;       /* secondary text: 6.87:1 on white */
    --ink-lead: #294240;
    --link: #0f5e57;

    /* Surfaces */
    --paper: #ffffff;
    --mint-band: #f1f8f7;      /* light page background */
    --mint: #d6ecea;
    --dark: #0f2a2a;
    --on-dark: #cfe6e3;

    /* Coral (brand accent) */
    --coral: #d04637;
    --coral-dark: #b5392c;     /* white on it 5.9:1 */
    --coral-on-dark: #ff9b82;
    --coral-tint: #ffe3db;
    --coral-soft: #fff1ec;

    /* Meaning: problem and solution */
    --red: #b7352d;
    --red-soft: #fbecea;
    --green: #2f6b34;
    --green-soft: #e9f3ea;

    /* Lines */
    --line: #cfe3e0;           /* decorative dividers */
    --field-border: #5e8782;   /* inputs and outlined controls */

    /* Type */
    --font: "Rekall Atkinson", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;  /* buttons, links, values, menu items, tags, subtitles */
    --font-weight-bold: 600;    /* bold text, totals, headings in the tools */
    --font-weight-title: 700;   /* heavier titles: h1, h2 and h3 of the course site */
    --font-weight-figure: 800;  /* big figures, as in the lessons of the course site */

    /* Shape and space */
    --radius: 10px;
    --radius-small: 6px;
    --wrap: 72rem;
    --gutter: clamp(1rem, 4vw, 3rem);
}
