/* Identidad Finova v3 (docs/identidad/version3/tokens.json es la fuente de los valores). Tema claro y oscuro según el sistema. */
@font-face {
  font-family: 'Manrope';
  src: url('/recursos/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --accent: #102346;
  --accent-ink: #102346;
  --on-accent: #ffffff;
  --brand-graphic: #285bad;
  --text-main: #111827;
  --text-label: #5b6370;
  --outline: #80868f;
  --background: #ffffff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #3568b5;
    --accent-ink: #91b8f2;
    --brand-graphic: #91b8f2;
    --text-main: #f3f4f6;
    --text-label: #a3a9b5;
    --outline: #7385a0;
    --background: #08111f;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text-main);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.marco {
  max-width: 30rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

.logo { display: block; width: 10rem; height: auto; margin-bottom: 2.5rem; }

h1 { margin: 0 0 1rem; font-size: 1.625rem; font-weight: 800; line-height: 1.25; }

.lead { margin: 0 0 1.5rem; font-size: 1.0625rem; }

.pasos { margin: 0 0 2rem; padding-left: 1.4rem; }
.pasos li { margin-bottom: 0.75rem; padding-left: 0.25rem; }
.pasos li::marker { color: var(--accent-ink); font-weight: 700; }

.acciones { margin-bottom: 1.5rem; }

.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

/* No disponible: transparente, borde discontinuo y motivo escrito en pantalla (D85). */
.boton--deshabilitado {
  background: transparent;
  border: 1px dashed var(--outline);
  color: var(--text-label);
  cursor: not-allowed;
}

.motivo { margin: 0.5rem 0 0; color: var(--text-label); font-size: 0.8125rem; }

.aviso { margin: 0; color: var(--text-label); font-size: 0.8125rem; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-graphic); outline-offset: 3px; }

@media (min-width: 720px) {
  .marco { padding-top: 4rem; }
  .boton { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
