/**
 * Inspeccia Expert Audit — hoja de estilos de la landing.
 *
 * Diseño "dossier editorial": papel cálido, tinta, un azul, y tres
 * tipografías con roles fijos —Archivo (texto), Newsreader (énfasis
 * serif en cursiva), JetBrains Mono (etiquetas y numeración).
 *
 * Las tres fuentes son self-hosted: se instanciaron al peso que la
 * página realmente usa y se subsettearon a latin básico (U+0020-00FF
 * cubre todo el español). 558 KB del export original → 89 KB.
 * NO agregar pesos ni familias sin volver a subsetear.
 *
 * Prefijo de clases: .ea-
 */

/* ── Tipografías ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;      /* variable: cubre 400/500/600/700 */
  font-display: swap;
  src: url('archivo.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('jetbrainsmono.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('newsreader.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('newsreader-italic.woff2') format('woff2');
}

/* ── Tokens ────────────────────────────────────────────────────── */
:root {
  --ea-paper:  #F2EDE4;   /* fondo base */
  --ea-sand:   #EAE3D7;   /* fondo alterno, un tono más oscuro */
  --ea-ink:    #12110F;   /* tinta / secciones oscuras */
  --ea-ink-2:  #191713;   /* panel dentro de sección oscura */
  --ea-text:   #3B3833;   /* cuerpo sobre papel */
  --ea-mute:   #57534C;   /* secundario sobre papel */
  --ea-mute-d: #9A948A;   /* secundario sobre tinta */
  --ea-soft-d: #B8B2A7;   /* cuerpo sobre tinta */
  --ea-blue:   #0B3CF5;   /* acento */
  --ea-blue-l: #8AA2FF;   /* acento sobre tinta */
  --ea-rule:   rgba(18,17,15,.13);
  --ea-rule-s: rgba(18,17,15,.08);
  --ea-rule-d: rgba(242,237,228,.16);
  --ea-max: 1240px;
  --ea-gut: clamp(20px, 4vw, 44px);
  --ea-sec: clamp(48px, 6vw, 90px);
}

/* ── Base ──────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body.ea-body {
  margin: 0; background: var(--ea-paper); color: var(--ea-ink);
  font-family: Archivo, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
}
.ea-body a { color: var(--ea-blue); text-decoration: none; }
.ea-body a:hover { color: var(--ea-ink); }
.ea-body input, .ea-body button, .ea-body textarea, .ea-body select { font: inherit; }
.ea-body ::selection { background: var(--ea-blue); color: var(--ea-paper); }
.ea-body img { max-width: 100%; }

.ea-mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
           font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.ea-serif { font-family: Newsreader, Georgia, serif; font-weight: 400; }
em.ea-em { font-family: Newsreader, Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -.01em; }

.ea-wrap { max-width: var(--ea-max); margin: 0 auto; padding: 0 var(--ea-gut); }
.ea-sec { padding: var(--ea-sec) 0; border-bottom: 1px solid var(--ea-rule); }
.ea-sec--sand { background: var(--ea-sand); }
.ea-sec--ink  { background: var(--ea-ink); color: var(--ea-paper); }

/* Etiqueta de capítulo */
.ea-cap { display: flex; align-items: baseline; gap: 14px; color: var(--ea-mute); }
.ea-cap b { color: var(--ea-blue); font-weight: 400; }
.ea-sec--ink .ea-cap { color: var(--ea-mute-d); }
.ea-sec--ink .ea-cap b { color: var(--ea-blue-l); }

.ea-h2 { margin: 18px 0 0; max-width: 26ch; font-size: clamp(30px, 3.8vw, 52px);
         line-height: 1.06; letter-spacing: -.03em; font-weight: 600; text-wrap: pretty; }
.ea-lede { margin: 18px 0 0; font-size: 17px; color: var(--ea-mute); }
.ea-sec--ink .ea-lede { color: var(--ea-soft-d); }

/* Botones */
.ea-btn { display: inline-block; background: var(--ea-blue); color: #fff; padding: 15px 26px;
          font-size: 15px; font-weight: 600; border-radius: 2px; border: 1px solid var(--ea-blue);
          cursor: pointer; transition: background .16s, border-color .16s; }
.ea-btn:hover { background: var(--ea-ink); border-color: var(--ea-ink); color: #fff; }
.ea-btn:focus-visible { outline: 2px solid var(--ea-ink); outline-offset: 3px; }
.ea-btn--ghost { background: none; color: var(--ea-ink); border: 1px solid rgba(18,17,15,.3); font-weight: 500; }
.ea-btn--ghost:hover { background: var(--ea-ink); color: var(--ea-paper); border-color: var(--ea-ink); }
.ea-btn--dark { background: var(--ea-ink); border-color: var(--ea-ink); color: var(--ea-paper); }
.ea-btn--dark:hover { background: var(--ea-blue); border-color: var(--ea-blue); color: #fff; }
.ea-btn[disabled] { opacity: .55; cursor: default; }
/* `.ea-body a` (0,1,1) le gana a `.ea-btn` (0,1,0) y pintaba de azul el texto
   de los botones azules — invisible. Estas reglas empatan especificidad y,
   por venir después, mandan. Orden: base → ghost → dark. */
a.ea-btn, a.ea-btn:hover { color: #fff; }
a.ea-btn--ghost { color: var(--ea-ink); }
a.ea-btn--ghost:hover { color: var(--ea-paper); }
a.ea-btn--dark { color: var(--ea-paper); }
a.ea-btn--dark:hover { color: #fff; }

/* Reveal on scroll */
.ea-reveal-on [data-reveal] { opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.ea-reveal-on [data-reveal].in { opacity: 1; transform: none; }
@keyframes ea-fu { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ea-fi { from { opacity: 0; } to { opacity: 1; } }
@keyframes ea-caret { 50% { opacity: 0; } }

/* ── Header ────────────────────────────────────────────────────── */
.ea-head { position: sticky; top: 0; z-index: 50; background: rgba(242,237,228,.92);
           backdrop-filter: blur(6px); border-bottom: 1px solid var(--ea-rule); }
.ea-head-in { max-width: var(--ea-max); margin: 0 auto; padding: 0 var(--ea-gut); height: 62px;
              display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ea-head-brand { display: flex; align-items: center; gap: 11px; color: var(--ea-ink); }
.ea-head-brand:hover { color: var(--ea-ink); }
.ea-head-brand .ea-mono { font-size: 10px; color: var(--ea-mute); }
.ea-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.ea-nav a.ea-nav-l { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px;
                     letter-spacing: .1em; text-transform: uppercase; color: var(--ea-mute); }
.ea-nav a.ea-nav-l:hover { color: var(--ea-ink); }
.ea-nav .ea-btn { padding: 10px 18px; font-size: 13px; }
@media (max-width: 820px) { .ea-nav a.ea-nav-l { display: none; } }

/* ── 01 Hero ───────────────────────────────────────────────────── */
.ea-hero { border-bottom: 1px solid var(--ea-rule); }
.ea-hero-grid { max-width: var(--ea-max); margin: 0 auto;
                padding: clamp(36px,5vw,64px) var(--ea-gut) 0;
                display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
                gap: clamp(28px,4vw,56px); align-items: end; }
.ea-hero-copy { padding-bottom: clamp(32px,5vw,64px); }
.ea-kick { display: flex; align-items: center; gap: 12px; color: var(--ea-mute);
           animation: ea-fi .8s ease both; }
.ea-kick::before { content: ""; width: 22px; height: 1px; background: var(--ea-blue); flex: none; }
.ea-hero h1 { margin: 20px 0 0; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02;
              letter-spacing: -.032em; font-weight: 600; text-wrap: pretty;
              animation: ea-fu .9s cubic-bezier(.2,.7,.2,1) both; }
.ea-hero-p { margin: 26px 0 0; max-width: 52ch; font-size: clamp(16px, 1.25vw, 19px);
             line-height: 1.55; color: var(--ea-text); animation: ea-fu .9s .12s cubic-bezier(.2,.7,.2,1) both; }
.ea-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px;
               animation: ea-fu .9s .2s cubic-bezier(.2,.7,.2,1) both; }
.ea-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 26px 0 0; padding: 0; list-style: none;
                font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px;
                letter-spacing: .06em; color: var(--ea-mute); animation: ea-fi 1s .4s ease both; }
.ea-hero-fig { position: relative; align-self: stretch; min-height: 420px;
               border-left: 1px solid var(--ea-rule); border-right: 1px solid var(--ea-rule);
               overflow: hidden; animation: ea-fi 1.2s ease both; }
.ea-hero-fig img { position: absolute; inset: 0; width: 100%; height: 100%;
                   object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.04); }
.ea-hero-fig::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(242,237,228,.55) 0%, rgba(242,237,228,0) 34%, rgba(18,17,15,.55) 100%); }
.ea-fig-tag { position: absolute; left: 18px; top: 18px; z-index: 2; font-size: 10px;
              letter-spacing: .14em; color: var(--ea-ink); background: rgba(242,237,228,.86); padding: 5px 8px; }
.ea-fig-quote { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: var(--ea-paper);
                font-family: Newsreader, Georgia, serif; font-style: italic;
                font-size: clamp(19px, 1.8vw, 26px); line-height: 1.28; text-wrap: pretty; }
@media (max-width: 720px) { .ea-hero-fig { min-height: 300px; } }

/* ── 02 · Cómo se arma una respuesta ───────────────────────────────
   Consola de respuesta simulada. Todo el contenido existe en el HTML;
   el JS solo va agregando clases de fase (.p1 … .p5) al contenedor, así
   que sin JS la sección se lee entera. La secuencia corre en bucle
   mientras está en pantalla. */
.ea-sim-grid { margin-top: clamp(26px,3vw,44px); display: grid;
               grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
               gap: clamp(28px,4vw,60px); align-items: start; }
.ea-sim-copy .ea-h2 { margin-top: 0; max-width: 20ch; }
.ea-sim-lede { margin: 20px 0 0; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--ea-soft-d); }

.ea-signals { margin: clamp(24px,3vw,36px) 0 0; padding: 0; list-style: none;
              border-top: 1px solid var(--ea-rule-d); }
.ea-signals li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0;
                 border-bottom: 1px solid var(--ea-rule-d); }
.ea-signals .ea-mono { font-size: 10px; color: var(--ea-blue-l); padding-top: 3px; }
.ea-signals b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ea-signals p { margin: 5px 0 0; font-size: 14px; line-height: 1.55; color: var(--ea-mute-d); max-width: 42ch; }
.ea-sim-closer { margin: 24px 0 0; max-width: 40ch; font-family: Newsreader, Georgia, serif;
                 font-size: clamp(18px,1.7vw,23px); line-height: 1.38; color: var(--ea-paper); }

/* ── Consola ── */
.ea-console { margin: 0; border: 1px solid rgba(242,237,228,.22); background: var(--ea-ink-2);
              position: sticky; top: 84px; }
.ea-console-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px;
                  border-bottom: 1px solid rgba(242,237,228,.14); color: var(--ea-mute-d); }
