.bw-steps__card {
  padding: 62px 48px 120px 113px;
  color: var(--bw-cream);
  background: var(--bw-ink);
  border-radius: 16px;
}

.bw-steps__heading {
  margin: 0;
  font-family: var(--bw-font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--bw-cream);
}

.bw-steps__list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 0;
  margin: 79px 0 0;
  list-style: none;
}

.bw-steps__row {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 72px;
  align-items: start;
}

.bw-steps__row:not(:last-child)::after {
  position: absolute;
  inset-block-start: 92px;
  inset-inline-start: 29px;
  width: 2px;
  height: 60px;
  content: "";
  background: var(--bw-cream);
}

.bw-steps__icon {
  display: block;
  width: 60px;
  height: 60px;
  margin-block-start: 13px;
  color: var(--bw-cream);
}

.bw-steps__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bw-steps__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bw-steps__title {
  font-family: var(--bw-font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--bw-cream);
}

.bw-steps__body {
  font-family: var(--bw-font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--bw-cream);
}

@media (max-width: 1299px) {
  .bw-steps__card {
    padding: 48px 40px 64px;
  }
}

@media (max-width: 959px) {
  .bw-steps__card {
    padding: 56px 20px 40px !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .bw-steps__heading {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  .bw-steps__list {
    gap: 32px !important;
    margin-block-start: 32px !important;
  }

  .bw-steps__row {
    grid-template-columns: 44px 1fr !important;
    column-gap: 20px !important;
  }

  .bw-steps__row:not(:last-child)::after {
    inset-block-start: 62px !important;
    inset-inline-start: 21px !important;
    height: 24px !important;
  }

  .bw-steps__icon {
    width: 44px !important;
    height: 44px !important;
    margin-block-start: 4px !important;
  }

  .bw-steps__title {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }

  .bw-steps__body {
    font-size: 15px !important;
  }
}
