/* LINK V39.6 — desktop nav spacing + canonical public footer */
:root{--v396-navy:#082746;--v396-green:#628d47;--v396-line:#dce6eb;--v396-muted:#dce6ed}

@media(min-width:1221px){
  body > header.site-header .nav-shell{
    width:min(1540px,calc(100% - 28px))!important;
    grid-template-columns:176px minmax(0,1fr) 110px!important;
    column-gap:12px!important;
  }
  body > header.site-header .brand{
    width:176px!important;min-width:176px!important;max-width:176px!important;
  }
  body > header.site-header .brand img{
    width:168px!important;max-width:168px!important;max-height:64px!important;
  }
  body > header.site-header .main-nav{
    gap:8px!important;justify-content:space-between!important;overflow:visible!important;
  }
  body > header.site-header .main-nav > a{
    min-width:0!important;padding:0!important;white-space:nowrap!important;
  }
  body > header.site-header .main-nav > a strong{
    font-size:9.6px!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;
  }
  body > header.site-header .main-nav > a span{display:none!important}
  body > header.site-header .get-involved{
    width:110px!important;min-width:110px!important;max-width:110px!important;
    min-height:44px!important;padding:0 8px!important;font-size:10px!important;
  }
  body > header.site-header .main-nav > .link-v39-mobile-get-involved,
  body > header.site-header .main-nav > .link-v39-install-link{
    display:none!important;
  }
}

@media(min-width:1221px) and (max-width:1420px){
  body > header.site-header .nav-shell{
    grid-template-columns:164px minmax(0,1fr) 104px!important;
    column-gap:9px!important;
  }
  body > header.site-header .brand{
    width:164px!important;min-width:164px!important;max-width:164px!important;
  }
  body > header.site-header .brand img{
    width:156px!important;max-width:156px!important;
  }
  body > header.site-header .main-nav{gap:6px!important}
  body > header.site-header .main-nav > a strong{font-size:8.8px!important}
  body > header.site-header .get-involved{
    width:104px!important;min-width:104px!important;max-width:104px!important;font-size:9.4px!important;
  }
}

body.link-v396-public > footer.link-v396-footer{
  width:100%!important;margin:0!important;padding:0!important;
  background:var(--v396-navy)!important;color:#fff!important;
  border:0!important;font-family:Montserrat,Arial,sans-serif!important;
}
body.link-v396-public > footer.link-v396-footer *{box-sizing:border-box!important}
.link-v396-footer-inner{
  width:min(1320px,calc(100% - 36px));margin:0 auto;padding:42px 0 24px;
}
.link-v396-footer-grid{
  display:grid;grid-template-columns:1.45fr .72fr 1fr;gap:48px;align-items:start;
}
.link-v396-footer h2,.link-v396-footer h3{
  margin:0 0 14px!important;color:#fff!important;font-family:Montserrat,Arial,sans-serif!important;line-height:1.2!important;
}
.link-v396-footer h2{font-size:18px!important;font-weight:900!important}
.link-v396-footer h3{font-size:14px!important;font-weight:900!important}
.link-v396-footer p{
  margin:0 0 14px!important;max-width:660px;color:#fff!important;
  font:500 13px/1.55 Montserrat,Arial,sans-serif!important;
}
.link-v396-footer a{
  color:#fff!important;text-decoration:underline!important;text-underline-offset:2px!important;
  font:700 12px/1.4 Montserrat,Arial,sans-serif!important;
}
.link-v396-footer-links{display:flex;flex-direction:column;gap:9px}
.link-v396-footer-email{
  display:inline-flex;align-items:center;width:max-content;max-width:100%;
  min-height:38px;margin:2px 0 14px;padding:0 13px;border-radius:999px;
  background:var(--v396-green);color:#fff!important;text-decoration:none!important;
}
.link-v396-footer-bottom{
  display:flex;justify-content:space-between;gap:18px;align-items:center;
  margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.2);
}
.link-v396-footer-bottom p{
  margin:0!important;color:var(--v396-muted)!important;font-size:11px!important;
}
.link-v396-footer-bottom-links{display:flex;flex-wrap:wrap;gap:14px}

@media(max-width:900px){
  .link-v396-footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  .link-v396-footer-brand{grid-column:1 / -1}
}
@media(max-width:640px){
  .link-v396-footer-inner{width:calc(100% - 28px);padding:34px 0 22px}
  .link-v396-footer-grid{grid-template-columns:1fr;gap:26px}
  .link-v396-footer-brand{grid-column:auto}
  .link-v396-footer-bottom{align-items:flex-start;flex-direction:column}
}
body.link-v396-public .link-v3951-app-qr{margin-bottom:42px!important}
