/* ── How It Works: Step Cards ── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
}

.step__number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  flex-shrink: 0;
}

.step__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.step__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Tablet: 2x2 grid ── */
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Desktop: 4 columns with connecting lines ── */
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
  }
  .step {
    position: relative;
  }
  /* Dashed connecting line between steps */
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 46px;
    right: calc(-1 * var(--space-4));
    width: var(--space-8);
    border-top: 2px dashed var(--color-border);
  }
}
