.nav.site-nav {
  background: rgba(250, 250, 252, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-nav .nav-inner {
  width: calc(100% - 64px);
  max-width: none;
  min-height: 52px;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 0;
  gap: 32px;
  justify-content: space-between;
}
.nav.site-nav .brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.site-nav .brand:hover {
  text-decoration: none;
}
.nav.site-nav .nav-links {
  gap: 32px;
}
.nav.site-nav .nav-links a {
  font-size: 12px;
  color: #424245;
  border-radius: 10px;
}
.nav.site-nav .nav-links a:hover {
  color: #2369df;
  text-decoration: none;
}
.nav.site-nav .nav-links a[aria-current="page"] {
  color: #06c;
}
.site-nav [hidden] {
  display: none !important;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
}
.menu-toggle span {
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.menu-toggle:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .nav.site-nav .nav-inner {
    width: calc(100% - 32px);
    min-height: 52px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav.site-nav .brand {
    font-size: clamp(13px, 3.7vw, 16px);
  }
  .nav.site-nav .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 8px 24px;
  }
  .nav.site-nav .nav-links a {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.04em;
    min-height: 56px;
    padding-inline: 12px;
  }
  .nav.site-nav .nav-links a:hover,
  .nav.site-nav .nav-links a:focus-visible {
    background: #edf4ff;
  }
  .nav.site-nav.menu-ready .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 12px 20px 24px;
    max-height: calc(100dvh - 52px);
    overflow-y: auto;
    background: #fafafc;
    border-bottom: 1px solid #e5e5e7;
    box-shadow: 0 20px 24px -24px #0005;
  }
  .nav.site-nav.menu-open {
    background: #fafafc;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span {
    transition: none;
  }
}
