/* Estilos de las páginas legales estáticas (/privacidad, /terminos). */
:root {
  --primary: #881137;
  --primary-subtle: #f9eef2;
  --text: #1f1f24;
  --text-secondary: #55555f;
  --border: #e6e6ea;
  --bg: #fafafb;
  --surface: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--primary); }

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar-inner, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

main { padding-top: 32px; padding-bottom: 32px; }

article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

h1 { margin: 0 0 4px; font-size: 28px; line-height: 1.25; }

.updated { margin: 0 0 24px; color: var(--text-secondary); font-size: 14px; }

h2 { margin: 32px 0 8px; font-size: 19px; line-height: 1.35; }

h3 { margin: 20px 0 6px; font-size: 16px; }

p, li { color: var(--text-secondary); }

ul, ol { padding-left: 24px; }

li { margin: 4px 0; }

.note {
  background: var(--primary-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
}

footer {
  padding-bottom: 40px;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }

@media (max-width: 600px) {
  main { padding-top: 16px; }
  article { padding: 20px; }
  h1 { font-size: 24px; }
}
