.site-header {
  position: relative;
  z-index: 20;
  min-height: 78px;
  padding-inline: max(5%, calc((100% - 1280px) / 2));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 30px);
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1));
  background: rgba(11, 13, 16, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header-brand,
.site-header .brand,
.site-header .site-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white, #f4f3ef);
  font-family: var(--font-display, var(--display, "Space Grotesk", sans-serif));
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .11em;
  white-space: nowrap;
}

.site-header-brand img,
.site-header .brand img,
.site-header .site-brand img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.site-header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.3vw, 20px);
  color: #c0c3c5;
  font-size: 12px;
}

.site-header-nav a {
  padding-block: 10px;
  color: inherit;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-header-nav a:hover,
.site-header-nav a:focus-visible {
  color: var(--lime, var(--accent, #c6fa55));
}

.site-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header-cta {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--lime, var(--accent, #c6fa55));
  border-radius: 3px;
  background: var(--lime, var(--accent, #c6fa55));
  color: #11140c;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, filter 160ms ease;
}

.site-header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #11140c;
}

.site-header-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, rgba(255, 255, 255, .14));
  border-radius: 3px;
  background: rgba(255, 255, 255, .025);
  color: var(--white, #f4f3ef);
  font: 22px/1 var(--font-body, var(--body, sans-serif));
  cursor: pointer;
}

.site-header-toggle:hover,
.site-header-toggle:focus-visible {
  border-color: var(--lime, var(--accent, #c6fa55));
}

.site-header a:focus-visible,
.site-header-toggle:focus-visible {
  outline: 2px solid var(--lime, var(--accent, #c6fa55));
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .site-header {
    min-height: 74px;
  }

  .site-header-toggle {
    display: inline-flex;
  }

  .site-header-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 5;
    padding: 14px max(5%, calc((100% - 1280px) / 2)) 20px;
    display: none;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1));
    background: #0d1013;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .24);
  }

  .site-header-nav.is-open {
    display: flex;
  }

  .site-header-nav a {
    min-height: 43px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    font-size: 13px;
  }

  .site-header-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 500px) {
  .site-header {
    min-height: 68px;
    padding-inline: 5%;
    gap: 9px;
  }

  .site-header-brand,
  .site-header .brand,
  .site-header .site-brand {
    gap: 8px;
    font-size: 12px;
    letter-spacing: .09em;
  }

  .site-header-brand img,
  .site-header .brand img,
  .site-header .site-brand img {
    width: 30px;
    height: 30px;
  }

  .site-header-actions {
    margin-left: auto;
  }

  .site-header-actions .button-quiet,
  .site-header-actions .button-outline,
  .site-header-actions .site-header-secondary {
    display: none;
  }

  .site-header-cta {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .site-header-toggle {
    width: 38px;
    height: 38px;
  }
}
