:root {
  --site-shell-accent: #0f6fa8;
  --site-shell-accent-strong: #095680;
  --site-shell-text: #17232d;
  --site-shell-muted: #5f6b75;
  --site-shell-panel: rgba(238, 247, 251, 0.12);
  --site-shell-popover: rgba(248, 252, 254, 0.82);
  --site-shell-border: rgba(255, 255, 255, 0.74);
  --site-shell-shadow: 0 16px 46px rgba(5, 29, 45, 0.13);
}

[data-theme="dark"] {
  --site-shell-text: #f5f8fa;
  --site-shell-muted: #b5c0c7;
  --site-shell-panel: rgba(8, 25, 37, 0.3);
  --site-shell-popover: rgba(8, 25, 37, 0.84);
  --site-shell-border: rgba(255, 255, 255, 0.16);
  --site-shell-shadow: 0 18px 56px rgba(0, 0, 0, 0.31);
}

body.site-shell-parity-ready > header.nav,
body.site-shell-parity-ready > header.topbar,
body.site-shell-parity-ready > header.cs-nav,
body.site-shell-parity-ready > header.site-header,
body.site-shell-parity-ready > nav.project-fallback-nav,
body.site-shell-parity-ready > .mobile-menu[data-mobile-menu],
body.site-shell-parity-ready > nav.mobile-nav,
body.site-shell-parity-ready > .language-toggle--standalone,
body.site-shell-parity-ready > [data-language-toggle]:not(#site-shell-parity *) {
  display: none !important;
}

#site-shell-parity.site-shell {
  position: fixed;
  z-index: 2147482000;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  width: min(calc(100% - 36px), 1600px);
  min-height: 66px;
  transform: translateX(-50%);
  color: var(--site-shell-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  isolation: isolate;
}

#site-shell-parity *,
#site-shell-parity *::before,
#site-shell-parity *::after {
  box-sizing: border-box;
}

#site-shell-parity a,
#site-shell-parity button,
#site-shell-parity summary {
  -webkit-tap-highlight-color: transparent;
}

#site-shell-parity a {
  color: inherit;
  text-decoration: none;
}

#site-shell-parity .site-shell__bar {
  display: grid;
  grid-template-columns: minmax(244px, 292px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--site-shell-border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(220, 239, 248, 0.035)),
    var(--site-shell-panel);
  box-shadow: var(--site-shell-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  backdrop-filter: blur(30px) saturate(185%);
}

#site-shell-parity .site-shell__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 282px);
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0;
  overflow: visible;
  transform: none;
}

#site-shell-parity .site-shell__brand img {
  display: block;
  width: clamp(250px, 17vw, 278px) !important;
  max-width: 100% !important;
  height: 42px !important;
  max-height: 42px !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
}

#site-shell-parity[data-site-shell-locale="en"] .site-shell__brand img {
  height: 50px !important;
  max-height: 50px !important;
}

#site-shell-parity .site-shell__brand .site-shell__logo-dark {
  display: none;
}

[data-theme="dark"] #site-shell-parity .site-shell__brand .site-shell__logo-light {
  display: none;
}

[data-theme="dark"] #site-shell-parity .site-shell__brand .site-shell__logo-dark {
  display: block;
}

#site-shell-parity .site-shell__desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  gap: 2px;
}

#site-shell-parity .site-shell__link,
#site-shell-parity .site-shell__summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: var(--site-shell-muted);
  background: transparent;
  font: inherit;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

#site-shell-parity .site-shell__link:hover,
#site-shell-parity .site-shell__link:focus-visible,
#site-shell-parity .site-shell__summary:hover,
#site-shell-parity .site-shell__summary:focus-visible,
#site-shell-parity .site-shell__link[aria-current="page"],
#site-shell-parity .site-shell__group.is-active > .site-shell__summary {
  color: var(--site-shell-text);
  background: rgba(15, 111, 168, 0.1);
  outline: none;
}

#site-shell-parity .site-shell__group {
  position: relative;
}

#site-shell-parity .site-shell__group > summary {
  list-style: none;
}

#site-shell-parity .site-shell__group > summary::-webkit-details-marker {
  display: none;
}

#site-shell-parity .site-shell__chevron {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

#site-shell-parity .site-shell__group[open] .site-shell__chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

#site-shell-parity .site-shell__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(320px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid var(--site-shell-border);
  border-radius: 20px;
  background: var(--site-shell-popover);
  box-shadow: 0 24px 60px rgba(5, 29, 45, 0.22);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}

#site-shell-parity .site-shell__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--site-shell-text);
  font-size: 14px;
  font-weight: 650;
}

#site-shell-parity .site-shell__dropdown a:hover,
#site-shell-parity .site-shell__dropdown a:focus-visible,
#site-shell-parity .site-shell__dropdown a[aria-current="page"] {
  background: rgba(15, 111, 168, 0.11);
  outline: none;
}

#site-shell-parity .site-shell__dropdown small {
  display: block;
  margin-top: 3px;
  color: var(--site-shell-muted);
  font-size: 11px;
  font-weight: 550;
}

#site-shell-parity .site-shell__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

#site-shell-parity .site-shell__tool,
#site-shell-parity .site-shell__burger {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(23, 35, 45, 0.14);
  border-radius: 999px;
  color: var(--site-shell-text);
  background: rgba(255, 255, 255, 0.22);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

[data-theme="dark"] #site-shell-parity .site-shell__tool,
[data-theme="dark"] #site-shell-parity .site-shell__burger {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

#site-shell-parity .site-shell__tool:hover,
#site-shell-parity .site-shell__tool:focus-visible,
#site-shell-parity .site-shell__burger:hover,
#site-shell-parity .site-shell__burger:focus-visible {
  border-color: rgba(15, 111, 168, 0.52);
  outline: none;
}

