/* Rubik variable font, SIL Open Font License (rubik/OFL.txt).
   Self-hosted: no third-party requests from the CRM. */
:root {
    --crm-text-size: 16px;
    --crm-font: "Rubik", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
}

html, body, button, input, select, textarea, option, optgroup {
    font-family: var(--crm-font);
}

body, button, input, select, textarea, option, optgroup, small {
    font-size: var(--crm-text-size);
}

@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("./rubik/cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("./rubik/cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("./rubik/latin.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;
}
