.journey { background: linear-gradient(180deg, #eaf6ff 0%, #fff4fb 100%); }

.timeline { position: relative; margin: 56px auto 0; max-width: 900px; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 8px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(var(--purple), var(--pink), var(--orange), var(--yellow), var(--green), var(--blue));
}

.step { --c: var(--purple); position: relative; width: 50%; padding: 0 48px 40px; }
.step:nth-child(odd) { left: 0; text-align: right; }
.step:nth-child(even) { left: 50%; }
.step--purple { --c: var(--purple); }
.step--orange { --c: var(--orange); }
.step--pink { --c: var(--pink); }
.step--yellow { --c: #e0a800; }
.step--blue { --c: var(--blue); }
.step--green { --c: var(--green); }

.step .dot {
  position: absolute;
  top: 6px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--c);
  display: grid; place-items: center;
  font-size: 1.4rem;
  z-index: 1;
}
.step:nth-child(odd) .dot { right: -26px; }
.step:nth-child(even) .dot { left: -26px; }

.step .bubble { background: #fff; border-radius: 22px; padding: 20px 24px; box-shadow: var(--shadow); }
.step .time { font-weight: 800; color: var(--c); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.step h3 { margin-top: .2rem; }
.step p { margin: 0; color: var(--muted); }

@media (max-width: 960px) {
  .timeline::before { left: 26px; }
  .step, .step:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 32px 76px; }
  .step:nth-child(odd) .dot, .step:nth-child(even) .dot { left: 0; right: auto; }
}
