/* Section 06 review: one readable route, with steady labels. */
#your-roadmap.rm06-section {
  background: #edf5f0;
  color: #123f34;
  border: 0;
}

#your-roadmap.rm06-section > .section-inner {
  width: calc(100% - 64px);
  max-width: 1280px;
  padding: 108px 0 112px;
  border: 0;
}

#your-roadmap.rm06-section .rm06-heading {
  max-width: 850px;
  margin: 0 auto 54px;
  text-align: center;
}

#your-roadmap.rm06-section .rm06-heading .eyebrow.pill {
  background: #ffffff80;
  border-color: #c6dcd0;
  color: #377e67;
}

#your-roadmap.rm06-section .rm06-heading h2 {
  margin: 24px 0;
  color: #123f34;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -.055em;
}

#your-roadmap.rm06-section .rm06-heading h2 em {
  color: #008879;
  font-style: normal;
}

#your-roadmap.rm06-section .rm06-heading p {
  max-width: 585px;
  margin: 0 auto;
  color: #627b70;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

#your-roadmap.rm06-section .rm06-stage {
  position: relative;
  padding: 72px 42px;
  border: 1px solid #ffffff38;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 44% 120%, #168c7259, transparent 68%),
    radial-gradient(ellipse at 84% -30%, #259b7a26, transparent 65%),
    linear-gradient(120deg, #063e35, #095447);
  box-shadow: 0 26px 65px -35px #173e355e, inset 0 1px 0 #ffffff15;
}

#your-roadmap.rm06-section .rm06-route {
  position: relative;
  display: grid;
  grid-template-columns: .8fr repeat(3, 1fr) .8fr;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#your-roadmap.rm06-section .rm06-route::before,
#your-roadmap.rm06-section .rm06-route::after {
  content: '';
  position: absolute;
  top: 112px;
  left: 7%;
  right: 7%;
  height: 1px;
  pointer-events: none;
  z-index: -1;
}

#your-roadmap.rm06-section .rm06-route::before {
  background: linear-gradient(90deg, #d7bf9060, #d7bf90b0, #d7bf9060);
}

#your-roadmap.rm06-section .rm06-route::after {
  background: linear-gradient(90deg, transparent 0%, transparent 42%, #f1deb4 49%, transparent 57%, transparent 100%);
  background-size: 250% 100%;
  animation: rm06-route-light 12s linear infinite;
  opacity: .65;
}

#your-roadmap.rm06-section .rm06-route > li {
  position: relative;
  min-width: 0;
  height: 224px;
}

#your-roadmap.rm06-section .rm06-step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px 24px 29px;
  border: 1px solid #d7eee238;
  border-top-color: #e6f7eb65;
  border-radius: 20px;
  background: linear-gradient(145deg, #eafbf125, #a3dec40b 60%, #d3f5e516);
  box-shadow: inset 0 1px 0 #ffffff12, 0 12px 28px #001f1b17;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#your-roadmap.rm06-section .rm06-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#your-roadmap.rm06-section .rm06-number {
  color: #dcc79f;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: .025em;
}

#your-roadmap.rm06-section .rm06-step svg,
#your-roadmap.rm06-section .rm06-end-node svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#your-roadmap.rm06-section .rm06-step svg {
  color: #bfdfcf;
}

#your-roadmap.rm06-section .rm06-route h3 {
  margin: 0;
  color: #f0f8f3;
  font-size: clamp(21px, 1.95vw, 26px);
  font-weight: 450;
  line-height: 1.24;
  letter-spacing: -.035em;
}

#your-roadmap.rm06-section .rm06-endpoint {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 88px;
  text-align: center;
}

#your-roadmap.rm06-section .rm06-end-node {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid #d8c39780;
  border-radius: 50%;
  background: #0b4e41;
  color: #dec99e;
  box-shadow: 0 0 0 8px #0a493d;
  font-size: 16px;
  font-weight: 450;
}

#your-roadmap.rm06-section .rm06-endpoint h3 {
  margin-top: 22px;
  font-size: clamp(18px, 1.65vw, 23px);
}

#your-roadmap.rm06-section .rm06-start h3 {
  color: #c4ded1;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.4;
  letter-spacing: -.025em;
}

#your-roadmap.rm06-section .rm06-goal .rm06-end-node {
  background: linear-gradient(140deg, #e2d0ac, #c8b081);
  color: #194c3e;
  border-color: #e7d8ba;
}

#your-roadmap.rm06-section .rm06-goal-label {
  position: absolute;
  top: 60px;
  color: #cdbd99;
  font-size: 9px;
  letter-spacing: .11em;
  line-height: 1.3;
}

@keyframes rm06-route-light {
  from { background-position: 140% 0; }
  to { background-position: -80% 0; }
}

@media (max-width: 1100px) {
  #your-roadmap.rm06-section .rm06-stage { padding: 62px 26px; }
  #your-roadmap.rm06-section .rm06-route { gap: 16px; }
  #your-roadmap.rm06-section .rm06-step { padding: 24px 18px 27px; }
}

