/*
 * Self-hosted IRANYekanX faces. Six static weights are shipped in
 * ../assets/fonts (converted from the app's licensed TTFs); font-display is
 * swap so text is never invisible while the font loads.
 *
 * SUBSTITUTION NOTE: the original design source also references a variable
 * font, `IRANYekanXVF` (IRANYekanXVFaNumVF.woff2), used for the boldest
 * display headings via `font-variation-settings: 'wght' 900, 'dots' 2`. We
 * do not have that VF file licensed/converted yet, so the `IRANYekanXVF`
 * family and every `font-variation-settings` declaration have been dropped
 * from this page; headings instead use the static `IRANYekanX` family at
 * `font-weight: 900` (or 800/700 where the source asked for those), which
 * reads the same in a browser that lacks font-variation support anyway.
 * If the VF file is ever licensed and converted, this is reversible: add the
 * @font-face back, swap `font-weight: 900` back to
 * `font-variation-settings: 'wght' 900, 'dots' 2'` on the selectors that
 * used to carry it, and reintroduce `'IRANYekanXVF'` first in the relevant
 * font-family stacks.
 */

@font-face {
  font-family: "IRANYekanX";
  src: url("../assets/fonts/IRANYekanXFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../assets/fonts/IRANYekanXFaNum-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../assets/fonts/IRANYekanXFaNum-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../assets/fonts/IRANYekanXFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../assets/fonts/IRANYekanXFaNum-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../assets/fonts/IRANYekanXFaNum-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
