/* Uns brand fonts — self-hosted (no Google Fonts call → no visitor-IP leak).
   Synced from huna/shared/brand/. Latin = Inter, Arabic (primary) = Readex Pro.
   Arabic glyphs fall through to Readex Pro automatically via per-glyph fallback. */

/* --- Inter (Latin) ---
   2026-08-28 delivery pass: 4 weights → 2. MEASURED usage across the app: 700×81, 600×79,
   800×32, 500×15, 400×3 — so 600+700 carry 76% of every Latin glyph rendered, and this is an
   Arabic-first product whose Arabic face is 9,776 B against 96,744 B of Latin. Dropping 400/500
   saves 47,936 B on every cold start; CSS font matching rounds those 18 uses up to 600, which
   reads slightly heavier and keeps the hierarchy intact. Reverting is re-adding two @font-face
   blocks — the .woff2 files stay on disk. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122; }

/* --- Readex Pro (Arabic — the primary brand face) --- */
@font-face { font-family:'Readex Pro'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/readex-pro-arabic-400-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+FB50-FDFF,U+FE70-FEFF; }
@font-face { font-family:'Readex Pro'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/readex-pro-arabic-600-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+FB50-FDFF,U+FE70-FEFF; }
@font-face { font-family:'Readex Pro'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/readex-pro-arabic-700-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+FB50-FDFF,U+FE70-FEFF; }

/* 2026-08-25 — the ٢٦ arch. Readex Pro's ٢ (a left-stemmed Γ) and ٦ (its right-stemmed mirror)
   leave 30/1000em of ink gap — the tightest of all 100 ordered digit pairs in the face, 18/1000em
   at weight 700. At UI sizes the two top bars antialias into one continuous bar: ٢٦ paints as a
   single arch, and so does any number containing the pair (٢٦٤ …). Not a ligature — fontTools
   shows zero GSUB/GPOS entries for the pair — so no feature setting can disable it; the fix is
   different ink. These faces borrow ONLY U+0660-0669 from a 1KB IBM Plex Sans Arabic subset whose
   ٢٦ gap is 75/1000em; declared INSIDE the Readex Pro family so they work through the !important
   font-family gate at index.html:1741 instead of fighting it. All three weights are required —
   600 and 700 are tighter than 400. Last declaration wins per code point, so these stay LAST. */
@font-face { font-family:'Readex Pro'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/ibm-plex-sans-arabic-digits.woff2') format('woff2'); unicode-range:U+0660-0669; }
@font-face { font-family:'Readex Pro'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/ibm-plex-sans-arabic-digits.woff2') format('woff2'); unicode-range:U+0660-0669; }
@font-face { font-family:'Readex Pro'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/ibm-plex-sans-arabic-digits.woff2') format('woff2'); unicode-range:U+0660-0669; }
