/* ============================================================
   Troveo Data Value Quiz — repository marketing theme
   Page #0E0E11 · accent #0A7AFF · inherited Helvetica Now Display
   ============================================================ */

.msp-assessment {
  /* ---- palette (from Figma) ---- */
  --bg: #0E0E11;
  --nav-bg: #000000;
  --footer-bg: #1E1E21;
  --card-bg: #151515;
  --pill-dark: #1E1E1E;
  --mark-unsel: #1D1D1D;
  --mark-stroke: #3E3E41;
  --track: #252528;
  --backbtn-bg: #232323;
  --nav-border: #353535;

  --accent: #0A7AFF;
  --accent-hover: #2A8CFF;

  --white: rgb(242, 242, 247);
  --muted: rgba(242, 242, 247, 0.55);
  --subtle: rgba(242, 242, 247, 0.7);
  --faint: rgba(242, 242, 247, 0.48);

  /* ---- type ---- */

  /* ---- geometry ---- */
  --radius-card: 12px;
  --radius-mark: 6px;
  --radius-pill: 99px;
  --radius-lg: 12px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shell: 1600px;
  --gutter: 24px;
}
/* ---- reset ---- */
.msp-assessment *, .msp-assessment *::before, .msp-assessment *::after { box-sizing: border-box; margin: 0; padding: 0; }
.msp-assessment {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  box-sizing: border-box; margin: 0; padding: 0;
  min-height: 100dvh; line-height: 1.5;
  font-family: inherit; font-size: 16px;
  color: var(--white); background: var(--bg);
  display: flex; flex-direction: column;
}
.msp-assessment img, .msp-assessment svg { display: block; max-width: 100%; }
.msp-assessment ul[role='list'] { list-style: none; }
.msp-assessment input, .msp-assessment button, .msp-assessment textarea, .msp-assessment select { font: inherit; color: inherit; }
.msp-assessment button { cursor: pointer; }
.msp-assessment h1, .msp-assessment h2, .msp-assessment h3 { font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
.msp-assessment p, .msp-assessment li { text-wrap: pretty; }
.msp-assessment ::selection { background: color-mix(in oklab, var(--accent) 35%, transparent); }
.msp-assessment :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .msp-assessment *, .msp-assessment *::before, .msp-assessment *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.msp-assessment .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */

/* ============================================================
   LAYOUT
   ============================================================ */
.msp-assessment { flex: 1 0 auto; width: 100%; }
.msp-assessment .shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.msp-assessment .screen[hidden] { display: none; }
.msp-assessment .screen { animation: fade-up .45s var(--transition) both; }
@media (min-width: 768px) {
  .msp-assessment { --gutter: 160px; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   BUTTONS (pills)
   ============================================================ */
.msp-assessment .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: 0;
  padding: 12px 28px; border-radius: 9999px; white-space: nowrap;
  border: 0 solid transparent;
  transition: color 150ms, background-color 150ms, border-color 150ms;
}
.msp-assessment .btn--primary { background: var(--accent); color: #fff; }
.msp-assessment .btn--primary:hover:not(:disabled) {
  background: color-mix(in oklab, var(--accent) 90%, transparent);
}
.msp-assessment .btn--primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 40%, transparent);
}
.msp-assessment .btn--primary:disabled { opacity: .4; cursor: not-allowed; }
.msp-assessment .btn--dark {
  background: var(--pill-dark); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.msp-assessment .btn--dark:hover { background: #2A2A2A; }
.msp-assessment .btn--full { width: 100%; }
.msp-assessment .btn--lg { padding: 12px 28px; font-size: 13px; }
.msp-assessment .btn--sm { min-height: 36px; padding: 8px 20px; font-size: 12px; }

/* ============================================================
   HERO / INTRO
   ============================================================ */
.msp-assessment .screen--hero { padding: 48px 0 72px; }
.msp-assessment .hero-title {
  font-size: 32px; font-weight: 300; color: var(--white);
  max-width: 24ch; margin-bottom: 24px; line-height: 1.1; letter-spacing: -0.01em;
  text-wrap: balance;
}
.msp-assessment .hero-title:focus, .msp-assessment .quiz-question:focus, .msp-assessment .gate-title:focus, .msp-assessment .result-archetype:focus { outline: none; }
.msp-assessment .hero-title .accent { color: var(--white); }
.msp-assessment .hero-lead {
  font-size: 16px; color: var(--muted); max-width: 56ch;
  margin-bottom: 20px; line-height: 1.4; font-weight: 300; letter-spacing: 0.02em;
}
.msp-assessment .hero-lead--tight { color: var(--subtle); margin-bottom: 32px; }
.msp-assessment .hero-note {
  font-size: 14px; font-weight: 300; color: var(--faint);
  max-width: 62ch; margin-top: 24px; line-height: 1.5; letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .msp-assessment .screen--hero { padding: 64px 0 96px; }
  .msp-assessment .hero-title { font-size: 46px; }
}

/* two-column hero top */
.msp-assessment .hero-top {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  column-gap: clamp(32px, 5vw, 72px); align-items: start;
}

/* sample-result visual */
.msp-assessment .hero-visual { margin: 0; }
.msp-assessment .hv-card {
  background: #141417; border: 1px solid #202024; border-radius: var(--radius-lg);
  padding: 26px 28px 28px;
}
.msp-assessment .hv-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 4px;
}
.msp-assessment .hv-gauge { display: block; width: 100%; height: auto; }
.msp-assessment .hv-gauge text { font-family: inherit; font-size: 12px; font-weight: 300; fill: var(--faint); }
.msp-assessment .hv-gauge .hv-max { text-anchor: end; }
.msp-assessment .hv-score {
  font-size: 40px; font-weight: 300; color: var(--white); line-height: 1;
  text-align: center; margin-top: -6px;
}
.msp-assessment .hv-score .hv-of { font-size: 17px; color: var(--faint); margin-left: 3px; }
.msp-assessment .hv-band {
  text-align: center; font-size: 14px; font-weight: 400; color: #30C46F;
  margin-top: 8px; margin-bottom: 22px;
}
.msp-assessment .hv-bars { list-style: none; display: grid; row-gap: 12px; }
.msp-assessment .hv-bars li { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; }
.msp-assessment .hv-bn { font-size: 13px; font-weight: 300; color: var(--subtle); }
.msp-assessment .hv-bt {
  grid-column: 1 / -1; height: 5px; border-radius: var(--radius-pill);
  background: var(--track); overflow: hidden;
}
.msp-assessment .hv-bf { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--accent); }
.msp-assessment .hv-cap {
  font-size: 12px; font-weight: 300; color: var(--faint);
  margin-top: 12px; line-height: 1.45; text-align: center;
}

@media (max-width: 900px) {
  .msp-assessment .hero-top { grid-template-columns: 1fr; row-gap: 40px; }
  .msp-assessment .hero-visual { max-width: 420px; }
}

/* avoid a dangling separator when the trust line wraps */
@media (max-width: 520px) {
  .msp-assessment .hero-trust { column-gap: 16px; }
  .msp-assessment .hero-trust .dot { display: none; }
}

/* benefits card */
.msp-assessment .hero-card {
  background: #141417; border: 1px solid #202024; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 80px); row-gap: 40px;
  margin-top: 44px;
}
.msp-assessment .hero-benefit { display: flex; gap: 16px; align-items: flex-start; }
.msp-assessment .hero-benefit .check {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
  border-radius: var(--radius-pill); background: var(--accent);
  display: grid; place-items: center;
}
.msp-assessment .hero-benefit .check svg { width: 12px; height: 12px; color: #fff; }
.msp-assessment .hero-benefit .b-title { font-size: 16px; font-weight: 400; color: var(--white); line-height: 1.3; letter-spacing: 0.02em; }
.msp-assessment .hero-benefit .b-sub { font-size: 15px; font-weight: 300; color: var(--muted); margin-top: 6px; line-height: 1.4; letter-spacing: 0.02em; }

.msp-assessment .hero-cta { margin-bottom: 20px; }
.msp-assessment .hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--faint); font-size: 15px; font-weight: 300;
}
.msp-assessment .hero-trust .dot { color: var(--faint); }

