/* Shared navigation for the public homepage and Solutions page. */
.global-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 82px;
  padding: 0 clamp(20px, 3.34vw, 48px);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  isolation: isolate;
}
.global-header, .global-header * { box-sizing: border-box; }
.global-header [hidden] { display: none !important; }
.global-header a, .global-header button {
  margin: 0;
  color: inherit;
  font: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.global-header button { border: 0; border-radius: 0; background: none; cursor: pointer; }
.global-header a:focus-visible, .global-header button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
.global-header .global-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -7px;
  flex: 0 0 44px;
}
.global-brand img { display: block; width: 30px; height: 30px; max-width: none; object-fit: contain; }
.global-header .global-desktop-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
}
.global-header .global-nav-link, .global-header .global-solutions-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: rgb(255 255 255 / 75%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 150ms ease;
}
.global-header .global-nav-link:hover,
.global-header .global-nav-link[aria-current="page"],
.global-header .global-solutions-toggle:hover,
.global-header .global-solutions-toggle[aria-expanded="true"],
.global-header .global-solutions-toggle.global-current { color: #fff; }
.global-solutions { position: relative; }
.global-header .global-solutions-toggle { gap: 7px; }
.global-solutions-toggle svg {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}
.global-solutions-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.global-header .global-solutions-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 360px;
  max-height: calc(100svh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 9px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #f7f7f5;
  color: #202020;
  transform: translateX(-50%);
}
.global-header .global-solution-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px 13px;
  border-radius: 5px;
  color: #202020;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  transition: background 150ms ease;
}
.global-solution-link > span:first-child { min-width: 0; }
.global-header .global-solution-link strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.global-header .global-solution-link small {
  display: block;
  margin-top: 3px;
  color: #686868;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.global-solution-link > span:last-child { flex-shrink: 0; font-size: 17px; font-weight: 400; }
.global-header .global-solution-link:hover, .global-header .global-solution-link:focus-visible { background: #e8e8e6; }
.global-header .global-solutions-panel a:focus-visible { outline-color: #202020; outline-offset: -2px; }
.global-header .global-solutions-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 13px 6px;
  border-top: 1px solid #dedede;
  color: #202020;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.global-header .global-solutions-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.global-header .global-menu-toggle, .global-header .global-mobile-nav { display: none; }
@media (max-width: 1100px) {
  .global-header { padding-inline: 24px; }
  .global-header.global-menu-open { background: #191919; }
  .global-header .global-desktop-nav { display: none; }
  .global-header .global-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -10px;
    padding: 10px;
  }
  .global-menu-toggle span { display: block; width: 21px; height: 1px; background: #fff; transition: transform 160ms ease; }
  .global-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .global-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .global-header .global-mobile-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 24px 24px;
    border-top: 1px solid rgb(255 255 255 / 15%);
    background: #191919;
  }
  .global-header .global-mobile-nav > .global-nav-link,
  .global-header .global-mobile-nav .global-solutions-toggle {
    width: 100%;
    min-height: 48px;
    padding: 14px 0;
    font-size: 12px;
    white-space: normal;
  }
  .global-header .global-mobile-nav .global-solutions-toggle { justify-content: space-between; }
  .global-header .global-mobile-nav .global-solutions-panel {
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin: 4px 0 12px;
    padding: 7px;
    transform: none;
  }
  .global-header .global-mobile-nav .global-solution-link { padding-inline: 11px; }
  .global-header .global-mobile-nav .global-solution-link small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .global-header *, .global-header *::before, .global-header *::after { transition: none !important; }
}
