/*
 | IRANSansX is served from this application, not a CDN: Iranian users often
 | sit behind filtered CDNs and a missing font would break the whole layout.
 | The variable file covers 100..1000; the static files are the fallback for
 | browsers without variable font support.
 |
 | The plain build, not IRANSansXFaNum. FaNum renders Latin digits as Persian
 | ones, which sounds right for a Persian site and is not: this application
 | already decides where Persian digits belong, with Jalali::digits(), and the
 | places it deliberately leaves alone are the ones FaNum would break. A
 | tracking code is the clearest — 7T4TQNPX would come out ۷T۴TQNPX, two
 | scripts inside one code somebody has to read down a phone.
 |
 | Licensed from fontiran.com — see public/fonts/iransansx/LICENSE.pdf, which
 | ships beside the font. This replaced Estedad (SIL OFL).
 */

@font-face {
    font-family: 'IRANSansX';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('/fonts/iransansx/IRANSansXV.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'IRANSansX Static';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/iransansx/IRANSansX-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSansX Static';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/iransansx/IRANSansX-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSansX Static';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/iransansx/IRANSansX-Bold.woff2') format('woff2');
}

/*
 | The stack, named once.
 |
 | resources/css/app.css and the landing page's inline stylesheet both read
 | this variable instead of repeating the family, so swapping the typeface is
 | this file plus config/fonts.php — not a search across six places.
 */
:root {
    --app-font-family: 'IRANSansX', 'IRANSansX Static', ui-sans-serif, system-ui, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
