/* Estilo compartido de las páginas legales. Mismos tokens que index.html. */
:root {
  --bg: #0f1014; --card: #17181d; --border: #262830; --fg: #f4f4f5; --muted: #a1a1aa;
  --accent: #8f7cff; --accent-2: #3ecf8e; --max: 760px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #ffffff; --card: #f6f7f9; --border: #e5e7eb; --fg: #111827; --muted: #6b7280; --accent: #6f5ce6; --accent-2: #1fa86a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header { position: sticky; top: 0; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--border); z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { display: block; height: 28px; width: auto; }
nav a { color: var(--muted); margin-left: 22px; font-weight: 600; font-size: 14px; }
nav a:hover { color: var(--fg); text-decoration: none; }
main { padding: 56px 0 72px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.summary { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 0 0 36px; }
.summary h2 { margin: 0 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.summary ul { margin: 0; padding-left: 20px; }
.summary li { margin: 4px 0; }
h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--fg); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
/* Tablas anchas en móvil: scroll horizontal dentro del contenedor, sin romper el layout */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 20px; }
.table-scroll table { margin: 0; min-width: 560px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 20px; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
code { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 14px; }
.note { border-left: 3px solid var(--accent-2); padding: 2px 0 2px 14px; color: var(--muted); }
footer { padding: 36px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); text-align: center; }
footer a { margin: 0 8px; }
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  nav a { margin-left: 14px; }
  th, td { padding: 8px 6px; }
}
