/* Pass 142D1 — shared Persian typography correction.
   Vazirmatn is primary; the accepted Shabnam faces in styles.css remain fallback. */
@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");

:root {
  --kc-font-fa: Vazirmatn, Shabnam, "Noto Sans Arabic", "Noto Naskh Arabic", Vazir, Tahoma, Arial, sans-serif;
  --kc-font-en: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  font-family: var(--kc-font-fa);
}

.customer-fa,
.public-site[lang="fa"],
.seo-public-body,
.settings-dialog[dir="rtl"],
.service-builder-dialog[dir="rtl"] {
  font-family: var(--kc-font-fa);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.customer-en,
[lang="en"] {
  font-family: var(--kc-font-en);
}

.public-site :is(h1, h2, h3),
.seo-public-body :is(h1, h2, h3),
.public-header,
.public-footer {
  font-family: var(--kc-font-fa);
  font-synthesis: none;
}

/* Persian joined letterforms look cleaner without the previous aggressive tracking. */
.public-site[dir="rtl"] :is(h1, h2, h3, strong),
.seo-public-body :is(h1, h2, h3, strong) {
  letter-spacing: 0;
}

#customerView .public-hero h1,
.public-content-hero h1,
.seo-public-body .seo-hero h1 {
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

.public-kicker,
.public-section-kicker,
.public-content-kicker,
.seo-public-body .seo-kicker {
  font-weight: 700;
  letter-spacing: 0;
}

.public-site :is(button, .public-home-action, .public-content-button),
.seo-public-body :is(button, .seo-button) {
  font-weight: 700;
}
