/* FlagTastic design tokens: the single source for colour, type and shape.
   Load before every other stylesheet. Fonts are self-hosted (SIL OFL 1.1,
   licences in static/fonts/). */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/static/fonts/inter-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+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: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/static/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/static/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/static/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("/static/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2");
}

:root {
    color-scheme: dark;

    /* League palette. */
    --color-navy: #071a44;
    --color-navy-dark: #041027;
    --color-navy-soft: #132b57;
    --color-gold: #f4c542;
    --color-gold-hover: #ffe083;
    --color-gold-soft: rgba(244, 197, 66, .12);
    --color-orange: #f97316;

    /* Surfaces, from the page background up. */
    --color-page: #070d1a;
    --color-surface: #101b2e;
    --color-surface-raised: #132039;
    --color-field: #0b1629;

    /* Text and lines. */
    --color-text: #f8fafc;
    --color-muted: #b0bfd6;
    --color-faint: #8395b0;
    --color-border: rgba(163, 184, 218, .2);
    --color-border-strong: rgba(163, 184, 218, .3);

    /* Type: Inter for reading, Barlow Condensed for titles and numbers. */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;

    /* Shape and rhythm. */
    --ui-radius: 14px;
    --ui-radius-small: 9px;
    --ui-gap: 20px;
    --ui-hero: linear-gradient(120deg, #18345d, #0c1b34);
    --ui-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
