/* Standalone site header. Matches the marketing layout + Navy B theme
   (sticky 4rem bar, rgba(6,16,46,.88), #1E3275 border, 24px blur, system sans).
   Scoped so it does not change page typography or width. */
html{--hdr-bg:rgba(6,16,46,.88);--hdr-line:#1E3275;--hdr-fg:#fff;--hdr-mute:rgba(255,255,255,.75);--hdr-mute2:rgba(255,255,255,.8);--hdr-hover:rgba(255,255,255,.1);--hdr-menu-bg:rgba(6,16,46,.98);--hdr-menu-line:rgba(255,255,255,.1)}
html[data-theme="light"]{--hdr-bg:rgba(255,255,255,.94);--hdr-line:#E5E7EB;--hdr-fg:#0A0B0D;--hdr-mute:#4B5563;--hdr-mute2:#4B5563;--hdr-hover:#F1F3F5;--hdr-menu-bg:#fff;--hdr-menu-line:#E5E7EB}
header.sticky.top-0.z-40{
  position:sticky;
  top:0;
  z-index:40;
  padding-top:env(safe-area-inset-top);
  background:var(--hdr-bg);
  border-bottom:1px solid var(--hdr-line);
  color:var(--hdr-fg);
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size:16px;
  font-weight:400;
  line-height:24px;
  box-sizing:border-box;
  overflow:visible;
}
header.sticky.top-0.z-40 *,
header.sticky.top-0.z-40 *::before,
header.sticky.top-0.z-40 *::after{box-sizing:border-box}
header.sticky.top-0.z-40 a{color:var(--hdr-fg);text-decoration:none}
header.sticky.top-0.z-40 img{display:block;height:40px;width:88px;max-width:none;border:0;color:transparent}
header.sticky.top-0.z-40 .mx-auto{
  width:100%;
  max-width:72rem;
  margin-left:auto;
  margin-right:auto;
  display:flex;
  height:4rem;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:0 1.5rem;
}
@media(max-width:639px){
  header.sticky.top-0.z-40 .mx-auto{padding:0 1rem}
}
header.sticky.top-0.z-40 .shrink-0{flex-shrink:0}
header.sticky.top-0.z-40 nav[aria-label="Primary"]{
  display:none;
  align-items:center;
  gap:1.5rem;
  font-size:.875rem;
  line-height:1.25rem;
  font-weight:500;
}
header.sticky.top-0.z-40 nav[aria-label="Primary"] a,
header.sticky.top-0.z-40 a.text-white\/75{
  color:var(--hdr-mute);
  font-size:.875rem;
  line-height:1.25rem;
  font-weight:500;
}
header.sticky.top-0.z-40 nav[aria-label="Primary"] a:hover,
header.sticky.top-0.z-40 a.text-white\/75:hover,
header.sticky.top-0.z-40 nav[aria-label="Primary"] a[aria-current="page"]{
  color:var(--hdr-fg);
}
header.sticky.top-0.z-40 .hidden.items-center.gap-3{
  display:none;
  align-items:center;
  gap:.75rem;
}
header.sticky.top-0.z-40 a.text-sm.font-medium{
  font-size:.875rem;
  line-height:1.25rem;
  font-weight:500;
  color:var(--hdr-mute2);
}
header.sticky.top-0.z-40 a.text-sm.font-medium:hover{color:var(--hdr-fg)}
header.sticky.top-0.z-40 a.inline-flex,
header.sticky.top-0.z-40 #mobile-nav a.inline-flex{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  white-space:nowrap;
  border-radius:9999px;
  font-size:.875rem;
  line-height:1.25rem;
  font-weight:600;
  height:2.75rem;
  padding:0 1.25rem;
  background:#2050F5;
  color:#fff !important;
  border:0;
  text-decoration:none;
  cursor:pointer;
}
header.sticky.top-0.z-40 a.inline-flex:hover,
header.sticky.top-0.z-40 #mobile-nav a.inline-flex:hover{background:#1843D6;color:#fff !important}
header.sticky.top-0.z-40 a.inline-flex:focus-visible,
header.sticky.top-0.z-40 button:focus-visible,
header.sticky.top-0.z-40 a:focus-visible{
  outline:2px solid #2050F5;
  outline-offset:2px;
}
header.sticky.top-0.z-40 > .mx-auto > button[aria-controls="mobile-nav"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.75rem;
  height:2.75rem;
  padding:0;
  border:0;
  border-radius:9999px;
  background:transparent;
  color:var(--hdr-fg);
  cursor:pointer;
  font:inherit;
}
header.sticky.top-0.z-40 > .mx-auto > button[aria-controls="mobile-nav"]:hover{background:var(--hdr-hover)}
header.sticky.top-0.z-40 button svg{display:block;width:24px;height:24px}
/* Mobile menu (injected by mobile-nav-contact1107.js) */
header.sticky.top-0.z-40 #mobile-nav{
  display:block;
  width:100%;
  border-top:1px solid var(--hdr-menu-line);
  padding:12px 16px;
  background:var(--hdr-menu-bg);
}
header.sticky.top-0.z-40 #mobile-nav[hidden]{display:none !important}
header.sticky.top-0.z-40 #mobile-nav > a.block,
header.sticky.top-0.z-40 #mobile-nav a.block{
  display:block;
  border-radius:.75rem;
  padding:.75rem;
  font-size:1rem;
  line-height:1.5rem;
  font-weight:500;
  color:var(--hdr-fg);
  text-decoration:none;
}
header.sticky.top-0.z-40 #mobile-nav > a.block + a.block{margin-top:.25rem}
header.sticky.top-0.z-40 #mobile-nav > a.block:hover{background:var(--hdr-hover)}
header.sticky.top-0.z-40 #mobile-nav > div{padding:.5rem .75rem .5rem}
header.sticky.top-0.z-40 #mobile-nav a.w-full{width:100%}
@media(min-width:1024px){
  header.sticky.top-0.z-40 nav[aria-label="Primary"]{display:flex}
  header.sticky.top-0.z-40 .hidden.items-center.gap-3{display:flex}
  header.sticky.top-0.z-40 > .mx-auto > button[aria-controls="mobile-nav"],
  header.sticky.top-0.z-40 #mobile-nav{display:none !important}
}
/* Full-screen deck pages: pin the header so overflow:hidden does not clip it. */
html.deck-page,html.deck-page body{padding-top:0}
html.deck-page header.sticky.top-0.z-40{
  position:fixed;
  left:0;
  right:0;
  width:100%;
}