@media (max-width: 700px) {
  .msp-assessment .hero-card { grid-template-columns: 1fr; row-gap: 28px; }
}

/* ============================================================
   QUIZ QUESTION
   ============================================================ */
.msp-assessment .screen--quiz { padding: 48px 0 72px; }
@media (min-width: 768px) { .msp-assessment .screen--quiz { padding: 64px 0 96px; } }

/* progress row */
.msp-assessment .quiz-progress { margin-bottom: 40px; }
.msp-assessment .quiz-progress-head {
  display: flex; justify-content: space-between;
  font-size: 15px; font-weight: 300; color: var(--subtle);
  margin-bottom: 14px; letter-spacing: 0.03em;
}
.msp-assessment .quiz-progress-bar { height: 3px; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; }
.msp-assessment .quiz-progress-fill { height: 100%; width: 10%; border-radius: var(--radius-pill); background: var(--accent); transition: width .4s var(--transition); }

/* title block with optional back button */
.msp-assessment .quiz-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
.msp-assessment .back-circle {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 47px;
  background: var(--backbtn-bg); display: grid; place-items: center;
  color: var(--white); transition: all var(--transition); margin-top: 2px;
}
.msp-assessment .back-circle:hover { background: #2E2E2E; }
.msp-assessment .back-circle svg { width: 16px; height: 16px; }
.msp-assessment .quiz-head-text { flex: 1; }
.msp-assessment .quiz-kicker { display: none; }
.msp-assessment .quiz-question {
  font-size: 28px; font-weight: 300; color: var(--white);
  line-height: 1.2; letter-spacing: -0.01em;
}
.msp-assessment .quiz-hint { font-size: 16px; color: var(--muted); margin-top: 10px; font-weight: 300; line-height: 1.4; letter-spacing: 0.02em; }
@media (min-width: 768px) { .msp-assessment .quiz-question { font-size: 32px; } }

/* option cards */
.msp-assessment .quiz-options { display: grid; gap: 12px; }
/* "cloud" layout: many short options, two per row on wide screens */
.msp-assessment .quiz-options.is-cloud { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .msp-assessment .quiz-options.is-cloud { grid-template-columns: 1fr; } }
.msp-assessment .quiz-option {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  min-height: 68px; padding: 20px 24px; border-radius: var(--radius-card);
  border: 1px solid transparent; background: var(--card-bg);
  color: var(--white); transition: border-color var(--transition), background var(--transition);
}
.msp-assessment .quiz-option:hover { border-color: rgba(255,255,255,0.14); }
.msp-assessment .quiz-option.is-selected { border-color: var(--accent); border-width: 2px; padding: 19px 23px; }
.msp-assessment .quiz-option .opt-mark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--radius-pill);
  background: var(--mark-unsel); border: 1px solid var(--mark-stroke);
  display: grid; place-items: center; transition: all var(--transition);
}
.msp-assessment .quiz-option[data-multi] .opt-mark { border-radius: var(--radius-mark); }
.msp-assessment .quiz-option.is-selected .opt-mark { border-color: var(--accent); background: var(--accent); }
.msp-assessment .quiz-option .opt-mark svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity var(--transition); }
.msp-assessment .quiz-option.is-selected .opt-mark svg { opacity: 1; }
.msp-assessment .quiz-option:disabled { cursor: default; }
.msp-assessment .quiz-option .opt-label { flex: 1; font-size: 16px; font-weight: 400; color: var(--white); line-height: 1.35; letter-spacing: 0.02em; }
.msp-assessment .quiz-option .opt-sub { display: block; font-size: 15px; font-weight: 300; color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; }