.ea-console-dots { display: flex; gap: 5px; }
.ea-console-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(242,237,228,.22); }
.ea-console-body { padding: clamp(18px,2vw,26px); min-height: 430px; }

.ea-c-q { margin: 0; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
          font-size: clamp(13px,1.15vw,15px); line-height: 1.55; color: var(--ea-paper);
          border-left: 2px solid var(--ea-blue); padding-left: 13px; }
.ea-c-q i { font-style: normal; color: var(--ea-blue-l); }
.ea-c-q .ea-caret { display: none; width: 7px; height: 1.02em; background: var(--ea-blue);
                    margin-left: 3px; vertical-align: -2px; }
.ea-console.is-typing .ea-c-q .ea-caret { display: inline-block; animation: ea-caret 1s steps(1) infinite; }

.ea-c-block { margin: 22px 0 0; }
.ea-c-label { display: block; color: var(--ea-mute-d); font-size: 10px; margin: 0 0 10px; }

.ea-c-sources { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.ea-c-sources li { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px;
                   color: var(--ea-mute-d); border: 1px solid rgba(242,237,228,.16);
                   padding: 7px 11px; transition: color .3s, border-color .3s; }
.ea-c-sources .ea-dot { width: 6px; height: 6px; border-radius: 50%;
                        background: rgba(242,237,228,.25); transition: background .3s, box-shadow .3s; }
.ea-c-sources li.on { color: var(--ea-paper); border-color: rgba(138,162,255,.5); }
.ea-c-sources li.on .ea-dot { background: var(--ea-blue-l); box-shadow: 0 0 0 3px rgba(11,60,245,.22); }

.ea-c-stream { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ea-paper); min-height: 1.6em; }
.ea-c-picks { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ea-c-picks li { display: flex; align-items: center; gap: 14px; padding: 13px 15px;
                 border: 1px solid rgba(242,237,228,.16); background: rgba(242,237,228,.03); }
.ea-c-picks .ea-mono { font-size: 10px; color: var(--ea-mute-d); }
.ea-c-picks b { flex: 1; font-size: 15px; font-weight: 600; }
.ea-cite { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 10px;
           letter-spacing: .06em; color: var(--ea-blue-l); border: 1px solid rgba(138,162,255,.35);
           padding: 3px 7px; }

.ea-c-verdict { margin: 20px 0 0; padding: 16px 18px; border: 1px dashed var(--ea-blue);
                background: rgba(11,60,245,.1); }
.ea-c-verdict .ea-mono { font-size: 10px; color: var(--ea-blue-l); }
.ea-c-verdict b { display: block; margin-top: 7px; font-size: 17px; font-weight: 600; }
.ea-c-verdict small { display: block; margin-top: 5px; font-size: 13px; color: var(--ea-soft-d); }

.ea-console-foot { display: flex; align-items: center; gap: 14px; padding: 11px 16px;
                   border-top: 1px solid rgba(242,237,228,.14); }
.ea-console-progress { flex: 1; height: 2px; background: rgba(242,237,228,.14); overflow: hidden; }
.ea-console-progress i { display: block; height: 100%; width: 0; background: var(--ea-blue-l); }
.ea-console-replay { background: none; border: 0; cursor: pointer; padding: 4px 2px;
                     font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 10px;
                     letter-spacing: .14em; text-transform: uppercase; color: var(--ea-mute-d); }
.ea-console-replay:hover { color: var(--ea-paper); }
.ea-console-replay:focus-visible { outline: 2px solid var(--ea-blue-l); outline-offset: 2px; }

/* Fases. Solo se ocultan cuando el JS tomó el control (.js-sim): sin JS,
   con reduce-motion o si algo falla, la consola se ve completa. */
.ea-console.js-sim [data-phase] { opacity: 0; transform: translateY(10px); }
.ea-console.js-sim .ea-c-picks li { opacity: 0; transform: translateX(-14px); }
.ea-console.js-sim [data-phase],
.ea-console.js-sim .ea-c-picks li {
  transition: opacity .42s cubic-bezier(.2,.8,.25,1), transform .42s cubic-bezier(.2,.8,.25,1);
}
.ea-console.js-sim [data-phase].on,
.ea-console.js-sim .ea-c-picks li.on { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .ea-sim-grid { grid-template-columns: 1fr; }
  .ea-console { position: static; }
  .ea-console-body { min-height: 0; }
}

/* ── 03 Problema ───────────────────────────────────────────────── */
.ea-causes { margin-top: clamp(30px,4vw,52px); display: grid;
             grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); border-top: 1px solid var(--ea-rule); }
