.three-steps {
  padding-block: clamp(50px, 8vw, 75px);
  background: #ffffff;
}

/* === Header === */
.three-steps__header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.three-steps__eyebrow {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.three-steps__title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.18;
  text-wrap: normal;
}

/* === Grid === */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.step {
  display: flex;
  flex-direction: column;
}

/* Media: gray card containing the screenshot + floating icon */
.step__media {
  position: relative;
  border-radius: 14px;
  background: #bcd8ff;
  padding: 30px 30px 0;
  overflow: hidden;
}

.step__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
}

.step__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fe 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(43, 108, 238, 0.18),
              0 1px 3px rgba(15, 17, 21, 0.06);
  color: var(--color-primary);
}

.step__icon svg {
  width: 28px;
  height: 28px;
}

/* Body */
.step__body {
  margin-top: 20px;
  padding-inline: 4px;
}

.step__label {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step__num {
  display: inline-block;
  padding: 6px 9px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 6px;
  letter-spacing: 0;
  flex-shrink: 0;
  line-height: 1.2;
}

.step__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* === Tablet === */
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* === Desktop === */
@media (min-width: 1024px) {
  .three-steps {
    padding-block: 75px;
  }

  .three-steps__header {
    margin-bottom: 56px;
  }

  .steps {
    gap: 28px;
  }

  .step__body {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
 .three-steps__header {
  margin-bottom:30px;
}
}