@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/noto-kufi-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  --type-display: "Manrope", "Inter", system-ui, sans-serif;
  --type-body: "Manrope", "Inter", system-ui, sans-serif;
}

body {
  font-family: var(--type-body);
  font-weight: 500;
  letter-spacing: -0.008em;
}

h1,
h2,
h3,
h4,
.brand,
.main-nav,
.btn,
.section-kicker,
.eyebrow {
  font-family: var(--type-display);
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h3,
.btn,
.main-nav a,
.footer__links h3 {
  font-weight: 700;
}

.hero__lead,
.page-hero__lead,
.section-head > p,
.contact-copy > p,
.footer__brand > p {
  letter-spacing: -0.014em;
}

.language-switch,
.nav-menu__languages {
  white-space: nowrap;
}

.language-switch a,
.nav-menu__languages a {
  min-width: 2.35rem;
  text-align: center;
}

html[lang="ru"] body {
  font-family: "Manrope", system-ui, sans-serif;
}

html[lang="ru"] h1,
html[lang="ru"] h2 {
  letter-spacing: -0.035em;
}

html[lang="ar"] body {
  font-family: "Noto Kufi Arabic", "Manrope", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.8;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .btn,
html[lang="ar"] .main-nav,
html[lang="ar"] .section-kicker,
html[lang="ar"] .eyebrow {
  font-family: "Noto Kufi Arabic", "Manrope", system-ui, sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .hero__actions,
html[dir="rtl"] .contact-channels,
html[dir="rtl"] .proof-actions,
html[dir="rtl"] .footer__policy,
html[dir="rtl"] .footer__tail {
  direction: rtl;
}

html[dir="rtl"] bdi[dir="ltr"],
html[dir="rtl"] [dir="ltr"] {
  unicode-bidi: isolate;
}

html[dir="rtl"] .spec-table tbody th,
html[dir="rtl"] .spec-table tbody td {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] address,
html[dir="rtl"] a[href^="mailto:"] {
  unicode-bidi: isolate;
}

.footer--premium {
  padding-top: clamp(72px, 7vw, 108px);
}

.footer__brand > p,
.footer__links a,
.footer__links span {
  font-size: 14px;
  line-height: 1.68;
}

.footer__links h3 {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.09em;
}

.footer__legal {
  position: relative;
  min-height: 84px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  font-size: 13px;
}

.footer__policy,
.footer__tail {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__policy {
  justify-self: start;
  flex-wrap: wrap;
}

.footer__tail {
  justify-self: end;
}

.footer__tail > span {
  white-space: nowrap;
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.footer__credit-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__credit-sigil,
.footer__credit-wordmark {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer__credit-sigil {
  width: 18px;
  height: 18px;
}

.footer__credit-wordmark {
  width: 82px;
  height: auto;
}

.footer__credit:hover,
.footer__credit:focus-visible {
  color: #fff;
}

.footer__credit:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(255, 255, 255, 0.84);
  outline-offset: 5px;
}

@media (max-width: 980px) {
  .nav-menu__languages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer__legal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "credit credit"
      "policy tail";
    row-gap: 22px;
    padding-block: 26px;
  }

  .footer__policy {
    grid-area: policy;
  }

  .footer__credit {
    grid-area: credit;
    justify-self: center;
  }

  .footer__tail {
    grid-area: tail;
  }
}

@media (max-width: 680px) {
  .footer__legal {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "credit"
      "policy"
      "tail";
    justify-items: center;
    text-align: center;
  }

  .footer__policy,
  .footer__tail {
    justify-self: center;
    justify-content: center;
  }

  .footer__tail {
    flex-wrap: wrap;
  }

  .footer__tail > span {
    white-space: normal;
  }
}
