.footer-legal {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 22px 12px 0;
  border-top: 1px solid #a2c4d52b;
  color: #b3c6cf;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
}

.footer-legal p { max-width: 72ch; margin: 0 auto; }
.footer-legal nav, .legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.footer-legal a, .legal-page a { color: #e4c696; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal nav a, .legal-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal a:hover, .legal-page a:hover { color: #fff1d5; }
.footer-legal a:focus-visible, .legal-page a:focus-visible { outline: 2px solid #f2d5a2; outline-offset: 4px; }

.legal-page {
  color-scheme: dark;
  box-sizing: border-box;
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #142938, #0b1115 58%);
  color: #d6e3e9;
  font: 16px/1.7 system-ui, sans-serif;
}
.legal-page *, .legal-page *::before, .legal-page *::after { box-sizing: inherit; }
.legal-wrap { max-width: 860px; margin: 0 auto; padding: clamp(20px, 5vw, 52px) 20px; }
.legal-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.legal-brand { letter-spacing: .14em; font-family: Georgia, serif; }
.legal-document { margin-top: 20px; padding: clamp(20px, 5vw, 44px); border: 1px solid #334755; background: #101b23; }
.legal-document h1, .legal-document h2 { font: 400 clamp(27px, 5vw, 42px)/1.2 Georgia, serif; color: #f0e5d2; margin: 0 0 20px; overflow-wrap: anywhere; }
.legal-document h2 { font-size: clamp(20px, 4vw, 24px); margin: 30px 0 8px; }
.legal-document p { margin: 0 0 12px; overflow-wrap: anywhere; }
.legal-document p:last-child { margin-bottom: 0; }
.legal-scope { color: #b3c6cf; font-size: 14px; }
.legal-nav { margin-top: 12px; justify-content: flex-start; }
.legal-nav [aria-current="page"] { color: #fff1d5; text-decoration-thickness: 2px; }
