/* Shared source for React pages and pre-rendered static blog headers. */
.shared-site-header.site-header {
  position: sticky; top: 0; z-index: 50; padding: 0;
  border-bottom: 1px solid #dce5f1bf; background: #f7f8f7f2;
  backdrop-filter: blur(18px); transition: padding .22s, background .22s;
}
.shared-site-header *, .shared-site-header *::before, .shared-site-header *::after { box-sizing: border-box; }
.shared-site-header .header-inner {
  width: min(1180px, calc(100% - 48px)); margin: 0 auto; min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.shared-site-header.is-scrolled { padding-top: 10px; border-bottom-color: transparent; background: transparent; backdrop-filter: none; }
.shared-site-header.is-scrolled .header-inner { min-height: 60px; padding: 0 18px; border: 1px solid #dce5f1e0; border-radius: 24px; background: #fffffff0; box-shadow: 0 18px 48px #122f5e26; backdrop-filter: blur(20px); }
.shared-site-header .brand-lockup { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; white-space: nowrap; }
.shared-site-header .brand-mark, .shared-site-header .brand-mark img { display: block; width: 34px; height: 34px; flex-shrink: 0; }
.shared-site-header .brand-name { display: inline-flex; align-items: baseline; gap: 5px; color: #101b34; font-size: 18px; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; }
.shared-site-header .brand-plus { color: #246bfd; font: inherit; }
.shared-site-header .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 23px; font-size: 14px; color: #33435e; }
.shared-site-header a { text-decoration: none; }
.shared-site-header .desktop-nav > a, .shared-site-header summary { white-space: nowrap; }
.shared-site-header .desktop-nav > a:hover, .shared-site-header summary:hover { color: #246bfd; }
.shared-site-header .nav-product { position: relative; padding: 0; }
.shared-site-header .nav-product > summary { padding: 24px 0; cursor: pointer; list-style: none; }
.shared-site-header summary::-webkit-details-marker { display: none; }
.shared-site-header .nav-product > summary::after { content: "⌄"; margin-left: 6px; font-size: 12px; }
.shared-site-header.is-scrolled .nav-product { padding: 0; }
.shared-site-header.is-scrolled .nav-product > summary { padding: 18px 0; }
.shared-site-header .product-menu { position: absolute; top: calc(100% - 4px); left: 50%; display: none; width: 520px; padding: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dce5f1; border-radius: 18px; background: #fff; box-shadow: 0 22px 60px #122f5e1f; transform: translateX(-50%); opacity: 1; pointer-events: auto; }
.shared-site-header details[open] > .product-menu { display: grid; transform: translateX(-50%); }
.shared-site-header .product-menu a { display: flex; min-height: 90px; flex-direction: column; justify-content: center; padding: 16px; border-radius: 12px; white-space: normal; }
.shared-site-header .product-menu a:hover { background: #f1f4f8; }
.shared-site-header .product-menu strong { color: #101b34; font-size: 15px; }
.shared-site-header .product-menu small { margin-top: 5px; color: #607089; font-size: 12px; line-height: 1.6; }
.shared-site-header .header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.shared-site-header .language-switch { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dce5f1; border-radius: 50%; color: #607089; font-size: 13px; font-weight: 700; }
.shared-site-header .button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid #246bfd; border-radius: 9px; background: #246bfd; color: #fff; font: inherit; font-size: 13px; font-weight: 720; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 24px #246bfd26; }
.shared-site-header .button:hover { background: #1554d1; }
.shared-site-header .mobile-menu { display: none; position: relative; }
.shared-site-header .mobile-menu > summary { padding: 7px 10px; border: 1px solid #dce5f1; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
.shared-site-header .mobile-menu-panel { position: absolute; top: 46px; right: 0; display: grid; width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 110px); overflow-y: auto; padding: 14px; border: 1px solid #dce5f1; border-radius: 16px; background: #fff; color: #33435e; box-shadow: 0 22px 60px #122f5e1f; gap: 4px; }
.shared-site-header .mobile-menu-panel > a { padding: 10px 12px; border-radius: 9px; font-size: 14px; }
.shared-site-header .mobile-menu-panel > a:not(.button):hover { background: #edf4ff; color: #246bfd; }
.shared-site-header .mobile-menu-label { padding: 12px 12px 4px; color: #607089; font-size: 12px; }
.shared-site-header a:focus-visible, .shared-site-header summary:focus-visible, .shared-site-header button:focus-visible { outline: 3px solid #246bfd66; outline-offset: 3px; }
@media (max-width: 1200px) {
  .shared-site-header .desktop-nav { gap: 15px; }
  .shared-site-header .header-inner { gap: 16px; }
}
@media (max-width: 1100px) {
  .shared-site-header .desktop-nav, .shared-site-header .header-actions > .button, .shared-site-header .header-actions > .language-switch { display: none; }
  .shared-site-header .mobile-menu { display: block; }
}
@media (max-width: 560px) {
  .shared-site-header .header-inner { width: calc(100% - 32px); min-height: 64px; }
  .shared-site-header.is-scrolled .header-inner { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { .shared-site-header, .shared-site-header * { transition: none !important; } }
