.site-nav {
  padding-block: 16px;
  position: relative;
  z-index: 4;
  color-scheme: light;
}
.nav-card {
  background: white;
  color: #18181b;
  border: 1px solid #e4e4e7;
  border-radius: 24px;
  box-shadow: 0 1px 2px #0000000a, 0 12px 32px -8px #0000001a;
}
.nav-row, .nav-actions, .nav-links, .nav-links button {
  display: flex;
  align-items: center;
}
.nav-row { justify-content: space-between; gap: 16px; padding: 16px 32px; }
.nav-row .brand { font-size: 23px; letter-spacing: -1.2px; }
.nav-row .brand img { width: 32px; height: 32px; }
.nav-links { gap: 4px; }
.nav-links > *, .nav-secondary, .nav-primary {
  padding: 9px 15px;
  border-radius: 999px;
  color: #52525b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color .18s, color .18s;
}
.nav-links button { gap: 8px; }
.nav-links > :hover { background: #fafafa; color: #18181b; }
.nav-links [aria-expanded=true] { background: #f4f4f5; color: #18181b; }
.nav-chevron {
  width: 7px; height: 7px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s;
}
[aria-expanded=true] > .nav-chevron { transform: translateY(2px) rotate(225deg); }
.nav-actions { gap: 10px; }
.nav-primary, .nav-secondary { padding: 10px 19px; font-size: 14px; text-align: center; }
.nav-secondary { color: #18181b; background: #fafafa; border: 1px solid #e4e4e7; }
.nav-secondary:hover, .nav-secondary[aria-current=page] { background: #ededf0; }
.nav-primary { color: white; background: #18181b; border: 1px solid #18181b; }
.nav-primary:hover { background: #343439; }
.nav-fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s var(--ease-out), opacity .25s; }
.nav-fold:not([inert]) { grid-template-rows: 1fr; opacity: 1; }
.nav-fold > div { overflow: hidden; min-height: 0; }
.nav-columns { display: grid; grid-template-columns: 1fr 1fr 288px; gap: 40px; padding: 8px 32px 32px; }
.nav-columns h2 { display: inline-block; border: 1px solid #e4e4e7; color: #666670; border-radius: 999px; padding: 5px 14px; font-size: 12px; font-weight: 600; }
.nav-columns ul { padding: 0; margin: 22px 0 0; list-style: none; }
.nav-columns li + li { margin-top: 14px; }
.nav-columns li a { font-weight: 600; font-size: 20px; letter-spacing: -.035em; }
.nav-columns li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-preview { position: relative; display: flex; align-items: flex-end; min-height: 256px; overflow: hidden; border-radius: 16px; background: #24242a; }
.nav-preview img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.nav-preview span { position: relative; width: 100%; padding: 40px 16px 16px; font-size: 14px; color: white; background: linear-gradient(transparent,#000b); }
#nav-toggle, #nav-mobile { display: none; }
@media (max-width: 1023px) {
  .nav-row { padding: 14px 24px; }
  .nav-desktop { display: none; }
  #nav-toggle { display: grid; align-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 50%; }
  #nav-toggle span { display: block; width: 21px; height: 2px; margin-inline: auto; background: #3f3f46; transition: transform .18s, opacity .18s; }
  #nav-toggle[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
  #nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  #nav-toggle[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  #nav-mobile { display: grid; }
  .nav-mobile-body { padding: 0 24px 24px; }
  .nav-links, .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-links > * { padding: 11px 12px; border-radius: 12px; justify-content: space-between; }
  .nav-columns { display: block; padding: 0 12px 0 20px; margin: 8px 0 12px 12px; border-left: 1px solid #dddde2; }
  .nav-columns section + section { margin-top: 12px; }
  .nav-columns h2 { display: none; }
  .nav-columns ul { margin: 0; }
  .nav-columns li + li { margin-top: 10px; }
  .nav-columns li a { font-size: 15px; color: #52525b; }
  .nav-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e4e4e7; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav *, .site-nav *::after { transition: none !important; }
}