.ea-cause { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--ea-rule); display: flex; gap: 18px; }
.ea-cause > span { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px;
                   color: var(--ea-blue); padding-top: 4px; flex: none; }
.ea-cause h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.ea-cause p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ea-mute); max-width: 34ch; }
.ea-evidence { margin-top: clamp(34px,5vw,62px); display: grid;
               grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
               gap: clamp(26px,4vw,52px); align-items: center; }
.ea-evidence-fig { border: 1px solid var(--ea-rule); background: var(--ea-sand); padding: clamp(16px,2vw,28px); }
.ea-evidence-fig img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.ea-evidence-fig figcaption { margin-top: 12px; font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-pull { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(22px,2.4vw,32px);
           line-height: 1.32; letter-spacing: -.01em; text-wrap: pretty; }
.ea-mark { background: linear-gradient(transparent 62%, rgba(11,60,245,.22) 62%); }

/* ── 04 Quién la hace ──────────────────────────────────────────── */
.ea-who { margin-top: clamp(26px,3vw,44px); display: grid;
          grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px,4vw,60px); align-items: start; }
.ea-who-serif { margin: 22px 0 0; font-family: Newsreader, Georgia, serif;
                font-size: clamp(20px,2vw,26px); line-height: 1.4; max-width: 44ch; }
