/* Shared RegTech Nexus AI homepage shell, adapted for the standalone DBSRF page. */
.nav{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px clamp(16px,3vw,44px);background:#fff;border-bottom:1px solid #dce5ef;box-shadow:0 3px 16px rgba(16,32,59,.06)}
.nav .brand{display:flex;align-items:center;flex:0 0 auto}
.nav .brand-logo{display:block;width:190px;max-width:35vw;height:auto;max-height:62px;object-fit:contain}
.nav .menu{display:none}
.nav nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(7px,.8vw,13px);flex:1 1 auto;flex-wrap:wrap}
.nav nav a,.nav nav .nav-menu-heading{color:#203650;text-decoration:none;font-size:11.5px;font-weight:650;line-height:1.35}
.nav nav a:hover,.nav nav a:focus-visible{color:#0956a8;text-decoration:underline;text-underline-offset:3px}
.nav nav .nav-menu-heading{display:none}
.nav .nav-cta{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:8px;padding:10px 13px;background:#0956a8;color:#fff;text-decoration:none;font-size:12px;font-weight:750}
footer#contact{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:28px;padding:38px clamp(16px,4vw,48px) 20px;background:#10203b;color:#fff;font-size:13px}
footer#contact a{display:block;width:fit-content;max-width:100%;margin:8px 0;color:#e7f0fb;text-decoration:none;overflow-wrap:anywhere}
footer#contact a:hover,footer#contact a:focus-visible{text-decoration:underline;text-underline-offset:3px}
footer#contact .footer-brand .brand{display:block;margin-bottom:12px}
footer#contact .footer-brand .brand-logo{display:block;width:230px;max-width:100%;height:auto;max-height:70px;object-fit:contain}
footer#contact .footer-brand p,footer#contact .footer-note{color:#d2deed;line-height:1.6}
footer#contact>div>b{display:block;margin-bottom:12px;color:#fff;font-size:13px}
footer#contact .footer-note{grid-column:1/-1;border-top:1px solid #344760;padding-top:18px;margin:0}
footer#contact .legal{grid-column:1/-1;display:flex;gap:18px;align-items:center;flex-wrap:wrap;border-top:1px solid #344760;padding-top:14px}
footer#contact .legal span{margin-right:auto;color:#d2deed}
footer#contact .legal a{display:inline-block;margin:0}
@media(max-width:1120px){.nav{align-items:center;flex-wrap:wrap}.nav .brand-logo{width:170px}.nav nav{justify-content:flex-start;gap:10px 14px}.nav .nav-cta{margin-left:auto}footer#contact{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Mobile/tablet header: keep the homepage brand visible but collapse all links behind a menu. */
@media(max-width:900px){
 body header.nav{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;justify-content:initial!important;gap:10px!important;flex-wrap:nowrap!important;padding:10px 16px!important;min-height:72px!important}
 body header.nav .brand{display:flex!important;align-items:center!important;min-width:0!important}
 body header.nav .brand-logo{display:block!important;width:155px!important;max-width:100%!important;height:auto!important;max-height:54px!important;object-fit:contain!important}
 body header.nav button.menu{display:inline-flex!important;align-items:center!important;justify-content:center!important;grid-column:2!important;width:44px!important;height:42px!important;margin:0!important;padding:0!important;border:1px solid #b9c8d9!important;border-radius:8px!important;background:#fff!important;color:#10203b!important;font-size:24px!important;line-height:1!important;cursor:pointer!important}
 body header.nav nav#main-nav{display:none!important;grid-column:1/-1!important;width:100%!important;max-height:60vh!important;overflow-y:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;margin:0!important;padding:6px 0!important;border-top:1px solid #dce5ef!important}
 body header.nav.nav-open nav#main-nav{display:flex!important}
 body header.nav nav#main-nav a{display:block!important;padding:10px 4px!important;font-size:14px!important;line-height:1.35!important;border-bottom:1px solid #edf1f6!important;overflow-wrap:anywhere!important;color:#203650!important;text-decoration:none!important}
 body header.nav nav#main-nav .nav-menu-heading{display:block!important;padding:10px 4px 5px!important;color:#0956a8!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.08em!important}
 body header.nav a.nav-cta{display:flex!important;grid-column:1/-1!important;width:100%!important;margin:0!important;min-height:42px!important;justify-content:center!important}
}
@media(max-width:760px){footer#contact{grid-template-columns:1fr;gap:18px;padding:28px 18px 22px}footer#contact .footer-brand .brand-logo{width:205px;max-width:100%}footer#contact .footer-note,footer#contact .legal{grid-column:1}footer#contact .legal{gap:12px}footer#contact .legal span{width:100%}}
