/* Entrevistable v2 · capa de estilo para todas las páginas que usan site.css.
   Se carga la última: cambia letras, colores, cabecera y pie sin tocar el HTML. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("fonts/atkinson-next.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: oklch(22% 0.035 265);
  --ink-2: oklch(36% 0.03 265);
  --muted: oklch(46% 0.025 265);
  --paper: oklch(97.4% 0.011 85);
  --paper-2: oklch(94.6% 0.016 85);
  --line: oklch(86% 0.016 85);
  --white: oklch(99.2% 0.005 85);
  --blue: oklch(50% 0.25 266);
  --blue-dark: oklch(42% 0.22 266);
  --blue-soft: oklch(80% 0.1 266);
  --pen: oklch(52% 0.19 28);
  --night: oklch(20% 0.04 265);
  --on-night: oklch(95% 0.012 85);
  --on-night-2: oklch(78% 0.02 265);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Next", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

body { background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.6; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
a { text-underline-offset: 0.18em; }
h1, h2, h3 { text-wrap: balance; }

/* Títulos */
.display, .legal h1, .ia-score, .ia-h2, .ia-questions .nota, .band h3, .ml-form-successContent h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.display { line-height: 1.05; }
.articulo h1, .articulo h2, .articulo h3, .legal h2, .faq summary, .chapters h3, .ia-report h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.articulo h1 { line-height: 1.05; }

/* Etiqueta pequeña sobre los títulos */
.eyebrow { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--blue); flex: none; }

/* Botones */
.btn { border-radius: 6px; font-weight: 700; transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-dark:hover { background: oklch(27% 0.045 265); }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-links a:not(.btn) { color: var(--ink-2); font-weight: 700; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* Tarjetas y cajas: menos redondeo, borde fino */
.card, .lead-box, .ia-questions li, .msg-ia, .voz { border-radius: 4px; border-color: var(--line); background: var(--white); }
.hero-aside, .ia-form { border: 1px solid var(--line); box-shadow: 0 18px 40px -28px oklch(22% 0.035 265 / 0.35); }

/* Artículos (guías SEO) */
.articulo .mi-metodo, .articulo .cta, .articulo .comparar > div {
  border-radius: 4px; background: var(--white); border: 1px solid var(--line);
}
.articulo .mi-metodo { border-left: 2px solid var(--blue); }
.articulo .cta { background: var(--paper-2); border: 0; border-top: 2px solid var(--ink); }
.articulo .comparar .debil { opacity: 1; border-color: oklch(85% 0.06 28); }
.articulo .aviso { border-left-color: var(--pen); opacity: 1; color: var(--ink-2); }
.articulo th, .articulo td { border-bottom-color: var(--line); }
.articulo blockquote { font-family: var(--display); font-style: italic; }
.migas { opacity: 1; color: var(--muted); }

/* Páginas legales */
.legal h2 { font-size: 1.35rem; }

/* Bandas oscuras y cierre */
.band, .final { background: var(--night); color: var(--on-night); }
.band p { color: var(--on-night-2); }
.final h2 { font-family: var(--display); font-weight: 600; }

/* Formularios */
.ml-subscribe-form input[type=email], .ia input[type=text], .ia input[type=email], .ia select, .ia textarea {
  background: var(--white); border-radius: 6px;
}
.ia-notice { background: var(--paper-2); }

/* EntrevistIA */
.ia-offer { background: var(--night); border-radius: 4px; }
.msg { border-radius: 6px; }

/* Pie */
.site-footer { background: var(--night); color: var(--on-night-2); padding: 40px 0 48px; margin-top: 0; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
