/* Move aria-current="step" in the landing template to advance the roadmap. */
#roadmap .roadmap {
  --roadmap-complete: #52e6c8;
  --roadmap-current: #80d9ff;
  --roadmap-track: #355574;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 12px 0 0;
  counter-reset: launch-step;
}
#roadmap .roadmap li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 40px 1fr;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding-right: 14px;
  isolation: isolate;
  counter-increment: launch-step;
}
#roadmap .roadmap li:not(:last-child)::after {
  left: 39px;
  right: 0;
  top: 18px;
  bottom: auto;
  width: auto;
  height: 3px;
  background: var(--roadmap-track);
}
#roadmap .roadmap li:has(~ li[aria-current="step"])::after {
  background: var(--roadmap-complete);
}
#roadmap .step-circle {
  width: 40px;
  height: 40px;
  border-color: #6686a5;
  color: #cfdeec;
  background: #102940;
  font-weight: 750;
}
#roadmap .step-circle::before { content: counter(launch-step); }
#roadmap li:has(~ li[aria-current="step"]) .step-circle {
  border-color: var(--roadmap-complete);
  color: var(--roadmap-complete);
  background: #103b3b;
}
#roadmap li:has(~ li[aria-current="step"]) .step-circle::before { content: "✓"; }
#roadmap li[aria-current="step"] .step-circle {
  border-color: var(--roadmap-current);
  background: #17466a;
  color: #fff;
  box-shadow: 0 0 0 4px #80d9ff25, 0 0 22px #80d9ff44;
}
#roadmap .roadmap .step-body {
  background: #102940;
  border: 1px solid #284664;
  border-radius: 12px;
  padding: 12px 13px;
}
#roadmap li[aria-current="step"] .step-body {
  border-color: #65c8fa;
  background: #12344e;
}
#roadmap .roadmap .roadmap-status {
  color: #c0d5e7;
  font-weight: 650;
  margin: 0 0 5px;
}
#roadmap .roadmap .roadmap-done,
#roadmap .roadmap .roadmap-now,
#roadmap li:has(~ li[aria-current="step"]) .roadmap-next,
#roadmap li[aria-current="step"] .roadmap-next { display: none; }
#roadmap li:has(~ li[aria-current="step"]) .roadmap-done {
  display: block;
  color: var(--roadmap-complete);
}
#roadmap li[aria-current="step"] .roadmap-now {
  display: block;
  color: var(--roadmap-current);
}
@media (max-width: 760px) {
  #roadmap .roadmap { grid-template-columns: 1fr; }
  #roadmap .roadmap li {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    padding: 0 0 12px;
  }
  #roadmap .roadmap li:not(:last-child)::after {
    left: 18px;
    top: 39px;
    bottom: 0;
    right: auto;
    height: auto;
    width: 3px;
  }
}

