.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 54px);
  margin: 0;
  font-size: 12px;
  line-height: inherit;
}

.legal-links a {
  display: inline;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  opacity: .72;
  font: inherit;
  font-weight: inherit;
  outline: 0;
  padding: 0 !important;
  text-decoration: none;
  transform: none !important;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1;
  outline: 0;
  text-decoration: underline;
  transform: none !important;
}

footer:has(.legal-links) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: clamp(12px, 4vw, 54px) !important;
  text-align: center;
}

footer:has(.site-footer-brand) {
  flex-direction: row !important;
  gap: 10px clamp(14px, 4vw, 54px) !important;
  overflow: hidden;
  margin-bottom: 0 !important;
  padding-bottom: clamp(8px, 1.6vw, 18px) !important;
}

footer:has(.legal-links) .footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer:has(.legal-links) .texto-footer-derechos,
footer:has(.legal-links) > span,
footer:has(.legal-links) > p {
  width: auto !important;
  margin: 0 !important;
}

.site-footer-brand {
  flex-basis: 100%;
  width: min(1120px, calc(100% - 44px)) !important;
  margin: clamp(8px, 1.4vw, 16px) auto 0 !important;
  background-image: none;
  color: #8d7fba;
  -webkit-text-fill-color: #909090;
  filter: none;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, sans-serif;
  font-size: clamp(54px, 12.8vw, 144px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .82;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.bottom-blur {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 40;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

.bottom-blur__inner,
.bottom-blur__inner > div {
  position: absolute;
  inset: 0;
}

.bottom-blur__inner {
  overflow: hidden;
}

.bottom-blur__inner > div {
  pointer-events: none;
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  -webkit-mask-image: var(--mask);
  mask-image: var(--mask);
}

.legal-page {
  --bg: #0b0b0f;
  --fg: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.64);
  --soft: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.14);
  --a: #f29e1e;
  --b: #9b59b6;
  min-height: 100vh;
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.legal-page * {
  box-sizing: border-box;
}

.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 30px;
}

.legal-hero {
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
}

.legal-back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--fg);
  font-size: 13px;
  font-weight: 800;
  opacity: .74;
  text-decoration: none;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
  opacity: 1;
}

.legal-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 7vw, 72px);
  line-height: .95;
  letter-spacing: 0;
}

.legal-page h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page p {
  margin: 0 0 12px;
}

.legal-page ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-section {
  margin-top: 14px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.legal-page .note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(242,158,30,.30);
  border-radius: 12px;
  background: rgba(242,158,30,.08);
  color: rgba(255,255,255,.74);
}

.legal-page .small-print {
  color: rgba(255,255,255,.48);
  font-size: 13px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 26px 0 0;
}

.legal-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(242,158,30,.45);
  border-radius: 18px;
  color: var(--fg);
  background: rgba(255,255,255,.055);
  box-shadow: 0 16px 50px rgba(0,0,0,.30);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .14s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.legal-button.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.04);
}

.legal-button:hover,
.legal-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(242,158,30,.74);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  outline: none;
}

.legal-page footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 42px;
  color: rgba(255,255,255,.62);
  text-align: center;
}

@media (max-width: 560px) {
  footer:has(.legal-links) {
    gap: 10px 16px !important;
  }

  .legal-links {
    gap: 10px 16px;
  }

  .site-footer-brand {
    width: min(1120px, calc(100% - 36px)) !important;
    margin-top: 10px !important;
    font-size: clamp(42px, 13.8vw, 60px);
    line-height: .86;
    white-space: nowrap;
  }

  .legal-actions {
    display: grid;
  }

  .legal-button {
    width: 100%;
  }
}
