/* Landing v0 de modbrain.ai: sin fuentes ni recursos externos. */
:root {
  --fondo: #ffffff;
  --fondo-alterno: #f4f6f9;
  --texto: #1a2230;
  --texto-suave: #4a5568;
  --acento: #1f3a5f;
  --borde: #d9dee6;
  --ancho: 64rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #10151d;
    --fondo-alterno: #161d28;
    --texto: #e6eaf0;
    --texto-suave: #a7b0bf;
    --acento: #8fb3e0;
    --borde: #2a3446;
  }
}

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

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--acento);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

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

.barra {
  border-bottom: 1px solid var(--borde);
}

.barra__fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.marca {
  color: var(--texto);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.marca span {
  color: var(--acento);
}

.acceso {
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--borde);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--texto-suave);
  cursor: not-allowed;
}

.inicio {
  padding: 4.5rem 0 3.5rem;
}

.inicio h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 20ch;
}

.inicio__sub {
  font-size: 1.25rem;
  color: var(--texto-suave);
  max-width: 42rem;
}

.para-quien {
  font-weight: 600;
  margin-top: 1.5rem;
}

.seccion {
  padding: 3rem 0;
}

.seccion--alterna {
  background: var(--fondo-alterno);
}

.pasos {
  list-style: none;
  counter-reset: paso;
  display: grid;
  gap: 1.5rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.pasos li {
  counter-increment: paso;
}

.pasos li::before {
  content: counter(paso);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--acento);
  color: var(--fondo);
  font-weight: 700;
}

.pasos p {
  margin: 0;
  color: var(--texto-suave);
}

.tarjetas {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.tarjetas li {
  padding: 1.25rem;
  border: 1px solid var(--borde);
  border-radius: 0.75rem;
  background: var(--fondo);
}

.columnas {
  display: grid;
  gap: 2.5rem;
}

.lista {
  padding-left: 1.25rem;
  margin: 0;
}

.lista li + li {
  margin-top: 0.5rem;
}

.texto-legal {
  max-width: 48rem;
}

.pie {
  border-top: 1px solid var(--borde);
  padding: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--texto-suave);
}

.pie__fila {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.pie a {
  color: var(--texto-suave);
}

@media (min-width: 48rem) {
  .pasos,
  .tarjetas {
    grid-template-columns: repeat(3, 1fr);
  }

  .columnas {
    grid-template-columns: 1fr 1fr;
  }
}

.contador {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nota {
  font-size: 0.9375rem;
  color: var(--texto-suave);
}

.tarjetas h3 {
  font-size: 1.0625rem;
}

.tarjetas p {
  margin: 0;
  color: var(--texto-suave);
}
