.legal-page { max-width: 42rem; }
.legal-page h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.legal-page h2 { font-size: 1.125rem; font-weight: 600; margin: 2rem 0 0.75rem; color: rgba(255,255,255,0.9); }
.legal-page p, .legal-page li { color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 0.75rem; }
.legal-page ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-page a { color: #59c0ff; text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: #8ed8ff; }
.legal-page .legal-meta { font-size: 0.8125rem; color: rgba(255,255,255,0.35); margin-bottom: 2rem; }
.legal-page .legal-box {
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.legal-page code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.8125rem; color: rgba(255,255,255,0.7); }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 2rem;
}
.site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}
.site-footer-nav a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.site-footer-nav a:hover { color: #fff; }
.site-footer-note { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: #33a3ff;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.skip-link:focus {
  left: 0.75rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid #59c0ff;
  outline-offset: 2px;
}
