section.section-step-cards {
  padding-block: 4.5rem 5rem;
  background:
    radial-gradient(95% 68% at 52% 55%, color-mix(in srgb, var(--color-primary) 20%, transparent), transparent),
    linear-gradient(115deg, var(--color-blue-darker) 0%, color-mix(in srgb, var(--color-blue-darker) 60%, var(--color-primary)) 100%);
  color: var(--color-white);
}

.section-step-cards .sc-title {
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.section-step-cards .sc-subtitle {
  max-width: 46rem;
  color: color-mix(in srgb, var(--color-white) 88%, var(--color-primary));
  font-size: 1.2rem;
  line-height: 1.55;
}

.section-step-cards .sc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 3.5rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.section-step-cards .sc-step {
  position: relative;
}

.section-step-cards .sc-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.125rem;
  transform: translate(-50%, -50%);
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, var(--color-white));
  border-radius: 99px;
  background: var(--color-white);
  box-shadow: 0 0 0 5px var(--color-blue-darker);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-step-cards .sc-panel {
  height: 100%;
  padding: 2.125rem 1.25rem 1.5rem;
  border: 1px solid rgba(209, 225, 255, 0.36);
  border-radius: 1.375rem;
  background: rgba(255, 255, 255, 0.086);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.section-step-cards .sc-stage {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 18rem;
  margin-bottom: 1rem;
}

.section-step-cards .sc-stage > img {
  max-width: 100%;
  border-radius: 1rem;
}

.section-step-cards .sc-panel > h3 {
  margin-bottom: 0.5rem;
  color: var(--color-white);
  font-size: 1.7rem;
}

.section-step-cards .sc-panel > p {
  margin: 0;
  color: color-mix(in srgb, var(--color-white) 88%, var(--color-primary));
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-step-cards .sc-arrow {
  position: absolute;
  top: 50%;
  right: -2.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
}

.section-step-cards .sc-arrow svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 997px) {
  .section-step-cards .sc-steps {
    grid-template-columns: 1fr;
    gap: 5.5rem;
    max-width: 26rem;
    margin-inline: auto;
  }

  /* Centred in the free part of the gap, above the next card's badge. */
  .section-step-cards .sc-arrow {
    top: auto;
    right: auto;
    bottom: -3.05rem;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}
