/* ==========================================================================
   Assessment experience styles
   ========================================================================== */

.assess-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #FAFBFD 0%, #F4F6FC 100%);
  padding-block: 30px 60px;
}
.assess-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 34px;
}
.assess-topbar .brand__name { font-size: .95rem; }
.assess-exit {
  font-size: .86rem; font-weight: 700; color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.assess-exit:hover { color: var(--navy); }

.assess-card {
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) { .assess-card { padding: 46px; } }

.assess-step { display: none; }
.assess-step.is-active { display: block; animation: fadeSlideIn .4s var(--ease); }

/* Intro step */
.assess-intro { text-align: center; }
.assess-intro .eyebrow { margin-bottom: 20px; }
.assess-intro h1 { margin-bottom: 10px; }
.assess-intro p.text-lead { max-width: 420px; margin: 0 auto 30px; }
.assess-meta { display: flex; justify-content: center; gap: 28px; margin-bottom: 34px; flex-wrap: wrap; }
.assess-meta__item { text-align: center; }
.assess-meta__item strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.assess-meta__item span { font-size: .78rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

/* Progress */
.assess-progress { margin-bottom: 30px; }
.assess-progress__labels { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .84rem; font-weight: 700; color: var(--navy-soft); }
.assess-progress__labels span:last-child { color: var(--blue); }
.assess-progress__bar { height: 8px; border-radius: var(--r-pill); background: var(--sky); overflow: hidden; }
.assess-progress__fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: var(--r-pill); transition: width .4s var(--ease); }

/* Question */
.q-heading { font-size: clamp(1.25rem, 3vw, 1.55rem); margin-bottom: 26px; }
.q-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.q-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  text-align: left;
  width: 100%;
  min-height: 56px;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .1s var(--ease);
}
.q-option:hover { border-color: var(--blue); background: var(--sky); }
.q-option:active { transform: scale(0.99); }
.q-option__check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.q-option__check svg { opacity: 0; transform: scale(0.5); transition: opacity .15s var(--ease), transform .15s var(--ease); }
.q-option__text { font-size: .97rem; color: var(--navy); font-weight: 500; }
.q-option[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--sky);
  box-shadow: 0 0 0 3px rgba(44,75,224,0.1);
}
.q-option[aria-pressed="true"] .q-option__check { background: var(--blue); border-color: var(--blue); }
.q-option[aria-pressed="true"] .q-option__check svg { opacity: 1; transform: scale(1); color: var(--white); }

.assess-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assess-nav .btn { flex: 1; }
.assess-nav .btn--ghost { flex: 0 0 auto; }

/* Student info form (uses .form-grid from main.css) */
.assess-form-note { font-size: .82rem; color: var(--ink-muted); margin-top: 4px; }

/* Review */
.review-summary { background: var(--sky); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 24px; display: grid; gap: 10px; }
.review-summary__row { display: flex; justify-content: space-between; font-size: .92rem; }
.review-summary__row span:first-child { color: var(--ink-muted); font-weight: 600; }
.review-summary__row span:last-child { color: var(--navy); font-weight: 700; }
.review-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 10px 16px; border-radius: var(--r-pill); font-size: .88rem; font-weight: 700; color: var(--success); margin-bottom: 24px; }

/* Analysis / processing */
.analysis-wrap { text-align: center; padding: 20px 0; }
.analysis-spinner {
  width: 74px; height: 74px; margin: 0 auto 30px;
  border-radius: 50%;
  border: 5px solid var(--sky);
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}
.analysis-line { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); min-height: 1.4em; }

/* Result */
.result-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--lavender); color: var(--violet); font-weight: 700; font-size: .8rem; padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 18px; }
.result-title { margin-bottom: 12px; }
.result-desc { color: var(--ink-muted); margin-bottom: 26px; }
.result-fits { text-align: left; background: var(--sky); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 30px; }
.result-fits h4 { margin-bottom: 14px; font-size: .95rem; }
.result-fits ul { display: flex; flex-direction: column; gap: 10px; }
.result-fits li { display: flex; gap: 10px; font-size: .92rem; color: var(--navy-soft); align-items: flex-start; }
.result-fits svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.result-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) { .result-actions { flex-direction: row; } .result-actions .btn { flex: 1; } }

/* Thank you */
.thankyou-check {
  width: 84px; height: 84px; margin: 0 auto 24px;
  border-radius: 50%; background: #ECFBF4;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  animation: popIn .5s var(--ease);
}
.thankyou-email-note { font-size: .88rem; color: var(--ink-muted); background: var(--sky); border-radius: var(--r-sm); padding: 12px 16px; margin: 20px 0 28px; }