.ea-who p.ea-who-body { margin: 20px 0 0; max-width: 50ch; font-size: 16px; line-height: 1.6; color: var(--ea-mute); }
.ea-stats { margin-top: clamp(28px,3vw,42px); display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px;
            border-top: 1px solid rgba(18,17,15,.16); }
.ea-stat { padding: 20px 18px 22px 0; border-bottom: 1px solid rgba(18,17,15,.16); }
.ea-stat b { display: block; font-size: clamp(32px,3vw,44px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.ea-stat span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ea-mute); max-width: 22ch; }
.ea-frame { border: 1px solid rgba(18,17,15,.16); padding: 10px; background: var(--ea-paper); }
.ea-frame-cap { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px;
                font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-pillars { margin-top: 26px; border-top: 1px solid rgba(18,17,15,.16); padding-top: 22px; display: grid; gap: 20px; }
.ea-pillar .ea-mono { font-size: 10px; color: var(--ea-blue); }
.ea-pillar h3 { margin: 8px 0 0; font-size: 18px; font-weight: 600; }
.ea-pillar p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ea-mute); }
/* Retrato del especialista dentro del marco de papel */
.ea-portrait-img { display: block; width: 100%; height: clamp(340px, 42vw, 480px);
                   object-fit: cover; object-position: 50% 42%; filter: grayscale(1) contrast(1.03); }

