/* ============================================================
   /quiz — a six-question teaser. Same restrained materials as the
   site; the drama lives in the reveal, not in decoration.
   ============================================================ */

.quiz-shell { max-width: 760px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.quiz-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 0; }
.quiz-topline .eyebrow { margin: 0; }

.quiz-stage { padding-block: clamp(30px, 5vw, 56px) clamp(56px, 8vw, 96px); min-height: 62vh; }

/* ---------- intro ---------- */
.quiz-intro h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -0.04em; max-width: 15ch; }
.quiz-intro .lede { margin-top: 20px; max-width: 52ch; }
.quiz-intro-more { margin-top: 16px; max-width: 54ch; color: var(--muted); font-size: 16px; line-height: 1.7; }
.quiz-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.quiz-fact {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 99px;
  padding: 7px 14px; font-size: 13px; font-weight: 650; color: var(--muted);
}
.quiz-fact i { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.quiz-start { margin-top: 34px; }
.quiz-disclaimer { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); max-width: 56ch; }

/* ---------- question ---------- */
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.q-count { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.q-dots { display: flex; gap: 7px; }
.q-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background 0.3s; }
.q-dots i.done { background: var(--ink); }
.q-dots i.now { background: var(--accent); }
.q-axis { font-size: 11.5px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.q-text { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -0.03em; line-height: 1.22; max-width: 24ch; }
.q-options { display: grid; gap: 12px; margin-top: 32px; }
.q-option {
  display: flex; align-items: flex-start; gap: 15px; text-align: left;
  width: 100%; padding: 17px 19px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--text);
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.q-option:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.q-option .q-letter {
  flex: none; width: 26px; height: 26px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 12.5px; font-weight: 750; color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.q-option:hover .q-letter { border-color: var(--accent); color: var(--accent-ink); }
.q-option.picked { border-color: var(--accent); background: var(--accent-soft); }
.q-option.picked .q-letter { background: var(--accent); border-color: var(--accent); color: #fff; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.q-back {
  border: 0; background: transparent; cursor: pointer; padding: 8px 0;
  font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.q-back::before { content: "←"; }
.q-back:hover { color: var(--text); }
.q-back[disabled] { opacity: 0.35; pointer-events: none; }
.q-hint { font-size: 12.5px; color: var(--faint); }

/* ---------- loading ---------- */
.q-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 46vh; text-align: center; }
.q-loading .q-scan { width: 120px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.q-loading .q-scan::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: var(--accent); border-radius: 2px;
  animation: q-scan 1.1s var(--ease) infinite;
}
@keyframes q-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.q-loading p { color: var(--muted); font-size: 15px; }

/* ---------- result ---------- */
.r-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.r-source { font-size: 11.5px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.r-source.ai { border-color: var(--sage); color: var(--sage); }
.r-archetype { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.035em; margin-top: 14px; }
.r-archetype-line { color: var(--muted); margin-top: 12px; max-width: 50ch; }

.r-bars { margin-top: 34px; display: grid; gap: 18px; }
.r-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.r-bar-name { font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.r-bar-name i { width: 8px; height: 8px; border-radius: 2px; }
.r-bar-pct { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 650; }
.r-bar-track { position: relative; height: 8px; border-radius: 99px; background: var(--sand); margin-top: 8px; overflow: hidden; }
.r-bar-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; transition: width 0.9s var(--ease); }
.r-bar-poles { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 12px; color: var(--faint); }
.r-bar-poles b { color: var(--muted); font-weight: 650; }

/* ---------- the 30% reveal ---------- */
.r-insight { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.r-insight-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.r-insight-title { font-family: var(--sans); font-size: 13px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.r-meter { display: flex; align-items: center; gap: 10px; }
.r-meter-track { width: 90px; height: 4px; border-radius: 2px; background: var(--sand); overflow: hidden; }
.r-meter-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.r-meter-label { font-size: 12px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-insight-body { padding: 24px 22px 8px; }
.r-visible { font-size: 17.5px; line-height: 1.75; color: #2B2534; }
.r-visible::after { content: "…"; color: var(--faint); }
.r-visible::first-letter { font-family: var(--serif); font-size: 1.5em; font-weight: 600; color: var(--accent-ink); }
.r-chars { padding: 0 22px 16px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

.r-locked { position: relative; padding: 6px 22px 30px; }
.r-redact { display: grid; gap: 11px; filter: blur(0.4px); opacity: 0.85; }
.r-redact span { display: block; height: 13px; border-radius: 4px; background: var(--line); }
.r-redact span:nth-child(3n) { background: var(--line-strong); opacity: 0.7; }
.r-locked::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--surface) 78%);
  pointer-events: none;
}
.r-lock-badge {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; border-radius: 99px; padding: 9px 18px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 24px rgba(21,18,26,0.18);
}
.r-lock-badge svg { width: 14px; height: 14px; }

/* ---------- unlock CTA ---------- */
.r-cta { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--sand); padding: clamp(24px, 3.4vw, 34px); }
.r-cta h2 { font-size: clamp(24px, 3.2vw, 33px); letter-spacing: -0.03em; }
.r-cta > p { color: var(--muted); margin-top: 12px; max-width: 50ch; font-size: 15.5px; }
.r-unlocks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.r-unlocks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.r-unlocks li::before { content: "✓"; color: var(--sage); font-weight: 800; flex: none; }
.r-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.r-cta-fine { margin-top: 16px; font-size: 12.5px; color: var(--faint); }
.r-restart { margin-top: 26px; }

@media (max-width: 760px) {
  .q-text { max-width: none; }
  .q-head { flex-wrap: wrap; }
  .r-insight-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .r-cta-actions .btn { flex: 1 1 auto; }
  .r-lock-badge { font-size: 12px; padding: 8px 14px; }
}