/* NGS Tools V3.2 — shared trust-oriented header and footer. */
.ngs-brand-header{border-top:3px solid #d83b45;border-bottom:1px solid var(--line);box-shadow:0 3px 20px #17243a09;min-height:84px;gap:clamp(12px,2vw,30px)}
.ngs-brand-header .brand{flex-shrink:0;gap:12px;align-items:center;color:var(--ink)}
.ngs-brand-header .brandmark,.ngs-brand-footer .brandmark{background:linear-gradient(145deg,#ee6262,#bd2639);box-shadow:0 4px 10px #d83b4533;border-radius:12px;letter-spacing:-1px}
.ngs-brand-type{display:flex;flex-direction:column;gap:5px;min-width:0}.ngs-brand-name{font-weight:850;line-height:1.05;letter-spacing:-.7px}.ngs-brand-type small{font-size:9px;letter-spacing:1.65px;font-weight:750;color:var(--muted);line-height:1.3}
.ngs-brand-header .ngs-nav{gap:clamp(10px,1.3vw,20px)}.ngs-brand-header .ngs-nav nav{gap:4px;align-items:center}.ngs-brand-header .ngs-nav nav a{padding:9px 10px;display:inline-flex;align-items:center;min-height:44px;border-radius:8px;white-space:nowrap;font-size:14px}.ngs-brand-header .ngs-nav nav a:hover{background:var(--subtle);color:var(--ink)}
.ngs-brand-header .nav-account{gap:8px}.ngs-brand-header .ngs-pricing-link{background:#bd2938;color:#fff;gap:7px;box-shadow:0 3px 8px #bd293825}.ngs-brand-header .ngs-pricing-link:hover{background:#a91f31;color:#fff}.ngs-brand-header .ngs-account-link{padding-inline:15px}.ngs-brand-header .mobile-preferences{gap:6px;border-left:1px solid var(--line);padding-left:12px}.ngs-brand-header #ngs-theme{font-size:12px;font-weight:600;white-space:nowrap;padding-inline:9px}.ngs-brand-header #ngs-lang{min-height:44px;font-size:12px;padding:7px}.ngs-brand-header .mobile-menu-toggle{align-items:center;gap:6px;font-weight:700;padding:8px 12px}
.ngs-brand-footer,html[data-theme=dark] .ngs-brand-footer{display:block;background:#111d31;color:#e8eef8;border-top:0;padding:0;overflow:hidden}.ngs-footer-inner{max-width:1280px;margin:auto;padding:0 max(24px,4vw)}.ngs-brand-footer p,.ngs-brand-footer small{color:#bac7da}.ngs-trust-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border-bottom:1px solid #344258;padding:27px 0}.ngs-trust-item{display:flex;align-items:flex-start;gap:12px;min-width:0}.ngs-trust-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#23334a;color:#a8e8d6}.ngs-trust-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ngs-trust-item strong{font-size:14px;color:#f2f6fc}.ngs-trust-item p{font-size:13px;line-height:1.5;margin:3px 0 0}
.ngs-footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:32px;padding:42px 0 34px}.ngs-footer-intro .brand{color:#fff;font-size:23px;white-space:normal;display:inline-flex}.ngs-footer-intro .brand:hover{color:#fff}.ngs-footer-intro p{font-size:14px;max-width:31ch;line-height:1.7;margin:16px 0}.ngs-footer-cta{display:inline-flex;align-items:center;gap:12px;border:1px solid #65758c;border-radius:9px;min-height:44px;padding:9px 13px;font-size:13px;font-weight:700;color:#fff}.ngs-footer-cta:hover{background:#25364d}.ngs-footer-column{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:1px}.ngs-footer-column h2{color:#fff;font-size:14px;letter-spacing:0;margin:6px 0 12px;font-weight:750}.ngs-footer-column a{color:#c6d1e2;font-size:14px;padding:7px 0;line-height:1.45}.ngs-footer-column a:hover,.ngs-footer-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}.ngs-footer-bottom{border-top:1px solid #344258;padding:18px 0 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}.ngs-footer-bottom a{color:#bac7da;min-height:44px;display:inline-flex;align-items:center}.ngs-brand-footer a:focus-visible{outline-color:#a8e8d6}
@media (min-width:1051px) and (max-width:1240px){.ngs-brand-header{padding-inline:20px;gap:12px}.ngs-brand-header .ngs-nav{gap:10px}.ngs-brand-header .ngs-nav nav a{padding-inline:7px;font-size:13px}.ngs-brand-header .mobile-preferences{padding-left:8px}.ngs-brand-header .brand{font-size:21px}}
@media (max-width:1050px){.ngs-brand-header{min-height:74px}.ngs-brand-header .ngs-nav nav a{padding-inline:14px;border:1px solid var(--line);background:var(--surface)}.ngs-brand-header .mobile-preferences{border-left:0;padding-left:0}.ngs-brand-header .ngs-nav.is-open{gap:14px}.ngs-brand-header .nav-account>a{flex:1;justify-content:center}.ngs-brand-header .brand{flex-shrink:1}.ngs-footer-grid{gap:22px}}
@media (max-width:800px){.ngs-trust-row{grid-template-columns:1fr;gap:17px;padding:23px 0}.ngs-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:27px 0}.ngs-footer-intro{grid-column:1/-1}.ngs-footer-intro p{max-width:42ch}.ngs-footer-column a{min-height:44px;display:flex;align-items:center;padding:6px 0}.ngs-footer-column h2{margin-bottom:5px}}
@media(max-width:360px){.ngs-brand-header .brand{gap:8px}.ngs-brand-header .ngs-brand-type small{font-size:8px;letter-spacing:1px}.ngs-footer-inner{padding-inline:16px}.ngs-footer-grid{gap:17px}.ngs-footer-column a{font-size:13px}}
html[data-theme=dark] .ngs-brand-header .ngs-pricing-link{background:#bd2938;color:white}