#site-shell-parity .site-shell__tool svg,
#site-shell-parity .site-shell__burger svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#site-shell-parity .site-shell__sun {
  display: none;
}

[data-theme="dark"] #site-shell-parity .site-shell__moon {
  display: none;
}

[data-theme="dark"] #site-shell-parity .site-shell__sun {
  display: block;
}

#site-shell-parity .site-shell__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-shell-accent), var(--site-shell-accent-strong));
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 9px 22px rgba(15, 111, 168, 0.2);
}

#site-shell-parity .site-shell__burger {
  display: none;
}

#site-shell-parity .site-shell__mobile {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  max-height: min(76vh, 720px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--site-shell-border);
  border-radius: 22px;
  background: var(--site-shell-popover);
  box-shadow: 0 24px 60px rgba(5, 29, 45, 0.26);
  -webkit-backdrop-filter: blur(30px) saturate(175%);
  backdrop-filter: blur(30px) saturate(175%);
  overscroll-behavior: contain;
}

#site-shell-parity.is-menu-open .site-shell__mobile {
  display: block;
}

#site-shell-parity .site-shell__mobile-section {
  padding: 8px 6px;
}

#site-shell-parity .site-shell__mobile-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  list-style: none;
}

#site-shell-parity .site-shell__mobile-section > summary::-webkit-details-marker {
  display: none;
}

#site-shell-parity .site-shell__mobile-section > summary .site-shell__chevron {
  margin: -3px 4px 0 0;
}

#site-shell-parity .site-shell__mobile-section[open] > summary .site-shell__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

#site-shell-parity .site-shell__mobile-section + .site-shell__mobile-section {
  border-top: 1px solid rgba(127, 142, 153, 0.2);
}

#site-shell-parity .site-shell__mobile-title {
  display: block;
  padding: 10px 12px;
  color: var(--site-shell-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#site-shell-parity .site-shell__mobile-links {
  display: grid;
  gap: 4px;
  padding: 4px 2px 2px;
}

#site-shell-parity .site-shell__mobile a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: var(--site-shell-text);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.25;
}

#site-shell-parity .site-shell__mobile-links a {
  border: 1px solid transparent;
}

#site-shell-parity .site-shell__mobile-links a small {
  display: block;
  margin-top: 5px;
  color: var(--site-shell-muted);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.38;
}

#site-shell-parity .site-shell__mobile a:hover,
#site-shell-parity .site-shell__mobile a:focus-visible,
#site-shell-parity .site-shell__mobile a[aria-current="page"] {
  background: rgba(15, 111, 168, 0.11);
  outline: none;
}

#site-shell-parity .site-shell__mobile-links a:hover,
#site-shell-parity .site-shell__mobile-links a:focus-visible,
#site-shell-parity .site-shell__mobile-links a[aria-current="page"] {
  border-color: rgba(15, 111, 168, 0.17);
}

#site-shell-parity .site-shell__mobile-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 6px 4px;
  border-top: 1px solid rgba(127, 142, 153, 0.2);
}

#site-shell-parity .site-shell__mobile-footer .site-shell__cta {
  grid-column: 1 / -1;
}

@media (max-width: 1270px) {
  #site-shell-parity .site-shell__bar {
    grid-template-columns: minmax(214px, 250px) minmax(0, 1fr) auto;
    gap: 10px;
  }

  #site-shell-parity .site-shell__brand img {
    width: clamp(214px, 19vw, 246px) !important;
  }

  #site-shell-parity[data-site-shell-locale="en"] .site-shell__brand img {
    height: 48px !important;
    max-height: 48px !important;
  }

  #site-shell-parity .site-shell__link,
  #site-shell-parity .site-shell__summary {
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  #site-shell-parity .site-shell__bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #site-shell-parity .site-shell__desktop-nav,
  #site-shell-parity .site-shell__tools > .site-shell__cta {
    display: none;
  }

  #site-shell-parity .site-shell__burger {
    display: inline-grid;
  }
}

@media (max-width: 620px) {
  #site-shell-parity.site-shell {
    top: max(9px, env(safe-area-inset-top));
    width: calc(100% - 20px);
    min-height: 60px;
  }

  #site-shell-parity .site-shell__bar {
    min-height: 60px;
    padding: 6px 7px 6px 12px;
    gap: 5px;
    border-radius: 20px;
  }

  #site-shell-parity .site-shell__brand {
    width: min(100%, 204px);
    height: 40px;
  }

#site-shell-parity .site-shell__brand img {
    width: min(100%, 198px) !important;
    max-width: 198px !important;
    height: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
  }

  #site-shell-parity[data-site-shell-locale="en"] .site-shell__brand img {
    height: 36px !important;
    max-height: 36px !important;
  }

  #site-shell-parity .site-shell__tools {
    gap: 4px;
  }

  #site-shell-parity .site-shell__tool,
  #site-shell-parity .site-shell__burger {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  #site-shell-parity .site-shell__mobile {
    top: calc(100% + 8px);
    max-height: calc(100vh - max(98px, env(safe-area-inset-top)));
    border-radius: 20px;
  }
}

@media (max-width: 390px) {
#site-shell-parity .site-shell__brand img {
    width: min(100%, 184px) !important;
    max-width: 184px !important;
    height: 30px !important;
    max-height: 30px !important;
  }

  #site-shell-parity[data-site-shell-locale="en"] .site-shell__brand img {
    height: 34px !important;
    max-height: 34px !important;
  }

  #site-shell-parity .site-shell__tool,
  #site-shell-parity .site-shell__burger {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-shell-parity *,
  #site-shell-parity *::before,
  #site-shell-parity *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
