/* =========================================================
   legal.css
   Páginas legales (Política de privacidad, Aviso legal) con el
   mismo lenguaje Dark Glassmorphism: fondo oscuro continuo y un
   contenedor de cristal con blur sutil. Tipografía legible.
   ========================================================= */

body.legal-page {
  background-color: var(--bg);
  background-image:
    radial-gradient(115% 70% at 50% -6%, rgba(27, 63, 224, 0.18), transparent 60%),
    radial-gradient(90% 60% at 88% 112%, rgba(25, 212, 255, 0.07), transparent 58%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.legal {
  padding-block: clamp(4.5rem, 3.5rem + 6vw, 8rem) clamp(3rem, 4vw, 5rem);
  display: flex;
  justify-content: center;
}

.legal__wrap {
  width: min(820px, 92vw);
  /* Cristal oscuro, coherente con glass.css */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
    rgba(10, 13, 24, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(1.5rem, 1rem + 3vw, 3.25rem);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .legal__wrap { background: rgba(16, 22, 40, 0.96); }
}

.legal__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 15px;
  color: #fff;
}
.legal__brand .brand__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad-accent); color: #fff; font-size: 12px; letter-spacing: -0.5px;
}

.legal h1 {
  font-size: clamp(1.8rem, 1.2rem + 3vw, 2.6rem);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.legal .updated { color: var(--text-dim); font-size: var(--fs-sm); margin-bottom: 2rem; }
.legal h2 {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  color: #fff;
  margin: 2rem 0 0.6rem;
}
.legal p, .legal li { color: rgba(255, 255, 255, 0.80); line-height: 1.65; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.4rem; margin: 0.4rem 0 0.6rem; }
.legal a { color: var(--c-cyan); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: #fff; }
.legal .pendiente { color: var(--c-cyan); font-weight: 600; }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