/* ── 05 Cómo funciona ──────────────────────────────────────────── */
.ea-stages { margin-top: clamp(34px,4vw,58px); display: grid;
             grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); border-top: 1px solid var(--ea-ink); }
.ea-stage { padding: 22px 24px 30px 0; position: relative; }
.ea-stage::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px;
                    background: var(--ea-blue); border-radius: 50%; }
.ea-stage .ea-mono { font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-stage h3 { margin: 10px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ea-stage p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ea-mute); max-width: 30ch; }

.ea-mods-h { margin-top: clamp(40px,5vw,72px); display: flex; align-items: baseline;
             justify-content: space-between; gap: 20px; flex-wrap: wrap;
             border-bottom: 1px solid var(--ea-rule); padding-bottom: 16px; }
.ea-mods-h h3 { margin: 0; font-size: clamp(20px,2vw,26px); font-weight: 600; letter-spacing: -.02em; }
.ea-mods-h span { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px;
                  letter-spacing: .1em; color: var(--ea-mute); }
.ea-phase { margin-top: clamp(26px,3vw,40px); display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(18px,3vw,40px); align-items: start; }
.ea-phase-side { position: sticky; top: 80px; }
.ea-phase-side .ea-mono { font-size: 10px; color: var(--ea-blue); }
.ea-phase-side h4 { margin: 8px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ea-phase-side p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ea-mute); max-width: 26ch; }
.ea-phase-items { min-width: 0; }
.ea-mod { border-top: 1px solid var(--ea-rule); }
.ea-mod summary { list-style: none; display: flex; align-items: baseline; gap: 16px; text-align: left;
                  padding: 18px 0; cursor: pointer; color: var(--ea-ink); }
.ea-mod summary::-webkit-details-marker { display: none; }
.ea-mod summary:hover { color: var(--ea-blue); }
.ea-mod summary:focus-visible { outline: 2px solid var(--ea-blue); outline-offset: 2px; }
.ea-mod-id { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px;
             color: var(--ea-mute); flex: none; }
.ea-mod-t { flex: 1; font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.ea-sign { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 15px;
           color: var(--ea-blue); flex: none; }
.ea-sign::after { content: "+"; }
details[open] > summary .ea-sign::after { content: "—"; }
.ea-mod-b { margin: 0; padding: 0 0 22px 44px; font-size: 15px; line-height: 1.65;
            color: var(--ea-text); max-width: 70ch; animation: ea-fu .35s ease both; }
@media (max-width: 720px) {
  .ea-phase { grid-template-columns: 1fr; }
  .ea-phase-side { position: static; }
  .ea-mod-b { padding-left: 0; }
}

/* ── 06 Entregables ────────────────────────────────────────────── */
.ea-del-grid { margin-top: clamp(30px,4vw,52px); display: grid;
               grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
               gap: clamp(24px,4vw,52px); align-items: start; }
.ea-del-list { display: grid; gap: 2px; }
.ea-del-btn { display: flex; gap: 16px; align-items: baseline; text-align: left; border: 0; background: none;
              cursor: pointer; padding: 20px 18px; border-top: 1px solid var(--ea-rule-d);
              color: var(--ea-paper); transition: background .16s; width: 100%; }
.ea-del-btn:hover { background: rgba(242,237,228,.05); }
.ea-del-btn:focus-visible { outline: 2px solid var(--ea-blue-l); outline-offset: -2px; }
.ea-del-btn > span:first-child { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
                                 font-size: 10px; letter-spacing: .12em; color: var(--ea-blue-l); flex: none; }
.ea-del-btn .ea-del-mid { flex: 1; }
.ea-del-btn b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.ea-del-btn small { display: block; margin-top: 7px; font-size: 14px; line-height: 1.55; color: var(--ea-soft-d); }
.ea-del-mark { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px;
               color: var(--ea-blue-l); flex: none; }
.ea-del-btn[aria-selected="true"] { background: rgba(242,237,228,.06); }
.ea-del-btn[aria-selected="true"] .ea-del-mark::before { content: "● "; }

.ea-sample { position: relative; padding: clamp(14px,2vw,26px); border: 1px solid rgba(242,237,228,.18);
             background: var(--ea-ink-2); }
.ea-sample-h { display: flex; justify-content: space-between; gap: 14px; font-size: 10px;
               letter-spacing: .14em; color: var(--ea-mute-d); padding-bottom: 12px;
               border-bottom: 1px solid rgba(242,237,228,.14); }
.ea-sample-doc { margin-top: 18px; background: var(--ea-paper); color: var(--ea-ink);
                 padding: clamp(16px,2vw,26px); min-height: 340px; box-shadow: 0 22px 44px rgba(0,0,0,.4); }
.ea-sample-doc .ea-mono { font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-sample-doc h3 { margin: 10px 0 0; font-size: clamp(19px,1.8vw,24px); font-weight: 600;
                    letter-spacing: -.02em; line-height: 1.2; }
.ea-sample-rows { margin-top: 18px; display: grid; gap: 12px; }
.ea-sample-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
                 border-top: 1px solid var(--ea-rule); padding-top: 12px; }
.ea-sample-row > span:first-child { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
                                    font-size: 10px; letter-spacing: .1em; color: var(--ea-blue); padding-top: 3px; }
.ea-sample-row > span:last-child { font-size: 15px; line-height: 1.55; }
.ea-sample-foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--ea-rule);
                  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 10px;
                  letter-spacing: .1em; color: var(--ea-mute); }
