/* ===========================================================================
   La Letra Pequeña — landing de validación (waitlist)
   Estética fintech-legal: limpia, editorial, con autoridad.
   Todos los colores, tipos, espaciados y radios viven en :root.
   =========================================================================== */

:root {
  /* Color */
  --paper:      #FBFAF7;   /* base clara */
  --paper-2:    #F4F1EA;   /* secciones alternas */
  --ink:        #0E1116;   /* texto principal */
  --ink-soft:   #41474F;   /* texto secundario */
  --line:       #E6E3DB;   /* bordes sutiles */

  --blue:       #1B3A5B;   /* primario · confianza */
  --blue-700:   #14304B;
  --blue-900:   #0E2336;
  --blue-50:    #EAF1F7;
  --blue-100:   #DCE7F1;

  --green:      #15803D;   /* CTA · dinero recuperado (AA sobre claro) */
  --green-600:  #16A34A;   /* acento vivo */
  --green-50:   #DCFCE7;

  --amber:      #B45309;   /* atención · "letra pequeña" (AA sobre claro) */
  --amber-bg:   #FEF3C7;

  --on-dark:        #FBFAF7;
  --on-dark-soft:   #C3D3E2;

  /* Tipografía */
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.10rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.25rem + 1vw, 2rem);
  --step-3:  clamp(1.85rem, 1.45rem + 2vw, 2.9rem);
  --step-4:  clamp(2.2rem, 1.6rem + 3vw, 3.5rem);

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.25rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Radios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Sombras (planas y sutiles) */
  --shadow-sm: 0 1px 2px rgba(14,17,22,0.05);
  --shadow-md: 0 10px 30px -12px rgba(14,17,22,0.18);

  --container: 1120px;
}

/* ----------------------------- Reset base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2vw, 2rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--blue); color: var(--on-dark);
  padding: 0.6rem 1rem; border-radius: var(--r-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ----------------------------- Botones ----------------------------- */
.btn {
  --btn-bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--btn-bg); color: var(--on-dark);
  border: 0; border-radius: var(--r-pill);
  padding: 0.95rem 1.5rem; font-weight: 700; font-size: var(--step-0);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--green); }
.btn--sm { padding: 0.62rem 1.1rem; font-size: var(--step--1); }

