.go237-header {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.25rem);
  width: 100%;
  min-height: 72px;
  padding: 0.68rem clamp(1rem, 3.4vw, 2rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.16), transparent 18rem),
    rgba(8, 11, 26, 0.985);
  color: var(--go237-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
}

.go237-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.go237-header__logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(112px, 12vw, 146px);
  height: 42px;
  padding: 0.32rem 0.62rem;
  border-radius: 16px;
  background: #f5f1eb;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.go237-header__logo-frame img {
  display: block;
  width: 100%;
  max-height: 24px;
  object-fit: contain;
}

.go237-header__tagline {
  max-width: 92px;
  color: var(--go237-muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.go237-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  line-height: 0;
}

.go237-header__toggle span:not(.screen-reader-text) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.go237-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.go237-nav__list,
.go237-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.go237-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.22rem, 1.2vw, 0.78rem);
}

.go237-nav a,
.go237-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.76rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--go237-muted);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.go237-nav a:hover,
.go237-nav button:hover,
.go237-nav [aria-expanded="true"] {
  background: rgba(139, 92, 246, 0.16);
  color: #fff;
}

.go237-nav__item--has-children {
  position: relative;
}

.go237-nav__item--has-children > ul {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  display: none;
  min-width: 220px;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #11162d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.go237-nav__item--has-children:hover > ul,
.go237-nav__item--has-children.is-open > ul {
  display: block;
}

.go237-header__utility {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  flex: 0 0 auto;
  min-width: 0;
}

.go237-lang {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.go237-lang button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--go237-muted);
  font-weight: 700;
}

.go237-lang [aria-current="true"] {
  background: var(--go237-purple);
  color: #fff;
}

.go237-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .go237-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand spacer utility"
      "nav nav nav";
    flex-wrap: initial;
    padding-block: 0.62rem;
  }

  .go237-header__brand {
    grid-area: brand;
  }

  .go237-header__toggle {
    display: inline-flex;
    order: 0;
    margin-left: 0;
    position: static;
    background: rgba(139, 92, 246, 0.95);
    box-shadow: 0 10px 26px rgba(139, 92, 246, 0.3);
  }

  .go237-header__toggle[aria-expanded="true"] {
    background: #fff;
    color: var(--go237-purple);
  }

  .go237-header__utility {
    grid-area: utility;
    order: 0;
    width: auto;
    margin-left: 0;
  }

  .go237-login {
    display: none;
  }

  .go237-nav {
    grid-area: nav;
    order: 4;
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .go237-nav.is-open {
    display: block;
  }

  .go237-nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 0 0.25rem;
  }

  .go237-nav a,
  .go237-nav button {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding-inline: 1rem;
  }

  .go237-nav__item--has-children > ul {
    position: static;
    display: none;
    min-width: 0;
    margin: 0.25rem 0 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  .go237-nav__item--has-children:hover > ul {
    display: none;
  }

  .go237-nav__item--has-children.is-open > ul {
    display: block;
  }
}

@media (max-width: 520px) {
  .go237-header__tagline {
    display: none;
  }

  .go237-header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "utility"
      "nav";
    align-items: center;
    gap: 0.44rem;
    padding: 0.58rem 0.82rem 0.64rem;
  }

  .go237-header::after {
    content: none;
  }

  .go237-header__brand {
    grid-area: brand;
    order: 1;
    justify-self: start;
  }

  .go237-header__logo-frame {
    width: 124px;
    height: 38px;
    border-radius: 14px;
  }

  .go237-header__logo-frame img {
    max-height: 22px;
  }

  .go237-header__toggle {
    order: 2;
    margin-left: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    position: static;
    z-index: 5;
    opacity: 1;
    visibility: visible;
    background: rgba(139, 92, 246, 0.95);
    box-shadow: 0 10px 26px rgba(139, 92, 246, 0.3);
    pointer-events: auto;
  }

  .go237-header__utility {
    grid-area: utility;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .go237-nav {
    grid-area: nav;
  }

  .go237-lang {
    gap: 0.15rem;
    padding: 0.2rem;
  }

  .go237-lang button {
    min-width: 50px;
    min-height: 32px;
    padding: 0;
    font-size: 0.82rem;
  }
}
