/*
 * Four-step process timeline. The markup is static; the JS task may enhance
 * it through the data-component="stepper" hook.
 */
.process-stepper {
  display: grid;
  gap: var(--space-6);
  margin: var(--space-10) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process-step;
}

.process-step {
  position: relative;
  display: grid;
  gap: var(--space-3);
  border-top: var(--border-width-strong) solid var(--color-primary-soft);
  padding-top: var(--space-5);
  counter-increment: process-step;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  font-family: var(--font-family-display);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.process-step__title {
  color: var(--color-ink);
  font-family: var(--font-family-display);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
}

.process-step__text {
  color: var(--color-text-muted);
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
}

@media (min-width: 768px) {
  .process-stepper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
  }
}
