/* Las páginas de haras.ioforma.com. Sin fuentes ni recursos de terceros (A-19).
   Los colores son el subconjunto de `docs/design/tokens.css` que usa el sitio, copiado acá porque
   esta carpeta no es un workspace y no puede importarlo: si cambia la paleta, cambia en los dos. */
:root {
  color-scheme: light dark;
  --paper: #f2f3ee;
  --paper-2: #e9ebe4;
  --surface: #ffffff;
  --hairline: #cfd4cb;
  --ink: #16211b;
  --ink-2: #4b5750;
  --forest: #1e4b3a;
  --forest-2: #2d6b53;
  --on-forest: #ffffff;
  --oxblood: #8b2e2e;
  --oxblood-tint: #f1dedc;
  --ochre-tint: #f3e6cf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1512;
    --paper-2: #161d19;
    --surface: #1c2420;
    --hairline: #2e3833;
    --ink: #eef0ea;
    --ink-2: #a7b1aa;
    --forest: #8fc7aa;
    --forest-2: #a8d6be;
    --on-forest: #0f1512;
    --oxblood: #e39c93;
    --oxblood-tint: #3a1f1e;
    --ochre-tint: #2b2415;
  }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
}
p {
  font-size: 1.0625rem;
  line-height: 1.5;
}
label {
  display: block;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}
input {
  box-sizing: border-box;
  width: 100%;
  font-size: 1.1rem;
  padding: 0.85rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-2);
  border-radius: 0.5rem;
}
button {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 0;
  border-radius: 0.5rem;
  background: var(--forest);
  color: var(--on-forest);
}
button.destructivo {
  background: var(--oxblood);
  color: var(--surface);
}
button:disabled {
  opacity: 0.5;
}
.aviso {
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--ochre-tint);
}
.error {
  color: var(--oxblood);
}
a {
  color: var(--forest);
  font-weight: 600;
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--forest-2);
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}

/* Páginas de texto largo: inicio, privacidad, términos y soporte. */
.cabecera {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}
.marca {
  display: block;
  width: 2rem;
  height: 2.1rem;
  background: var(--forest);
  -webkit-mask: url("/isotipo.svg") no-repeat left center / contain;
  mask: url("/isotipo.svg") no-repeat left center / contain;
}
main.legal {
  max-width: 44rem;
  padding-top: 1.25rem;
}
.legal h1 {
  font-size: 2.125rem;
  margin-bottom: 0.25rem;
}
.legal h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.legal p,
.legal li {
  font-size: 1.0625rem;
  line-height: 1.6;
}
.legal ul {
  padding-inline-start: 1.25rem;
}
.legal li {
  margin: 0.4rem 0;
}
.legal .meta {
  margin-top: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.tabla {
  overflow-x: auto;
  margin: 1rem 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 0.5rem;
}
.tabla table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.tabla th,
.tabla td {
  text-align: start;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--hairline);
}
.tabla tr:last-child td {
  border-bottom: 0;
}
.tabla th {
  font-size: 0.875rem;
  color: var(--ink-2);
  background: var(--paper-2);
}
footer.legal-pie {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9375rem;
}
footer.legal-pie a {
  display: inline-block;
  margin-inline-end: 1.25rem;
  padding: 0.4rem 0;
  font-weight: 500;
}
/* En el teléfono cada fila es una tarjeta con sus rótulos: una tabla de tres columnas no cabe. */
@media (max-width: 40rem) {
  .tabla {
    overflow: visible;
    background: none;
    border: 0;
  }
  .tabla table,
  .tabla tbody,
  .tabla tr,
  .tabla td {
    display: block;
    min-width: 0;
  }
  .tabla thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .tabla tr {
    margin: 0 0 0.75rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 0.5rem;
  }
  .tabla td,
  .tabla tr:last-child td {
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--hairline);
  }
  .tabla td:last-child,
  .tabla tr:last-child td:last-child {
    border-bottom: 0;
  }
  .tabla td:first-child {
    font-weight: 600;
  }
  .tabla td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-2);
  }
}
@media print {
  footer.legal-pie,
  .cabecera {
    display: none;
  }
  .tabla {
    border: 0;
  }
}
