/* ==========================================================================
   Mada — Self-hosted fonts (@font-face)
   Poppins (English) + Noto Kufi Arabic (Arabic). font-display: swap.
   No CDN (performance + privacy for a fintech client — CLAUDE.md §3.2).

   ⚠ Place the WOFF2 files in /assets/fonts/ (see assets/fonts/README.md).
   Until they exist the browser falls back to the system stack defined in
   --font-en / --font-ar (no breakage, just non-final rendering).
   ========================================================================== */

/* ---- Poppins (Latin) ------------------------------------------------------ */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/poppins-light.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-regular.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins-medium.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-semibold.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-bold.woff2") format("woff2");
}
@font-face {
	/* Used by the hero display headline (Figma: Poppins ExtraBold). */
	font-family: "Poppins";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/poppins-extrabold.woff2") format("woff2");
}

/* ---- JetBrains Mono (numeric chips, e.g. "~0.4s" — per Figma) ------------- */
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/jetbrains-mono-regular.woff2") format("woff2");
}

/* ---- Noto Kufi Arabic (Arabic) ------------------------------------------- */
@font-face {
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/noto-kufi-arabic-light.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/noto-kufi-arabic-regular.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/noto-kufi-arabic-medium.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/noto-kufi-arabic-semibold.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/noto-kufi-arabic-bold.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
	/* AR hero display headline (Figma: Noto Kufi ExtraBold). */
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/noto-kufi-arabic-extrabold.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