.btn__spinner { display: none; width: 1.05em; height: 1.05em; border: 2.5px solid rgba(255,255,255,0.45); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.waitlist-form.is-loading .btn__spinner { display: inline-block; }
.waitlist-form.is-loading .btn { pointer-events: none; filter: saturate(0.85); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-block: clamp(0.7rem, 0.5rem + 0.6vw, 1.1rem); }
.nav.is-scrolled { border-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.nav.is-scrolled .nav__inner { padding-block: 0.55rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand__mark { flex: none; }
.brand__name { font-size: var(--step-0); color: var(--ink); }

/* ----------------------------- Eyebrow / kicker ----------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); font-weight: 600; color: var(--blue);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 0.4rem 0.8rem; border-radius: var(--r-pill); margin-bottom: var(--space-md);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 0 rgba(22,163,74,0.5); animation: pulse 2.4s infinite; }
.eyebrow--invert { color: var(--on-dark); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

.kicker { font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 0.6rem; }
.kicker--light { color: var(--green-600); }

/* ----------------------------- Hero ----------------------------- */
.hero { padding-block: clamp(0.75rem, 0.4rem + 1.6vw, 1.6rem) var(--section-y); }
.hero__grid { display: grid; gap: clamp(1.5rem, 0.8rem + 3vw, 3.5rem); align-items: center; }
.hero__title { position: relative; z-index: 0; font-size: var(--step-4); margin-bottom: var(--space-sm); text-wrap: balance; }
.hero__sub { font-size: var(--step-1); color: var(--ink-soft); max-width: 42ch; margin-bottom: 0.9rem; }
.hero__sub strong { color: var(--blue); font-weight: 700; }
.hero__lead { display: block; color: var(--ink) !important; margin-bottom: 0.35rem; }
.hero__microcopy { margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-soft); }
.hero__art img { margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(27,58,91,0.12)); }

@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
.hero__actions .btn { padding-inline: 1.7rem; }

/* ----------------------------- Explainer (mini vídeo animado) ----------- */
.explainer {
  --ex-blue: var(--blue); --ex-green: var(--green-600);
  width: 100%; max-width: 26rem; margin-inline: auto;
}
.explainer__device {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0.9rem; box-shadow: 0 26px 55px -28px rgba(27,58,91,0.4);
}
.explainer__bar { display: flex; gap: 0.4rem; padding: 0.2rem 0.35rem 0.7rem; }
.explainer__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.explainer__bar span:first-child { background: #ff5f57; }
.explainer__bar span:nth-child(2) { background: #febc2e; }
.explainer__bar span:nth-child(3) { background: #28c840; }
.explainer__screen {
  position: relative; height: 15.5rem; border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--blue-50), #fff 70%);
  overflow: hidden;
}

.ex-frame {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1rem;
  opacity: 0; animation: exFrame 12s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.ex-frame--1 { animation-delay: 0s; }
.ex-frame--2 { animation-delay: 4s; }
.ex-frame--3 { animation-delay: 8s; }
@keyframes exFrame {
  0%   { opacity: 0; transform: translateY(10px) scale(0.97); }
  5%   { opacity: 1; transform: none; }
  28%  { opacity: 1; transform: none; }
  33%  { opacity: 0; transform: translateY(-10px) scale(0.97); }
  100% { opacity: 0; }
}

.ex-doc {
  position: relative; width: 8.2rem; height: 10.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 1rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.6rem; box-shadow: var(--shadow-sm);
}
.ex-line { height: 0.55rem; border-radius: 4px; background: #E3E0D8; }
.ex-line--sm { width: 62%; }
.ex-line--hit { background: linear-gradient(90deg, #FDE68A, #FCD34D); position: relative; }
.ex-doc--claim .ex-stamp {
  margin-top: auto; align-self: flex-start; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--green);
  border: 1.5px solid var(--green-600); border-radius: 6px; padding: 0.2rem 0.4rem;
  transform: rotate(-6deg);
}

.ex-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.1rem; height: 3.1rem; border-radius: 50%; color: #fff; flex: none;
  box-shadow: var(--shadow-md);
}
.ex-badge svg { width: 1.5rem; height: 1.5rem; }
.ex-badge--up { background: var(--ex-blue); }
.ex-badge--check { background: var(--ex-green); }
.ex-badge--money {
  width: auto; height: auto; padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  background: var(--green); font-weight: 800; font-size: var(--step-0);
}

.explainer__caption { position: relative; height: 1.6rem; margin-top: 0.9rem; text-align: center; }
.ex-cap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: var(--step-0); color: var(--ink);
  opacity: 0; animation: exFrame 12s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.ex-cap b {
  display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem;
  border-radius: 50%; background: var(--green); color: #fff; font-size: var(--step--1);
}
.ex-cap--1 { animation-delay: 0s; }
.ex-cap--2 { animation-delay: 4s; }
.ex-cap--3 { animation-delay: 8s; }

/* ----------------------------- Formulario (tarjeta con aire) ----------- */
.waitlist-form {
  display: flex; flex-direction: column; gap: 1rem;
  width: 100%; max-width: 31rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 1.7rem);
  box-shadow: 0 22px 50px -26px rgba(27,58,91,0.32);
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }

.input {
  width: 100%; min-width: 0; background: #fff; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 0.9rem 1.05rem; font-size: var(--step-0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: #9a958c; }
.input:focus-visible { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(22,163,74,0.16); }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B3A5B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center;
}

.field-grid { display: grid; gap: 0.95rem; }
@media (min-width: 480px) { .field-grid { grid-template-columns: 1fr 1fr; } }

/* Honeypot: fuera de la vista y del foco */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--step--1); line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: 0.16rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--green); }
.consent a { color: var(--green); font-weight: 600; text-underline-offset: 2px; }

.btn--block { width: 100%; padding-block: 1.05rem; font-size: var(--step-0); }
.btn__arrow { font-weight: 700; transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.waitlist-form.is-loading .btn__arrow { display: none; }

.form-status { margin: 0; font-size: var(--step--1); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B91C1C; }
.form-status.is-success { color: var(--green); }

/* Variante centrada para el CTA final (misma tarjeta blanca sobre fondo oscuro) */
.waitlist-form--invert { margin-inline: auto; text-align: left; }

/* ----------------------------- Magia: subrayado animado + flotación ---- */
.hl { position: relative; white-space: nowrap; }
.hl::before {
  content: ""; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.05em;
  height: 0.40em; z-index: -1; border-radius: 3px;
  background: linear-gradient(90deg, #FDE68A, #FCD34D);
  transform: scaleX(0); transform-origin: left center;
  animation: hl-sweep 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
@keyframes hl-sweep { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: floaty 7s ease-in-out infinite; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ----------------------------- Secciones genéricas ----------------------------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section__head h2 { font-size: var(--step-3); }
.section__intro { margin-top: var(--space-md); font-size: var(--step-1); color: var(--ink-soft); }

/* ----------------------------- Problema ----------------------------- */
.problema { background: var(--paper-2); }
.pain-grid { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.pain__num { display: inline-block; font-size: var(--step-2); font-weight: 800; color: var(--amber); letter-spacing: -0.04em; margin-bottom: 0.5rem; }
.pain h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.pain p { color: var(--ink-soft); }

/* ----------------------------- Cómo funciona ----------------------------- */
.steps { list-style: none; padding: 0; display: grid; gap: 1.1rem; counter-reset: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--blue); color: var(--on-dark); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; overflow: hidden; }
.step:nth-child(2) { background: var(--blue-700); }
.step:nth-child(3) { background: var(--blue-900); }
.step__n { position: absolute; top: 1rem; right: 1.3rem; font-size: 3.2rem; font-weight: 800; color: rgba(255,255,255,0.10); letter-spacing: -0.05em; }
.step__icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: var(--r-md); background: rgba(255,255,255,0.12); color: #86EFAC; margin-bottom: 1rem; }
.step__icon svg { width: 1.5rem; height: 1.5rem; }
.step h3 { font-size: var(--step-1); margin-bottom: 0.45rem; }
.step p { color: var(--on-dark-soft); }

/* ----------------------------- Coberturas (bento) ----------------------------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.cob { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.cob:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8d4ca; }
.cob__icon { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--blue-50); color: var(--blue); margin-bottom: 0.9rem; }
.cob__icon svg { width: 1.4rem; height: 1.4rem; }
.cob h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.cob__desc { color: var(--ink-soft); font-size: var(--step--1); }
.cob__nobody { margin-top: 0.8rem; font-weight: 700; color: var(--amber); font-size: var(--step--1); }

.cob--feature { grid-column: 1 / -1; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%); color: var(--on-dark); border: 0; }
@media (min-width: 980px) { .cob--feature { grid-column: span 1; grid-row: span 2; display: flex; flex-direction: column; } }
.cob--feature h3 { font-size: var(--step-2); }
.cob--feature .cob__desc { color: var(--on-dark-soft); }
.cob__tag { display: inline-block; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.02em; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.12); margin-bottom: 0.8rem; }
.cob__tag--money { color: #86EFAC; }
.counter { font-size: clamp(3rem, 2rem + 5vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; margin: 0.4rem 0 0.8rem; }
.cob--feature .cob__nobody { color: #FCD34D; margin-top: auto; padding-top: 0.9rem; }
.cob__foot { margin-top: 1.4rem; color: var(--ink-soft); font-size: var(--step--1); max-width: 60ch; }

/* ----------------------------- Diferenciador (meteo) ----------------------------- */
.dif { background: var(--blue-900); color: var(--on-dark); }
.dif__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .dif__grid { grid-template-columns: 1.1fr 0.9fr; } }
.dif__copy h2 { font-size: var(--step-3); margin-bottom: var(--space-md); }
.dif__copy p { color: var(--on-dark-soft); margin-bottom: var(--space-sm); }
.dif__copy em { color: #FCD34D; font-style: normal; }
.dif__copy strong { color: #fff; }
.dif__points { list-style: none; padding: 0; margin: var(--space-md) 0; display: grid; gap: 0.7rem; }
.dif__points li { position: relative; padding-left: 1.8rem; color: var(--on-dark-soft); }
.dif__points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #34D399; font-weight: 800; }
.dif__points strong { color: #fff; }
.dif__note { margin-top: var(--space-md); font-weight: 600; color: #fff; }
.dif__art img { margin-inline: auto; border-radius: var(--r-lg); box-shadow: 0 24px 50px -18px rgba(0,0,0,0.5); }

/* ----------------------------- Abogado ----------------------------- */
.abogado { background: var(--paper-2); }
.abogado__inner { display: grid; gap: 1.4rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .abogado__inner { grid-template-columns: auto 1fr; } }
.abogado__icon { display: inline-flex; width: 3.4rem; height: 3.4rem; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--blue-50); color: var(--blue); }
.abogado__icon svg { width: 1.8rem; height: 1.8rem; }
.abogado h2 { font-size: var(--step-2); margin: 0.2rem 0 0.6rem; }
.abogado p { color: var(--ink-soft); margin-bottom: var(--space-sm); }
.abogado strong { color: var(--ink); }

.disclaimer { font-size: var(--step--1); color: var(--ink-soft); background: var(--amber-bg); border: 1px solid #F5E0B0; border-radius: var(--r-md); padding: 0.9rem 1.1rem; }
.disclaimer strong { color: var(--amber); }
.disclaimer--footer { background: transparent; border: 0; padding: 0; max-width: 70ch; }

/* ----------------------------- Extras ----------------------------- */
.extras-grid { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .extras-grid { grid-template-columns: repeat(3, 1fr); } }
.extra { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.extra__price { display: inline-block; font-weight: 800; color: var(--green); background: var(--green-50); border-radius: var(--r-pill); padding: 0.25rem 0.75rem; font-size: var(--step--1); margin-bottom: 0.7rem; }
.extra h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.extra p { color: var(--ink-soft); font-size: var(--step--1); }
.extra__ex { margin-top: 0.7rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: #9a958c; }

/* ----------------------------- Credibilidad ----------------------------- */
.credibilidad { background: var(--paper-2); }
.cred__grid { display: grid; gap: clamp(1.6rem, 1rem + 3vw, 3rem); align-items: start; }
@media (min-width: 900px) { .cred__grid { grid-template-columns: 1.1fr 0.9fr; } }
.cred__grid h2 { font-size: var(--step-2); margin-bottom: var(--space-md); max-width: 22ch; }
.cred__list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.cred__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.cred__badge { font-size: 1.4rem; line-height: 1; }
.cred__list strong { color: var(--ink); }
.cred__list div { color: var(--ink-soft); font-size: var(--step--1); }
.founder { background: var(--blue); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); }
.founder blockquote { font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em; }
.founder figcaption { margin-top: 1rem; color: var(--on-dark-soft); font-size: var(--step--1); font-weight: 600; }

/* ----------------------------- FAQ ----------------------------- */
.faq__wrap { max-width: 50rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.4rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: var(--step-1); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 0.2rem; top: 1.45rem; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg); transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 0 1.2rem; }
.faq__a p { color: var(--ink-soft); max-width: 60ch; }
.faq__a a { color: var(--green); font-weight: 600; }

/* ----------------------------- CTA final ----------------------------- */
.cta-final { background: radial-gradient(120% 120% at 50% 0%, var(--blue) 0%, var(--blue-900) 70%); color: var(--on-dark); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.cta-final__inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.cta-final__title { font-size: var(--step-3); text-wrap: balance; margin-bottom: var(--space-md); }
.cta-final__sub { color: var(--on-dark-soft); font-size: var(--step-1); margin-bottom: var(--space-lg); }
.cta-final .form-status { text-align: center; }

/* ----------------------------- Footer ----------------------------- */
.footer { background: var(--blue-900); color: var(--on-dark); padding-block: var(--space-xl) var(--space-lg); }
.footer__inner { display: grid; gap: 1.5rem; padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer .brand__name { color: var(--on-dark); }
.footer__tag { color: var(--on-dark-soft); font-size: var(--step--1); margin-top: 0.5rem; }
.footer__links { display: grid; gap: 0.5rem; font-size: var(--step--1); }
@media (min-width: 760px) { .footer__links { justify-items: end; } }
.footer__links a { color: var(--on-dark-soft); text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { padding-top: var(--space-lg); display: grid; gap: 0.8rem; }
.footer__legal .disclaimer { color: var(--on-dark-soft); }
.footer__legal .disclaimer strong { color: #FCD34D; }
.footer__copy { font-size: var(--step--1); color: var(--on-dark-soft); }

/* ----------------------------- Páginas legales ----------------------------- */
.legal { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.legal__wrap { max-width: 48rem; margin-inline: auto; }
.legal__back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); font-weight: 600; color: var(--blue); text-decoration: none; margin-bottom: var(--space-lg); }
.legal__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal h1 { font-size: var(--step-3); margin-bottom: 0.4rem; }
.legal__updated { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: var(--space-lg); }
.legal h2 { font-size: var(--step-1); margin: var(--space-lg) 0 0.5rem; color: var(--blue); }
.legal h3 { font-size: var(--step-0); margin: var(--space-md) 0 0.3rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 0.7rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 0.7rem; }
.legal a { color: var(--green); font-weight: 600; }
.legal .todo { background: var(--amber-bg); border: 1px solid #F5E0B0; border-radius: var(--r-sm); padding: 0.15rem 0.45rem; font-weight: 700; color: var(--amber); }
.legal__note { margin-top: var(--space-xl); font-size: var(--step--1); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.2rem; }

/* ----------------------------- Scroll reveal ----------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }

/* ----------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hl::before { animation: none; transform: scaleX(1); }
  .eyebrow .dot { animation: none; }

  /* Explainer: sin bucle, mostramos solo el resultado (paso 3) */
  .ex-frame, .ex-cap { animation: none; opacity: 0; transform: none; }
  .ex-frame--3, .ex-cap--3 { opacity: 1; }
}
