@font-face {
  font-family: 'Inter Avangard';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('./inter-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter Avangard';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('./inter-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --av-header-height: 80px;
}

.av-site-header > :first-child {
  min-height: var(--av-header-height);
  padding-block: 0;
  gap: 12px;
}

.av-site-header a.av-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #f4f4f5;
  text-decoration: none;
  white-space: nowrap;
}

.av-brand-name {
  font: 600 clamp(18px, 1.65vw, 23px)/1.2 'Inter Avangard', Inter, sans-serif;
  letter-spacing: -.025em;
}

.av-brand-emblem {
  position: relative;
  display: block;
  width: 43px;
  height: 43px;
  overflow: hidden;
}

.av-site-header .av-brand-emblem img {
  position: absolute;
  width: 66px;
  height: 66px;
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1);
}

.av-site-header[class~="bg-white/95"] a.av-brand {
  color: #18181b;
}

.av-site-header[class~="bg-white/95"] .av-brand-emblem img {
  filter: brightness(0);
}

.av-site-header a.av-brand:focus-visible,
.av-site-header #menu-btn:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 3px;
}

.av-site-header .av-language-switch + #menu-btn {
  margin-inline-start: 0;
}

.av-site-header #nav-cta,
.av-site-header .site-nav .site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #0f766e;
  color: #fff;
}

.av-site-header #nav-cta:hover,
.av-site-header .site-nav .site-nav__cta:hover {
  background: #5eead4;
  color: #042f2e;
}

body.blog-page,
body.article-page {
  padding-top: var(--av-header-height);
}

.av-localised-home section[id] {
  scroll-margin-top: calc(var(--av-header-height) + 10px);
}

.av-lead-status {
  min-height: 1.25em;
  font-size: .875rem;
  color: #ccfbf1;
}

.av-lead-status[data-state='error'] {
  color: #fecaca;
}

.av-lead-form [aria-invalid='true'] {
  border-color: #fca5a5;
}

.av-lead-form [type='submit']:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.av-lead-form[aria-busy='true'] [type='submit'] { cursor: wait; }

.av-lead-form [type='submit']:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 3px;
}

@media (min-width: 1248px) {
  .av-localised-home header.av-site-header > div:first-child {
    gap: clamp(14px, 1.5vw, 24px);
  }

  .av-localised-home header.av-site-header > div:first-child > nav {
    margin-inline: auto 0;
  }
}

@media (max-width: 767px) {
  :root { --av-header-height: 72px; }

  .av-site-header > :first-child { gap: 8px; }

  .av-site-header a.av-brand { gap: 7px; }

  .av-brand-emblem { width: 34px; height: 34px; }

  .av-site-header .av-brand-emblem img { width: 55px; height: 55px; }

  .av-lead-form input:not([type='checkbox']),
  .av-lead-form textarea { font-size: 1rem; }
}
