/*
 * Font loading only. All app styling lives in css/tailwind.css
 * → css/tailwind.out.css (built with `npm run build:css`).
 *
 * Only the 400 and 700 weights ship in this project, so those are the only two
 * declared. Previously just a 96 KB TTF at weight 400 was loaded, which meant
 * every `font-weight: bold` (the h1–h3 rules, <b>, .btn) was *synthesised* by
 * the browser and looked noticeably soft. The woff2 files were already in the
 * repo but unreferenced.
 *
 * font-display: swap keeps text visible while the font loads, and the two
 * preload <link>s in index.html put them at the front of the queue.
 *
 * fa-num is the Persian-digit cut of IRANSansX; it is also the Latin cut for
 * tabular figures, which is what the price columns rely on
 * (`toLocaleString('en-US')` → Latin digits, comma grouped).
 */

@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("fonts/woff2/IRANSansXFaNum-Regular.woff2") format("woff2"),
    url("fonts/Woff/IRANSansXFaNum-Regular.woff") format("woff");
}

@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("fonts/woff2/IRANSansXFaNum-Bold.woff2") format("woff2"),
    url("fonts/Woff/IRANSansXFaNum-Bold.woff") format("woff");
}