.ea-sample-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .ea-sample-panel { animation: ea-fu .3s ease both; } }

/* ── 07 Antes / después ────────────────────────────────────────── */
.ea-shift { margin-top: clamp(32px,4vw,56px); display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px,4vw,56px); }
.ea-shift-h { padding-bottom: 14px; border-bottom: 1px solid var(--ea-rule); color: var(--ea-mute); }
.ea-shift-h.is-after { color: var(--ea-blue); border-bottom-color: var(--ea-blue); }
.ea-shift p { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--ea-rule-s);
              font-size: 16px; line-height: 1.5; color: var(--ea-mute); }
.ea-shift .is-after ~ p, .ea-shift p.is-after-i { color: var(--ea-ink); font-weight: 500; }

/* ── 08 Precio ─────────────────────────────────────────────────── */
.ea-price { margin-top: clamp(30px,4vw,52px); display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: clamp(22px,3vw,44px); align-items: start; }
.ea-price-card { background: var(--ea-paper); border: 1px solid var(--ea-ink); padding: clamp(24px,3vw,40px); }
.ea-price-card .ea-mono { font-size: 10px; color: var(--ea-mute); }
.ea-price-amt { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ea-price-amt b { font-size: clamp(46px,6vw,76px); font-weight: 600; letter-spacing: -.045em; line-height: .9; }
.ea-price-amt span { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px;
                     letter-spacing: .1em; color: var(--ea-mute); }
.ea-price-note { margin: 16px 0 0; font-size: 15px; color: var(--ea-mute); }
.ea-price-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ea-rule); }
.ea-price-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--ea-rule-s);
                    font-size: 15px; line-height: 1.45; }
.ea-price-list li::before { content: "·"; color: var(--ea-blue); }
.ea-price-card .ea-btn { display: block; margin-top: 26px; text-align: center; padding: 16px; font-size: 16px; }
.ea-price-side { padding-top: 8px; }
.ea-price-side h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ea-price-side > p { margin: 12px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--ea-mute); }
.ea-urgent { margin-top: 22px; border: 1px solid rgba(18,17,15,.2); padding: 20px; display: flex;
             justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.ea-urgent .ea-mono { font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-urgent small { display: block; margin-top: 8px; font-size: 13px; color: var(--ea-mute); }
.ea-urgent b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.ea-price-closer { margin-top: 34px; border-top: 1px solid rgba(18,17,15,.16); padding-top: 22px;
                   font-family: Newsreader, Georgia, serif; font-size: clamp(19px,1.8vw,24px);
                   line-height: 1.35; max-width: 34ch; }

/* ── 09 Transparencia ──────────────────────────────────────────── */
.ea-honest-lede { margin: 20px 0 0; max-width: 46ch; font-family: Newsreader, Georgia, serif;
                  font-size: clamp(20px,2vw,27px); line-height: 1.38; }
.ea-honest { margin-top: clamp(30px,4vw,52px); display: grid;
             grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: clamp(24px,4vw,52px); }
.ea-honest-h { padding-bottom: 14px; border-bottom: 1px solid var(--ea-rule); color: var(--ea-mute); }
.ea-honest-h.is-yes { color: var(--ea-blue); border-bottom-color: var(--ea-blue); }
.ea-honest p { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--ea-rule-s);
               font-size: 16px; line-height: 1.5; }
.ea-honest .ea-col-no p { color: var(--ea-mute); }
.ea-credit { margin: 34px 0 0; font-size: 13px; color: var(--ea-mute); }

/* ── 10 FAQ ────────────────────────────────────────────────────── */
.ea-faq { margin-top: clamp(28px,3vw,44px); }
.ea-faq details { border-top: 1px solid var(--ea-rule); }
.ea-faq summary { list-style: none; display: flex; gap: 16px; align-items: baseline; padding: 20px 0;
                  cursor: pointer; color: var(--ea-ink); }
.ea-faq summary::-webkit-details-marker { display: none; }
.ea-faq summary:hover { color: var(--ea-blue); }
.ea-faq summary:focus-visible { outline: 2px solid var(--ea-blue); outline-offset: 2px; }
.ea-faq summary > span:first-child { flex: 1; font-size: 18px; font-weight: 500;
                                     letter-spacing: -.01em; line-height: 1.35; }
.ea-faq-b { margin: 0; padding: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--ea-text);
            max-width: 68ch; animation: ea-fu .35s ease both; }

