/* steps.css — numbered how-to steps (12 §5): <ol class="steps"><li class="steps__item">.
   32 px counter circle in --primary with a --border connector line. */

.steps { list-style: none; padding: 0; counter-reset: step; }

.steps__item {
  position: relative;
  padding-left: calc(var(--step-dot) + var(--sp-4));
  padding-bottom: var(--sp-6);
  counter-increment: step;
}

.steps__item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--step-dot);
  height: var(--step-dot);
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.steps__item::after {
  content: "";
  position: absolute;
  left: calc(var(--step-dot) / 2 - var(--border-w));
  top: calc(var(--step-dot) + var(--sp-1));
  bottom: var(--sp-1);
  border-left: var(--focus-w) solid var(--border);
}

.steps__item:last-child { padding-bottom: 0; }
.steps__item:last-child::after { display: none; }

.steps__title { font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: var(--step-dot); color: var(--text-strong); }
.steps__body { margin-top: var(--sp-2); color: var(--text); }
.steps__body > * + * { margin-top: var(--sp-3); }
.steps__body img { border: var(--border-w) solid var(--border); border-radius: var(--r-md); }
