/*
  Paginas legales y de Nahua SaaS Services (privacidad, eliminacion de datos,
  terminos, crm). Son HTML estatico a proposito: el rastreador de Meta no
  ejecuta JavaScript y tiene que poder leer el texto. Sin scripts, sin cookies,
  sin fuentes externas.
*/
:root {
  --bg: #f5f2eb;
  --surface: #ece7dc;
  --ink: #17171a;
  --muted: #57534c;
  --rule: #d9d2c4;
  --accent: #0b7a72;
  --accent-ink: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e10;
    --surface: #18181b;
    --ink: #ece8df;
    --muted: #a8a397;
    --rule: #2c2c31;
    --accent: #4fd1c5;
    --accent-ink: #0e0e10;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0e10;
  --surface: #18181b;
  --ink: #ece8df;
  --muted: #a8a397;
  --rule: #2c2c31;
  --accent: #4fd1c5;
  --accent-ink: #0e0e10;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.bar, main, .foot { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .34em;
}
.bar .lang { font-size: 14px; }

main { padding-top: 40px; padding-bottom: 56px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1 { margin: 0 0 8px; font-size: 2.1rem; line-height: 1.2; letter-spacing: -.01em; }
.updated { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
h2 {
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 1.3rem;
  line-height: 1.3;
}
h3 { margin: 28px 0 8px; font-size: 1.05rem; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }
.lead { font-size: 1.1rem; }

.note {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

.company { margin: 0 0 16px; padding: 0; list-style: none; }
.company li { margin: 0 0 4px; }
.company span { display: inline-block; min-width: 9.5em; color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15.5px; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  td { padding: 2px 0; border: 0; }
  td:first-child { font-weight: 600; }
  .company span { display: block; min-width: 0; }
}

.foot {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.foot a { color: var(--ink); }
.foot p { margin: 0; }
