/* ==========================================================================
   Latin Web Fonts — Self-hosted (DESIGN-6 / D-1)
   --------------------------------------------------------------------------
   design-tokens.css NAMES 'Manrope' and 'Nunito Sans' and nothing on the
   WordPress side ever loaded them. next/font self-hosts both for the Next.js
   half, which is why the app renders in the brand faces and every
   WordPress-rendered surface fell through to whatever sans-serif the device
   supplies — cart, checkout, my-account, and the lesson player shell
   (player.css asks for var(--font-display) and var(--font-body) 20 times).

   WHY SELF-HOSTED RATHER THAN A GOOGLE FONTS ENQUEUE. The CSP in
   umayya-core/includes/security/class-security-headers.php:64-67 is
       style-src 'self' 'unsafe-inline'
       font-src  'self' https://fonts.gstatic.com
   Google Fonts is two hops: a stylesheet from fonts.googleapis.com, which is
   NOT in style-src, pointing at files on fonts.gstatic.com, which IS in
   font-src. So a Google Fonts enqueue is blocked at the first hop while the
   policy looks like it permits fonts. Self-hosting sidesteps it entirely,
   costs one origin fewer, and is what arabic-fonts.css already does.

   PROVENANCE. These four files are byte-for-byte the ones next/font serves to
   the Next.js half — copied out of .next/static/media, not re-downloaded — so
   the two halves of the platform render the same outlines, not merely the same
   family name. Both are VARIABLE fonts; the weight RANGE is what makes one
   file cover every weight the design uses.

     Manrope-Variable-latin.woff2          sha256 e310b55a7fd9677f…  24,576 B
     Manrope-Variable-latin-ext.woff2      sha256 ce093b341d9c1065…  15,240 B
     NunitoSans-Variable-latin.woff2       sha256 39184f4d011106f5…  30,948 B
     NunitoSans-Variable-latin-ext.woff2   sha256 2e164aa29c01fb08…  27,880 B

   Re-copy these when next/font's subsets change; nothing checks it for you.

   The unicode-ranges are next/font's own. `latin` (U+0000-00FF) already
   carries every accented character Spanish needs — á é í ó ú ñ ¿ ¡ — so
   `latin-ext` is only for the long tail and is a separate, smaller request the
   browser makes only if a page actually needs it.
   ========================================================================== */

/* Manrope — display face (--font-display) */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Variable-latin.woff2') format('woff2');
    font-weight: 200 800;
    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: 'Manrope';
    src: url('../fonts/Manrope-Variable-latin-ext.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                   U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito Sans — body face (--font-body) */
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-Variable-latin.woff2') format('woff2');
    font-weight: 200 1000;
    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: 'Nunito Sans';
    src: url('../fonts/NunitoSans-Variable-latin-ext.woff2') format('woff2');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                   U+2113, U+2C60-2C7F, U+A720-A7FF;
}
