.site-header {
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(253, 246, 240, 0.94);
  border-bottom: 1px solid rgba(31, 26, 79, 0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 14px 32px;
  position: relative;
}

.brand-link img {
  height: 56px;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  color: #1f1a4f;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 6px 2px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-bottom-color: #7e55a8;
  color: #7e55a8;
}

.site-header .header-cta {
  align-items: center;
  background: #9b72cf;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(31, 26, 79, 0.05), 0 6px 18px -8px rgba(31, 26, 79, 0.15);
  color: #fff;
  display: inline-flex;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  padding: 13px 24px;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .header-cta:hover {
  background: #7e55a8;
}

.menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(31, 26, 79, 0.12);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(31, 26, 79, 0.05), 0 6px 18px -8px rgba(31, 26, 79, 0.15);
  color: #1f1a4f;
  cursor: pointer;
  display: none;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
}

.menu-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-toggle__bars span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
}

.menu-toggle__label {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
  }

  .brand-link {
    flex: 0 0 auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: 0;
    position: fixed;
    right: 20px;
    top: 18px;
    z-index: 30;
  }

  .site-nav {
    background: #fff;
    border: 1px solid rgba(31, 26, 79, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px -20px rgba(31, 26, 79, 0.28);
    display: none;
    flex-direction: column;
    gap: 2px;
    margin-left: 0;
    order: 4;
    padding: 14px;
    position: relative;
    top: 0;
    width: 100%;
  }

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

  .site-nav a {
    border-bottom: 0;
    border-radius: 14px;
    padding: 10px 12px;
    width: 100%;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: #f2e9f4;
    border-bottom-color: transparent;
  }

  .brand-link img {
    height: 48px;
  }

  .site-header .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    overflow: visible;
  }

  .site-header__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .menu-toggle {
    height: 46px;
    justify-content: center;
    padding: 0;
    right: 12px;
    top: 14px;
    width: 46px;
  }

  .menu-toggle__bars {
    width: 20px;
  }

  .menu-toggle__label {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .site-nav a {
    font-size: 13.5px;
  }
}
