/* MrCloaker shared landing fonts. Same-origin paths keep generated pages domain-agnostic. */
@font-face {
  font-family: 'YekanBakh';
  src: url('fonts/yekanbakh-regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('fonts/yekanbakh-bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Kalameh';
  src: url('fonts/kalameh-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('fonts/lexend-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('fonts/lexend-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --mrc-font-fa: 'YekanBakh', 'Kalameh', system-ui, -apple-system, sans-serif;
  --mrc-font-fa-display: 'Kalameh', 'YekanBakh', system-ui, sans-serif;
  --mrc-font-en: 'Lexend', system-ui, -apple-system, sans-serif;
}

[dir='rtl'] body, html[lang='fa'] body { font-family: var(--mrc-font-fa); }
[dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3,
html[lang='fa'] h1, html[lang='fa'] h2, html[lang='fa'] h3 { font-family: var(--mrc-font-fa-display); }
[dir='ltr'] body, html[lang='en'] body { font-family: var(--mrc-font-en); }