/* Estilos de las páginas legales estáticas (privacidad, aviso legal, cookies).
   Autocontenido a propósito: estas páginas no cargan JavaScript ni Tailwind,
   para que su contenido sea legible por rastreadores que no ejecutan scripts
   (verificación de marca de Google OAuth, entre otros). */

:root {
  --sand: hsl(40 26% 96%);
  --sand-soft: hsl(40 35% 99%);
  --ink: #1c1917;
  --body: #44403c;
  --muted: #78716c;
  --line: #e7e5e4;
  --terra: hsl(14 56% 46%);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--body);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Cabecera ── */

.site-head {
  border-bottom: 1px solid var(--line);
  background: hsla(40, 26%, 96%, 0.92);
  padding: 1rem 0;
}

.site-head img {
  height: 2rem;
  width: auto;
  display: block;
}

/* ── Contenido ── */

main {
  padding: 4rem 0;
}

h1,
h2,
h3 {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--ink);
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.lede {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  color: var(--body);
  margin-bottom: 1.5rem;
}

.meta {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

.meta a {
  color: var(--muted);
}

.card {
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

/* ── Pie ── */

.site-foot {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.site-foot a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 0.6rem;
}

.site-foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 640px) {
  main {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: 1.625rem;
  }
}