/* ------------------------------------------------------------
   LEVEL 2 grouped per-system screen: several labeled
   sub-questions, each a wrap row of tappable range chips.
   Auto-advances once all three sub-questions are answered.
   ------------------------------------------------------------ */
.msp-assessment .quiz-options.is-grouped { gap: 26px; }
.msp-assessment .l2-subq { display: grid; gap: 12px; }
.msp-assessment .l2-subq-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--faint);
}
.msp-assessment .l2-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.msp-assessment .l2-chip {
  font: inherit; font-size: 14px; cursor: pointer; line-height: 1.2;
  padding: 11px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--mark-stroke); background: var(--card-bg);
  color: var(--white); transition: border-color var(--transition), background var(--transition);
}
.msp-assessment .l2-chip:hover { border-color: rgba(255,255,255,0.4); }
.msp-assessment .l2-chip.is-selected {
  border-color: var(--accent); border-width: 2px;
  padding: 10px 17px; background: rgba(255,255,255,0.04);
}
.msp-assessment .l2-subq-note {
  display: block; margin-top: 5px; font-size: 13px; font-weight: 300;
  letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.4;
}

/* ------------------------------------------------------------
   PRETEXT PANEL
   Used on the volumes screen to set expectations before a long
   question: says plainly that this is the heavy part and the
   only one, and that best-guess ranges are fine.
   ------------------------------------------------------------ */
