/* Tokens tomados de prolife.mx (assets/css/tokens.css): sobrio, blanco, moderno. */
:root {
    --brand: #153754; --brand-600: #0f2a41; --brand-100: #cdd9e3; --brand-50: #eef2f6;
    --accent: #d5074e; --accent-50: #fde7ee;
    --ink: #0f1d28; --slate: #3f5159; --muted: #6a7a80; --faint: #92a0a4;
    --bg: #ffffff; --bg-soft: #f6f9f8; --line: #e3e9e7; --line-strong: #d3dcd9;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: "Plus Jakarta Sans", var(--font-sans);
    --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(16, 29, 40, 0.06); --shadow-md: 0 10px 30px rgba(16, 29, 40, 0.08);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-soft); color: var(--ink); font: 17px/1.6 var(--font-sans); }

.cabecera { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.cabecera .marca img { display: block; height: 46px; width: auto; }

.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.cabecera .eyebrow { color: var(--brand); }

.tarjeta { width: 100%; max-width: 680px; margin: 32px auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; box-shadow: var(--shadow-md); }
h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; margin: 10px 0 12px; color: var(--ink); }
h1 em { font-style: normal; color: var(--brand); }
h1 .acento { color: var(--accent); }
.lead { color: var(--slate); font-size: 1.05rem; margin: 0 0 22px; }

label { display: block; margin: 14px 0; font-size: 0.875rem; font-weight: 500; color: var(--slate); }
input, textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-md); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }

.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; color: #fff; background: var(--brand); border: 0; border-radius: var(--r-pill); padding: 14px 26px; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(21, 55, 84, 0.45); transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(21, 55, 84, 0.55); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn .flecha { font-weight: 400; }
#inicio .btn { margin-top: 8px; }

.aviso { font-size: 0.8rem; color: var(--muted); margin: 18px 0 0; }

.anterior { font-size: 0.9rem; color: var(--muted); white-space: pre-wrap; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--brand-100); }
.anterior:empty { display: none; }
.pregunta { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.4; color: var(--brand); white-space: pre-wrap; margin: 0 0 20px; }
.fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.pista { font-size: 0.78rem; color: var(--faint); }
.fin { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--accent-50); color: var(--brand); font-weight: 500; }
.error { color: var(--accent); font-size: 0.9rem; margin: 12px 0 0; }

.pie { margin-top: auto; padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.confianza { letter-spacing: 0.02em; }

@media (max-width: 560px) {
    .tarjeta { flex: 1; margin: 0; border-radius: 0; border-left: 0; border-right: 0; padding: 28px 20px; box-shadow: none; }
    .cabecera { padding: 12px 16px; }
    .cabecera .marca img { height: 38px; }
    .pregunta { font-size: 1.15rem; }
    .fila { flex-direction: column; align-items: stretch; }
    .fila .btn { justify-content: center; }
}
