.steps {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 96px;
  max-width: 1200px;
  margin: 0 auto;
}

.steps:after {
  --steps-gap: 192px;
  --step-padding: 192px;

  content: '';
  position: absolute;
  top: 40px;
  height: 1px;
  width: calc(100% - (var(--steps-gap) + var(--step-padding)));
  background-color: var(--shade);
  z-index: -1;
}

.steps .step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.steps .count {
  padding: 0 40px 24px;
  background-color: #fff;
}

.steps .count .num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-m);
  background-color: #fcf0d8;
  font-family: 'Cy Grotesk Key';
  font-size: 32px;
  font-weight: 500;
}

.steps .description {
  max-width: 288px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

@media (max-width: 700px) {
  .steps {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    overflow: clip;
  }

  .steps:after {
    width: 1px;
    height: 100%;
  }

  .steps .count {
    padding: 16px;
  }

  .steps .count .num {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }

  .steps .description {
    padding-bottom: 16px;
    font-size: 14px;
    background-color: #fff;
  }
}