.msp-assessment .quiz-pretext {
  margin: -16px 0 28px; padding: 20px 22px;
  background: linear-gradient(180deg, rgba(10,122,255,0.10), rgba(10,122,255,0.03));
  border: 1px solid rgba(10,122,255,0.28); border-radius: var(--radius-lg);
  text-align: left;
}
.msp-assessment .quiz-pretext[hidden] { display: none; }
.msp-assessment .pretext-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #4F95FF;
  margin-bottom: 10px;
}
.msp-assessment .pretext-title {
  font-size: 17px; font-weight: 500; color: var(--white);
  line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 8px;
}
.msp-assessment .pretext-body {
  font-size: 14.5px; font-weight: 300; color: var(--subtle);
  line-height: 1.6; max-width: 68ch;
}

/* ------------------------------------------------------------
   VOLUMES SCREEN
   One card per platform the respondent named, each with three
   range rows. A card checks off when complete, and a live tally
   below tells them how much is left — a long screen needs to
   feel finishable.
   ------------------------------------------------------------ */
.msp-assessment .quiz-options.is-volumes { gap: 16px; }
.msp-assessment .vol-card {
  text-align: left; padding: 22px 24px 6px;
  background: var(--card-bg); border: 1px solid #232326;
  border-radius: var(--radius-lg); transition: border-color var(--transition);
}
.msp-assessment .vol-card.is-complete { border-color: rgba(74,222,128,0.35); }
.msp-assessment .vol-card--wide { background: #101013; border-style: dashed; border-color: #2C2C31; }
.msp-assessment .vol-card--wide.is-complete { border-style: solid; border-color: rgba(74,222,128,0.35); }

.msp-assessment .vol-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.msp-assessment .vol-head-text { flex: 1; min-width: 0; }
.msp-assessment .vol-cat {
  font-size: 16px; font-weight: 500; color: var(--white);
  line-height: 1.3; letter-spacing: -0.01em;
}
.msp-assessment .vol-tools {
  font-size: 13.5px; font-weight: 300; color: var(--muted);
  margin-top: 5px; line-height: 1.4;
}
.msp-assessment .vol-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--radius-pill);
  background: #4ADE80; display: grid; place-items: center;
  opacity: 0; transform: scale(.7); transition: all var(--transition);
}
.msp-assessment .vol-check svg { width: 12px; height: 12px; color: #0E0E11; }
.msp-assessment .vol-card.is-complete .vol-check { opacity: 1; transform: none; }

.msp-assessment .vol-row { display: grid; gap: 10px; margin-bottom: 20px; }
.msp-assessment .vol-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--white);
}
.msp-assessment .vol-note {
  display: block; margin-top: 5px; font-size: 13px; font-weight: 300;
  letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.4;
}
.msp-assessment .vol-row .l2-chip { font-size: 14px; padding: 10px 17px; }
.msp-assessment .vol-row .l2-chip.is-selected { padding: 9px 16px; }

