/* Block: steps-three — scoped */

/* Header: heading occupies 2 cols, intro occupies the 3rd */
.steps-three__header {
  display: grid;
  gap: var(--sp-400);
  margin-bottom: var(--sp-600);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .steps-three__header {
    grid-template-columns: 2fr 1fr;
    gap: var(--sp-700);
    align-items: end;
  }
}
.steps-three__heading {
  font-size: var(--fs-900);
  margin: 0;
  max-width: 24ch;
}
.steps-three__intro {
  color: var(--surface-fg-muted);
  font-size: var(--fs-300);
  max-width: 38ch;
}
.steps-three__intro p { margin-bottom: var(--sp-200); }
.steps-three__intro p:last-child { margin-bottom: 0; }

/* Cards */
.steps-three__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-500);
}
@media (min-width: 800px) {
  .steps-three__grid { grid-template-columns: repeat(3, 1fr); }
}

.steps-three__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-300);
}

.steps-three__eyebrow {
  font-family: var(--ff-display);
  font-size: var(--fs-200);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--surface-fg-muted);
}

/* Dark box: pill + subtitle, centred on both axes */
.steps-three__box {
  background: var(--color-black);
  color: var(--color-cream);
  border-radius: var(--r-lg);
  padding: var(--sp-600) var(--sp-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-300);
  text-align: center;
  min-height: 220px;
}

.steps-three__pill {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-200) var(--sp-500);
  border-radius: var(--r-pill);
  background: var(--pill-bg, var(--color-purple));
  color: #ffffff;
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-600);
  line-height: 1.2;
}

.steps-three__pill-subtitle {
  color: rgb(244 239 228 / 0.8);
  font-size: var(--fs-300);
}

.steps-three__body {
  margin: 0;
  color: var(--surface-fg);
  font-size: var(--fs-300);
  line-height: 1.55;
  max-width: 36ch;
}
