/*
 * IKAROS brand tokens — one source for every surface (website, help centre, back office panels,
 * POS, kiosk, ordering pages, screens, error and offline pages). Plain CSS, no build step.
 * docs/brand.md explains each value. Surfaces keep their own short names (--accent, --night…)
 * and point them here; a store's own colour (Branding / Tenant::accentCss) still overrides --accent.
 * All names start with --ik- so they never clash with a surface's own variables.
 */

/* Commissioner (OFL, self-hosted): the brand typeface, Greek and Latin. Same files as partials/brand-fonts. */
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/commissioner/commissioner-greek-wght-normal.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/commissioner/commissioner-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/commissioner/commissioner-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    /* Type */
    --ik-font: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;

    /* Brand: night navy of the logo and product images, the action blue, the colour flow. */
    --ik-night: #031233;      /* dark bands, headers, theme-color */
    --ik-deep: #0a1f52;
    --ik-ink: #0b1430;        /* body text on light */
    --ik-blue: #2563ff;       /* the brand blue; white text on it 4.9:1 (AA) */
    --ik-blue-ink: #1546d6;   /* buttons with white text 7.3:1, links and small text on white 7.3:1, focus ring */
    --ik-blue-soft: #eaf0ff;  /* tints behind blue text (blue-ink on it 6.4:1) */
    --ik-glow: #5aa8ff;       /* highlights on dark only */
    --ik-cyan: #25cce5;
    --ik-sky: #4c9df0;
    --ik-violet: #8f7ff7;
    --ik-pink: #d36bdc;
    --ik-grad: linear-gradient(110deg, #25cce5, #4c9df0, #8f7ff7, #25cce5);
    --ik-grad-text: linear-gradient(90deg, #25cce5, #4c9df0, #8f7ff7, #d36bdc, #25cce5);
    /* The gradient under WHITE text (AI buttons, counters): the same hues, dark enough for 4.5:1 at every stop (5.4 / 6.7 / 7.1). */
    --ik-grad-strong: linear-gradient(110deg, #0e7490, #1d4ed8, #6d28d9);
    --ik-on-grad: #05141b;    /* text on the light gradient (--ik-grad): 5.8:1 or more */

    /* Neutrals */
    --ik-paper: #f3f6fb;
    --ik-surface: #ffffff;
    --ik-line: #dfe5ef;
    --ik-muted: #56627e;      /* 6.1:1 on white, 5.6:1 on paper */
    --ik-line-dark: rgba(148, 179, 255, .16);

    /* Status: fills (white text on the -strong shade ≥ 4.5:1), text on white, soft backgrounds. */
    --ik-ok: #059669;     --ik-ok-strong: #047857;     --ik-ok-text: #047857;     --ik-ok-soft: #d1fae5;
    --ik-warn: #d97706;   --ik-warn-strong: #b45309;   --ik-warn-text: #b45309;   --ik-warn-soft: #fef3c7;
    --ik-danger: #dc2626; --ik-danger-strong: #b91c1c; --ik-danger-text: #b91c1c; --ik-danger-soft: #fee2e2;

    /* Shape and space: three radii + pill, a 4px spacing step. */
    --ik-radius-s: 8px;
    --ik-radius: 12px;
    --ik-radius-l: 20px;
    --ik-pill: 999px;
    --ik-space: 4px;

    /* One focus ring: on light, blue-ink with a white halo; on dark, cyan with a night halo. */
    --ik-focus: #1546d6;
    --ik-focus-halo: #ffffff;
    --ik-focus-dark: #8fd9f0;
}