.msp-assessment .vol-tally {
  margin-top: 4px; font-size: 13.5px; font-weight: 400;
  color: var(--muted); text-align: right;
  font-variant-numeric: tabular-nums;
}
.msp-assessment .vol-tally.is-done { color: #4ADE80; font-weight: 500; }

@media (max-width: 560px) {
  .msp-assessment .vol-card { padding: 18px 16px 4px; }
  .msp-assessment .vol-tally { text-align: left; }
}

/* Q5 drill-down: specific tools within each chosen category */
.msp-assessment .quiz-drilldown {
  margin-top: 20px; padding: 24px; background: #141417;
  border: 1px solid #202024; border-radius: var(--radius-lg);
  display: grid; gap: 22px; animation: drillIn 0.3s var(--transition);
}
/* The explicit display:grid above otherwise defeats the [hidden]
   attribute, leaving an empty bordered panel below every non-Q5
   question. This keeps the panel fully collapsed when hidden. */
.msp-assessment .quiz-drilldown[hidden] { display: none; }
@keyframes drillIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msp-assessment .drill-group { display: grid; gap: 10px; }
.msp-assessment .drill-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--faint);
}
.msp-assessment .drill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.msp-assessment .drill-chip {
  font: inherit; font-size: 14px; cursor: pointer;
  padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--mark-stroke); background: var(--mark-unsel);
  color: var(--white); transition: all var(--transition); line-height: 1.2;
}
.msp-assessment .drill-chip:hover { border-color: rgba(255,255,255,0.4); }
.msp-assessment .drill-chip.is-on { border-color: var(--accent); background: var(--accent); color: #fff; }

/* nav row (multi-select Continue) */
.msp-assessment .quiz-nav { display: flex; justify-content: flex-end; align-items: center; margin-top: 32px; }

/* ============================================================
   GATE (score-ready)
   ============================================================ */
.msp-assessment .screen--gate { padding: 48px 0 72px; }
.msp-assessment .gate-inner { text-align: center; max-width: 600px; margin: 0 auto; }

/* circular badge: navy disc + teal→blue gradient ring glow + checkmark */
.msp-assessment .gate-badge { position: relative; width: 160px; height: 160px; margin: 0 auto 40px; }
.msp-assessment .gate-badge .ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #17E0C4, #0A7AFF 55%, #17E0C4);
  padding: 2px;
  -webkit-mask: radial-gradient(circle, transparent 68%, #000 69%);
          mask: radial-gradient(circle, transparent 68%, #000 69%);
  box-shadow: 0 0 40px rgba(10,122,255,0.35);
}
.msp-assessment .gate-badge .disc {
  position: absolute; inset: 8px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #1a2436, #0c1018);
  display: grid; place-items: center;
}
.msp-assessment .gate-badge .disc svg { width: 52px; height: 52px; color: rgba(255,255,255,0.85); }

.msp-assessment .gate-title { font-size: 32px; font-weight: 300; color: var(--white); margin-bottom: 16px; }
.msp-assessment .gate-lead { color: var(--muted); font-size: 16px; font-weight: 300; margin-bottom: 40px; max-width: 42ch; margin-inline: auto; line-height: 1.4; letter-spacing: 0.02em; }

.msp-assessment .gate-form { display: grid; gap: 22px; text-align: left; }
.msp-assessment .field label { display: block; font-size: 15px; font-weight: 300; color: var(--subtle); margin-bottom: 10px; letter-spacing: 0.03em; }
.msp-assessment .field-optional { font-weight: 300; color: var(--muted); }
.msp-assessment .field-help { display: block; margin-top: 8px; font-size: 13px; font-weight: 300; line-height: 1.45; color: var(--muted); }
.msp-assessment .field input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-card);
  border: 1px solid #2A2A2E; background: #141417; color: var(--white);
  font-size: 15px; font-weight: 300; letter-spacing: 0.02em; transition: border-color var(--transition);
}
.msp-assessment .field input::placeholder { color: rgba(255,255,255,0.32); }
.msp-assessment .field input:focus { border-color: var(--accent); outline: none; }
.msp-assessment .field input.invalid { border-color: #FF5A6E; }
.msp-assessment .field-error { display: block; margin-top: 8px; color: #FF8795; font-size: 13px; line-height: 1.4; }
.msp-assessment .field-error[hidden] { display: none; }
.msp-assessment .gate-form .btn--primary { margin-top: 12px; }
.msp-assessment .gate-back { margin-top: 14px; }
.msp-assessment .gate-privacy { font-size: 13px; color: var(--faint); margin-top: 24px; font-weight: 300; }

/* ============================================================
   RESULT
   ============================================================ */
.msp-assessment .screen--result { padding: 48px 0 72px; }
.msp-assessment .result-inner { max-width: 640px; margin: 0 auto; }
.msp-assessment .result-card {
  background: #141417; border: 1px solid #202024; border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); text-align: center;
}
@media (min-width: 768px) {
  .msp-assessment .screen--gate, .msp-assessment .screen--result { padding: 64px 0 96px; }
}
.msp-assessment .result-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

/* ------------------------------------------------------------
   THE HEAT METER
   Semicircle gauge. The track carries the full red -> green
   spectrum at low opacity so the scale is legible before the
   fill lands; the value arc is the same gradient at full
   strength, clipped by stroke-dashoffset to the score. A dot
   marks the exact position, ticks mark the band boundaries.
   ------------------------------------------------------------ */
.msp-assessment .heat { position: relative; width: min(340px, 100%); margin: 18px auto 0; }
.msp-assessment .heat-svg { width: 100%; height: auto; overflow: visible; }
.msp-assessment .heat-track {
  fill: none; stroke: url(#heatGrad); stroke-width: 20;
  stroke-linecap: round; opacity: 0.16;
}
.msp-assessment .heat-value {
  fill: none; stroke: url(#heatGrad); stroke-width: 20;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.15s var(--transition);
}
.msp-assessment .heat-tick { stroke: #141417; stroke-width: 3; opacity: 1; }
.msp-assessment .heat-marker { transition: opacity .4s var(--transition) .9s; }
.msp-assessment .heat-marker-halo { fill: #141417; stroke: rgba(255,255,255,0.22); stroke-width: 1.5; }
.msp-assessment .heat-marker-dot { stroke: #141417; stroke-width: 2; }

.msp-assessment .heat-num {
  position: absolute; left: 0; right: 0; bottom: 15%;
  display: grid; gap: 2px; justify-items: center; pointer-events: none;
}
.msp-assessment .heat-num b {
  font-size: clamp(44px, 11vw, 54px); font-weight: 300;
  letter-spacing: -0.03em; line-height: 1; color: currentColor;
}
.msp-assessment .heat-num span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}

/* legend: all four bands named, active one lit */
.msp-assessment .heat-legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 22px auto 26px; max-width: 452px; text-align: left;
}
.msp-assessment .heat-leg {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 11px; border-radius: 8px;
  background: rgba(255,255,255,0.02); border: 1px solid transparent;
  transition: all var(--transition);
}
.msp-assessment .heat-leg.is-on { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.msp-assessment .heat-swatch {
  flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; opacity: 0.4;
}
.msp-assessment .heat-leg.is-on .heat-swatch { opacity: 1; box-shadow: 0 0 10px currentColor; }
.msp-assessment .heat-leg-label {
  flex: 1; font-size: 12px; font-weight: 400; line-height: 1.25;
  color: var(--muted); letter-spacing: -0.01em;
}
.msp-assessment .heat-leg.is-on .heat-leg-label { color: var(--white); font-weight: 500; }
.msp-assessment .heat-leg-range {
  flex-shrink: 0; font-size: 11px; font-weight: 400;
  font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.32);
}
.msp-assessment .heat-leg.is-on .heat-leg-range { color: var(--subtle); }
@media (max-width: 460px) {
  .msp-assessment .heat-legend { grid-template-columns: 1fr; gap: 6px; }
}

/* band pill — colours are set inline from the active band */
.msp-assessment .result-archetype { font-size: clamp(22px, 3vw, 28px); font-weight: 300; margin-bottom: 16px; color: var(--white); }
.msp-assessment .result-body { color: var(--muted); font-weight: 300; margin: 0 auto 16px; max-width: 46ch; line-height: 1.55; }
.msp-assessment .result-body strong { color: var(--white); font-weight: 500; }
.msp-assessment .result-body .result-mirror { display: block; margin-top: 14px; color: #4F95FF; font-weight: 400; }

/* factor bars */
.msp-assessment .factors { display: grid; gap: 18px; text-align: left; margin: 36px 0; padding: 28px; background: #101013; border-radius: var(--radius-lg); }
.msp-assessment .factors h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.msp-assessment .factor { display: grid; gap: 10px; }
.msp-assessment .factor-head { display: flex; justify-content: space-between; font-size: 15px; font-weight: 400; color: var(--white); }
.msp-assessment .factor-bar { height: 6px; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; }
.msp-assessment .factor-fill { height: 100%; border-radius: var(--radius-pill); background: var(--accent); width: 0; transition: width .9s var(--transition); }

/* ---- enhanced score breakdown ---- */
.msp-assessment .factors-intro { font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--subtle); margin: -6px 0 8px; }
.msp-assessment .factor--detailed { gap: 8px; }
.msp-assessment .factor-head .factor-name { font-weight: 500; }
.msp-assessment .factor-pts { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 300; white-space: nowrap; }
.msp-assessment .factor-pts b { color: var(--white); font-weight: 600; }
.msp-assessment .factor-band { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); }
.msp-assessment .factor-band--strong { color: #4ADE80; background: rgba(74,222,128,0.12); }
.msp-assessment .factor-band--moderate { color: #FBBF24; background: rgba(251,191,36,0.12); }
.msp-assessment .factor-band--thin { color: #F87171; background: rgba(248,113,113,0.12); }
.msp-assessment .factor-total { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 15px; font-weight: 500; color: var(--white); }
.msp-assessment .factor-total-num { color: var(--muted); font-weight: 300; }
.msp-assessment .factor-total-num b { color: var(--accent); font-weight: 600; font-size: 18px; }

/* ---- "what's worth discussing" analysis panel ---- */
.msp-assessment .analysis { text-align: left; margin: 0 0 36px; padding: 28px; background: #101013; border-radius: var(--radius-lg); display: grid; gap: 16px; }
.msp-assessment .analysis[hidden] { display: none; }
.msp-assessment .analysis h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.msp-assessment .analysis-item { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.08); }
.msp-assessment .analysis-item--strength { background: rgba(74,222,128,0.06); border-color: rgba(74,222,128,0.22); }
.msp-assessment .analysis-item--upside { background: rgba(10,122,255,0.08); border-color: rgba(10,122,255,0.25); }
.msp-assessment .analysis-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.msp-assessment .analysis-item--strength .analysis-tag { color: #4ADE80; }
.msp-assessment .analysis-item--upside .analysis-tag { color: #4F95FF; }
.msp-assessment .analysis-item p { font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--subtle); }
.msp-assessment .analysis-item p strong { color: var(--white); font-weight: 600; }
/* The `.analysis-item--terms` / `.analysis-terms` rules that sat here styled
   the "What a deal would need" list, built from the client opt-in question.
   That question was removed 2026-08-05 and nothing else used these. */

/* ---- illustrative value estimator (Level 2, config-gated) ---- */

.msp-assessment .result-next { text-align: left; background: rgba(10,122,255,0.1); border: 1px solid rgba(10,122,255,0.25); border-radius: var(--radius-lg); padding: 24px; margin: 20px 0 32px; }
.msp-assessment .result-book { text-align: left; background: var(--accent); border-radius: var(--radius-lg); padding: 24px; margin: 20px 0 32px; }
.msp-assessment .result-book-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.msp-assessment .result-book-text { color: #fff; font-weight: 300; margin-bottom: 22px; line-height: 1.5; }
.msp-assessment .result-book .btn { background: #fff; color: var(--accent); }
.msp-assessment .result-book .btn:hover { background: rgba(255,255,255,0.9); }
.msp-assessment .result-next-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #4F95FF; margin-bottom: 10px; }
.msp-assessment .result-next-text { color: var(--white); font-weight: 300; margin-bottom: 22px; line-height: 1.5; }

.msp-assessment .result-share { border-top: 1px solid #202024; padding-top: 28px; margin-top: 28px; }
.msp-assessment .share-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.msp-assessment .share-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.msp-assessment .result-disclaimer { font-size: 13px; color: var(--faint); font-weight: 300; text-align: center; margin-top: 28px; max-width: 54ch; margin-inline: auto; line-height: 1.5; }

/* ---- "The read": the honest verdict, in their own numbers.
   This is the section that has to earn the email. ---- */
.msp-assessment .read {
  text-align: left; margin: 28px 0; padding: 26px 28px;
  background: #101013; border: 1px solid #26262B;
  border-radius: var(--radius-lg); display: grid; gap: 14px;
}
.msp-assessment .read[hidden] { display: none; }
.msp-assessment .read h3 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint);
}
.msp-assessment .read-line { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--subtle); }
.msp-assessment .read-line strong { color: var(--white); font-weight: 500; }

/* ---- asset inventory: their systems the way a buyer reads them ---- */
.msp-assessment .inventory { text-align: left; margin: 0 0 36px; }
.msp-assessment .inventory[hidden] { display: none; }
.msp-assessment .inventory h3 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 10px;
}
.msp-assessment .inv-intro { font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--muted); margin-bottom: 16px; }
.msp-assessment .inv-scroll { overflow-x: auto; border: 1px solid #26262B; border-radius: var(--radius-lg); }
.msp-assessment .inv-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.msp-assessment .inv-table th {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--faint); text-align: left;
  padding: 13px 16px; background: #16161A; border-bottom: 1px solid #26262B;
  white-space: nowrap;
}
.msp-assessment .inv-table th:not(:first-child), .msp-assessment .inv-table td:not(:first-child) { text-align: right; }
.msp-assessment .inv-table td {
  padding: 15px 16px; font-size: 14px; font-weight: 300;
  color: var(--subtle); border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.msp-assessment .inv-table tr:last-child td { border-bottom: none; }
.msp-assessment .inv-plat { white-space: normal !important; min-width: 170px; }
.msp-assessment .inv-cat { display: block; font-size: 14.5px; font-weight: 500; color: var(--white); line-height: 1.3; }
.msp-assessment .inv-tools { display: block; font-size: 12.5px; font-weight: 300; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.msp-assessment .inv-anchor {
  display: inline-block; margin-top: 7px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px;
  border-radius: var(--radius-pill); color: #4F95FF;
  background: rgba(10,122,255,0.14); border: 1px solid rgba(10,122,255,0.3);
}
.msp-assessment .inv-total { font-size: 13.5px; font-weight: 300; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.msp-assessment .inv-total strong { color: var(--white); font-weight: 500; }

/* ---- the concrete fix under each upside lever ---- */
.msp-assessment .analysis-fix {
  font-size: 13px; font-weight: 300; line-height: 1.55; color: var(--subtle);
  padding: 11px 13px; border-radius: 8px; background: rgba(255,255,255,0.04);
}
.msp-assessment .analysis-fix span {
  font-weight: 600; color: var(--white); letter-spacing: 0.01em;
}

/* ---- buyer demand read ---- */
.msp-assessment .demand {
  text-align: left; margin: 0 0 36px; padding: 26px 28px;
  background: #101013; border: 1px solid #26262B;
  border-radius: var(--radius-lg); display: grid; gap: 12px;
}
.msp-assessment .demand[hidden] { display: none; }
.msp-assessment .demand h3 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint);
}
.msp-assessment .demand-who { font-size: 15px; font-weight: 500; color: var(--white); line-height: 1.45; letter-spacing: -0.01em; }
.msp-assessment .demand-why { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--subtle); }
.msp-assessment .demand-note {
  font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--faint);
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07);
}

/* snapshot */
.msp-assessment .snapshot { text-align: left; margin: 36px 0; }
.msp-assessment .snapshot h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.msp-assessment .snap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .msp-assessment .snap-grid { grid-template-columns: repeat(4, 1fr); } }
.msp-assessment .snap-metric { background: #101013; border: 1px solid #202024; border-radius: 8px; padding: 18px; }
.msp-assessment .snap-metric b { display: block; font-size: 20px; font-weight: 300; letter-spacing: -0.02em; color: #4F95FF; }
.msp-assessment .snap-metric span { font-size: 12px; color: var(--muted); font-weight: 300; }
.msp-assessment .snap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.msp-assessment .snap-tag { font-size: 12px; font-weight: 400; padding: 6px 14px; border-radius: var(--radius-pill); background: #1B1B1F; color: var(--muted); border: 1px solid #2A2A2E; }

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   TOAST
   ============================================================ */
.msp-assessment .toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px); background: #fff; color: #000; padding: 12px 24px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; opacity: 0; transition: all var(--transition); z-index: 50; }
.msp-assessment .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.msp-assessment .toast[hidden] { display: none; }

@media (max-width: 560px) {
  .msp-assessment .quiz-nav .btn { flex: 1; }
  .msp-assessment .result-card { padding: 28px 20px; }
}
