/* Páginas legales (privacidad y términos). Estáticas, sin JavaScript: la CSP no deja estilos en línea, por eso van aquí. */
:root {
  color-scheme: light dark;
  --texto: #1c2321;
  --suave: #4d5753;
  --linea: #d9dfdc;
  --fondo: #fbfcfb;
  --enlace: #0f6b55;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
}

@media (prefers-color-scheme: dark) {
  :root {
    --texto: #e7ece9;
    --suave: #aeb8b3;
    --linea: #34403b;
    --fondo: #121816;
    --enlace: #6fd3b4;
  }
}

body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 3rem 1rem 4rem;
}

a {
  color: var(--enlace);
  text-underline-offset: 0.15em;
}

.volver {
  display: inline-block;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linea);
  text-wrap: balance;
}

h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

p,
li {
  max-width: 68ch;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.fecha,
.nota {
  color: var(--suave);
  font-size: 0.95rem;
}

.indice {
  border: 1px solid var(--linea);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 0;
}

.indice h2 {
  border: 0;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 1rem;
}

.tabla {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th,
td {
  border-bottom: 1px solid var(--linea);
  padding: 0.5rem 0.75rem 0.5rem 0;
  text-align: left;
  vertical-align: top;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linea);
  color: var(--suave);
  font-size: 0.95rem;
}
