/* Complete ecosystem journey. Isolated to complete-ecosystem.html. */

.ecosystem-journey .launch-flow-heading{
  margin-bottom:clamp(48px,6vw,76px);
}

.ecosystem-u-graph{
  position:relative;
  width:min(100%,1280px);
  min-height:540px;
  margin:0 auto;
}

.ecosystem-u-graph>figcaption{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

.ecosystem-u-curve{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}

.ecosystem-u-track,
.ecosystem-u-route{
  fill:none;
  vector-effect:non-scaling-stroke;
}

.ecosystem-u-track{
  stroke:#45414a;
  stroke-width:10;
  stroke-linecap:round;
}

.ecosystem-u-route{
  stroke:#7c3aed;
  stroke-width:4;
  stroke-linecap:round;
}

#ecosystem-arrow path{fill:#f5ff63}

.ecosystem-u-point{
  vector-effect:non-scaling-stroke;
  stroke:#111015;
  stroke-width:5;
}

.ecosystem-u-point--before{fill:#f3f3f5}
.ecosystem-u-point--build{fill:#7c3aed}
.ecosystem-u-point--own{fill:#f5ff63}

.ecosystem-u-stages{
  position:relative;
  z-index:1;
  min-height:540px;
  margin:0;
  padding:0;
  list-style:none;
}

.ecosystem-u-stage{
  position:absolute;
  width:min(31%,340px);
}

.ecosystem-u-stage--before{
  top:0;
  left:0;
}

.ecosystem-u-stage--build{
  left:50%;
  bottom:0;
  width:min(38%,430px);
  transform:translateX(-50%);
  text-align:center;
}

.ecosystem-u-stage--own{
  top:0;
  right:0;
  text-align:right;
}

.ecosystem-u-label{
  display:inline-flex;
  min-height:30px;
  padding:6px 11px;
  align-items:center;
  border-radius:999px;
  background:#343139;
  color:#f3f3f5;
  font-size:13px;
  font-weight:750;
}

.ecosystem-u-stage--build .ecosystem-u-label{
  background:#7c3aed;
  color:#fff;
}

.ecosystem-u-stage--own .ecosystem-u-label{
  background:#f5ff63;
  color:#19171c;
}

.ecosystem-u-stage h3{
  margin-top:14px;
  color:#fff;
  font-size:clamp(22px,2.5vw,34px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.025em;
  text-wrap:balance;
}

.ecosystem-u-stage p{
  max-width:36ch;
  margin-top:11px;
  color:#c5c1ca;
  font-size:15px;
  line-height:1.5;
  text-wrap:pretty;
}

.ecosystem-u-stage--build p{margin-inline:auto}
.ecosystem-u-stage--own p{margin-left:auto}

.ecosystem-u-stage strong{
  display:block;
  margin-top:13px;
  color:#f5ff63;
  font-size:13px;
  font-weight:750;
}

.ecosystem-u-stage--before strong{color:#aaa5af}

@media(max-width:820px){
  .ecosystem-u-graph,
  .ecosystem-u-stages{min-height:0}

  .ecosystem-u-curve{display:none}

  .ecosystem-u-stages{
    display:flex;
    flex-direction:column;
  }

  .ecosystem-u-stage{
    position:relative;
    width:100%;
    padding:0 0 54px 44px;
    text-align:left;
  }

  .ecosystem-u-stage::before{
    content:"";
    position:absolute;
    top:8px;
    left:0;
    width:14px;
    height:14px;
    border:4px solid #111015;
    border-radius:50%;
    background:#f3f3f5;
    box-shadow:0 0 0 2px #5b5661;
  }

  .ecosystem-u-stage:not(:last-child)::after{
    content:"";
    position:absolute;
    top:30px;
    bottom:10px;
    left:9px;
    width:2px;
    background:#5b5661;
  }

  .ecosystem-u-stage--build,
  .ecosystem-u-stage--own{
    inset:auto;
    transform:none;
  }

  .ecosystem-u-stage--build::before{
    background:#7c3aed;
    box-shadow:0 0 0 2px #7c3aed;
  }

  .ecosystem-u-stage--own{
    padding-bottom:0;
  }

  .ecosystem-u-stage--own::before{
    background:#f5ff63;
    box-shadow:0 0 0 2px #f5ff63;
  }

  .ecosystem-u-stage h3{
    max-width:18ch;
    font-size:clamp(25px,7vw,34px);
  }

  .ecosystem-u-stage p,
  .ecosystem-u-stage--build p,
  .ecosystem-u-stage--own p{
    max-width:42ch;
    margin-inline:0;
  }
}

@media(prefers-reduced-motion:reduce){
  .ecosystem-u-graph *{
    animation:none!important;
    transition:none!important;
  }
}
