/* v4.24: unified site-wide sizing, desktop alignment and mobile behavior */
:root { --site-content-width: 1280px; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { overflow-x:clip; }
.container, .cx-shell,
body:has(.cx-v3-hero-content) .container,
body:has(.cx-v3-hero-content) .cx-shell {
  width: min(var(--site-content-width), calc(100% - 64px)) !important;
  max-width:var(--site-content-width) !important;
  margin-inline:auto !important;
}
.site-header .header-inner {gap:18px;min-width:0;}
.site-header .brand {min-width:0;flex-shrink:0;}
.site-header .nav {gap:clamp(9px,1.12vw,18px);min-width:0;}
.site-header .nav-link {font-size:12px;}
.site-header .nav .support-top {padding:12px 14px;font-size:12px;}
.site-header .brand-copy strong {font-size:clamp(19px,1.65vw,25px);}
.footer-grid > div {min-width:0;}
.footer-grid a,.footer-grid span,.footer-grid p {overflow-wrap:anywhere;}
@media(max-width:1040px){
  .site-header .nav {gap:8px;}
  .site-header .nav-link {font-size:11px;}
  .site-header .nav .support-top {padding:10px;}
}
@media(max-width:780px){
  .container, .cx-shell,
  body:has(.cx-v3-hero-content) .container,
  body:has(.cx-v3-hero-content) .cx-shell {width:calc(100% - 36px) !important;}
  .site-header .nav {gap:5px;}
  .site-header .nav-link {font-size:14px;}
  .site-header .header-inner {gap:10px;}
}
@media(max-width:390px){
  .container, .cx-shell,
  body:has(.cx-v3-hero-content) .container,
  body:has(.cx-v3-hero-content) .cx-shell {width:calc(100% - 28px) !important;}
}
