/* A consistent, compact menu on desktop and mobile. */
.header .wordmark{font-family:ui-rounded,'SF Pro Rounded',Nunito,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:1000;letter-spacing:-.045em}
.nav-shell{position:relative}
.nav-actions{margin-left:auto}
.header #main-nav{position:absolute;top:calc(100% - 2px);left:auto;right:0;width:min(420px,100%);padding:16px;display:none;flex-direction:column;gap:3px;font-size:15px;background:linear-gradient(145deg,#21174dfc,#171039fc);border:1px solid #b333ff40;border-radius:22px;box-shadow:0 24px 70px #0008;backdrop-filter:blur(18px)}
.header #main-nav.open{display:flex;animation:pop-in .25s var(--ease)}
.header #main-nav a{padding:14px 18px;border-radius:12px;transition:background .2s,color .2s}
.header #main-nav a:hover,.header #main-nav a:focus-visible{background:#b333ff18;color:#fff}
.header #main-nav a::after{display:none}
.header .menu-toggle{display:inline-grid;place-items:center;width:42px;height:42px;background:#b333ff10;border:1px solid #b333ff35;border-radius:13px}
.menu-toggle .icon{width:23px;height:23px}
.header .menu-toggle[aria-expanded=true]{background:#b333ff25;border-color:#b333ff70}
@media(max-width:720px){.header #main-nav{width:100%;top:75px}.header .menu-toggle{width:36px;height:36px;border-radius:11px}}
@media(prefers-reduced-motion:reduce){.header #main-nav.open{animation:none}}
.motion-paused .header #main-nav.open{animation:none}

/* An opaque edge gives Safari a stable dark tint while scrolling. */
@media(max-width:760px){.header{background-color:#0D0826}}
