/* CR-2 Human UX layer — visual hierarchy, orientation and recognition cues.
   Keeps diagnostic/business logic untouched. */

/* Progress: make system status visible without requiring the user to read body copy. */
.free-question .progress-track,
.question-card .progress-track{
  height:9px;
  background:#dce8f1;
  box-shadow:inset 0 0 0 1px rgba(55,111,155,.06);
}
.free-question .progress-fill,
.question-card .progress-fill{
  background:linear-gradient(90deg,var(--secondary),#0b78bd);
}
.ux-progress-pct{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 9px;
  border-radius:999px;
  background:var(--light);
  color:var(--mid);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.free-question .v1-topline{
  align-items:center;
  gap:10px;
}
.free-question .v1-topline .micro-label{
  font-size:13px;
  color:var(--primary);
}
.free-question .v1-topline-info{
  margin-left:auto;
}

/* Paid journey chapter orientation. */
.ux-chapter-stack{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.ux-chapter-count{
  display:inline-flex;
  width:max-content;
  padding:4px 9px;
  border-radius:999px;
  background:var(--light);
  color:var(--secondary);
  font-size:11px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.ux-chapter-title{
  color:var(--primary);
  font-family:Manrope,Inter,sans-serif;
  font-size:17px;
  font-weight:800;
  letter-spacing:-.01em;
}
.ux-chapter-steps{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:5px;
}
.ux-chapter-dot{
  width:16px;
  height:5px;
  border-radius:999px;
  background:#d8e4ed;
}
.ux-chapter-dot.done{background:#85c8ec}
.ux-chapter-dot.current{
  width:27px;
  background:var(--secondary);
  box-shadow:0 0 0 3px rgba(18,148,232,.10);
}
.question-card .progress-head{
  align-items:center;
  margin-bottom:12px;
}
.question-card .progress-copy{
  font-weight:700;
  color:var(--mid);
}

/* Revenue-model recognition: distinguish a solo professional from a service company. */
.option-card.ux-model-option{
  min-height:76px;
  align-items:center;
}
.ux-option-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding-right:12px;
}
.ux-option-title{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--primary);
  font-weight:800;
}
.ux-option-detail{
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
  font-weight:500;
}
.ux-recommended-pill{
  display:inline-flex;
  align-items:center;
  padding:2px 7px;
  border-radius:999px;
  background:#ecfdf3;
  color:var(--success);
  font-size:9px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.option-card.ux-professional-option{
  border-color:#a9d8ee;
  background:#fbfdff;
}
.option-card.ux-professional-option:hover,
.option-card.ux-professional-option.selected{
  border-color:var(--secondary);
  background:var(--light);
}

/* A real zero is an answer, not an escape hatch. Keep it beside the field. */
.zero-shortcut.ux-zero-near-field{
  display:inline-flex;
  width:auto;
  margin:8px 0 16px;
  align-items:center;
  justify-content:center;
  border-color:#b9d9ea;
  background:#f5fbff;
  color:var(--secondary);
  font-weight:800;
}
.zero-shortcut.ux-zero-near-field::before{
  content:"0";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  margin-right:7px;
  border-radius:50%;
  background:#e4f4fc;
  font-size:11px;
  font-weight:900;
}

/* Tiny explanations for terms that are obvious only to specialists. */
.ux-term-card,
.ux-unit-helper{
  display:flex;
  gap:12px;
  margin-top:16px;
  padding:13px 14px;
  border:1px solid #d8e6ef;
  border-radius:14px;
  background:#f8fbfd;
  color:#3c5269;
}
.ux-term-icon,
.ux-unit-icon{
  flex:0 0 30px;
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--light);
  color:var(--secondary);
  font-weight:900;
}
.ux-term-card strong,
.ux-unit-helper strong{
  display:block;
  margin:0 0 3px;
  color:var(--primary);
  font-size:13px;
}
.ux-term-card span:not(.ux-term-icon),
.ux-unit-helper p{
  display:block;
  margin:0;
  font-size:12px;
  line-height:1.5;
}
.ux-unit-helper{
  flex-wrap:wrap;
  align-items:flex-start;
}
.ux-unit-helper-copy{
  flex:1 1 280px;
}
.ux-unit-chips{
  flex:1 0 100%;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding-left:42px;
}
.ux-unit-chip{
  border:1px solid #c9dce8;
  background:#fff;
  color:var(--mid);
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:700;
}
.ux-unit-chip:hover{
  border-color:var(--secondary);
  background:var(--light);
  color:var(--primary);
}

/* Offer: communicate breadth by recognition, not by paragraphs. */
.ux-offer-outcomes{
  margin:18px 0;
  padding:22px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
.ux-offer-outcomes-head{
  margin-bottom:15px;
}
.ux-offer-outcomes-head h2{
  margin:6px 0 6px;
  font-size:24px;
}
.ux-offer-outcomes-head p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}
.ux-outcome-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.ux-outcome-card{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:10px;
  align-items:start;
  min-height:88px;
  padding:13px;
  border:1px solid #dce7f0;
  border-radius:14px;
  background:#fbfdff;
}
.ux-outcome-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:var(--light);
  color:var(--secondary);
}
.ux-outcome-icon svg{
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ux-outcome-card strong{
  display:block;
  color:var(--primary);
  font-size:13px;
  margin-bottom:3px;
}
.ux-outcome-card p{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}
.ux-question-scope-note{
  display:flex;
  gap:9px;
  align-items:flex-start;
  margin:8px 0 14px;
  padding:10px 12px;
  border-radius:12px;
  background:#f6f9fc;
  color:#526579;
  font-size:12px;
  line-height:1.45;
}
.ux-question-scope-note strong{color:var(--primary)}

/* Fictitious examples must look unmistakably like examples. */
.ux-fiction-warning{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid #f1d49a;
  border-radius:12px;
  background:var(--attention-soft);
  color:#7a4a08;
  font-size:12px;
  font-weight:700;
}
.ux-fiction-warning svg{
  flex:0 0 20px;
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Payment: success must be a visually decisive state with one obvious next action. */
.payment-return-card.ux-payment-paid{
  border-color:#a9e0c2;
}
.payment-return-card.ux-payment-paid .intro-badge{
  color:var(--success);
}
.payment-return-card.ux-payment-paid .payment-status-line{
  background:#ecfdf3;
  border-color:#b7ebca;
  color:var(--success);
}
.payment-return-card.ux-payment-paid .payment-status-dot{
  background:var(--success);
}

@media(max-width:640px){
  .ux-outcome-grid{grid-template-columns:1fr}
  .ux-offer-outcomes{padding:17px}
  .ux-unit-chips{padding-left:0}
  .ux-chapter-title{font-size:15px}
  .ux-chapter-dot{width:13px}
  .ux-chapter-dot.current{width:22px}
  .zero-shortcut.ux-zero-near-field{width:100%;margin-top:7px}
  .free-question .v1-topline{flex-wrap:wrap}
  .free-question .v1-topline-info{margin-left:0;order:3;width:100%}
}
