/* ============================================================
   Celva Bio — Fit quiz styles
   Extracted from the former pricing.css when pricing was
   removed from the site. The qualification quiz now lives at
   experience.html#fit. The --pricing-* tokens below are the
   former pricing-page palette values the quiz depended on,
   kept under their original names so this is a verbatim
   extraction (every reference stays in this file). Global
   tokens (--ink, --ink-soft,
   --ink-muted, --font-display) come from colors_and_type.css
   via site.css.
   ============================================================ */

:root {
  --pricing-cream: #F4EFE3;
  --pricing-gold-deep: #8B6F47;
  --pricing-navy: #0B1D3A;
  --pricing-border: rgba(11, 29, 58, 0.14);
  --font-mono-lit: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* ---------------- EMBEDDED QUIZ ---------------- */
.qz {
  background: var(--pricing-cream);
  padding: 96px 64px;
  border-top: 1px solid var(--pricing-border);
}
.qz__inner { max-width: 960px; margin: 0 auto; }
.qz__head { text-align: center; margin-bottom: 48px; }
.qz__tag {
  font-family: var(--font-mono-lit); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--pricing-gold-deep);
  margin-bottom: 18px;
}
.qz__head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 300; line-height: 1.08; letter-spacing: -0.015em;
  margin: 0 0 18px; color: var(--ink); text-wrap: balance;
}
.qz__head h2 em { font-style: italic; color: var(--pricing-gold-deep); font-weight: 400; }
.qz__lede {
  font-size: 15.5px; line-height: 1.7; color: var(--ink-soft);
  max-width: 56ch; margin: 0 auto;
}

.qz__progress { margin-bottom: 24px; display: none; }
.qz__progress.is-on { display: block; }
.qz__progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono-lit); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 10px;
}
.qz__progress-bar {
  height: 2px; background: rgba(11,29,58,0.10);
  position: relative; overflow: hidden;
}
.qz__progress-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--pricing-gold-deep);
  transition: width .35s ease;
}

.qz__card {
  background: #fff;
  border: 1px solid var(--pricing-border);
  padding: 48px 52px;
  display: none;
  position: relative;
}
.qz__card.is-on { display: block; }
.qz__eyebrow {
  font-family: var(--font-mono-lit); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pricing-gold-deep);
  margin-bottom: 14px;
}
.qz__q {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400; line-height: 1.25; letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.qz__intro {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
  margin: 0 0 24px; max-width: 56ch;
}
.qz__bullets { list-style: none; margin: 0 0 32px; padding: 0; }
.qz__bullets li {
  font-size: 14px; line-height: 1.5; color: var(--ink-soft);
  padding: 6px 0 6px 20px; position: relative;
}
.qz__bullets li::before {
  content: '+';
  position: absolute; left: 0; top: 6px;
  font-family: var(--font-mono-lit); font-size: 12px;
  color: var(--pricing-gold-deep); font-weight: 500;
}

.qz__opts { display: flex; flex-direction: column; gap: 8px; }
.qz__opt {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--pricing-border);
  background: var(--pricing-cream);
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.qz__opt:hover { border-color: var(--pricing-gold-deep); background: #fff; }
.qz__opt.is-selected { border-color: var(--pricing-gold-deep); background: #fff; }
.qz__opt-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--pricing-border);
  flex-shrink: 0; position: relative;
  transition: all .18s;
}
.qz__opt.is-selected .qz__opt-dot {
  border-color: var(--pricing-gold-deep);
  background: var(--pricing-gold-deep);
}
.qz__opt.is-selected .qz__opt-dot::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: #fff;
}
.qz__opt-text { font-size: 15px; line-height: 1.45; color: var(--ink); }

.qz__nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; gap: 16px;
}
.qz__back {
  font-family: var(--font-mono-lit); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted);
  background: none; border: none; cursor: pointer; padding: 8px 0;
  transition: color .2s;
}
.qz__back:hover:not(:disabled) { color: var(--ink); }
.qz__back:disabled { opacity: 0.3; cursor: default; }
.qz__next {
  background: var(--pricing-navy); color: #fff;
  border: 1px solid var(--pricing-navy);
  padding: 14px 28px;
  font-family: var(--font-mono-lit); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.qz__next:hover:not(:disabled) { background: var(--pricing-gold-deep); border-color: var(--pricing-gold-deep); }
.qz__next:disabled { opacity: 0.35; cursor: default; }
.qz__start {
  background: var(--pricing-navy); color: #fff;
  border: 1px solid var(--pricing-navy);
  padding: 16px 36px;
  font-family: var(--font-mono-lit); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: pointer; width: 100%;
  transition: background .2s, border-color .2s;
}
.qz__start:hover { background: var(--pricing-gold-deep); border-color: var(--pricing-gold-deep); }

.qz__capture h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 14px; color: var(--ink);
}
.qz__capture h3 em { font-style: italic; color: var(--pricing-gold-deep); }
.qz__capture > p {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
  max-width: 52ch; margin: 0 0 28px;
}
.qz__form { display: flex; flex-direction: column; gap: 14px; }
.qz__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qz__field { display: flex; flex-direction: column; gap: 6px; }
.qz__field label {
  font-family: var(--font-mono-lit); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-muted);
}
.qz__field input {
  padding: 14px 16px;
  border: 1px solid var(--pricing-border);
  background: var(--pricing-cream);
  font-family: inherit; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .2s, background .2s;
}
.qz__field input:focus { border-color: var(--pricing-gold-deep); background: #fff; }
.qz__field input::placeholder { color: rgba(11,29,58,0.35); }
.qz__submit {
  background: var(--pricing-navy); color: #fff;
  border: 1px solid var(--pricing-navy);
  padding: 16px;
  font-family: var(--font-mono-lit); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
  margin-top: 6px;
  transition: background .2s, border-color .2s;
}
.qz__submit:hover:not(:disabled) { background: var(--pricing-gold-deep); border-color: var(--pricing-gold-deep); }
.qz__submit:disabled { opacity: 0.6; cursor: wait; }
.qz__micro {
  font-family: var(--font-mono-lit); font-size: 10px; letter-spacing: 0.06em;
  color: var(--ink-muted); text-align: center; margin-top: 10px; line-height: 1.6;
}
.qz__foot {
  text-align: center; margin-top: 28px;
  font-family: var(--font-mono-lit); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-muted); font-style: italic;
}

@media (max-width: 720px) {
  .qz { padding: 72px 24px; }
  .qz__card { padding: 32px 24px; }
  .qz__form-row { grid-template-columns: 1fr; }
  .qz__nav { flex-direction: row; }
  .qz__next, .qz__back { white-space: nowrap; }
}