/* ── 11 Formulario ─────────────────────────────────────────────── */
.ea-form-grid { max-width: var(--ea-max); margin: 0 auto; padding: var(--ea-sec) var(--ea-gut);
                display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
                gap: clamp(28px,4vw,60px); align-items: start; }
.ea-form-aside h2 { margin: 18px 0 0; max-width: 22ch; font-size: clamp(30px,3.8vw,52px);
                    line-height: 1.05; letter-spacing: -.03em; font-weight: 600; text-wrap: pretty; }
.ea-form-aside > p { margin: 20px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.6; color: var(--ea-soft-d); }
.ea-track { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 1px; }
.ea-track li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ea-rule-d);
               font-size: 15px; color: var(--ea-mute-d); transition: color .3s; }
.ea-track li:last-child { border-bottom: 1px solid var(--ea-rule-d); }
.ea-track li span { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px; }
.ea-track li.is-on { color: var(--ea-paper); }
.ea-track li.is-on span { color: var(--ea-blue-l); }
.ea-track li.is-done span::after { content: " ✓"; color: var(--ea-blue-l); }

.ea-form { background: var(--ea-paper); color: var(--ea-ink); padding: clamp(22px,3vw,38px);
           border: 1px solid rgba(242,237,228,.2); position: relative; }
.ea-form-top { display: flex; justify-content: space-between; gap: 14px; font-size: 10px;
               letter-spacing: .14em; color: var(--ea-mute); }
