:root { --bg: #f7f5f0; --card: #fff; --text: #1d2b25; --muted: #5f6b65; --accent: #141414; --brand: #ffc928; --line: #e4e0d6; }
@media (prefers-color-scheme: dark) { :root { --bg: #121815; --card: #1a221e; --text: #e8ece9; --muted: #9aa69f; --accent: #ffc928; --brand: #ffc928; --line: #2a3530; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 19px; margin: 28px 0 8px; color: var(--accent); }
p, li { color: var(--text); } .muted { color: var(--muted); font-size: 14px; }
a { color: var(--accent); } ul { padding-left: 22px; }
nav.top { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; }
nav.top a { text-decoration: none; } nav.top a.on { font-weight: 700; text-decoration: underline; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
td, th { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.fill { background: #fff3c4; color: #5b4500; padding: 0 4px; border-radius: 4px; }
/* Que nada se salga del ancho en el móvil (sobre todo las tablas de la política de privacidad) */
html, body { overflow-x: hidden; }
table { table-layout: fixed; word-break: break-word; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  main { padding: 16px 10px 40px; } .card { padding: 20px 14px; }
  h1 { font-size: 23px; }
  table { font-size: 12.5px; } td, th { padding: 6px 5px; }
}

.card { border-left: 5px solid var(--brand); }
/* Enlace a la portada en las páginas legales */
.home-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 6px; padding: 0 16px; border-radius: 999px; background: #ffc928; color: #141414; font-weight: 700; font-size: 15px; text-decoration: none; }
.home-link span { font-size: 20px; line-height: 1; }
