.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 0 2.5rem;
  background: #04112b;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbe8ff;
  font-size: 0.92rem;
}

.site-footer .footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(3rem, 10vw, 9rem);
  row-gap: 1rem;
  align-items: start;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.site-footer .footer-links a,
.site-footer a {
  color: #fff;
}

.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.site-footer .footer-note {
  margin: 0;
  color: #b8c9e8;
}

.site-footer .footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer .footer-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.site-footer .dmca-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.site-footer .dmca-badge:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.site-footer .dmca-badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-footer .footer-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.site-header .brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.site-header .brand-mark {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  flex: none;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin: 2rem auto 0;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(24, 82, 214, 0.28);
  border-radius: 999px;
  background: #eaf2ff;
  color: #081a43;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  background: #fff;
  color: #081a43;
}

@media (max-width: 640px) {
  .site-footer .footer-links {
    gap: 0.5rem;
  }

  .site-footer .footer-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .site-footer .footer-meta,
  .site-footer .footer-disclaimer {
    width: 100%;
  }

  .site-footer .footer-disclaimer {
    padding-top: 1rem;
  }

  .site-header .brand-mark {
    width: 3.5rem;
    height: 3.5rem;
  }

  .site-footer .footer-links a {
    width: 100%;
  }

  .legal-nav {
    flex-direction: column;
  }

  .legal-nav a {
    width: 100%;
  }
}
