/* Shared styling for the standalone legal pages (privacy / terms / cookies).
   Plain static HTML on purpose: these must stay reachable even if the React
   bundle fails, because Stripe and Google crawl them during review.

   SISTEMA TIPOGRAFICO — dos familias, las mismas que el resto de Nuxiv:
     · Oswald  -> titulos (display)
     · Inter   -> todo lo demas
   Antes esta hoja usaba Inter para TODO, asi que un cliente que pinchaba en
   "Terms" desde el footer aterrizaba en una pagina que no parecia de Nuxiv. */
:root {
  /* Paleta identica a la del landing (tailwind.config.js). Si cambia alli, cambia aqui. */
  --charcoal: #222021;
  --beige: #F4EBE2;
  --orange: #FF4B33;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--beige);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 3rem 1.5rem 6rem; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3.5rem; }
header img { height: 2rem; width: auto; }
/* Mismo lenguaje que el NuxivButton secundario: pildora, mayusculas, tracking. */
header a.back {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(244, 235, 226, 0.25);
  background: rgba(244, 235, 226, 0.04);
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(244, 235, 226, 0.8); text-decoration: none;
  transition: all 0.2s;
}
header a.back:hover {
  border-color: rgba(255, 75, 51, 0.6);
  background: rgba(244, 235, 226, 0.07);
  color: var(--beige);
}
h1 {
  font-family: Oswald, var(--sans);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.updated {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(242, 237, 228, 0.4); margin: 0 0 3rem;
}
h2 {
  font-family: Oswald, var(--sans);
  font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 2rem; border-top: 1px solid rgba(242, 237, 228, 0.1);
}
h2:first-of-type { border-top: none; padding-top: 0; }
h3 { font-family: Oswald, var(--sans); font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
p, li { color: rgba(242, 237, 228, 0.75); font-size: 0.94rem; }
ul { padding-left: 1.1rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--orange); }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(242, 237, 228, 0.1); vertical-align: top; }
th { color: var(--beige); font-weight: 600; }
td { color: rgba(242, 237, 228, 0.7); }
footer {
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(242, 237, 228, 0.1);
  font-size: 0.78rem; color: rgba(242, 237, 228, 0.4);
}
footer a { margin-right: 1.25rem; }
.notice {
  border: 1px solid rgba(255, 92, 26, 0.4); background: rgba(255, 92, 26, 0.08);
  padding: 0.9rem 1.1rem; font-size: 0.85rem; margin: 1.5rem 0;
}


/* ---------------------------------------------------------------------------
   MOVIL. Estas paginas no tenian ni una sola regla responsive: las tablas de
   3 columnas (procesadores, bases legales) se aplastaban hasta ser ilegibles.
   Y son las paginas que exige la ley — no un adorno.
   --------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .wrap { padding: 2rem 1.1rem 4rem; }

  h1 { font-size: 1.9rem; line-height: 1.15; }
  h2 { font-size: 1.15rem; }

  /* Una tabla ancha en un movil no se encoge: se desliza. Es mas honesto que
     partir las palabras en columnas de dos letras. */
  table { display: block; overflow-x: auto; white-space: nowrap; font-size: 0.82rem; }
  table td, table th { white-space: normal; min-width: 8.5rem; }

  header { flex-wrap: wrap; gap: 0.75rem; }
}
