
/* DimenDex V7 universal navigation + footer */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #E2E8F0}
.dd-nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative}
.dd-brand{display:flex;align-items:center;gap:11px;color:#0D1B2A;text-decoration:none;min-width:0}
.dd-brand:visited{color:#0D1B2A}
.dd-brand-mark{width:40px;height:40px;flex:0 0 40px;border:4px solid #0D1B2A;border-left-color:#2563EB;border-radius:11px;display:grid;place-items:center;font:700 17px/1 Arial,sans-serif;color:#2563EB}
.dd-brand-copy{display:block;min-width:0;line-height:1.1}
.dd-brand-copy strong{display:block;font-family:Poppins,Inter,Arial,sans-serif;font-size:23px;color:#0D1B2A;white-space:nowrap}
.dd-brand-copy strong span,.dd-footer-brand strong span{color:#2563EB}
.dd-brand-copy small{display:block;margin-top:4px;text-transform:uppercase;letter-spacing:.10em;font:600 8px/1.25 Arial,sans-serif;color:#64748B;white-space:nowrap}
.dd-desktop-nav{display:flex;align-items:center;gap:20px;font-size:13px}
.dd-desktop-nav a{color:#0D1B2A;text-decoration:none;white-space:nowrap}
.dd-desktop-nav a:hover,.dd-desktop-nav a:focus-visible{color:#2563EB}
.dd-menu-toggle{display:none;width:44px;height:44px;padding:0;border:1px solid #DCE4EE;border-radius:10px;background:#fff;color:#0D1B2A;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.dd-menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:#0D1B2A;transition:transform .18s ease,opacity .18s ease}
.dd-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.dd-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.dd-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.dd-mobile-menu{position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid #DCE4EE;border-top:0;border-radius:0 0 14px 14px;box-shadow:0 14px 30px rgba(13,27,42,.12);padding:8px 10px 12px}
.dd-mobile-menu[hidden]{display:none!important}
.dd-mobile-menu a{display:flex;align-items:center;min-height:48px;padding:10px 12px;border-bottom:1px solid #EEF2F7;color:#0D1B2A;text-decoration:none;font-weight:600}
.dd-mobile-menu a:last-child{border-bottom:0}
.dd-mobile-menu a:hover,.dd-mobile-menu a:focus-visible{background:#F4F7FB;color:#2563EB;border-radius:8px}
.dd-brand:focus-visible,.dd-menu-toggle:focus-visible,.dd-desktop-nav a:focus-visible,.dd-mobile-menu a:focus-visible,.dd-footer a:focus-visible{outline:2px solid #60A5FA;outline-offset:3px}
.dd-footer{background:#0D1B2A;color:#fff;padding:30px 0;margin-top:30px}
.dd-footer-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.dd-footer-brand strong{display:block;font-family:Poppins,Inter,Arial,sans-serif;font-size:23px;color:#fff}
.dd-footer-brand small{display:block;margin-top:5px;color:#CBD5E1;font-size:12px}
.dd-footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 16px;line-height:1.6}
.dd-footer-links a,.dd-footer-links a:link,.dd-footer-links a:visited{color:#E2E8F0;text-decoration:none;font-size:13px}
.dd-footer-links a:hover,.dd-footer-links a:focus-visible{color:#fff;text-decoration:underline}
@media(max-width:900px){
  .dd-desktop-nav{display:none!important}
  .dd-menu-toggle{display:flex}
}
@media(max-width:700px){
  .site-header{position:sticky;top:0}
  .dd-nav{min-height:66px}
  .dd-brand-mark{width:36px;height:36px;flex-basis:36px;border-width:3px;border-radius:10px;font-size:15px}
  .dd-brand-copy strong{font-size:20px}
  .dd-brand-copy small{font-size:7px;letter-spacing:.085em}
  .dd-footer{padding:26px 0;margin-top:24px}
  .dd-footer-inner{flex-direction:column;gap:15px}
  .dd-footer-links{justify-content:flex-start;gap:8px 14px}
  .dd-footer-links a,.dd-footer-links a:link,.dd-footer-links a:visited{font-size:14px}
}
@media(max-width:390px){
  .dd-brand-copy small{max-width:210px;overflow:hidden;text-overflow:ellipsis}
}

/* V8 mobile navigation reliability fix: page-level `nav{display:none}` rules
   must not keep the universal mobile menu hidden after JS removes [hidden]. */
@media(max-width:900px){
  .dd-mobile-menu:not([hidden]){display:block!important}
}
