/* Fitloop — estilos compartidos para páginas de texto largo (legal/soporte).
   Paleta y tipografía: fuente de verdad en /CLAUDE.md. */
:root {
  --papel: #EFEBE1;
  --superficie: #FAF7F0;
  --borde: #DBD3C2;
  --relleno: #E6E0D2;
  --tinta: #3A352B;
  --tinta-secundaria: #6B6455;
  --medicion: #2F5C40;
  --desajuste: #9C4A2E;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: 'Archivo', system-ui, sans-serif;
}

body {
  padding: 24px;
  padding-top: calc(40px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
}

.pagina {
  width: 100%;
  max-width: 640px;
}

.volver {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--tinta-secundaria);
  text-decoration: underline;
}

.logo {
  font-size: 26px;
  font-weight: 600;
  font-variation-settings: 'wdth' 108;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.logo svg {
  height: 0.556em;
  vertical-align: -0.014em;
  overflow: visible;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  font-variation-settings: 'wdth' 116;
  line-height: 1.25;
  margin: 20px 0 6px;
}

.actualizado {
  font-size: 12.5px;
  color: var(--tinta-secundaria);
  margin: 0 0 32px;
}

h2 {
  font-size: 16px;
  font-weight: 600;
  font-variation-settings: 'wdth' 112;
  margin: 32px 0 10px;
}

p, li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--tinta);
}

p { margin: 0 0 14px; }

ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }

a { color: var(--medicion); }

.nota {
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: 11px;
  padding: 16px 18px;
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tinta-secundaria);
}

.nota strong { color: var(--tinta); }

.pendiente {
  color: var(--desajuste);
  font-weight: 500;
}

/* Tablas del texto legal (ej. proveedores de la política de privacidad). En pantallas
   angostas la tabla se desplaza en horizontal en vez de comprimir el texto. */
.tabla-scroll {
  overflow-x: auto;
  margin: 0 0 14px;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.5;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border: 1px solid var(--borde);
}

th {
  background: var(--relleno);
  font-weight: 600;
}

.enlaces-pie {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--borde);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
}

.enlaces-pie a { color: var(--tinta-secundaria); }

@media (prefers-color-scheme: dark) {
  /* CLAUDE.md: el modo oscuro no es la identidad de la marca todavía —
     se mantiene la paleta clara siempre, a propósito. */
}
