/* Keep page navigation responsive while fonts load. */
.nav .brand-logo { display: block; width: 167px; height: 25.5px; }
@media (max-width:650px) { .nav .brand-logo { width: 142px; height: 21.65px; } }

/* Shared navigation geometry keeps the toggle in place between pages. */
@view-transition { navigation: auto; }
.brand { view-transition-name: none; }
.side-switch { view-transition-name: side-switch; }
.side-switch a[aria-current="page"] { view-transition-name: side-active; }
::view-transition-group(*) { animation-duration: 240ms; animation-timing-function: ease-out; }
::view-transition-old(root) { animation: page-out 180ms ease-out both; }
::view-transition-new(root) { animation: page-in 240ms ease-out both; }
::view-transition-old(side-switch), ::view-transition-new(side-switch), ::view-transition-old(side-active), ::view-transition-new(side-active) { animation-duration: 180ms; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }
.nav, .nav:has(.side-switch) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 92px; }
.nav .brand { justify-self: start; width: max-content; }
.side-switch { display: grid; grid-template-columns: repeat(2, 80px); padding: 3px; border-radius: 999px; font: 500 12px/1.2 Arial, sans-serif; letter-spacing: .06em; }
.side-switch a { justify-content: center; min-height: 44px; padding: 0; }
.side-switch a:focus-visible { outline: 2px solid #9fc6ff; outline-offset: 3px; }
@media (max-width: 920px) and (min-width: 651px) { .nav, .nav:has(.side-switch) { height: 78px; } }
@media (max-width: 650px) {
  .nav, .nav:has(.side-switch) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand actions" "switch switch"; height: 124px; padding: 12px 0; row-gap: 10px; }
  .nav .brand { grid-area: brand; }
  .nav .nav-actions { grid-area: actions; justify-self: end; }
  .nav .side-switch { grid-area: switch; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } .side-switch a { transition: none; } }
/* Identical CTA footprint on the two sides. */
.nav .nav-actions .button { width:148px; height:46px; min-height:46px; padding:0 12px; border-radius:2px; font:500 13px/1 Arial,sans-serif; white-space:nowrap; }
@media(max-width:650px) { .nav .nav-actions .button { width:132px; height:44px; min-height:44px; font-size:12px; } }

/* Shared CTA shell: keep its shape, change only the label across navigation. */
.nav,.nav:has(.side-switch) { width:min(1280px,calc(100% - 8vw)); }
.nav .nav-actions .button { view-transition-name:nav-cta; border:1px solid #0f4c9e; color:#f5f9ff; background:#0f4c9e; box-shadow:none; transform:none; transition:none; }
.nav .nav-actions .button:hover { background:#164f99; color:#f5f9ff; border-color:#164f99; transform:none; box-shadow:none; }
.nav .btn-glow { display:none; }
.nav-cta-label { view-transition-name:none; }
::view-transition-group(nav-cta) { animation:none; }
::view-transition-old(nav-cta) { animation:none; opacity:0; }
::view-transition-new(nav-cta) { animation:none; mix-blend-mode:normal; }

@media(max-width:920px) and (min-width:651px) { .nav,.nav:has(.side-switch) { width:min(680px,calc(100% - 40px)); } }
@media(max-width:650px) { .nav,.nav:has(.side-switch) { width:min(560px,calc(100% - 32px)); } }

.nav .nav-actions .button,.side-switch { font-family:"Manrope",Inter,ui-sans-serif,system-ui,sans-serif; }
/* Product nav is already inside its width-constrained container. */
.nav:not(.container) { width:100%; }
