.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a { font-size: .75rem; }
.footer-links a:hover,
.footer-links a:focus { color: #fff; }

.legal-page {
  min-height: calc(100vh - 98px);
  padding: 140px 0 90px;
  background: var(--ivory);
}

.legal-shell {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(20, 33, 61, .08);
}

.legal-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.legal-shell h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-shell h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -.025em;
}

.legal-shell p,
.legal-shell li,
.legal-address {
  color: #536176;
  font-size: .94rem;
  line-height: 1.75;
}

.legal-shell ul { padding-left: 1.25rem; }
.legal-shell a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  border-radius: 0 10px 10px 0;
  background: #fff0ee;
  color: #6d423d;
  font-size: .86rem;
  line-height: 1.6;
}

.legal-address { font-style: normal; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none !important;
}

.legal-meta {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #7a8697 !important;
  font-size: .78rem !important;
}

@media (max-width: 575.98px) {
  .legal-page { padding: 105px 12px 60px; }
  .legal-shell {
    padding: 28px 22px;
    border-radius: 16px;
  }
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-note { line-height: 1.65; }
.form-note a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pilot-error {
  color: #7d3731;
  background: #fff0ee;
}
.pilot-error span { color: #8b5b56; }

.confirmation-page {
  display: flex;
  align-items: center;
}
.confirmation-shell {
  max-width: 720px;
  text-align: center;
}
.confirmation-shell h1 { max-width: none; }
.confirmation-shell .legal-back { justify-content: center; }
.confirmation-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 850;
}
.confirmation-icon.success {
  color: #416b4e;
  background: #e7f0e9;
}
.confirmation-icon.error {
  color: #8a433b;
  background: #fff0ee;
}
.confirmation-icon.pending {
  color: #355c78;
  background: #e6eef4;
}
.confirmation-form { margin: 28px 0 4px; }
