/* Persian UI: original Estedad variable webfont by Amin Abedi, bundled locally.
   Upstream: https://github.com/aminabedi68/Estedad
   Latin display: Caviara Regular, original webfonts supplied by the user.
   Caviara has no Persian/Arabic glyphs and is intentionally scoped to Latin art captions. */
@font-face {
  font-family: "Caviara";
  src: url("./assets/fonts/caviara/Caviara-Regular.woff2") format("woff2"),
       url("./assets/fonts/caviara/Caviara-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-024F, U+2000-206F;
}
@font-face {
  font-family: "Estedad";
  src: url("./assets/fonts/estedad/Estedad-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Typography only: layout, colors, content, artwork and animation stay unchanged. */
:root {
  --font-fa: "Estedad", Tahoma, Arial, sans-serif;
  --font-display: "Caviara", Georgia, serif;
}
body, .app-dialog { font-family: var(--font-fa); font-weight: 400; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6, .brand strong {
  font-family: var(--font-fa);
  font-weight: 700;
  letter-spacing: 0;
}
.hero-holo .hero-copy h1 { font-weight: 800; letter-spacing: 0; }
.pathways-heading h2, .pathway-copy h3 { font-weight: 700; }
.button, .text-link, .pathway-link, .header-login,
.site-nav, .dialog-tabs button, .field label { font-weight: 600; }
.article-visual > b { font-family: var(--font-fa); }

/* Scope the supplied display face to editorial Latin text, never operational
   values such as phone/OTP/Six ID/Telegram/email/license fields. Specificity
   keeps this rule intact when later page styles use an Arial font shorthand. */
.hero-holo .holo-coordinate,
.copper-mentor-art .mentor-art-caption,
.copper-featured-art .cover-label > small,
.copper-course-art.course-main-art small,
.about-statement > .latin,
.secondary-course .secondary-course-art > small,
.free-video-placeholder .free-video-visual > span:last-child {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}
