body.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow: auto;
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(1140px, 94vw);
  margin: 0 auto;
  padding: clamp(24px, 4vh, 42px) 0 clamp(30px, 4.8vh, 56px);
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.legal-card {
  width: min(960px, 100%);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(201, 168, 76, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(6, 16, 30, 0.44) 0%, rgba(8, 19, 36, 0.32) 100%);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(3px);
}

.legal-kicker {
  margin: 0 0 12px;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.legal-card h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 4.4vw, 3.95rem);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fffaf2;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff7ea;
}

.legal-card p,
.legal-card li {
  margin: 0 0 14px;
  font-size: clamp(0.98rem, 1.2vw, 1.04rem);
  line-height: 1.75;
  color: rgba(253, 246, 237, 0.9);
}

.legal-card ul {
  margin: 0 0 18px 22px;
  padding: 0;
}

.legal-card li + li {
  margin-top: 6px;
}

.legal-card a {
  color: var(--gold-light);
}

.legal-card strong {
  color: #fffaf2;
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.86) 0%, rgba(5, 12, 25, 0.86) 100%);
  color: rgba(253, 246, 237, 0.92);
  font-family: "Raleway", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
}

.back:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.footer-links a[aria-current="page"] {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

@media (max-width: 640px) {
  .legal-shell {
    width: min(96vw, 1140px);
    padding: 18px 0 28px;
  }

  .legal-card {
    padding: 20px 16px 24px;
    border-radius: 22px;
  }

  .legal-kicker {
    letter-spacing: 0.16em;
  }
}
