/* Our approach: build skills, use a workspace, improve work.
   One calm block split by hairlines. */

.pathway {
  background: #070d20;
  color: #eaf0ff;
  margin: 0 20px;
  border-radius: 18px;
  border: 1px solid #1c2b52;
  padding: 78px 6.5%;
}

.pathway .section-label {
  color: #7f95c4;
  margin-bottom: 28px;
}

.pathway-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 40px;
}

.pathway-head h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.055em;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.pathway-head h2 span {
  color: #8badff;
}

.pathway-head > p {
  font-size: 16px;
  line-height: 1.7;
  color: #98a8ca;
  margin: 0;
  max-width: 38ch;
}

/* --------------------------------------------------------------- Stages */

.stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #1f2d52;
  border-radius: 12px;
  overflow: hidden;
}

.stage {
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  transition: background .4s var(--ease, ease);
}

.stage + .stage {
  border-left: 1px solid #1f2d52;
}

.stage:hover {
  background: #ffffff07;
}

.stage-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.stage-icon {
  display: grid;
  place-items: center;
  height: 46px;
  width: 46px;
  flex-shrink: 0;
  border: 1px solid #2b3d6d;
  border-radius: 11px;
  background: #101a3a;
  color: #8fb2ff;
  transition: background .4s var(--ease, ease), border-color .4s var(--ease, ease), color .4s var(--ease, ease);
}

.stage-icon svg {
  height: 23px;
  width: 23px;
}

.stage:hover .stage-icon {
  background: #2563eb;
  border-color: #6894ff;
  color: #fff;
}

.stage-no {
  font-size: 10.5px;
  letter-spacing: .16em;
  font-weight: 600;
  color: #6f83ad;
}

.stage-kicker {
  display: block;
  font-size: 10.5px;
  letter-spacing: .15em;
  font-weight: 600;
  color: #8fb2ff;
  margin-bottom: 10px;
}

.stage h3 {
  font-family: Manrope, sans-serif;
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: -.04em;
  font-weight: 500;
  color: #fff;
  margin: 0 0 14px;
}

.stage > p {
  font-size: 15px;
  line-height: 1.7;
  color: #9dadce;
  margin: 0 0 22px;
}

/* Tick list */

.ticks {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #b8c6e3;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #16224a center / 10px 10px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236894ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}

/* What you walk away with */

.stage-value {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid #24345e;
  border-radius: 9px;
  background: #0d1631;
  font-size: 13.5px;
  line-height: 1.45;
  color: #93a6cb;
  transition: border-color .4s var(--ease, ease), background .4s var(--ease, ease);
}

.stage:hover .stage-value {
  border-color: #33498a;
  background: #101c40;
}

.stage-value svg {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  color: #6894ff;
}

.stage-value strong {
  display: block;
  color: #dce7ff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
}

/* ------------------------------------------------------------ Section foot */

.pathway-note {
  margin: 26px 0 0;
  font-size: 14px;
  color: #8296c0;
}

.pathway-note a {
  color: #9fc0ff;
  margin-left: 6px;
  border-bottom: 1px solid #ffffff00;
  transition: border-color .3s var(--ease, ease), color .3s var(--ease, ease);
}

.pathway-note a:hover {
  color: #fff;
  border-bottom-color: #6894ff;
}

/* --------------------------------------------------------------- Responsive */

@media (min-width: 1500px) {
  .pathway {
    padding-left: max(6.5%, calc((100vw - 1280px) / 2));
    padding-right: max(6.5%, calc((100vw - 1280px) / 2));
  }
}

@media (max-width: 1000px) {
  .pathway {
    margin: 0 14px;
    padding: 66px 6%;
  }

  .pathway-head {
    display: block;
  }

  .pathway-head > p {
    margin-top: 20px;
    max-width: none;
  }

  .stages {
    grid-template-columns: 1fr;
  }

  .stage + .stage {
    border-left: 0;
    border-top: 1px solid #1f2d52;
  }

  .stage {
    padding: 30px 26px;
  }

  .stage h3 br {
    display: none;
  }
}

@media (max-width: 700px) {
  .pathway {
    margin: 0 9px;
    border-radius: 13px;
    padding: 54px 7%;
  }

  .pathway-head h2 {
    font-size: 34px;
  }

  .stage h3 {
    font-size: 24px;
  }
}
