/* ============================================================
   Progress Tab — /quiz styles. Reuses the landing tokens + fonts
   from styles.css (linked first); this file is quiz-only chrome in
   the same warm "quiet instrument" system.
   ============================================================ */
.quiz-body { min-height: 100vh; background: var(--bg); color: var(--ink); }

/* ---- top nav ---- */
.q-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 720px; margin: 0 auto; padding: 22px 24px;
}
.q-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; }
.q-led { width: 11px; height: 11px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(46,107,90,.12); }
.q-lang { display: inline-flex; gap: 2px; }
.q-lang-btn { border: 0; background: transparent; color: var(--mute); font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 12px; cursor: pointer; letter-spacing: .03em; border-radius: 8px; }
.q-lang-btn[aria-pressed="true"] { color: var(--teal-dark); background: rgba(46,107,90,.08); }

/* ---- shared column ---- */
.q-wrap { max-width: 640px; margin: 0 auto; padding: 20px 24px 96px; }
.q-kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--teal); background: rgba(46,107,90,.08); padding: 6px 12px; border-radius: 999px; }
.q-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.14; letter-spacing: -.012em; color: var(--head); margin: 18px 0 0; }
.q-lede { color: var(--body); font-size: 1.06rem; line-height: 1.6; margin: 16px 0 0; }
.q-back { display: block; margin-top: 22px; color: var(--slate); text-decoration: none; font-size: .95rem; font-weight: 500; }
.q-back:hover { color: var(--teal-dark); }

/* ---- primary + ghost buttons ---- */
.q-cta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; cursor: pointer;
  background: var(--teal); color: #fff; font: inherit; font-weight: 600; font-size: 1.02rem;
  padding: 14px 26px; border-radius: 13px; box-shadow: 0 12px 26px -14px rgba(46,107,90,.9), 0 1px 0 rgba(36,86,71,.4);
  transition: transform .14s ease, background .14s ease;
}
.q-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }
.q-ghost { border: 1px solid var(--edge2); background: var(--card); color: var(--teal-dark); font: inherit; font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 12px; cursor: pointer; transition: border-color .14s ease, background .14s ease; }
.q-ghost:hover { border-color: var(--teal); background: #fff; }

/* ---- intro / result centred ---- */
.q-intro, .q-result { text-align: center; padding-top: 40px; }
.q-intro .q-lede, .q-result .q-lede { max-width: 34rem; margin-left: auto; margin-right: auto; }
.q-intro .q-cta, .q-result .q-add { margin-top: 30px; }

/* ---- progress ---- */
.q-progress { display: flex; flex-direction: column; gap: 8px; color: var(--mute); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.q-bar { height: 4px; background: var(--rule); border-radius: 999px; overflow: hidden; }
.q-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--dawn)); border-radius: 999px; transition: width .35s ease; }

/* ---- question ---- */
.q-metric { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.2; color: var(--head); margin: 28px 0 0; }
.q-ask { color: var(--slate); font-size: 1rem; margin: 10px 0 22px; }
.q-choices { display: grid; gap: 12px; }
.q-choice {
  width: 100%; text-align: left; border: 1px solid var(--card-rule); background: var(--card); color: var(--head2);
  font: inherit; font-weight: 600; font-size: 1.2rem; padding: 18px 22px; border-radius: 14px; cursor: pointer;
  box-shadow: 0 8px 22px -18px rgba(40,36,30,.5); transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.q-choice:hover { border-color: var(--teal); transform: translateY(-1px); box-shadow: 0 12px 26px -18px rgba(46,107,90,.7); }

/* ---- reveal ---- */
.q-card-slot { display: flex; justify-content: center; margin: 26px 0 4px; min-height: 60px; }
.q-card { width: 100%; max-width: 420px; height: auto; border-radius: 18px; border: 1px solid var(--card-rule); box-shadow: 0 20px 44px -26px rgba(40,36,30,.55); background: #FBFCFD; }
.q-compare { text-align: center; color: var(--slate); font-size: 1.06rem; margin: 20px 0 0; }
.q-compare .q-you { color: var(--teal-dark); }
.q-compare .q-real { color: var(--dawn-num); }
.q-compare .q-tail { color: var(--mute2); font-weight: 500; }
.q-src { text-align: center; color: var(--mute); font-size: .9rem; margin: 8px 0 0; }
.q-src a { color: var(--teal-dark); text-decoration: none; }
.q-src a:hover { text-decoration: underline; }
.q-actions { display: flex; justify-content: center; gap: 12px; margin: 26px 0 0; flex-wrap: wrap; }
.q-msg { display: block; text-align: center; color: var(--teal-dark); font-size: .88rem; font-weight: 600; min-height: 1.2em; margin-top: 12px; }

/* ---- result ---- */
.q-score { font-family: var(--serif); color: var(--dawn-num); font-size: 1.15rem; font-weight: 600; margin: 14px 0 0; }
.q-add-sub { display: block; color: var(--mute); font-size: .9rem; margin-top: 12px; }
.q-result-actions { display: flex; justify-content: center; gap: 12px; margin: 30px 0 0; flex-wrap: wrap; }

@media (max-width: 480px) {
  .q-wrap { padding: 16px 18px 80px; }
  .q-choice { font-size: 1.1rem; padding: 16px 18px; }
}