/* Logo: light-background variant */
html[data-theme="light"] header.sticky.top-0.z-40 a[aria-label="x2xPro home"]{
  display:block;width:88px;height:40px;
  background:url(/brand/x2xpro-logo-light.png) no-repeat center/88px 40px;
}
html[data-theme="light"] header.sticky.top-0.z-40 a[aria-label="x2xPro home"] img{opacity:0}
/* Theme toggle */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:2.5rem;height:2.5rem;padding:0;border-radius:9999px;cursor:pointer;
  border:1px solid var(--hdr-line);background:transparent;color:var(--hdr-fg);font:inherit;
  transition:background .15s,border-color .15s;
}
.theme-toggle:hover{background:var(--hdr-hover)}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
header.sticky.top-0.z-40 .theme-toggle svg{width:20px;height:20px}
header.sticky.top-0.z-40 .theme-toggle .icon-moon{display:none}
html[data-theme="light"] header.sticky.top-0.z-40 .theme-toggle .icon-sun{display:none}
html[data-theme="light"] header.sticky.top-0.z-40 .theme-toggle .icon-moon{display:block}
header.sticky.top-0.z-40 .theme-toggle:focus-visible{outline:2px solid #2050F5;outline-offset:2px}
header.sticky.top-0.z-40 #mobile-nav .theme-toggle-row{
  display:flex;align-items:center;gap:.75rem;width:100%;height:auto;border-radius:.75rem;
  padding:.75rem;border:0;text-align:left;font-size:1rem;line-height:1.5rem;font-weight:500;color:var(--hdr-fg);
}
header.sticky.top-0.z-40 #mobile-nav .theme-toggle-row:hover{background:var(--hdr-hover)}
