/* Homepage navigation adapted to an isolated login-header namespace only. */
#mxs-public-header {
  --hdr-bg-soft: #e3e7ed;
  --hdr-ink: #0b0c0f;
  --hdr-soft: #4b5158;
  --hdr-faint: #5f6873;
  --hdr-border: #e6e8ec;
  --hdr-accent: #0080d0;
  --hdr-height: 64px;
  flex: 0 0 65px;
  height: 65px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--hdr-ink);
}
#mxs-public-header *, #mxs-public-header *::before, #mxs-public-header *::after { box-sizing: border-box; }
#mxs-public-header :is(a, button, span, svg, div) { margin: 0; }
#mxs-public-header a { color: inherit; font-family: inherit; text-decoration: none; }
#mxs-public-header a:hover { text-decoration: none !important; }
#mxs-public-header :focus-visible { outline: 2px solid var(--hdr-accent) !important; outline-offset: 3px; border-radius: 4px; }
#mxs-public-header .mxs-h-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 0; border-bottom: 1px solid rgba(230,232,236,0.8);
  transition: box-shadow .25s ease;
}
#mxs-public-header .mxs-h-container { width: min(1140px, 92%); margin: 0 auto; padding: 0; }
#mxs-public-header .mxs-h-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-height); transition: height .25s ease; }
#mxs-public-header .mxs-h-nav.scrolled { box-shadow: 0 6px 24px rgba(16,18,22,0.08); }
#mxs-public-header .mxs-h-nav.scrolled .mxs-h-inner { height: 56px; }
#mxs-public-header .mxs-h-nav.scrolled .mxs-h-logo-img { height: 36px; }
#mxs-public-header .mxs-h-logo { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
#mxs-public-header .mxs-h-logo-img { height: 44px; width: auto; max-width: none; display: block; transition: height .25s ease; }
#mxs-public-header .mxs-h-links { display: flex; align-items: center; gap: 32px; font-size: 0.9rem; color: var(--hdr-soft); font-weight: 500; }
#mxs-public-header .mxs-h-links a { position: relative; transition: color .2s; }
#mxs-public-header .mxs-h-links a:hover { color: var(--hdr-ink); }
#mxs-public-header .mxs-h-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; border-radius: 2px; background: var(--hdr-accent); transition: right .25s ease; }
#mxs-public-header .mxs-h-links a:hover::after { right: 0; }
#mxs-public-header .mxs-h-cta { display: flex; gap: 10px; align-items: center; }
#mxs-public-header .mxs-h-social { display: flex; align-items: center; gap: 4px; margin-right: 4px; }
#mxs-public-header .mxs-h-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--hdr-faint); transition: color .18s ease, background .18s ease; }
#mxs-public-header .mxs-h-social a:hover { color: var(--hdr-accent); background: var(--hdr-bg-soft); }
#mxs-public-header .mxs-h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  line-height: 1.6; letter-spacing: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer; border: none; white-space: nowrap;
}
#mxs-public-header .mxs-h-primary { background: var(--hdr-ink); color: #fff; }
#mxs-public-header .mxs-h-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16,18,22,0.08); background: #000; }
#mxs-public-header .mxs-h-ghost { background: transparent; color: var(--hdr-ink); border: 1px solid var(--hdr-border); }
#mxs-public-header .mxs-h-ghost:hover { border-color: var(--hdr-ink); transform: translateY(-2px); }
#mxs-public-header .mxs-h-small { padding: 9px 20px; font-size: 0.88rem; }
#mxs-public-header .mxs-h-btn:active { transform: translateY(0) scale(0.98); }
#mxs-public-header .mxs-h-menu-btn { display: none; background: none; border: 1px solid var(--hdr-border); border-radius: 10px; width: 42px; height: 42px; padding: 0; cursor: pointer; place-items: center; }
#mxs-public-header .mxs-h-menu-btn svg { display: block; }
#mxs-public-header .mxs-h-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 4% 20px; background: #fff; border-bottom: 1px solid var(--hdr-border);
  max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px);
  overflow-y: auto; overscroll-behavior: contain;
}
#mxs-public-header .mxs-h-mobile a { flex-shrink: 0; padding: 13px 14px; border-radius: 10px; font-weight: 550; font-size: 0.98rem; color: var(--hdr-soft); }
#mxs-public-header .mxs-h-mobile a:hover { background: var(--hdr-bg-soft); color: var(--hdr-ink); }
#mxs-public-header .mxs-h-mobile .mxs-h-btn { margin-top: 8px; }
#mxs-public-header .mxs-h-mobile .mxs-h-primary { color: #fff; }
#mxs-public-header .mxs-h-mobile .mxs-h-primary:hover { background: #000; }
#mxs-public-header .mxs-h-mobile.open { display: flex; }
#mxs-public-header .mxs-h-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 101; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--hdr-accent), #0080d0); pointer-events: none; }
@media (max-width: 1100px) { #mxs-public-header .mxs-h-social { display: none; } }
@media (max-width: 900px) {
  #mxs-public-header .mxs-h-links { display: none; }
  #mxs-public-header .mxs-h-menu-btn { display: grid; }
  #mxs-public-header .mxs-h-cta .mxs-h-ghost { display: none; }
  #mxs-public-header:not([data-nav-ready]) .mxs-h-mobile { display: flex; }
  #mxs-public-header:not([data-nav-ready]) .mxs-h-menu-btn { display: none; }
  #mxs-public-header:not([data-nav-ready]) { height: auto; flex-basis: auto; }
  #mxs-public-header:not([data-nav-ready]) .mxs-h-nav { position: relative; }
}
@media (min-width: 901px) { #mxs-public-header .mxs-h-mobile.open { display: none; } }
@media (min-width: 901px) and (max-width: 1100px) { #mxs-public-header .mxs-h-links { gap: 16px; white-space: nowrap; } }
@media (max-width: 560px) { #mxs-public-header .mxs-h-cta .mxs-h-primary { display: none; } }
@media (prefers-reduced-motion: reduce) { #mxs-public-header *, #mxs-public-header *::before, #mxs-public-header *::after { transition: none !important; animation: none !important; } }
