/* Noto Sans, SIL OFL 1.1. One font contains Latin and the full Kazakh alphabet. */
@font-face {
  font-family: "KHC Kazakh";
  src: url("/fonts/noto-sans-kazakh-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Keep headings, labels and controls on the same face, including ҚАЗ before
   the language changes. Existing pages contain explicit font shorthands. */
html:lang(kk),
html:lang(kk) body,
html:lang(kk) body *,
html:lang(kk) #home .welcome-strip h1,
html:lang(kk) .registration-card h1,
html:lang(kk) .badge-code,
[data-language="kk"],
[data-lang="kk"],
#language option[value="kk"] {
  font-family: "KHC Kazakh", "Segoe UI", Arial, sans-serif !important;
  font-synthesis: none;
  font-kerning: normal;
}

html:lang(kk) :is(h1, h2, h3, h4),
html:lang(kk) #home .welcome-strip h1 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}