.ea-step-t { margin: 16px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.ea-step-s { margin: 8px 0 0; font-size: 15px; color: var(--ea-mute); }
.ea-step[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ea-step { animation: ea-step-in .38s cubic-bezier(.16,1,.3,1) both; }
  .ea-step.is-back { animation-name: ea-step-back; }
  @keyframes ea-step-in   { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
  @keyframes ea-step-back { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
}
.ea-fields { margin-top: 26px; display: grid; gap: 18px; }
.ea-fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px; }
.ea-f { display: grid; gap: 8px; position: relative; }
.ea-f > span.ea-mono { font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-f input, .ea-f textarea { border: 0; border-bottom: 1px solid rgba(18,17,15,.28); background: none;
  padding: 10px 2px; font-size: 16px; color: var(--ea-ink); outline: none; border-radius: 0;
  -webkit-appearance: none; transition: border-color .18s; }
.ea-f input:focus, .ea-f textarea:focus { border-bottom-color: var(--ea-blue); border-bottom-width: 2px; padding-bottom: 9px; }
.ea-f textarea { resize: vertical; min-height: 84px; }
.ea-f small.ea-hint { font-size: 12px; color: var(--ea-mute); }
.ea-f .ea-err { display: none; font-size: 12px; color: #B3261E; font-weight: 600; }
.ea-f.is-bad input, .ea-f.is-bad textarea { border-bottom-color: #B3261E; }
.ea-f.is-bad .ea-err { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .ea-f.is-bad { animation: ea-shake .3s; }
  @keyframes ea-shake { 0%,100%{transform:none} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
}

.ea-goals { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-goal { position: relative; }
.ea-goal input { position: absolute; opacity: 0; pointer-events: none; }
.ea-goal label { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(18,17,15,.24);
  padding: 10px 14px; cursor: pointer; font-size: 14px; line-height: 1.35; border-radius: 2px;
  transition: border-color .16s, background .16s, color .16s; }
.ea-goal label::before { content: ""; width: 13px; height: 13px; flex: none; border: 1px solid var(--ea-mute);
  background: var(--ea-paper); transition: background .16s, border-color .16s, box-shadow .16s; }
.ea-goal label:hover { border-color: var(--ea-ink); }
.ea-goal input:checked + label { border-color: var(--ea-blue); font-weight: 600; background: rgba(11,60,245,.05); }
.ea-goal input:checked + label::before { background: var(--ea-blue); border-color: var(--ea-blue);
  box-shadow: inset 0 0 0 2px var(--ea-paper); }
.ea-goal input:focus-visible + label { outline: 2px solid var(--ea-blue); outline-offset: 2px; }

.ea-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.ea-plan { position: relative; }
.ea-plan input { position: absolute; opacity: 0; pointer-events: none; }
.ea-plan label { display: block; border: 1px solid rgba(18,17,15,.24); padding: 16px; cursor: pointer;
                 height: 100%; border-radius: 2px; transition: border-color .16s, box-shadow .16s; }
.ea-plan label:hover { border-color: var(--ea-ink); }
.ea-plan input:checked + label { border-color: var(--ea-blue); box-shadow: inset 0 0 0 1px var(--ea-blue); }
.ea-plan input:focus-visible + label { outline: 2px solid var(--ea-blue); outline-offset: 2px; }
.ea-plan .ea-mono { font-size: 10px; letter-spacing: .14em; color: var(--ea-mute); }
.ea-plan input:checked + label .ea-mono { color: var(--ea-blue); }
.ea-plan b { display: block; margin-top: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ea-plan small { display: block; margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--ea-mute); }
.ea-plan .ea-plan-extra { display: inline-block; margin-top: 8px; font-size: 12px;
                          font-weight: 700; color: var(--ea-blue); }

.ea-recap { margin-top: 22px; border-top: 1px solid rgba(18,17,15,.16); }
.ea-recap-r { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 9px 0;
              border-bottom: 1px solid var(--ea-rule-s); font-size: 14px; }
.ea-recap-r dt { color: var(--ea-mute); }
.ea-recap-r dd { margin: 0; overflow-wrap: anywhere; }
.ea-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
            padding: 16px 0 0; }
.ea-total b { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ea-total b.is-flip { animation: ea-flip .32s cubic-bezier(.34,1.56,.64,1); }
  @keyframes ea-flip { 0%{opacity:.2;transform:translateY(-6px)} 100%{opacity:1;transform:none} }
}
.ea-form-actions { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.ea-form-actions .ea-btn { flex: 1; text-align: center; padding: 16px; font-size: 16px; }
.ea-back { background: none; border: 0; color: var(--ea-mute); cursor: pointer; padding: 10px 2px;
           font-size: 14px; font-weight: 500; }
.ea-back:hover { color: var(--ea-ink); }
.ea-back[hidden] { display: none; }
.ea-legal { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: var(--ea-mute); }

/* ── CTA final ─────────────────────────────────────────────────── */
.ea-outro { background: var(--ea-ink); color: var(--ea-paper); border-top: 1px solid var(--ea-rule-d); }
.ea-outro-in { max-width: var(--ea-max); margin: 0 auto; padding: clamp(44px,5vw,80px) var(--ea-gut); text-align: center; }
.ea-outro h2 { margin: 0 auto; max-width: 22ch; font-size: clamp(30px,4vw,56px); line-height: 1.04;
               letter-spacing: -.03em; font-weight: 600; }
.ea-outro p { margin: 18px auto 0; max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--ea-soft-d); }
.ea-outro .ea-btn { margin-top: 30px; padding: 17px 32px; font-size: 16px; }
.ea-outro a.ea-btn:hover { background: var(--ea-paper); color: var(--ea-ink); border-color: var(--ea-paper); }

/* ── Sticky móvil ──────────────────────────────────────────────── */
.ea-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
             background: var(--ea-ink); border-top: 1px solid var(--ea-rule-d);
             padding: 12px var(--ea-gut) calc(12px + env(safe-area-inset-bottom));
             transform: translateY(120%); transition: transform .26s cubic-bezier(.16,1,.3,1); }
.ea-sticky.is-on { transform: none; }
.ea-sticky a { display: flex; align-items: center; justify-content: center; gap: 10px;
               background: var(--ea-blue); color: #fff; padding: 14px; font-size: 15px;
               font-weight: 600; border-radius: 2px; }
@media (max-width: 820px) { .ea-sticky { display: block; } }

/* ── Responsive de las grillas de proporción fija ───────────────────
   El resto de la página usa auto-fit y colapsa sola. Estas dos tienen
   proporción explícita (1/3–2/3 el formulario, 2×2 las cifras) y hay que
   bajarlas a mano: sin esto el formulario quedaba en dos columnas de
   102px y 204px en un teléfono. */
@media (max-width: 900px) {
  .ea-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  .ea-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  /* La consola no toma el control (js-sim no se aplica con reduce-motion),
     pero por si acaso: nada de la secuencia puede quedar oculto. */
  .ea-console [data-phase], .ea-console .ea-c-picks li { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
