/* Keep navigation changes separate from the shared, preserved policy styles. */
.site-header { position: relative; z-index: 30; }
.skip-link { z-index: 40; }
.site-header .header-inner { min-height: 76px; gap: 2rem; }
.site-header .brand { width: 110px; }
.site-header .site-nav { flex: 1; justify-content: space-between; flex-wrap: nowrap; gap: 1.5rem; width: auto; padding: 0; }
.nav-primary, .nav-actions { display: flex; align-items: center; gap: .3rem; }
.nav-actions { gap: 1rem; margin-left: auto; }
.nav-group { position: relative; }
.nav-trigger, .nav-direct, .nav-actions .login-link { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: .45rem .65rem; border-radius: 6px; color: #40516e; font-family: inherit; font-size: .82rem; font-weight: 650; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.nav-trigger { gap: .5rem; list-style: none; cursor: pointer; user-select: none; }
.nav-trigger::-webkit-details-marker { display: none; }
.nav-chevron { flex: none; transition: transform .15s ease; }
.nav-group[open] > .nav-trigger .nav-chevron { transform: rotate(180deg); }
.nav-group[open] > .nav-trigger, .nav-trigger:hover, .nav-direct:hover, .nav-actions .login-link:hover { color: #172444; background: #f2f5f9; text-decoration: none; }
.nav-group[data-current-group] > .nav-trigger, .nav-direct[aria-current] { color: #172444; }
.nav-direct[aria-current] { text-decoration: underline; text-underline-offset: .35rem; }
.nav-trigger:focus-visible, .site-nav a:focus-visible { outline: 2px solid #1b67bf; outline-offset: 3px; }
.nav-dropdown { position: absolute; top: calc(100% + 10px); left: 0; width: 310px; max-width: calc(100vw - 2rem); padding: 6px; border: 1px solid #dde3ed; border-radius: 9px; background: #fff; box-shadow: 0 14px 32px -15px #17244455; }
.nav-group:not([open]) > .nav-dropdown { display: none; }
.nav-dropdown ul { list-style: none; padding: 0; margin: 0; }
.nav-dropdown li + li { margin: 0; }
.nav-dropdown a { display: block; padding: 9px 11px; border-radius: 5px; color: #263a5c; font-size: .8rem; line-height: 1.4; text-decoration: none; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { color: #172444; background: #f2f5f9; text-decoration: none; }
.nav-link-title { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-weight: 650; }
.nav-link-description { display: block; margin-top: 3px; color: #63718a; font-size: .72rem; font-weight: 400; line-height: 1.45; }
.nav-preview-label { border-radius: 4px; padding: 1px 5px; color: #865218; background: #fff2df; font-size: .6rem; line-height: 1.4; font-weight: 650; }
.site-nav .nav-demo { min-height: 36px; padding: .45rem .85rem; border-radius: 6px; font-size: .82rem; font-weight: 650; line-height: 1.35; white-space: nowrap; }
.nav-actions .login-link { padding-inline: .2rem; }

@media (max-width: 1000px) {
  .site-header .header-inner { min-height: 72px; padding-block: .55rem; gap: .5rem 1rem; }
  .site-header .brand { width: 100px; }
  .site-header .menu-toggle { min-height: 36px; padding: .4rem .65rem; border-radius: 6px; font-size: .82rem; }
  .site-header .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .6rem; padding: .35rem 0 .55rem; }
  .nav-primary { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-group { border-bottom: 1px solid #edf0f5; }
  .nav-trigger, .nav-direct { display: flex; justify-content: space-between; width: 100%; min-height: 40px; padding: .55rem .5rem; font-size: .86rem; }
  .nav-direct { border-bottom: 1px solid #edf0f5; border-radius: 0; }
  .nav-dropdown { position: static; width: 100%; max-width: none; padding: 0 .25rem .4rem .65rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .nav-dropdown a { padding: 8px 10px; }
  .nav-actions { width: 100%; margin-left: 0; justify-content: space-between; padding: .4rem .5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-chevron { transition: none; }
}
