/* ScoreWise header + mobile menu (2026-10-29). Structure, layout, motion and interaction follow the 508ministry.com
   n5 nav (sticky bar, hover/click mega panels, numbered accordion sheet), in the dark #1D1D1D/#2B2B2B + #25D162 scheme.
   Replaces the Webflow nav, the Silvercrest-style sheet (sw-menu.css/js) and the old logo rules. Built into every page by site-qa/nav508.py. */
.swn, .swn-m { --g: #25d162; --g-h: #1fb955; --g-ink: #0b1a10; --bg: #1d1d1d; --card: #2b2b2b; --raised: #333; --line: #3a3a3a; --mut: #b5b5b5; --glow: rgba(37,209,98,.35);
  font-family: Suisseintl, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.swn *, .swn-m * { box-sizing: border-box; }
.swn { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,.35); color: #fff; }
.swn-bar { max-width: 1360px; margin: 0 auto; padding: 0 24px; height: 76px; display: flex; align-items: center; gap: 14px; }
.swn-brand { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; }
.swn-brand img { display: block; width: 172px; height: auto; aspect-ratio: 427 / 116; }
.swn nav.swn-main { align-self: stretch; flex: 1 1 auto; min-width: 0; }
.swn-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 2px; height: 100%; }
.swn-item { position: static; display: flex; align-items: center; }
.swn-trig, .swn-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; background: none; border-radius: 10px; font: 600 15px/1 Suisseintl, Inter, sans-serif; color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.swn-trig:hover, .swn-link:hover, .swn-trig[aria-expanded=true] { background: rgba(37,209,98,.14); color: var(--g); }
.swn-trig.is-cur, .swn-link.is-cur { color: var(--g); }
.swn-trig svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.swn-trig[aria-expanded=true] svg { transform: rotate(180deg); }
.swn a:focus-visible, .swn button:focus-visible, .swn-m a:focus-visible, .swn-m button:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; }
.swn-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 10px 24px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; pointer-events: none; }
.swn-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; pointer-events: auto; }
.swn-panel-in { max-width: 1180px; margin: 0 auto; background: var(--card); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(37,209,98,.06), 0 0 60px -20px var(--glow); padding: 10px; display: grid; grid-template-columns: 270px 1fr 300px; gap: 10px; }
.swn-intro { background: var(--bg); border-radius: 16px; padding: 26px 26px 22px; display: flex; flex-direction: column; }
.swn-eb { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g); background: rgba(37,209,98,.14); border-radius: 999px; padding: 5px 11px; margin: 0 0 16px; }
.swn-pt { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: #fff; margin: 0 0 10px; }
.swn-px { font-size: 14.5px; line-height: 1.6; color: var(--mut); margin: 0 0 18px; flex: 1; }
.swn-tl { font-size: 14.5px; font-weight: 700; color: var(--g); text-decoration: none; }
.swn-tl:hover { text-decoration: underline; }
.swn-links { list-style: none; margin: 0; padding: 8px 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; align-content: start; }
.swn-links a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .15s; }
.swn-links a:hover { background: var(--raised); }
.swn-ic { flex: 0 0 38px; height: 38px; border-radius: 10px; background: rgba(37,209,98,.12); color: var(--g); display: flex; align-items: center; justify-content: center; }
.swn-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.swn-links strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.swn-links small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--mut); margin-top: 2px; }
.swn-feat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 16px; overflow: hidden; background: var(--bg); text-decoration: none; min-height: 260px; }
.swn-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.swn-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,29,29,0) 25%, rgba(29,29,29,.94) 100%); }
.swn-fc { position: relative; z-index: 2; padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.swn-chip { background: var(--g); color: var(--g-ink); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.swn-ft { color: #fff; font-size: 17px; line-height: 1.3; font-weight: 700; }
.swn-fg { color: var(--g); font-size: 14px; font-weight: 700; }
.swn-feat:hover .swn-fg { text-decoration: underline; }
.swn-util { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; margin-left: auto; }
.swn-phone { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; min-height: 44px; }
.swn-phone-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--g); }
.swn-phone-ic svg, .swn-m-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.swn-login { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14.5px; color: #fff; text-decoration: none; padding: 0 6px; white-space: nowrap; }
.swn-login:hover { color: var(--g); }
.swn-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 12px; background: var(--g); color: var(--g-ink); font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px var(--glow); transition: transform .15s, background .15s; }
.swn-cta:hover { background: var(--g-h); transform: translateY(-1px); }
.swn-burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.swn-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; }
.swn-burger span:nth-child(1) { top: 16px; } .swn-burger span:nth-child(2) { top: 23px; } .swn-burger span:nth-child(3) { top: 30px; }
@media (max-width: 1380px) { .swn-login { display: none; } }
@media (max-width: 1280px) { .swn-phone-t { display: none; } }
@media (max-width: 1180px) {
  .swn nav.swn-main, .swn-util { display: none; }
  .swn-burger { display: block; }
  .swn-bar { height: 68px; padding: 0 14px 0 18px; }
  .swn-brand img { width: 150px; }
}

