/*
 * EWF Guru - gedeelde huisstijl: lettertypen, tokens en het merkteken.
 *
 * Geladen door elke pagina van guru: de openbare site (vóór guru.css) en het
 * beheervlak en het klantportaal (vóór Bootstrap en app.css). Overgenomen uit
 * het cf2026-template van easyworkflows.nl.
 */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
    font-family: 'Ubuntu';
    src: url("../fonts/ubuntu-400-latin.6e27639876db.woff2") format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Ubuntu';
    src: url("../fonts/ubuntu-500-latin.4bc57d2a6cd2.woff2") format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Ubuntu';
    src: url("../fonts/ubuntu-700-latin.1459703cdb29.woff2") format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Switzer';
    src: url("../fonts/switzer-400.e23161fd661d.woff2") format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Switzer';
    src: url("../fonts/switzer-500.a7cfda8e3222.woff2") format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Switzer';
    src: url("../fonts/switzer-600.eb58db2b5a33.woff2") format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Switzer';
    src: url("../fonts/switzer-700.8463cdb9a06b.woff2") format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
    /* De vijf banen uit de logo-swoosh. */
    --teal: #0E8FA8;
    --lime: #8FAE1B;
    --orange: #E87A12;
    --crimson: #DE2E44;
    --magenta: #E0187F;

    /* Verdiepte varianten, alleen voor vlakken met witte tekst erop. */
    --teal-deep: #0E8096;
    --lime-deep: #667E1B;
    --orange-deep: #AE6014;
    --crimson-deep: #DC2E44;
    --magenta-deep: #DE187E;

    --teal-soft: #E4F3F6;
    --lime-soft: #F0F4DF;
    --orange-soft: #FDEEDC;
    --crimson-soft: #FCE7E9;
    --magenta-soft: #FCE4F0;

    --paper: #FFFFFF;
    --paper-2: #F2F5F6;
    --surface: #FFFFFF;
    --ink: #0F1A1D;
    --ink-2: #4A585D;
    --ink-3: #78868B;
    --line: color-mix(in srgb, var(--ink) 13%, transparent);
    --line-2: color-mix(in srgb, var(--ink) 7%, transparent);

    --accent: var(--teal);
    --accent-deep: var(--teal-deep);
    --accent-soft: var(--teal-soft);

    /* De drie blauwen van het Easy.Work.Flows-wordmark. */
    --ewf-blue-1: #305B9A;
    --ewf-blue-2: #387CAA;
    --ewf-blue-3: #479BD5;

    /* Vlakken die in beide schema's donker moeten blijven. */
    --panel-dark: #1F3047;
    --panel-dark-text: #FFFFFF;
    --panel-dark-muted: rgba(255, 255, 255, .72);
    --panel-dark-line: rgba(255, 255, 255, .16);

    --font-display: 'Ubuntu', 'Trebuchet MS', sans-serif;
    --font-body: 'Switzer', 'Segoe UI', sans-serif;

    --shell: 1240px;
    --pad: 1.25rem;
    --radius: 14px;
    --radius-lg: 22px;
    --step: clamp(2.5rem, 5vw, 4.5rem);
    --head-h: 68px;

    --ease: cubic-bezier(.22, .8, .28, 1);
    --shadow: 0 1px 2px rgba(16, 27, 30, .05), 0 12px 32px -18px rgba(16, 27, 30, .32);
    --shadow-lg: 0 2px 4px rgba(16, 27, 30, .05), 0 34px 70px -32px rgba(16, 27, 30, .42);
}

@media (min-width: 768px) {
    :root { --pad: 2rem; --head-h: 84px; }
}

:root:not([data-theme="light"]) {
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --paper: #0B1214;
        --paper-2: #121B1E;
        --surface: #141F22;
        --ink: #EEF3F3;
        --ink-2: #A6B4B8;
        --ink-3: #7C8A8E;
        --line: color-mix(in srgb, var(--ink) 18%, transparent);
        --line-2: color-mix(in srgb, var(--ink) 10%, transparent);

        --ewf-blue-1: #7FBCE8;
        --ewf-blue-2: #5FA9DC;
        --ewf-blue-3: #479BD5;

        --teal: #35B6CE;
        --lime: #B7D634;
        --orange: #FF9A3C;
        --crimson: #FF6274;
        --magenta: #FF4FA3;

        --teal-deep: #277F8F;
        --lime-deep: #697D26;
        --orange-deep: #A3672E;
        --crimson-deep: #B94F5F;
        --magenta-deep: #C74183;

        --teal-soft: #10282E;
        --lime-soft: #1F2711;
        --orange-soft: #2E1F0E;
        --crimson-soft: #2E1418;
        --magenta-soft: #2C1020;

        --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -18px rgba(0, 0, 0, .8);
        --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 34px 70px -32px rgba(0, 0, 0, .9);
    }
}

/* --- Merkteken ------------------------------------------------------------ */

/* De swoosh als vijf blokjes; hetzelfde kleurritme als het logo. */
.brand-mark {
    display: grid;
    grid-template-columns: repeat(2, 9px);
    gap: 3px;
    flex: none;
}

.brand-mark i {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.brand-mark i:nth-child(1) { background: var(--teal); }
.brand-mark i:nth-child(2) { background: var(--magenta); }
.brand-mark i:nth-child(3) { background: var(--orange); }
.brand-mark i:nth-child(4) { background: var(--lime); }
