/* Wizard step header (brandbook "Wizard", the approved C2 header): a
   navy-surface panel whose notch points at the current progress segment,
   the counter, then the step name in the serif. The template sets --notch
   (the current segment's centre); without it the notch is centred. */
.mm-step-head {
  position: relative;
  margin-top: var(--mm-space-4);
  padding: var(--mm-space-3) var(--mm-space-4) 14px;
  border-radius: var(--mm-radius-card);
  background: var(--mm-primary-surface);
}

.mm-step-head::before {
  content: "";
  position: absolute;
  top: -6px;
  left: var(--notch, 50%);
  width: 13px;
  height: 13px;
  border-top-left-radius: 1px;
  background: var(--mm-primary-surface);
  transform: translateX(-50%) rotate(45deg);
}

.mm-step-head h2 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--mm-space-1);
  font-family: var(--mm-sans);
  font-weight: 400;
}

.mm-step-head__count {
  color: var(--mm-counter);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.mm-step-head__name {
  color: var(--mm-text);
  font-family: var(--mm-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}
