/* Natmi — sitio público. Tokens del brand kit (variante 2a). */

:root {
  --tinta: #1a2b26;
  --teal: #10715a;
  --teal-claro: #4fa88c;
  --teal-suave: #a8d5c4;
  --superficie: #fbf8f3;
  --neutro-calido: #efeae1;
  --borde: #e2dacd;
  --texto: #1a1712;
  --texto-tenue: #6b6458;
  --ancho: 44rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--superficie);
  color: var(--texto);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.contenedor {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cabecera */

.cabecera {
  border-bottom: 1px solid var(--borde);
  background: var(--superficie);
}

.cabecera .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--tinta);
  text-decoration: none;
}

.marca svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* Los arcos toman su color del tema: en oscuro, el tinta original se pierde
   contra el fondo y el teal de marca no alcanza contraste. */
.marca .arco-1 {
  stroke: var(--tinta);
}

.marca .arco-2 {
  stroke: var(--teal);
}

/* Contenido */

main {
  padding: 3rem 0 4rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tinta);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--tinta);
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  color: var(--tinta);
  margin: 1.75rem 0 0.5rem;
}

p,
li {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

a {
  color: var(--teal);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--tinta);
}

strong {
  font-weight: 650;
}

.entradilla {
  font-size: 1.1rem;
  color: var(--texto-tenue);
  margin-bottom: 2rem;
}

.fecha {
  font-size: 0.9rem;
  color: var(--texto-tenue);
  margin-bottom: 2.5rem;
}

/* Landing */

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
}

.hero .entradilla {
  max-width: 34rem;
  margin-inline: auto;
}

.cta {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  min-height: 48px;
}

.cta:hover {
  background: var(--tinta);
  color: #fff;
}

.pasos {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 3rem 0;
  padding: 0;
  list-style: none;
}

.paso {
  background: var(--neutro-calido);
  border-radius: 14px;
  padding: 1.4rem;
}

.paso h3 {
  margin-top: 0;
}

.paso p:last-child {
  margin-bottom: 0;
}

/* Tablas */

.tabla-envoltorio {
  overflow-x: auto;
  margin: 0 0 1.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--borde);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--neutro-calido);
  font-weight: 650;
  color: var(--tinta);
}

/* Pie */

.pie {
  border-top: 1px solid var(--borde);
  padding: 2rem 0 3rem;
  font-size: 0.92rem;
  color: var(--texto-tenue);
}

.pie ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.pie li {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --superficie: #101a17;
    --neutro-calido: #17241f;
    --borde: #2a3a34;
    --texto: #eef2f0;
    --texto-tenue: #a7b3ae;
    --tinta: #eef2f0;
    /* El brand kit lo advierte: #10715A no alcanza contraste sobre #101A17. */
    --teal: #4fa88c;
  }

  a {
    color: var(--teal-claro);
  }

  a:hover {
    color: var(--teal-suave);
  }

  .cta {
    background: var(--teal-claro);
    color: #101a17;
  }

  .cta:hover {
    background: var(--teal-suave);
    color: #101a17;
  }
}
