.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.topbar .dot {
  opacity: 0.4;
  margin: 0 6px;
}
.top-link {
  color: #e7e7e9;
}
body > header,
.header {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-top, 0);
  left: 0;
  right: 0;
  z-index: var(--header-layer, 50);
  width: 100%;
}

.header {
  background: var(--bg-soft) !important;
  border-bottom: 0;
}
.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(12px, 2vw, 20px);
  row-gap: 8px;
  align-items: center;
  padding-block: 12px;
}
.brand {
  color: var(--white);
  font-weight: 700;
}
.brand-logo {
  height: calc(
    var(--header-font-size) * var(--header-line-height) * 2 *
      var(--brand-logo-scale) * 2
  );
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #e7e7e9;
  font-weight: 400;
  margin: 1rem;
}
.brand-line1 {
  font-weight: inherit;
}
.brand-line2 {
  color: inherit;
  font-weight: inherit;
}
.nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: #e7e7e9;
  font-size: var(--header-font-size);
  line-height: var(--header-line-height);
}
.nav-list a:hover {
  color: var(--white);
}
.nav-list a.active {
  color: var(--pink);
}
.header-cta {
  margin-left: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ccc;
  margin: 6px 0;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: flex;
  }
}

@media (max-width: 959.98px) {
  .header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    transform: translateY(-120%);
    transition: 0.25s;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    padding: 20px;
  }
  .nav-toggle {
    display: inline-block;
  }

  button-3,
  .cta {
    flex: 0 0 auto;
  }
}

.header .container {
  max-width: var(--cont, 1200px);
  margin-inline: auto;
  padding-inline: clamp(12px, 4vw, 24px);
}
html,
body {
  overflow-x: visible;
}
img,
svg,
button-3,
.cta {
  max-width: 100%;
}

:where([id]) {
  scroll-margin-top: var(--header-height, 64px);
}
