/* Páginas legales (privacidad.html y terminos.html): mismo estilo que la app */
:root {
  --brand-1: #ff8a3d; --brand-2: #ff5b1f;
  --bg: #f6f3ef; --surface: #ffffff; --text: #1d1f24; --muted: #6c7079; --border: #ebe5de;
  --accent-soft: #fff1e7; --accent-fg: #e2490f;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141518; --surface: #1d1f24; --text: #f2f2f3; --muted: #a2a6ae; --border: #2c2f36; --accent-soft: #3a2418; --accent-fg: #ff9a63; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.langs { display: flex; gap: 6px; }
.langs button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.langs button.on { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff; border-color: transparent; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px 20px; }
h1 { margin: 0 0 4px; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.updated { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
h2 { margin: 28px 0 8px; font-size: 18px; color: var(--accent-fg); }
p, li { font-size: 16px; }
ul { padding-left: 20px; }
li { margin: 4px 0; }
a { color: var(--accent-fg); }
.note { background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; }
.foot { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.foot a { margin: 0 6px; }
[data-lang] { display: none; }
html[lang="es"] [data-lang="es"], html[lang="en"] [data-lang="en"] { display: block; }
