.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 276px));
  justify-content: space-between;
  gap: 34px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #0066ff 0%,
    rgba(0, 102, 255, 0.55) 40%,
    rgba(255, 255, 255, 0.14) 100%
  );
}
.timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
}
.timeline__number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--white-28);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}
.timeline__step:first-child .timeline__number {
  background: var(--color-blue);
  border-color: var(--color-blue);
  box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.18);
}
.timeline__title {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.01em;
}
.timeline__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--white-65);
}
@media (max-width: 1023px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .timeline::before {
    left: 19px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      #0066ff 0%,
      rgba(0, 102, 255, 0.55) 40%,
      rgba(255, 255, 255, 0.14) 100%
    );
  }
  .timeline__step {
    padding-left: 60px;
  }
  .timeline__number {
    position: absolute;
    left: 0;
    top: 0;
  }
  .timeline__title {
    margin-top: 8px;
  }
  .timeline__text {
    margin-top: 8px;
  }
}
