:root {
  --hq-header-max: 1400px;
  --hq-header-logo: 56px;
  --hq-header-mobile-logo: 52px;
  --hq-header-z: 60;
  --site-backdrop:
    linear-gradient(105deg, rgba(5, 11, 11, 0.98) 0%, rgba(11, 26, 24, 0.88) 48%, rgba(0, 137, 106, 0.45) 100%),
    #101818;
}

.hq-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: var(--hq-header-z);
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 18px 0;
  pointer-events: none;
}

.hq-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--hq-header-max);
  margin: 0 auto;
  gap: 24px;
  pointer-events: auto;
}

.hq-header__brand {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: flex-start;
}

.hq-header__logo {
  display: block;
  width: var(--hq-header-logo);
  height: auto;
}

.hq-header__logo--dark {
  display: none;
}

.hq-header__title {
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.hq-header__title h1 {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: "eurostile-extended", Axiforma, Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-align: inherit;
  white-space: nowrap;
  word-break: normal;
}

.hq-header__actions {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.hq-header__actions[aria-hidden="true"] {
  visibility: hidden;
}

.hq-header--no-actions .hq-header__title {
  justify-content: flex-end;
  text-align: right;
}

.hq-header__beta {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0;
  font-family: Axiforma, Arial, sans-serif;
  font-size: 0.48rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00ab85 0%, #00896a 100%);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 171, 133, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .hq-header__logo--light {
    display: none;
  }

  .hq-header__logo--dark {
    display: block;
  }
}

@media (max-width: 768px) {
  .hq-header {
    min-height: 74px;
    padding: 14px 0;
  }

  .hq-header__inner {
    padding: 0 20px;
  }

  .hq-header__title h1 {
    font-size: clamp(0.78rem, 4.4vw, 1.1rem);
  }
}

@media (max-width: 480px) {
  .hq-header {
    padding: 12px 0;
  }

  .hq-header__inner {
    padding: 0 16px;
  }

  .hq-header__logo {
    width: var(--hq-header-mobile-logo);
  }
}
