/* Páginas legales estáticas (privacidad.html, terminos.html).
   Son HTML plano a propósito: el revisor de Google (verificación de marca de la
   pantalla de "Iniciar sesión con Google") no ejecuta JS, así que estas páginas
   no pueden depender de la SPA. Colores y tipografías = los de src/index.css. */
@font-face { font-family: 'Everett'; src: url('/fonts/Everett-Regular.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Everett'; src: url('/fonts/Everett-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'GeneralSans'; src: url('/fonts/GeneralSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'GeneralSans'; src: url('/fonts/GeneralSans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
:root {
  --brand: #7CB38B; --brand-dark: #4f7f5c;
  --bg: #F6F5F0; --bg2: #FDFCF9; --text: #2D2A26; --text2: #6B6560; --border: #D8D4CE;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'GeneralSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.65;
}
a { color: var(--brand-dark); text-underline-offset: 2px; }
.page { max-width: 760px; margin: 0 auto; padding: 32px 16px 72px; }
@media (min-width: 640px) { .page { padding: 48px 24px 88px; } }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.wordmark { font-family: 'Everett', sans-serif; font-weight: 400; font-size: 22px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.top nav { display: flex; gap: 16px; font-size: 14px; }
.top nav a { color: var(--text2); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); }

h1 { font-family: 'Everett', sans-serif; font-weight: 300; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
@media (min-width: 640px) { h1 { font-size: 42px; } }
.meta { color: var(--text2); font-size: 14px; margin: 0 0 32px; }
.intro { font-size: 17px; margin: 0 0 8px; }

h2 { font-family: 'Everett', sans-serif; font-weight: 400; font-size: 20px; line-height: 1.3; margin: 44px 0 12px; }
h3 { font-size: 16px; font-weight: 500; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 500; }

.box { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 16px 0; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.datos { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0; }
@media (min-width: 640px) { .datos { grid-template-columns: 170px 1fr; } }
.datos dt { color: var(--text2); font-size: 14px; }
.datos dd { margin: 0 0 8px; }
.en { color: var(--text2); font-style: italic; font-size: 15px; }

.toc { columns: 1; font-size: 15px; }
@media (min-width: 640px) { .toc { columns: 2; column-gap: 32px; } }
.toc li { break-inside: avoid; }

footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text2); }
footer p { margin: 0 0 6px; }
