/* One centred footer rhythm across landing, support and study screens. */
.nb-marketing .nb-footer,
body>.site-footer {
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
  text-align:center;
  padding-top:30px;
  padding-bottom:32px;
}
.nb-marketing .nb-footer>div,
body>.site-footer>div {
  display:grid;
  justify-items:center;
  gap:8px;
  width:100%;
  text-align:center;
}
.nb-marketing .nb-footer>div p,
.nb-marketing .nb-footer>p,
body>.site-footer>div span {
  margin:0;
  text-align:center;
  line-height:1.65;
}
.nb-marketing .nb-footer>p { flex-basis:auto; width:100%; }
.nb-marketing .nb-footer nav,
body>.site-footer nav {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:10px;
  width:100%;
  max-width:850px;
  margin:0 auto;
}
.nb-marketing .nb-footer nav button,
body>.site-footer nav button {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 1 150px;
  min-width:0;
  min-height:46px;
  margin:0;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid #70cde05c;
  border-top-color:#70cde08f;
  background:linear-gradient(145deg,#70cde038,#70cde012),#132536;
  box-shadow:inset 0 1px 0 #ffffff20,inset 0 -1px 0 #020b1866,0 4px 10px #020b1833;
  color:#e8f7ff;
  font:500 13px/1.5 Sora,'DM Sans',sans-serif;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
  transition:background 180ms ease,border-color 180ms ease;
}
/* Existing landing visibility rule continues to suppress the shared duplicate footer. */
body.marketing-page>.site-footer { display:none; }
@media (max-width:720px) {
  .nb-marketing .nb-footer,
  body>.site-footer { padding-inline:20px;gap:20px; }
  .nb-marketing .nb-footer nav,
  body>.site-footer nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    max-width:420px;
    gap:10px;
  }
  .nb-marketing .nb-footer nav button,
  body>.site-footer nav button { min-height:48px;padding:11px 8px; }
  /* An odd final policy link stays centred at the same width as its peers. */
  .nb-marketing .nb-footer nav button:last-child:nth-child(odd),
  body>.site-footer nav button:last-child:nth-child(odd) {
    grid-column:1 / -1;
    width:calc((100% - 10px) / 2);
    justify-self:center;
  }
}
@media (hover:hover) and (pointer:fine) {
  .nb-marketing .nb-footer nav button:hover,
  body>.site-footer nav button:hover {
    color:#f2fbff;
    background:linear-gradient(145deg,#70cde052,#70cde01f),#172e40;
    border-color:#70cde0b3;
    text-decoration:none;
  }
}
.nb-marketing .nb-footer nav button:focus-visible,
body>.site-footer nav button:focus-visible { outline:3px solid #b6ecff;outline-offset:4px; }
@media(prefers-reduced-motion:reduce) {
  .nb-marketing .nb-footer nav button,
  body>.site-footer nav button { transition:none; }
}

.nb-marketing .nb-footer .footer-byline,body>.site-footer .footer-byline{display:block;color:#a9d7e7;font-size:12px;font-weight:500;letter-spacing:.06em;text-align:center}
