/* ============================================================
   SmartPekua — Font Loading (Self-hosted, Bangla-first)
   ------------------------------------------------------------
   কেন self-host?  Google Fonts CDN বাংলাদেশ থেকে ধীর, আর third-party
   রিকোয়েস্ট Lighthouse স্কোর ও প্রাইভেসি দুটোই নষ্ট করে।
   ফন্ট ফাইল নামানোর জন্য চালান:  assets/scripts/download-fonts.ps1
   ফাইলগুলো যাবে:  /public/fonts/
   ------------------------------------------------------------
   গুরুত্বপূর্ণ: unicode-range দিয়ে বাংলা ও ল্যাটিন আলাদা সাবসেটে ভাগ
   করা আছে — ইংরেজি টগলে থাকলে ব্রাউজার বাংলা ফাইল ডাউনলোডই করবে না।
   ============================================================ */

/* Bengali block: U+0980–09FF, danda U+0964–0965, ZWJ/ZWNJ U+200C–200D */

/* ---------- Anek Bangla (Display / Headings) — variable ---------- */
@font-face {
  font-family: "Anek Bangla";
  src: url("/fonts/anek-bangla-bengali.woff2") format("woff2-variations"),
       url("/fonts/anek-bangla-bengali.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Anek Bangla";
  src: url("/fonts/anek-bangla-latin.woff2") format("woff2-variations"),
       url("/fonts/anek-bangla-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21BB;
}

/* ---------- Hind Siliguri (Body / UI) ---------- */
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-400-bengali.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-500-bengali.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-600-bengali.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-600-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-700-bengali.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Hind Siliguri";
  src: url("/fonts/hind-siliguri-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

/* ---------- Inter (Latin only — ইংরেজি মোড, নম্বর, ইমেইল) ---------- */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2-variations"),
       url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21BB;
}

/* ============================================================
   Preload হিন্ট — HTML <head>-এ এই দুটো লাইন দিন (LCP উন্নত হয়):

   <link rel="preload" href="/fonts/hind-siliguri-400-bengali.woff2"
         as="font" type="font/woff2" crossorigin>
   <link rel="preload" href="/fonts/anek-bangla-bengali.woff2"
         as="font" type="font/woff2" crossorigin>

   বাকি weight গুলো preload করবেন না — swap-এ লোড হবে।
   ============================================================ */
