/* JAZARION public typography: condensed Latin/Cyrillic, native Arabic family. */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/jazarion_site/jazarion/r20260816a/fonts/RobotoCondensed-Variable-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/jazarion_site/jazarion/r20260816a/fonts/RobotoCondensed-Variable-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/jazarion_site/jazarion/r20260816a/fonts/RobotoCondensed-Variable-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/jazarion_site/jazarion/r20260816a/fonts/RobotoCondensed-Variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --jz-font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --jz-display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

html:not([lang="ar"]) body,
html:not([lang="ar"]) :is(button, input, select, textarea) {
  font-family: var(--jz-font);
  font-kerning: normal;
  font-synthesis: none;
}

html:not([lang="ar"]) :is(.jz-page, .jzm-page) :is(h1, h2, h3),
html:not([lang="ar"]) :is(.jz-page, .jzm-page) :is(h1, h2, h3) * {
  font-family: var(--jz-display);
  font-synthesis: none;
}

html:not([lang="ar"]) :is(.jz-page, .jzm-page) h1 {
  font-weight: 720;
  line-height: .94;
  letter-spacing: -.047em;
  text-wrap: balance;
}

html:not([lang="ar"]) :is(.jz-page, .jzm-page) h2 {
  font-weight: 690;
  line-height: 1.03;
  letter-spacing: -.038em;
  text-wrap: balance;
}

html:not([lang="ar"]) :is(.jz-page, .jzm-page) h3 {
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -.018em;
  text-wrap: balance;
}

html:not([lang="ar"]) :is(
  .jz-hero__lede,
  .jzm-hero__lede,
  .jzbal-hero__lede,
  .jzb-hero__lede,
  .jz-section-head > p,
  .jzm-section-head > p,
  .jz-ai-teaser__copy > p,
  .jz-community__copy > p,
  .jz-heritage__copy > p,
  .jzc-hero__copy > p,
  .jzc-partner__copy > p,
  .jzm-product__description,
  .jzm-rfq__intro > p
) {
  font-family: var(--jz-font);
  font-weight: 380;
  letter-spacing: -.008em;
  line-height: 1.58;
  text-wrap: pretty;
}

html:not([lang="ar"]) :is(
  .jz-header-routes,
  .jz-nav,
  .jz-footer,
  .jz-button,
  .jzm-product-card__link,
  .jzm-add-button,
  .jzb-hero-catalog-link,
  .jzb-workspace-launch,
  .jzcb-primary-button,
  .jzcb-secondary-button,
  .jzcb-review-button
) {
  font-family: var(--jz-font);
}

html:not([lang="ar"]) :is(.jz-header-routes a, .jz-nav a, .jz-footer a, .jz-button, button, label, summary) {
  font-weight: 600;
}

html:not([lang="ar"]) main :is(p, li, dd) {
  text-wrap: pretty;
}

@media (max-width: 680px) {
  html:not([lang="ar"]) main :is(h1, h2, h3) {
    max-inline-size: 100%;
    letter-spacing: -.035em;
    overflow-wrap: normal;
    word-break: normal;
  }

  html[lang="ru"] main :is(h1, h2, h3) {
    hyphens: none;
  }

  html[lang="ru"] .jzb-hero h1 {
    font-size: clamp(35px, 10.2vw, 44px) !important;
    line-height: 1.02 !important;
    text-wrap: balance;
  }

  html:not([lang="ar"]) main :is(p, li, dd, a, button, label, summary) {
    max-inline-size: 100%;
    overflow-wrap: break-word;
  }

  html:not([lang="ar"]) :is(
    .jz-hero__lede,
    .jzm-hero__lede,
    .jzbal-hero__lede,
    .jzb-hero__lede,
    .jz-section-head > p,
    .jzm-section-head > p
  ) {
    line-height: 1.52;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
