/* Estilo de las páginas legales (terminos.html, privacidad.html).
   Paleta de la app (lib/core/theme/app_colors.dart), igual que index.html. */
:root {
  /* Misma escala que la app (core/theme/app_theme.dart). */
  --fs-caption: .75rem; --fs-small: .875rem; --fs-body: 1rem; --fs-title: 1.25rem; --fs-headline: 1.5rem;
  --r-field: 16px; --r-card: 20px; --r-sheet: 28px;
  --accent: #3B2A7A;
  --acento: #2E8B7D;
  --ink: #1F2937;
  --ink2: #6B7280;
  --cream: #F0FAF8;
  --borde: #E5E9EF;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--borde); }
header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
header img { height: 40px; width: auto; display: block; }
header a { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; }
a:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
main { padding: 28px 0 56px; }
h1, h2 { color: var(--accent); line-height: 1.25; }
h1 { font-size: var(--fs-headline); font-weight: 800; margin: 0 0 8px; }
h2 { font-size: var(--fs-title); margin: 32px 0 8px; }
h3 { font-size: var(--fs-body); margin: 20px 0 6px; }
p, li { overflow-wrap: anywhere; }
footer { padding: 24px 0 40px; color: var(--ink2); font-size: var(--fs-small); text-align: center; }
footer a { color: inherit; display: inline-block; padding: 12px 4px; }