/* Mobile sheet */
.swn-m { position: fixed; inset: 0; z-index: 2147483646; background: radial-gradient(120% 80% at 100% 100%, rgba(37,209,98,.26) 0%, rgba(37,209,98,0) 55%), var(--bg); color: #fff; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .32s ease, transform .32s ease, visibility 0s .32s; overscroll-behavior: contain; }
.swn-m.open { opacity: 1; visibility: visible; transform: none; transition: opacity .32s ease, transform .32s ease; }
.swn-m-top { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 18px; }
.swn-m-brand { display: flex; align-items: center; min-height: 44px; }
.swn-m-brand img { display: block; width: 150px; height: auto; aspect-ratio: 427 / 116; }
.swn-m-close { position: relative; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); cursor: pointer; padding: 0; }
.swn-m-close i { position: absolute; left: 14px; right: 14px; top: 23px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s .1s; }
.swn-m-close i:nth-child(1) { transform: rotate(45deg); } .swn-m-close i:nth-child(2) { transform: rotate(-45deg); }
.swn-m:not(.open) .swn-m-close i:nth-child(1), .swn-m:not(.open) .swn-m-close i:nth-child(2) { transform: rotate(0); }
.swn-m-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 18px 34px; }
.swn-m-list, .swn-m-sub { list-style: none; margin: 0; padding: 0; }
.swn-m-list > li { border-top: 1px solid rgba(255,255,255,.14); opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.swn-m-list > li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.swn-m.open .swn-m-list > li { opacity: 1; transform: none; }
.swn-m.open .swn-m-list > li:nth-child(1) { transition-delay: .08s; } .swn-m.open .swn-m-list > li:nth-child(2) { transition-delay: .13s; } .swn-m.open .swn-m-list > li:nth-child(3) { transition-delay: .18s; } .swn-m.open .swn-m-list > li:nth-child(4) { transition-delay: .23s; } .swn-m.open .swn-m-list > li:nth-child(5) { transition-delay: .28s; }
.swn-m-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 8px 0; background: none; border: 0; color: #fff; text-decoration: none; text-align: left; font: 800 24px/1.15 Suisseintl, Inter, sans-serif; letter-spacing: -.02em; cursor: pointer; }
.swn-m-row em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--g); flex: 0 0 22px; }
.swn-m-row span { flex: 1; }
.swn-m-row b, .swn-m-arrow { flex: 0 0 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); position: relative; }
.swn-m-row b::before, .swn-m-row b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%,-50%); transition: transform .25s; }
.swn-m-row b::after { transform: translate(-50%,-50%) rotate(90deg); }
.swn-m-row[aria-expanded=true] b::after { transform: translate(-50%,-50%) rotate(0); }
.swn-m-row[aria-expanded=true], .swn-m-row[aria-current=page] { color: var(--g); }
.swn-m-row b.swn-m-arrow::before { width: 10px; height: 10px; background: none; border-top: 2px solid #fff; border-right: 2px solid #fff; border-radius: 0; transform: translate(-65%,-35%) rotate(45deg) scale(.9); left: 50%; }
.swn-m-row b.swn-m-arrow::after { display: none; }
.swn-m-sub { display: block; max-height: 0; overflow: hidden; transition: max-height .35s ease; visibility: hidden; }
.swn-m-grp.open .swn-m-sub { max-height: 560px; padding-bottom: 12px; visibility: visible; }
.swn-m-sub a { display: flex; align-items: center; min-height: 46px; padding: 0 0 0 36px; color: #e8e8e8; text-decoration: none; font-size: 17px; font-weight: 600; border-left: 2px solid rgba(37,209,98,.5); margin-left: 11px; }
.swn-m-sub a:active, .swn-m-sub a:hover { color: var(--g); }
.swn-m-cta, .swn-m-call { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; margin-top: 26px; border-radius: 999px; background: var(--g); color: var(--g-ink); font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 8px 24px var(--glow); }
.swn-m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.swn-m-tiles a { display: block; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; text-transform: uppercase; min-height: 64px; }
.swn-m-tiles small { display: block; font-size: 10.5px; letter-spacing: .12em; color: var(--g); margin-bottom: 3px; }
.swn-m-card { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; min-height: 64px; }
.swn-m-dot { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--g); color: var(--g-ink); display: flex; align-items: center; justify-content: center; }
.swn-m-dot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.swn-m-card strong { display: block; font-size: 16px; } .swn-m-card small { display: block; font-size: 13px; color: #cfcfcf; margin-top: 2px; }
body.swn-lock { overflow: hidden; }
@media (min-width: 1181px) { .swn-m { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .swn-m, .swn-m *, .swn-panel, .swn-panel * { transition: none !important; } .swn-m-list > li { opacity: 1; transform: none; } }

/* Footer logo + dashboard captures (carried over from sw-menu.css) */
.footer-logo.sw-logo { width: 240px; max-width: 100%; height: auto; aspect-ratio: 427 / 116; }
img[data-sw-dash]:not(.blog-image):not(.blog-detils-image) { height: auto; }
img[data-sw-dash].blog-image, img[data-sw-dash].blog-detils-image { object-fit: cover; object-position: top left; }
@media (max-width: 1180px) { .swn-panel { display: none; } }

html { scroll-padding-top: 92px; }
/* the homepage dark theme colours every <p>/<li>; keep the nav's own colours */
html .swn .swn-eb { color: var(--g); } html .swn .swn-pt { color: #fff; } html .swn .swn-px { color: var(--mut); }
html .swn li, html .swn-m li { color: #fff; }
/* 2026-10-29 sale card photo: purpose-made, shown fuller than the screenshot cards (nav508.py) */
.swn-feat-photo img { opacity: .92; }
