/* Shared style for /pre-quiz and /quiz. Same tokens as LP1 (LP1-Despertar/index.html). Light theme only. */
:root {
  --navy: #0F172A;
  --indigo: #1D4ED8;
  --indigo-dk: #1E40AF;
  --bg: #FFFFFF;
  --tint: #F5F6FA;
  --line: #E2E5EE;
  --ink: #0F172A;
  --text: #2B3245;
  --muted: #545D72;
  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }  /* hidden screens must stay hidden even when a class sets display */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--tint); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, .display { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

.bar { background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1280px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand img { display: block; height: 34px; width: auto; }
.back { background: none; border: 0; padding: 8px 4px; font: 600 .95rem var(--body); color: var(--muted); cursor: pointer; }
.back:hover { color: var(--ink); }
.back[hidden] { display: none; }

main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: clamp(24px, 6vw, 56px) 16px 48px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, .08), 0 4px 10px rgba(15, 23, 42, .04); display: flex; flex-direction: column; gap: 18px; }

.q-top { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.q-bar { height: 6px; border-radius: 6px; background: #E7ECFC; overflow: hidden; }
.q-bar span { display: block; height: 100%; background: var(--indigo); border-radius: 6px; transition: width .3s ease; }
.q-text { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 4vw, 1.6rem); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.q-opts { display: flex; flex-direction: column; gap: 10px; }
.q-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  color: var(--ink); font: 500 1rem/1.4 var(--body); text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.q-opt::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #B8BFD3; transition: border-color .15s ease, box-shadow .15s ease; }
.q-opt:hover, .q-opt:focus-visible, .q-opt[aria-pressed="true"] { border-color: var(--indigo); background: #F3F6FF; }
.q-opt[aria-pressed="true"]::before, .q-opt:hover::before { border-color: var(--indigo); box-shadow: inset 0 0 0 4px #FFFFFF, inset 0 0 0 10px var(--indigo); }
.foot { font-size: .85rem; color: var(--muted); text-align: center; }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 16px 28px; border: 0; border-radius: 10px;
  background: var(--indigo); color: #FFFFFF; font: 700 1.08rem/1 var(--display); text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px rgba(29, 78, 216, .25); }
.cta:hover { background: var(--indigo-dk); }
.cta[disabled] { opacity: .6; cursor: progress; }

label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 6px; }
.field input { width: 100%; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 1rem var(--body); color: var(--ink); background: var(--bg); }
.field input:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px #DCE5FD; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--indigo); flex: none; }
.consent a { color: var(--indigo); }
.error { color: #B42318; font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); }
.result-name { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.result-line { font-size: 1.15rem; color: var(--text); }
.reminder { font-size: .95rem; color: var(--muted); font-style: italic; border-left: 3px solid var(--line); padding-left: 14px; }
.inbox { background: var(--tint); border-radius: 12px; padding: 16px; }
.inbox strong { display: block; color: var(--ink); font-family: var(--display); }

.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 10px; color: var(--ink); font-weight: 600; }
.list li::before { content: "→"; color: var(--indigo); }
.note { background: var(--tint); border-radius: 12px; padding: 16px; }
.note strong { color: var(--ink); }

.legal { text-align: center; font-size: .8rem; color: var(--muted); padding: 0 16px 24px; }
.legal a { color: var(--muted); }

/* Preview: marks copy that still needs Saul's approval. */
.review [data-status] { position: relative; outline: 1.5px dashed #D97706; outline-offset: 6px; border-radius: 2px; }
.review [data-status]::after { content: attr(data-status); position: absolute; top: -20px; right: -6px; padding: 1px 8px; border-radius: 999px;
  background: #D97706; color: #FFFFFF; font: 600 11px/1.6 var(--body); letter-spacing: 0; text-transform: none; font-style: normal; }
.preview-flag { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); background: #D97706; color: #FFFFFF; font: 600 12px/1.4 var(--body);
  padding: 6px 12px; border-radius: 999px; z-index: 30; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.muted { color: var(--muted); }
