/* Digital Strategy illustration: growth roadmap (.rm). Built on the shared .vz system. */
.rm__goals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.55rem 0 1.1rem;
  padding: 0;
  list-style: none;
}
.rm__goals li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  border: 1px solid var(--vz-line);
  border-radius: 3.75rem;
  background-color: #f7f9fb;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.rm__goals svg {
  flex: none;
  color: var(--vz-text-blue);
}

/* The climbing steps */
.rm__track {
  position: relative;
  height: 13.5rem;
}
.rm__steps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rm__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  border: 1px solid rgba(67, 183, 255, 0.28);
  border-radius: 0.9rem 0.9rem 0.4rem 0.4rem;
  background: linear-gradient(180deg, rgba(67, 183, 255, 0.24), rgba(67, 183, 255, 0.06));
  padding: 1.5rem 0.65rem 0.7rem;
}
.rm__step:nth-child(1) {
  height: 40%;
}
.rm__step:nth-child(2) {
  height: 57%;
}
.rm__step:nth-child(3) {
  height: 76%;
}
.rm__step:nth-child(4) {
  height: 94%;
  border-color: var(--primary);
  background: var(--primary);
}
.rm__step b {
  text-transform: uppercase;
  font-family: var(--headerFont);
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--headerColor);
}
.rm__step:nth-child(4) b {
  color: #fff;
}
.rm__step:nth-child(4) .vz__bar {
  background-color: rgba(255, 255, 255, 0.35);
}
.rm__node {
  position: absolute;
  top: -0.8rem;
  left: 0.6rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  background-color: #fff;
  height: 1.6rem;
  width: 1.6rem;
  font-family: var(--headerFont);
  font-size: 0.75rem;
  line-height: 1em;
  font-weight: 700;
  color: var(--primary);
}
.rm__path {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.rm__path path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}
.rm__goal {
  position: absolute;
  top: -0.9rem;
  right: 0;
  z-index: 2;
  border-radius: 0.5rem;
  background-color: var(--secondary);
  padding: 0.25rem 0.65rem;
  text-transform: uppercase;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
}

/* Floating cards */
.rm__flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  width: fit-content;
  color: var(--vz-text-blue);
}
.rm__priorities {
  padding: 0.9rem 1rem;
}
.rm__priorities ul {
  display: grid;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.rm__priorities li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.25em;
  font-weight: 600;
  color: var(--headerColor);
}
@media only screen and (min-width: 64rem) {
  .rm .vz__stage {
    padding-bottom: 6rem;
  }
  .rm__flow {
    top: 8.25rem;
    left: -1.5rem;
  }
  .rm__priorities {
    right: -1.5rem;
    bottom: 0;
    width: 15.5rem;
  }
}

/* Dark mode */
html.dark-mode .rm__goals li {
  border-color: rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}
html.dark-mode .rm__step {
  border-color: rgba(67, 183, 255, 0.3);
  background: linear-gradient(180deg, rgba(67, 183, 255, 0.28), rgba(67, 183, 255, 0.05));
}
html.dark-mode .rm__step:nth-child(4) {
  border-color: #fff;
  background: linear-gradient(45deg, #cecece 0%, #ffffff 100%);
}
html.dark-mode .rm__step b,
html.dark-mode .rm__priorities li {
  color: #fff;
}
html.dark-mode .rm__step:nth-child(4) b {
  color: var(--primary);
}
html.dark-mode .rm__step:nth-child(4) .vz__bar {
  background-color: rgba(0, 31, 63, 0.3);
}
html.dark-mode .rm__node {
  background-color: #08141e;
  color: #fff;
}
html.dark-mode .rm__path path {
  stroke: #fff;
}
html.dark-mode .rm__flow {
  color: var(--secondary);
}

/* Narrow steps: lift the Goal tag clear of step 4's number. */
@media only screen and (max-width: 47.999rem) {
  .rm__goal {
    top: -1.9rem;
  }
}
