/* Páginas legales (privacidad.html y borrar-cuenta.html). Usan estilos.css y añaden solo esto. */

.legal-hero { position: relative; isolation: isolate; overflow: hidden; }
.legal-hero .floor { height: 70%; }
.legal-hero-in { position: relative; z-index: 1; container-type: inline-size; padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); }
.poster-legal { font-size: min(clamp(54px, 7.4vw, 112px), 16cqi); }
.legal-sec { background: var(--bg-2); }
.legal-sec + .legal-sec { padding-top: 0; }
.legal-datos { padding-top: clamp(64px, 8vw, 100px) !important; }

.legal-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.trust-card a, .marks a { color: var(--y); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.trust-card p b, .pasos b { color: #fff; }
.trust-card .quote { margin: 0; }

.checks, .pasos { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.checks li::marker { color: var(--y); }
.pasos li::marker { color: var(--y); font-family: var(--f-display); font-weight: 900; }
.trust-card .more { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.trust-card .more svg { width: 18px; height: 18px; }

.paso { width: 42px; height: 46px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--g, var(--y)); color: var(--y-ink); font: 900 20px/1 var(--f-display); font-style: italic; }

.borrar-form { margin-top: 16px; --g: var(--red); }
.borrar-form .lead { font-size: 16px; }
.btn-peligro { background: var(--red); color: #fff; }
.btn-peligro:hover { background: #FF5E6E; box-shadow: 0 12px 30px -10px rgba(255, 68, 87, .65); }
.btn-peligro:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.marks li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.marks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 6px; margin-top: 1px; }
.borra svg { background: rgba(255, 68, 87, .16); color: #FF8A99; }
.queda svg { background: rgba(255, 197, 61, .16); color: var(--gold); }
.nota { margin-top: 20px; font-size: 14px; }



/* Deja sitio a las tildes de las mayúsculas */
.poster-legal .ln { padding-top: .12em; margin-top: -.08em; }
.borrar-form > * { min-width: 0; }
.btn-peligro { white-space: normal; text-align: center; }

@media (max-width: 640px) {
  .row2 { grid-template-columns: minmax(0, 1fr); }
}
.error-404 .legal-hero-in { min-height: min(70svh, 640px); display: grid; align-content: center; justify-items: start; }
.error-404 .hero-ctas { margin-top: 8px; }
