/* Invitation and footer are separate sections, with white space between them. */
.closing { background: #fff; color: var(--ink); padding-bottom: 100px; }
.site-footer { display: block; background: #0b1d3c; color: #fff; padding: 64px 0 24px; border: 0; font-size: 14px; line-height: 1.6; }
.site-footer > .wrap { display: block; width: auto; margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 65px; padding-bottom: 48px; align-items: start; }
.footer-brand > a { display: inline-block; max-width: 100%; }
.footer-brand img { width: 240px; height: auto; }
.footer-brand > p { font-size: 14px; color: #b8c7dd; line-height: 1.8; margin: 15px 0 0; }
.footer-brand > .footer-tagline { font-size: 19px; font-weight: 600; color: #fff; margin-top: 25px; letter-spacing: -.01em; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav h2 { font-family: Archivo, system-ui, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; margin: 0 0 10px; color: #fff; }
.footer-nav a, .footer-nav button, .footer-legal button { display: inline-flex; align-items: center; gap: 8px; color: #bfcee3; font-size: 14px; line-height: 1.5; background: none; border: 0; padding: 3px 0; text-align: left; }
.footer-nav a:hover, .footer-nav button:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-nav a:focus-visible, .footer-nav button:focus-visible, .footer-legal button:focus-visible, .footer-brand > a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; border-radius: 2px; }
.footer-nav svg { width: 14px; height: 14px; }
.footer-beta { display: inline-block; font-size: 9px; font-weight: 700; color: #facc15; letter-spacing: .04em; line-height: 1.3; padding: 3px 5px; border: 1px solid #facc1550; border-radius: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #ffffff21; padding-top: 23px; }
.footer-bottom > p { color: #bfcee3; font-size: 12px; margin: 0; }
.footer-legal { display: flex; align-items: center; gap: 28px; }
.footer-legal button { font-size: 12px; }
.site-footer .demo-footnote { font-size: 11px; line-height: 1.7; color: #9fb1cd; text-align: left; padding: 0; margin: 19px 0 0; }
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1.2fr 1fr .8fr; gap: 35px; }
  .footer-brand img { width: 210px; }
  .footer-nav a, .footer-nav button { font-size: 13px; }
}
@media (max-width: 650px) {
  .closing { padding-bottom: 64px; }
  .site-footer { padding-top: 44px; padding-bottom: 24px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 20px; padding-bottom: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 225px; }
  .footer-brand > .footer-tagline { margin-top: 18px; font-size: 18px; }
  .footer-brand > p { font-size: 13px; margin-top: 10px; }
  .footer-nav { gap: 9px; }
  .footer-nav h2 { font-size: 13px; margin-bottom: 7px; }
  .footer-nav a, .footer-nav button { font-size: 12px; gap: 5px; }
  .footer-beta { font-size: 8px; padding: 2px 3px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 17px; padding-top: 22px; }
  .footer-legal { gap: 28px; }
  .footer-legal button { font-size: 12px; }
  .site-footer .demo-footnote { font-size: 10px; max-width: 290px; margin-top: 20px; }
}
