/* Páginas sueltas (2026-10-14): /salir (el cartel antes de ir a otra web) y /terminos.
   Mismos colores y letra que la portada (plan B), sin cargar sus estilos enteros. */
:root {
  color-scheme: dark;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --fondo: #050506;
  --sup: #141518;
  --texto: #f5f5f7;
  --texto-2: rgba(235, 235, 245, .62);
  --texto-3: rgba(235, 235, 245, .36);
  --linea: rgba(255, 255, 255, .09);
  --celeste: #9db9cf;
  --celeste-texto: #a9c4d9;
  --sobre-celeste: #0d1620;
}
:root[data-tema="claro"] {
  color-scheme: light;
  --fondo: #f2f3f5;
  --sup: #ffffff;
  --texto: #121316;
  --texto-2: rgba(60, 60, 67, .7);
  --texto-3: rgba(60, 60, 67, .42);
  --linea: rgba(0, 0, 0, .08);
  --celeste-texto: #3c6a8e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--fondo); color: var(--texto); font-family: var(--sf); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.marca { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; color: var(--texto); }
.marca svg { width: 34px; height: 14px; color: var(--celeste-texto); flex: none; }

/* ---------- /salir ---------- */
.salir { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.salir-caja { width: min(420px, 100%); }
.salir .marca { margin-bottom: 40px; }
.salir h1 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.salir-barra { height: 3px; margin: 22px 0 20px; border-radius: 2px; background: var(--linea); overflow: hidden; }
.salir-barra i { display: block; height: 100%; width: 100%; background: var(--celeste); transform-origin: left; animation: avanzar var(--espera, 1.8s) linear both; }
@keyframes avanzar { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .salir-barra i { animation: none; } }
.salir p { margin: 0; font-size: 14.5px; color: var(--texto-2); text-wrap: pretty; }
.salir-ir { display: inline-block; margin-top: 22px; padding: 11px 18px; border-radius: 11px; background: var(--celeste); color: var(--sobre-celeste); font-weight: 650; font-size: 15px; text-decoration: none; }
.salir-ir[hidden] { display: none; }

/* ---------- /terminos ---------- */
.doc { width: min(680px, 100%); margin: 0 auto; padding: 28px 16px 64px; }
.doc header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.doc header a.volver { font-size: 14.5px; color: var(--texto-2); text-decoration: none; }
.doc header a.volver:hover { color: var(--texto); }
.doc h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.doc .fecha { margin: 8px 0 0; font-size: 14px; color: var(--texto-3); }
.doc .resumen { margin: 26px 0 8px; padding: 16px 18px; border-radius: 14px; background: var(--sup); box-shadow: inset 0 0 0 1px var(--linea); font-size: 15.5px; }
.doc h2 { margin: 38px 0 8px; font-size: 19px; font-weight: 680; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--texto-2); font-size: 15.5px; text-wrap: pretty; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 20px; }
.doc li { margin: 0 0 6px; }
.doc li::marker { color: var(--texto-3); }
.doc b { color: var(--texto); font-weight: 620; }
.doc a { color: var(--celeste-texto); text-underline-offset: 2px; }
.doc header a.marca { color: var(--texto); }
