/*
 * Brand webfonts, self-hosted (no third-party font CDN).
 *
 *  - Rubik (variable 300-900, SIL OFL) carries LATIN only: its unicode-range
 *    is limited to Latin, so Arabic text falls through to the next family in
 *    the stack (Cairo on marketing pages, IBM Plex Sans Arabic in the app).
 *  - Saudi Riyal (SIL OFL, github.com/emran-alhaddad/Saudi-Riyal-Font):
 *    U+20C1 is the SAUDI RIYAL SIGN (Unicode 17.0) — the glyph to use.
 *    U+20C0 is kept in range only because some older content emits it; it is
 *    a combining mark and renders zero-width, same as without this font.
 *
 * Use via the --rp-font / --rp-font-riyal tokens below.
 */

@font-face {
    font-family: 'Rubik';
    src: url('/assets/fonts/rubik/rubik-latin-var.woff2') format('woff2-variations'),
         url('/assets/fonts/rubik/rubik-latin-var.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
    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: 'saudi_riyal';
    src: url('/assets/fonts/saudi_riyal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+20C0-20C1;
}

@font-face {
    font-family: 'saudi_riyal';
    src: url('/assets/fonts/saudi_riyal-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+20C0-20C1;
}
