/* Quiz + results — used by /companies/ai-adoption/ */

.assessment {
  padding: 56px 64px 110px;
}
.quiz-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(23, 32, 59, .12);
  box-shadow: 6px 6px 0 rgba(192, 146, 47, .22);
}
.progress-track {
  height: 4px;
  background: rgba(23, 32, 59, .07);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8E6520, #D9B064, var(--gold));
  transition: width .7s cubic-bezier(.22, 1, .36, 1);
}
.quiz-body { padding: clamp(28px, 5vw, 54px); }
.quiz-head { text-align: center; margin-bottom: 40px; }
.section-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
}
.section-badge.navy { background: var(--navy); }
.quiz-head h2 {
  margin: 18px 0 8px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
}
.quiz-head p { margin: 0; font-size: 15px; color: var(--ink); }

.question { margin-bottom: 36px; }
.question-title {
  margin: 0 0 14px;
  font-size: 16.5px;
  font-weight: 600;
}
.scale-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.opts { display: flex; gap: 12px; }
.opt {
  flex: 1;
  padding: 16px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid rgba(192, 146, 47, .45);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
.opt:hover { border-color: var(--gold); transform: translateY(-1px); }
.opt.is-on {
  background: var(--gold);
  color: var(--sand);
  border-color: var(--gold);
}

.quiz-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}
.continue-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  background: rgba(23, 32, 59, .12);
  color: var(--muted);
  cursor: default;
}
.continue-btn.is-ready {
  background: var(--navy);
  color: var(--sand);
  cursor: pointer;
}
.continue-btn.is-ready:hover { background: #10172E; }
.progress-label {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.privacy-note {
  max-width: 880px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.score-note {
  position: absolute;
  top: -15px;
  right: 26px;
  transform: rotate(2deg);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  background: #fff;
  padding: 0 10px;
  border: 1px solid rgba(192, 146, 47, .3);
}

.results { display: none; }
.results.is-on { display: block; }
.quiz-view.is-off { display: none; }
.results-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.dial-wrap {
  position: relative;
  width: 216px;
  height: 216px;
  justify-self: center;
}
.dial-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.dial-score {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}
.dial-meta {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.verdict-title {
  margin: 0 0 10px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
}
.verdict-copy {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
.sub-row { margin-bottom: 16px; }
.sub-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
}
.sub-top span:first-child { font-size: 13px; font-weight: 600; }
.sub-top span:last-child { font-size: 11.5px; color: var(--muted); }
.sub-track {
  height: 7px;
  background: rgba(23, 32, 59, .07);
  overflow: hidden;
}
.sub-fill { height: 100%; width: 0%; }
.focus-line {
  margin: 22px 0 0;
  font-size: 13.5px;
}
.focus-line strong { color: var(--gold); }
.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px;
  text-decoration: none;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.rec-card:hover { transform: translateY(-3px); }
.rec-primary {
  background: var(--navy);
  color: var(--sand);
}
.rec-primary:hover { color: var(--sand); box-shadow: 0 18px 44px rgba(23, 32, 59, .28); }
.rec-secondary {
  background: var(--cream);
  border: 1px solid rgba(23, 32, 59, .15);
  color: var(--navy);
}
.rec-secondary:hover { border-color: var(--gold); color: var(--navy); }
.rec-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.rec-secondary .rec-kicker { color: var(--muted); }
.rec-card h3 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 26px;
}
.rec-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244, 237, 221, .7);
}
.rec-secondary p { color: var(--ink); }
.rec-cta {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.rec-secondary .rec-cta { color: var(--gold); }
.restart-wrap { display: flex; justify-content: center; margin-top: 32px; }
.restart-btn {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(23, 32, 59, .25);
  padding: 0 0 3px;
  cursor: pointer;
}
.restart-btn:hover { color: var(--gold); }

@media (max-width: 900px) {
  .assessment { padding-left: 24px; padding-right: 24px; }
  .pillars, .results-grid, .rec-grid { grid-template-columns: 1fr; }
  .opts { gap: 8px; }
  .opt { padding: 14px 0; }
  .score-note { display: none; }
}
