/* Estilos de las páginas legales (privacidad, términos, eliminación de datos) */
:root {
  --bg: #ffffff;
  --panel: #f4f6f7;
  --border: #e2e7e9;
  --text: #0d1417;
  --body: #2b3539;
  --muted: #5c6a70;
  --accent: #0b6d86;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1417;
    --panel: #141d21;
    --border: #243035;
    --text: #f1f4f5;
    --body: #cdd6d9;
    --muted: #93a3a9;
    --accent: #5cc3dc;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.top { border-bottom: 1px solid var(--border); }
.top-in { max-width: 820px; margin: 0 auto; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.marca { font-weight: 783; font-size: 17px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

main { max-width: 820px; margin: 0 auto; padding: 40px 20px 72px; }
.eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 10px; font-size: clamp(32px, 6vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.fecha { margin: 0 0 26px; color: var(--muted); font-size: 14.5px; }
.intro { margin: 0 0 28px; font-size: 17.5px; color: var(--text); }
h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--text); scroll-margin-top: 16px; }
h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 600; color: var(--text); }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
strong { color: var(--text); font-weight: 600; }

.indice { margin: 0 0 8px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.indice p { margin: 0 0 8px; font-weight: 600; color: var(--text); }
.indice ol { margin: 0; columns: 2 260px; column-gap: 28px; font-size: 15px; }
.indice li { margin: 0 0 6px; break-inside: avoid; }

.caja { margin: 18px 0; padding: 16px 20px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.caja p:last-child, .caja ul:last-child { margin-bottom: 0; }

.tabla { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.tabla th { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.tabla td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.tabla-wrap { overflow-x: auto; }

footer { border-top: 1px solid var(--border); }
.pie { max-width: 820px; margin: 0 auto; padding: 22px 20px 34px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.pie a { color: var(--muted); }

@media (max-width: 560px) {
  main { padding-top: 28px; }
  .tabla td:first-child { white-space: normal; }
}
@media print {
  .top nav, .indice, footer { display: none; }
  body { font-size: 12pt; }
}
