/* NKS Fin Services — shared header and footer styles (new design). Loaded by /assets/site-chrome.js. Classes start with "nx-" so page styles never clash. */
.nx-head, .nx-foot { font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; -webkit-text-size-adjust: 100%; }
.nx-head *, .nx-foot * { box-sizing: border-box; }
.nx-wrap { width: min(calc(100% - 64px), 1280px); margin: 0 auto; }
.nx-head { position: relative; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(41,63,150,.08); margin: 0; }
.nx-head .nx-wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.nx-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg,#293f96,#586cc6); color: #fff; font: 800 26px/1 Manrope, sans-serif; box-shadow: 0 7px 18px rgba(41,63,150,.2); }
.nx-word { font: 800 23px/1 Manrope, sans-serif; letter-spacing: -.8px; color: #17265f; }
.nx-word > span { color: #8d75d7; }
.nx-word small { display: block; margin-top: 6px; font: 700 9px/1 "DM Sans", sans-serif; letter-spacing: 1.9px; color: #8990a8; }
.nx-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 600; }
.nx-nav a { color: #515b76; text-decoration: none; white-space: nowrap; }
.nx-nav a:hover, .nx-track:hover { color: #293f96; }
.nx-actions { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 700; }
.nx-track { color: #17203b; text-decoration: none; white-space: nowrap; }
.nx-track span { color: #8f78dc; }
a.nx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border-radius: 9px; background: #293f96; color: #fff !important; text-decoration: none; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px rgba(41,63,150,.17); transition: transform .2s, box-shadow .2s; }
a.nx-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30,43,100,.16); }
.nx-menu { display: none; position: relative; }
.nx-menu summary { list-style: none; display: grid; gap: 5px; padding: 10px; cursor: pointer; }
.nx-menu summary::-webkit-details-marker { display: none; }
.nx-menu summary span { width: 22px; height: 2px; background: #293f96; display: block; }
.nx-menu nav { display: none; }
.nx-menu[open] nav { display: grid; position: absolute; right: 0; top: 48px; width: 240px; background: #fff; border: 1px solid #e7e8f0; border-radius: 12px; padding: 10px; box-shadow: 0 24px 70px rgba(29,43,100,.16); }
.nx-menu nav a { padding: 9px 10px; font-size: 15px; font-weight: 600; color: #17265f; text-decoration: none; }
.nx-menu nav a.nx-btn { margin-top: 6px; min-height: 0; }
.nx-menu nav hr { border: 0; border-top: 1px solid #eef0f6; margin: 6px 0; }
@media (max-width: 1120px) { .nx-nav { gap: 22px; font-size: 14px; } .nx-actions { gap: 14px; font-size: 14px; } }
@media (max-width: 960px) { .nx-nav, .nx-track { display: none; } .nx-menu { display: block; } .nx-actions { gap: 8px; } }
@media (max-width: 680px) {
  .nx-wrap { width: calc(100% - 32px); }
  .nx-head .nx-wrap { height: 76px; gap: 10px; }
  .nx-mark { width: 42px; height: 42px; font-size: 22px; border-radius: 12px; }
  .nx-word { font-size: 19px; } .nx-word small { font-size: 7.5px; letter-spacing: 1.4px; }
  .nx-actions > a.nx-btn { min-height: 40px; padding: 9px 13px; font-size: 13px; }
}
@media (max-width: 360px) { .nx-word small { display: none; } }
.nx-head.nx-slim .nx-wrap { height: 72px; }
.nx-head.nx-slim .nx-mark { width: 40px; height: 40px; font-size: 21px; }
.nx-head.nx-slim .nx-word { font-size: 20px; }

.nx-foot { background: #121d49; color: #c7cdeb; padding: 60px 0 84px; margin: 0; font-size: 14px; }
.nx-foot a { color: #c3cbe8; text-decoration: none; }
.nx-foot a:hover { color: #fff; text-decoration: underline; }
.nx-foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.nx-foot .nx-mark { background: #8d78dc; box-shadow: none; }
.nx-foot .nx-word { color: #fff; } .nx-foot .nx-word > span { color: #c6b7ff; } .nx-foot .nx-word small { color: #a8b0d0; }
.nx-foot .nx-brand:hover { text-decoration: none; }
.nx-tag { margin: 22px 0 12px; color: #c7cdeb; font: 700 20px/1.45 Manrope, sans-serif; }
.nx-addr { margin: 0; color: #a8b0d0; font-size: 14px; line-height: 1.75; }
.nx-col { display: flex; flex-direction: column; gap: 9px; }
.nx-col b { color: #fff; font: 800 12px/1.4 Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 4px; }
.nx-foot-bottom { display: grid; grid-template-columns: 1fr 1.8fr; gap: 28px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; color: #909bbb; font-size: 12px; line-height: 1.7; }
.nx-foot-bottom span:last-child { text-align: right; }
@media (max-width: 900px) { .nx-foot-top { grid-template-columns: 1fr 1fr; gap: 30px; } .nx-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 680px) { .nx-foot { padding: 44px 0 96px; } .nx-foot-bottom { grid-template-columns: 1fr; gap: 12px; } .nx-foot-bottom span:last-child { text-align: left; } }
.nx-foot.nx-slim { padding-bottom: 120px; }
.nx-head a:focus-visible, .nx-foot a:focus-visible, .nx-menu summary:focus-visible { outline: 2px solid #8d75d7; outline-offset: 3px; border-radius: 4px; }
@media print { .nx-head, .nx-foot { display: none; } }

/* Original NKS logo (restored 9 Nov 2026) */
.nx-logo img { display: block; height: 58px; width: auto; }
.nx-head.nx-slim .nx-logo img { height: 46px; }
@media (max-width: 680px) { .nx-logo img { height: 44px; } .nx-head.nx-slim .nx-logo img { height: 40px; } }
@media (max-width: 360px) { .nx-logo img { height: 38px; } }
.nx-logo-full { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; }
.nx-logo-full img { display: block; width: 210px; max-width: 100%; height: auto; }

/* Footer bottom: copyright, then the disclaimer on its own full-width line (10 Nov 2026) */
.nx-foot-bottom{grid-template-columns:1fr;gap:8px}
.nx-foot-bottom span:last-child{text-align:left;max-width:920px}
