/* Hoja de estilo de las páginas legales estáticas (privacidad, términos, datos
   personales). No pasan por React ni por el bundle: son HTML plano en public/. */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-latin-700.woff2') format('woff2');
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #3A3B57;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #5B57B0; }
a:hover { color: #FE3A67; }

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #EDE9FB;
}
.brand img { display: block; height: 30px; width: auto; }
.back { font-size: 14.5px; font-weight: 600; color: #202151; text-decoration: none; }
.back:hover { color: #FE3A67; }

.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  font-weight: 700;
  color: #202151;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.3px;
  font-weight: 600;
  color: #202151;
  margin: 40px 0 12px;
}

p, li { font-size: 16px; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }

.meta { color: #8A8AA3; font-size: 14px; margin: 0 0 8px; }

/* Aviso de borrador: debe ser imposible de pasar por alto. */
.draft {
  background: #FFF4E5;
  border: 1px solid #F0C48A;
  border-left: 4px solid #E8912D;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: #7A4A08;
  margin: 0 0 40px;
}

.todo {
  background: #F9F7FE;
  border: 1px dashed #C9C4E4;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: #5B57B0;
}

.foot {
  border-top: 1px solid #EDE9FB;
  padding: 28px 24px 40px;
  text-align: center;
  font-size: 13.5px;
  color: #8A8AA3;
}
.foot p { margin: 4px 0; }

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  h2 { font-size: 19px; }
  .doc { padding: 36px 20px 56px; }
}