@media (max-width: 850px) {
  #your-roadmap.rm06-section > .section-inner {
    width: calc(100% - 44px);
    padding: 80px 0;
  }

  #your-roadmap.rm06-section .rm06-heading { margin-bottom: 38px; }
  #your-roadmap.rm06-section .rm06-heading h2 { font-size: clamp(32px, 5.5vw, 44px); }
  #your-roadmap.rm06-section .rm06-heading p { max-width: 490px; font-size: 15px; }
  #your-roadmap.rm06-section .rm06-stage { padding: 34px; max-width: 580px; margin: auto; }

  #your-roadmap.rm06-section .rm06-route {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #your-roadmap.rm06-section .rm06-route::before,
  #your-roadmap.rm06-section .rm06-route::after {
    left: 22px;
    right: auto;
    top: 28px;
    bottom: 30px;
    width: 1px;
    height: auto;
  }

  #your-roadmap.rm06-section .rm06-route::before {
    background: linear-gradient(#d7bf9060, #d7bf90b0, #d7bf9060);
  }

  #your-roadmap.rm06-section .rm06-route::after {
    background: linear-gradient(transparent 0%, transparent 42%, #f1deb4 49%, transparent 57%, transparent 100%);
    background-size: 100% 250%;
    animation-name: rm06-route-light-vertical;
  }

  #your-roadmap.rm06-section .rm06-route > li { height: auto; }

  #your-roadmap.rm06-section .rm06-step {
    min-height: 105px;
    margin-left: 55px;
    padding: 24px;
    justify-content: center;
    border-radius: 17px;
  }

  #your-roadmap.rm06-section .rm06-step::before {
    content: '';
    position: absolute;
    left: -38px;
    top: calc(50% - 5px);
    width: 9px;
    height: 9px;
    border: 1px solid #d5be8e;
    border-radius: 50%;
    background: #0c5143;
    box-shadow: 0 0 0 5px #0b4e41;
  }

  #your-roadmap.rm06-section .rm06-step::after {
    content: '';
    position: absolute;
    left: -29px;
    top: 50%;
    width: 29px;
    height: 1px;
    background: #d7bf905e;
  }

  #your-roadmap.rm06-section .rm06-step-top { position: static; }
  #your-roadmap.rm06-section .rm06-number { font-size: 10px; margin-bottom: 9px; }
  #your-roadmap.rm06-section .rm06-step svg { position: absolute; right: 22px; top: 24px; width: 22px; height: 22px; color: #b4d5c6; }
  #your-roadmap.rm06-section .rm06-step h3 { font-size: 23px; padding-right: 20px; }
  #your-roadmap.rm06-section .rm06-step h3 br { display: none; }

  #your-roadmap.rm06-section .rm06-endpoint {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
    padding: 0;
    text-align: left;
    gap: 20px;
  }

  #your-roadmap.rm06-section .rm06-end-node { width: 44px; height: 44px; flex-basis: 44px; box-shadow: 0 0 0 6px #0a493d; }
  #your-roadmap.rm06-section .rm06-endpoint h3 { margin: 0; font-size: 24px; }
  #your-roadmap.rm06-section .rm06-start h3 { font-size: 20px; }
  #your-roadmap.rm06-section .rm06-start h3 br { display: none; }
  #your-roadmap.rm06-section .rm06-goal { margin-top: 3px; }
  #your-roadmap.rm06-section .rm06-goal h3 { padding-top: 13px; }
  #your-roadmap.rm06-section .rm06-goal-label { top: 2px; left: 64px; font-size: 8px; }
}

@keyframes rm06-route-light-vertical {
  from { background-position: 0 140%; }
  to { background-position: 0 -80%; }
}

@media (max-width: 520px) {
  #your-roadmap.rm06-section > .section-inner { width: calc(100% - 36px); padding: 72px 0; }
  #your-roadmap.rm06-section .rm06-heading h2 { font-size: clamp(30px, 8.2vw, 38px); margin: 22px 0; }
  #your-roadmap.rm06-section .rm06-heading p { font-size: 14px; line-height: 1.7; max-width: 330px; }
  #your-roadmap.rm06-section .rm06-stage { border-radius: 24px; padding: 27px 20px; }
  #your-roadmap.rm06-section .rm06-route { gap: 18px; }
  #your-roadmap.rm06-section .rm06-step { margin-left: 52px; min-height: 112px; padding: 20px; }
  #your-roadmap.rm06-section .rm06-step::before { left: -35px; }
  #your-roadmap.rm06-section .rm06-step::after { left: -26px; width: 26px; }
  #your-roadmap.rm06-section .rm06-step h3 { font-size: 21px; padding-right: 0; }
  #your-roadmap.rm06-section .rm06-step svg { right: 18px; top: 19px; width: 20px; height: 20px; }
  #your-roadmap.rm06-section .rm06-endpoint { gap: 14px; }
  #your-roadmap.rm06-section .rm06-start h3 { font-size: 18px; }
  #your-roadmap.rm06-section .rm06-endpoint h3 { font-size: 22px; }
  #your-roadmap.rm06-section .rm06-start h3 { font-size: 18px; }
  #your-roadmap.rm06-section .rm06-goal-label { left: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  #your-roadmap.rm06-section .rm06-route::after { animation: none; opacity: 0; }
}
