/* steps: numbered cards (ref 252). The number is a CSS counter set in the
   display face; the list order carries the meaning for screen readers. */
.s-steps__body { display: grid; gap: var(--space-7) var(--gutter); }
.s-steps__list { display: grid; gap: var(--gutter); counter-reset: step; }
.s-steps__item {
  counter-increment: step;
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
}
.s-steps__item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2.2rem + 2.2vw, 4rem);
  font-weight: var(--fw-display);
  line-height: 1;
  letter-spacing: var(--ls-display);
  font-variant-numeric: tabular-nums;
}
.s-steps__item h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.s-steps__sub {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-ui);
  letter-spacing: var(--ls-label);
  color: var(--fg-muted);
}
.s-steps__item p { margin-top: var(--space-2); color: var(--fg-soft); }
.s-steps__figure { margin: 0; }
.s-steps__figure figcaption { margin-top: var(--space-3); color: var(--fg-soft); }
@media (min-width: 640px) {
  .s-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-steps__figure { max-width: 420px; }
}
@media (min-width: 960px) {
  .s-steps__body:not(.s-steps__body--media) .s-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s-steps__body--media { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
  .s-steps__figure { max-width: none; }
}
