/* Navigation only. All page content, routes and header dimensions stay intact. */
header.navbar .navlinks > a:not(.navcta),
header.trust-nav .trust-links > a {
  text-decoration: none;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: color .16s ease;
}
header.navbar .navlinks > a:not(.navcta):hover,
header.trust-nav .trust-links > a:hover {
  color: #e4f3f7;
  text-decoration: underline;
  text-decoration-color: #69c9d5;
}
header.navbar .navlinks > a:focus-visible,
header.trust-nav .trust-links > a:focus-visible {
  outline: 2px solid #72d5df;
  outline-offset: 6px;
  border-radius: 3px;
}
.why-nav-installed header.navbar .why-nav-menu > summary {
  color: #b8d0da;
  background: #0a1b26;
  border-color: #2d5363;
  box-shadow: inset 0 1px 0 #ffffff05;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.why-nav-installed header.navbar .why-nav-menu > summary:hover,
.why-nav-installed header.navbar .why-nav-menu[open] > summary {
  color: #e4f5f8;
  background: #102a38;
  border-color: #65b8c6;
}
.why-nav-installed header.navbar .why-nav-menu > summary svg path {
  transform-origin: center;
  transition: transform .16s ease, opacity .16s ease;
}
.why-nav-installed header.navbar .why-nav-menu[open] > summary svg path:nth-child(1) { transform: translateY(6px) rotate(45deg); transform-origin: 12px 6px; }
.why-nav-installed header.navbar .why-nav-menu[open] > summary svg path:nth-child(2) { opacity: 0; }
.why-nav-installed header.navbar .why-nav-menu[open] > summary svg path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); transform-origin: 12px 18px; }
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel {
  width: min(352px,calc(100vw - 24px));
  padding: 10px;
  border: 1px solid #355969;
  border-radius: 16px;
  background: linear-gradient(155deg,#102632,#0a1a25 65%);
  box-shadow: inset 0 1px 0 #d9f4ff0a, 0 18px 48px #00000047;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.why-nav-panel .navigation-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 8px 5px;
  padding: 8px 2px 13px;
  border-bottom: 1px solid #29424f;
  color: #9fb9c5;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.navigation-caption span:last-child { color: #84c9d3; letter-spacing: .1em; }
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 2px 0;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #d6e5ec;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -.01em;
  white-space: normal;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.why-nav-panel .navigation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #94bfce;
  border: 1px solid #668fa52b;
  border-radius: 7px;
  background: #182e3b80;
}
.why-nav-panel .navigation-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel a::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: auto;
  margin-right: 3px;
  flex: 0 0 6px;
  border-top: 1px solid #789cab;
  border-right: 1px solid #789cab;
  transform: rotate(45deg);
}
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel a:hover,
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel a:focus-visible {
  background: #183341;
  border-color: #456d7e;
  color: #f1f9fc;
}
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel a[aria-current="page"] {
  background: #162e3b;
  border-color: #365966;
  color: #b7edf1;
}
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel a.bp58-lab::before { display: none !important; }
.why-nav-installed header.navbar .why-nav-menu .why-nav-panel .nav-lab-r13644 { color: #b4e5e9; }
/* Keep the existing language control and its native disclosure behavior. */
header:is(.navbar,.trust-nav) .language-switcher .language-menu {
  padding: 8px;
  border-color: #355969;
  border-radius: 14px;
  background: #0c202c;
  box-shadow: 0 18px 48px #00000047;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
}
header:is(.navbar,.trust-nav) .language-menu a {
  min-height: 42px;
  border-radius: 7px;
  color: #d6e5ec;
}
header:is(.navbar,.trust-nav) .language-menu a:hover,
header:is(.navbar,.trust-nav) .language-menu a:focus-visible { background: #183341; color: #f1f9fc; }
header:is(.navbar,.trust-nav) .language-menu a[aria-current="page"] { background: #162e3b; color: #b7edf1; }
/* Shared link finish across the four existing site-footer families only. */
footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav {
  gap: 4px 24px;
}
footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav[data-navigation-groups] a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 6px;
  color: #adc3ce;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  border-radius: 2px;
  transition: color .16s ease;
}
footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav[data-navigation-groups] a:hover {
  color: #e5f4f8;
  text-decoration: underline;
  text-decoration-color: #69c9d5;
}
footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav[data-navigation-groups] a:focus-visible {
  color: #e5f4f8;
  outline: 2px solid #72d5df;
  outline-offset: 4px;
}
footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav[data-navigation-groups] {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  align-items: start;
  justify-content: stretch;
  gap: 20px 32px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.footer-navigation-title {
  margin: 0 0 12px;
  color: #8cc8d2;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.footer-navigation-items { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
footer.enterprise-footer-r875 .enterprise-footer-main-r875 {
  display: grid;
  grid-template-columns: minmax(135px,.65fr) minmax(0,2fr);
  align-items: start;
  gap: 32px 48px;
}
footer.enterprise-footer-r875 .social-presence-r1320 {
  grid-column: 1 / -1;
  width: 100%;
}
@media (min-width:901px) {
  footer.enterprise-footer-r875 .social-presence-r1320 { padding-top: 18px; border-top: 1px solid #769cab26; }
}
@media (max-width:620px) {
  .why-nav-installed header.navbar .why-nav-menu .why-nav-panel { width: auto; left: 12px; right: 12px !important; }
  .why-nav-installed header.navbar .why-nav-menu .why-nav-panel a { min-height: 50px; font-size: 14px; }
  footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    width: 100%;
    gap: 2px 20px;
    text-align: left;
  }
  footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav[data-navigation-groups] a {
    min-height: 44px;
    overflow-wrap: anywhere;
  }
  footer.enterprise-footer-r875 .enterprise-footer-main-r875 { grid-template-columns: minmax(0,1fr); gap: 28px; }
  footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav[data-navigation-groups] {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px 20px;
  }
  .footer-navigation-title { margin-bottom: 7px; font-size: 10px; line-height: 1.6; }
  .footer-navigation-group:last-child:nth-child(3) { grid-column: 1 / -1; }
  .footer-navigation-group:last-child:nth-child(3) .footer-navigation-items { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
}
@media (prefers-reduced-motion:reduce) {
  header.navbar .navlinks > a, header.trust-nav .trust-links > a,
  .why-nav-installed header.navbar .why-nav-menu > summary,
  .why-nav-installed header.navbar .why-nav-menu > summary svg path,
  .why-nav-installed header.navbar .why-nav-menu .why-nav-panel a,
  footer:is(.enterprise-footer-r875,.journey-footer,.acq-foot,.res15-foot) nav a { transition: none; }
}
