/* Shared footer: structure, spacing and responsive alignment. */
body .footer.wrap {
  display: block;
  padding-top: 48px;
  padding-bottom: 24px;
  color: var(--navy, #04143a);
  border-top: 1px solid #1f3b6f25;
}
body .footer > .footer-main,
body .footer > .footer-bottom {
  width: 100%;
  margin: 0;
  order: initial;
  font-size: 14px;
  line-height: 1.7;
}
body .footer > .footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px 64px;
  padding-bottom: 32px;
}
body .footer .footer-brand .logo {
  display: inline-flex;
  margin: 0;
  padding: 0;
}
body .footer .footer-brand .brand-lockup {
  display: block;
  width: 160px;
  height: auto;
  max-width: 100%;
}
body .footer .footer-brand p {
  max-width: 260px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--regal, #1f3b6f);
}
body .footer .footer-links { min-width: 0; justify-self: end; }
body .footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  align-items: center;
}
body .footer a,
body .footer .intro-replay {
  color: inherit;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}
body .footer .footer-nav a,
body .footer .footer-guide a,
body .footer .footer-actions a,
body .footer .intro-replay {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body .footer .footer-guide { margin-top: 8px; color: var(--regal, #1f3b6f); }
body .footer .footer-guide a { text-wrap: pretty; }
body .footer > .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid #1f3b6f25;
  color: var(--regal, #1f3b6f);
}
body .footer .footer-bottom > span { font-size: 13px; }
body .footer .footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}
body .footer .intro-replay {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
body .footer .intro-replay[hidden] { display: none; }
body .footer .footer-back { gap: 10px; }
body .footer .footer-back svg { width: 17px; height: 17px; flex: 0 0 17px; }
body .footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
body .footer a:focus-visible,
body .footer .intro-replay:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 2px;
}
@media (max-width: 760px) {
  body .footer.wrap { padding-top: 32px; padding-bottom: 20px; }
  body .footer > .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 24px;
  }
  body .footer .footer-links { justify-self: stretch; }
  body .footer .footer-nav { gap: 4px 24px; }
  body .footer .footer-guide { margin-top: 4px; max-width: 360px; }
  body .footer .footer-actions { gap: 4px 24px; }
}
@media (max-width: 420px) {
  body .footer > .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
