.brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--good);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-lockup span:last-child {
  color: var(--accent);
}

.eyebrow {
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-number {
  color: var(--line);
  font-family: var(--display);
  font-size: 56px;
  line-height: 0.9;
}

.help {
  color: var(--muted);
  font-size: 14px;
}

.pathway-panel h2 {
  margin-top: 4px;
  font-size: clamp(28px, 4vw, 38px);
}

.pathway-panel h2 + .help {
  margin-top: 8px;
}

.pathway-panel > div:last-child {
  min-width: 0;
}

.lang-switcher {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.lang-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.lang-btn.active {
  border-color: var(--good);
  background: var(--good-soft);
  color: var(--good);
  font-weight: 700;
}

.path-card {
  min-height: 154px;
  text-align: left;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 2px solid rgba(23, 27, 75, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  box-shadow: 0 8px 0 rgba(23, 27, 75, 0.05);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.path-card:hover {
  border-color: var(--ink);
  box-shadow: 0 12px 0 rgba(23, 27, 75, 0.08);
  transform: translateY(-4px);
}

.path-card.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), 0 12px 0 rgba(23, 27, 75, 0.09);
}

.path-card[data-pathway="NIW"] {
  background: linear-gradient(145deg, rgba(156, 235, 215, 0.9), rgba(173, 221, 255, 0.7));
}

.path-card[data-pathway="EB1A"] {
  background: linear-gradient(145deg, rgba(173, 221, 255, 0.92), rgba(164, 157, 255, 0.62));
}

.path-card[data-pathway="O1"] {
  background: linear-gradient(145deg, rgba(164, 157, 255, 0.72), rgba(255, 128, 111, 0.58));
}

.path-card .tag {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.path-card strong {
  font-family: var(--display);
  font-size: 22px;
}

.path-card p {
  color: var(--muted);
  font-size: 13px;
}

.unsure {
  margin-top: 16px;
  color: var(--good);
}

.unsure summary {
  cursor: pointer;
  font-weight: 700;
}

.unsure .help {
  margin-top: 8px;
}

.wizard-card {
  overflow: hidden;
}

.wizard-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.progress-track {
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  background: repeating-linear-gradient(90deg, #e2e4e7 0 3px, #f3f4f4 3px 6px);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #55e5b1 0%, var(--sky) 52%, var(--peri) 100%);
  transition: width 0.25s ease;
}

.step-label {
  color: var(--muted);
  font-size: 13px;
}

.question {
  min-height: 300px;
  padding-top: 24px;
}

.question h2 {
  margin: 10px 0 7px;
  font-size: clamp(25px, 3.5vw, 34px);
}

.question .help {
  max-width: 760px;
  margin-bottom: 20px;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.16s;
}

.option:hover {
  border-color: var(--good);
}

.option:has(input:checked) {
  border-color: var(--ink);
  background: linear-gradient(135deg, rgba(156, 235, 215, 0.58), rgba(173, 221, 255, 0.42));
  box-shadow: inset 0 0 0 1px var(--ink);
}

.option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.field-textarea {
  min-height: 146px;
  resize: vertical;
}

.btn {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.btn.primary {
  min-width: 116px;
  color: #fff;
  background: var(--ink);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.btn.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
  font-weight: 600;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--weak);
  font-size: 13px;
}

.score-band {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.score-band b {
  font-family: var(--display);
  font-size: 64px;
  letter-spacing: -3px;
}

.pill {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

.pill.good {
  color: var(--good);
  background: var(--good-soft);
}

.pill.warn {
  color: var(--ink);
  background: var(--warn-soft);
}

.pill.weak {
  color: var(--accent);
  background: var(--accent-soft);
}

.evidence-item,
.gap-item,
.file-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.evidence-item header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.evidence-item p,
.gap-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.gap-item {
  border-left: 3px solid var(--warn);
}

.file-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.privacy-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--good-soft);
  color: var(--good);
  font-size: 13px;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  font-size: 13px;
}

.lead-status {
  margin-top: 10px;
  font-size: 13px;
}

.lead-status.error {
  color: var(--weak);
}

.lead-status.success {
  color: var(--good);
}

.result-section-heading {
  margin-top: 30px;
  font-size: 24px;
}

.result-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.result-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ---- Source-backed case patterns and evidence roadmap ----------------- */
.result-guidance {
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.guidance-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: end;
}

.guidance-heading h3 {
  max-width: 560px;
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.guidance-heading > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.case-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.case-pattern-card {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(169, 239, 215, 0.28), rgba(255, 255, 255, 0.92) 58%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
  animation: guidance-reveal 480ms calc(var(--reveal-order) * 70ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-pattern-card:nth-child(2) {
  background: linear-gradient(150deg, rgba(173, 221, 255, 0.28), rgba(255, 255, 255, 0.92) 58%);
}

.case-pattern-card:nth-child(3) {
  background: linear-gradient(150deg, rgba(201, 200, 247, 0.3), rgba(255, 255, 255, 0.92) 58%);
}

.case-pattern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(17, 18, 23, 0.09);
}

.case-pattern-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.source-tag,
.case-outcome {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.source-tag {
  color: var(--good);
  background: var(--good-soft);
}

.case-outcome {
  max-width: 52%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.case-outcome.approvedLater {
  color: var(--good);
}

.case-outcome.denied {
  color: var(--accent);
}

.case-match {
  margin-top: 24px;
  color: var(--peri-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-pattern-card h4 {
  margin-top: 9px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.case-pattern-card > p:not(.case-match),
.case-takeaway p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.case-criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.case-criteria span {
  padding: 5px 8px;
  border: 1px solid rgba(17, 18, 23, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.case-takeaway {
  margin-top: auto;
  padding-top: 18px;
}

.case-takeaway strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-source-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.case-source-link:hover {
  color: var(--peri-deep);
}

.guidance-disclaimer {
  max-width: 860px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.roadmap-heading {
  margin-top: 48px;
}

.roadmap-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.roadmap-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  transition: border-color 220ms ease, transform 220ms ease;
  animation: guidance-reveal 460ms calc(var(--reveal-order) * 65ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.roadmap-card:hover {
  transform: translateX(3px);
  border-color: rgba(17, 18, 23, 0.22);
}

.roadmap-index {
  color: rgba(17, 18, 23, 0.16);
  font-family: var(--display);
  font-size: 48px;
  line-height: 0.9;
}

.roadmap-copy h4 {
  margin-top: 11px;
  font-size: 21px;
  line-height: 1.2;
}

.roadmap-copy > p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.roadmap-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.roadmap-notes > div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(169, 239, 215, 0.2);
}

.roadmap-notes > div:last-child {
  background: rgba(255, 180, 158, 0.15);
}

.roadmap-notes dt {
  color: var(--good);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roadmap-notes > div:last-child dt {
  color: var(--accent);
}

.roadmap-notes dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@keyframes guidance-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.lead-card h2 {
  margin-top: 5px;
  font-size: clamp(26px, 4vw, 38px);
}

.lead-intro,
.lead-card .privacy-note {
  margin-top: 12px;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.lead-form > label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .lang-switcher {
    justify-content: flex-start;
  }

  .path-card {
    min-height: 0;
  }

  .question {
    min-height: 340px;
  }

  .actions .form-error {
    width: 100%;
    order: -1;
  }

  .guidance-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-pattern-grid {
    grid-template-columns: 1fr;
  }

  .case-pattern-card {
    min-height: 0;
  }

  .roadmap-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }

  .roadmap-index {
    font-size: 34px;
  }

  .roadmap-notes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-pattern-card,
  .roadmap-card {
    animation: none;
    transition: none;
  }
}

/* ---- Lead form contact method ----------------------------------------- */
.contact-choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-choice legend {
  padding: 0;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-choice .contact-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--panel);
  font-size: 14px;
  cursor: pointer;
}

.contact-choice .contact-option:has(input:checked) {
  border-color: var(--peri-deep);
  background: var(--violet-soft);
  font-weight: 700;
}

.contact-choice .contact-option:focus-within {
  outline: 2px solid var(--peri-deep);
  outline-offset: 2px;
}

/* ---- Five-dimension breakdown ----------------------------------------- */
.dimension-panel {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.dimension-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 18px;
}

.radar-figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.radar-figure figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.radar-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.radar-spoke {
  stroke: var(--line);
  stroke-width: 1;
}

/* One series, so one hue — identity comes from the axis labels, not colour. */
.radar-area {
  fill: rgba(79, 70, 201, 0.22);
  stroke: var(--peri-deep);
  stroke-width: 2;
  stroke-linejoin: round;
}

.radar-point {
  fill: var(--peri-deep);
  stroke: var(--panel);
  stroke-width: 2;
}

.radar-axis-label {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
}

.dimension-rows {
  display: grid;
  gap: 12px;
}

.dimension-row {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

/* The two weakest dimensions are what a retake should move. */
.dimension-row.focus {
  border-color: var(--peri);
  background: var(--violet-soft);
}

.dimension-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dimension-row-head strong {
  font-size: 15px;
}

.dimension-score {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dimension-track {
  height: 8px;
  margin: 8px 0 8px;
  border-radius: var(--radius-pill);
  background: var(--neutral-soft);
  overflow: hidden;
}

.dimension-track span {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--peri-deep);
}

.dimension-row p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .dimension-layout {
    grid-template-columns: 1fr;
  }
}

/* ---- 2026 workspace-style evaluation -------------------------------- */
.wizard-card {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--panel-strong);
  box-shadow: 0 26px 58px rgba(17, 18, 23, 0.14);
}

.wizard-workspace {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
}

.wizard-sidebar {
  min-width: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(17, 18, 23, 0.13);
  background:
    radial-gradient(circle at 10% 12%, rgba(169, 239, 215, 0.9), transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(201, 200, 247, 0.82), transparent 46%),
    linear-gradient(160deg, #d9eef0 0%, #e9e8fa 100%);
}

.window-controls {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(17, 18, 23, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.window-controls span:nth-child(2) {
  background: var(--coral);
}

.window-controls span:nth-child(3) {
  background: var(--mint);
}

.progress-total {
  display: grid;
  gap: 3px;
  margin: 12px 0 28px;
}

.progress-total strong {
  font-size: clamp(48px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}

.progress-total span,
.progress-route span {
  color: rgba(17, 18, 23, 0.64);
  font-size: 12px;
  font-weight: 650;
}

.progress-stages {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-stage {
  min-width: 0;
  min-height: 54px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.45);
}

.progress-stage.current {
  border-color: var(--ink);
  background: var(--sky);
  box-shadow: 0 8px 18px rgba(17, 18, 23, 0.08);
}

.progress-stage.complete {
  background: rgba(169, 239, 215, 0.82);
}

.stage-marker {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 18, 23, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
}

.stage-copy {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.stage-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-copy small {
  color: rgba(17, 18, 23, 0.5);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.progress-route {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 22px;
}

.progress-route strong {
  font-size: 13px;
}

.progress-mascot {
  width: 132px;
  height: auto;
  margin: auto -2px 2px auto;
  filter: drop-shadow(0 12px 20px rgba(23, 27, 75, 0.14));
  transform: rotate(-4deg);
}

.wizard-main {
  min-width: 0;
  padding: 30px clamp(26px, 4vw, 48px) 32px;
  display: flex;
  flex-direction: column;
}

.wizard-main .question {
  flex: 1 1 auto;
  min-height: 350px;
  padding-top: 34px;
}

.wizard-main .options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-main .option {
  align-items: flex-start;
  border-radius: 16px;
  background: #f8f9f9;
}

.wizard-main .field-input,
.wizard-main .field-textarea {
  border-color: var(--line-strong);
  border-radius: 16px;
  background: #f8f9f9;
}

@media (max-width: 860px) {
  .wizard-workspace {
    grid-template-columns: 1fr;
  }

  .wizard-sidebar {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 18, 23, 0.13);
  }

  .window-controls,
  .progress-mascot,
  .progress-route {
    display: none;
  }

  .progress-total {
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 10px;
    margin: 8px 0 16px;
  }

  .progress-total strong {
    font-size: 42px;
  }

  .progress-stages {
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .progress-stage {
    min-height: 46px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 7px;
  }

  .stage-marker {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .stage-copy small {
    display: none;
  }
}

@media (max-width: 620px) {
  .path-grid {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .path-grid .path-card {
    min-width: min(250px, 82vw);
    scroll-snap-align: start;
  }

  .wizard-main {
    padding: 22px 18px 20px;
  }

  .wizard-main .options {
    grid-template-columns: 1fr;
  }

  .wizard-main .question {
    min-height: 390px;
    padding-top: 26px;
  }
}

/* Evidence-first intake: quiet surfaces, plain language and gentle motion. */
.evaluation-head {
  min-height: 176px;
  padding-bottom: 18px;
}

.evaluation-head .hero {
  gap: 10px;
}

.evaluation-head .hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.05em;
}

.evaluation-head .hero > p:last-child {
  max-width: 600px;
  font-size: 15px;
}

.wizard-card {
  border: 1px solid rgba(17, 18, 23, 0.12);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(17, 18, 23, 0.1);
}

.wizard-workspace {
  min-height: 570px;
}

.wizard-sidebar {
  border-color: rgba(17, 18, 23, 0.08);
  background:
    radial-gradient(circle at 20% 10%, rgba(169, 239, 215, 0.56), transparent 46%),
    linear-gradient(165deg, #f4f7f6 0%, #eeeff7 100%);
}

.window-controls {
  display: none;
}

.progress-total {
  margin-top: 34px;
}

.progress-total strong {
  font-size: clamp(44px, 4vw, 58px);
}

.progress-stage {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.46);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.progress-stage.current {
  border-color: rgba(17, 18, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(17, 18, 23, 0.07);
}

.progress-stage.complete {
  background: rgba(169, 239, 215, 0.44);
}

.wizard-main {
  background: rgba(255, 255, 255, 0.96);
}

.wizard-main .question {
  min-height: 330px;
  padding-top: 30px;
}

.question-heading {
  max-width: 760px;
  margin-bottom: 22px;
  animation: question-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.question-heading h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.question-heading .help {
  max-width: 660px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.requirement-tag,
.optional-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(80, 71, 183, 0.18);
  border-radius: 999px;
  color: var(--peri-deep);
  background: rgba(201, 200, 247, 0.24);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.optional-tag {
  margin-left: 6px;
  border-color: rgba(17, 18, 23, 0.08);
  color: var(--muted);
  background: var(--panel-soft);
}

.criteria-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  animation: question-in 460ms 40ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.criteria-meta strong {
  color: var(--ink);
  white-space: nowrap;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.criterion-card {
  position: relative;
  min-height: 188px;
  padding: 18px 44px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 22px;
  background: #f7f8f8;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  animation: card-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.criterion-card:nth-child(2) { animation-delay: 35ms; }
.criterion-card:nth-child(3) { animation-delay: 70ms; }
.criterion-card:nth-child(4) { animation-delay: 105ms; }
.criterion-card:nth-child(5) { animation-delay: 140ms; }

.criterion-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 18, 23, 0.24);
  box-shadow: 0 14px 34px rgba(17, 18, 23, 0.08);
}

.criterion-card:has(input:checked) {
  border-color: rgba(23, 107, 88, 0.5);
  background: linear-gradient(145deg, rgba(169, 239, 215, 0.42), rgba(255, 255, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(23, 107, 88, 0.12);
}

.criterion-card input,
.major-award-card input {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  accent-color: var(--mint-deep);
}

.criterion-card-copy {
  display: grid;
  gap: 9px;
}

.criterion-card-copy strong {
  font-size: 17px;
  line-height: 1.22;
}

.criterion-card-copy > span:not(.requirement-tag) {
  color: var(--muted);
  font-size: 13px;
}

.criterion-card-copy small {
  color: rgba(17, 18, 23, 0.52);
  font-size: 11px;
  line-height: 1.45;
}

.criterion-check {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: start;
  padding: 12px 0 0 16px;
  border-radius: 50%;
  color: var(--mint-deep);
  background: rgba(169, 239, 215, 0.58);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms ease, transform 220ms ease;
}

.criterion-card:has(input:checked) .criterion-check {
  opacity: 1;
  transform: scale(1);
}

.major-award-card {
  position: relative;
  display: block;
  margin-bottom: 14px;
  padding: 16px 52px 16px 18px;
  border: 1px solid rgba(81, 73, 189, 0.24);
  border-radius: 18px;
  background: rgba(164, 157, 255, 0.18);
  cursor: pointer;
  animation: question-in 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.major-award-card > span {
  display: grid;
  gap: 7px;
}

.major-award-card strong {
  font-size: 15px;
}

.major-award-card small {
  color: var(--muted);
}

.criterion-note {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.criterion-note > span {
  font-weight: 700;
}

.criterion-note small {
  color: var(--muted);
  font-weight: 500;
}

.criterion-note .field-textarea {
  min-height: 112px;
}

.wizard-main .option,
.wizard-main .field-input,
.wizard-main .field-textarea {
  animation: card-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wizard-main .option:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 18, 23, 0.26);
}

.wizard-main .option:active,
.btn:active {
  transform: scale(0.985);
}

.btn {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.evidence-item .requirement-tag {
  margin: 0 0 8px;
}

.evidence-item header > span:first-child {
  display: grid;
}

@keyframes question-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Keep navigation attached to the current question instead of the card edge. */
.wizard-main .question {
  flex: 0 0 auto;
  min-height: 0;
}

.wizard-main .actions {
  margin-top: 30px;
}

@media (max-width: 620px) {
  .wizard-main .question {
    min-height: 0;
  }

  .wizard-main .actions {
    margin-top: 24px;
  }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .evaluation-head {
    min-height: 0;
    padding: 12px 2px 18px;
  }

  .evaluation-head .hero > p:last-child {
    display: none;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .criteria-meta {
    display: grid;
    gap: 4px;
  }

  .criterion-card {
    min-height: 0;
  }
}

html:lang(zh-CN) .question-heading h2,
html:lang(zh-TW) .question-heading h2,
html:lang(zh-CN) .evaluation-head .hero h1,
html:lang(zh-TW) .evaluation-head .hero h1 {
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

html:lang(zh-CN) .question-heading .help,
html:lang(zh-TW) .question-heading .help {
  line-height: 1.72;
  letter-spacing: 0.01em;
}

/* Continue the light liquid-glass surface into the evaluation workspace. */
.wizard-card,
.result-card,
.lead-card,
.pathway-panel {
  border-color: var(--glass-stroke);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    var(--glass-fill);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

.wizard-main {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.68));
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.wizard-sidebar {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.wizard-main :is(.field-input, .field-textarea, .option) {
  border-color: rgba(94, 112, 167, 0.24);
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 22px rgba(39, 53, 101, 0.05);
}
