.c4y-ah {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: rgb(244, 245, 247);
  padding: 4rem 0;
}

.c4y-ah__inner {
  width: 100%;
  max-width: var(--global-content-width, 1152px);
  margin: 0 auto;
  padding-left: var(--global-content-edge-padding, 32px);
  padding-right: var(--global-content-edge-padding, 32px);
}

.c4y-ah__head {
  max-width: 980px;
  margin: 0 auto 4rem;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}

.c4y-ah .c4y-ah__badge {
  display: inline-block;
  margin: 0 0 1rem !important;
  color: rgb(104, 200, 81) !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c4y-ah .c4y-ah__title {
  margin: 0 0 1.5rem !important;
  color: rgb(20, 31, 56) !important;
  font-size: 30px !important;
  line-height: 36px !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

.c4y-ah .c4y-ah__desc {
  margin: 0 auto !important;
  max-width: 860px;
  color: rgb(107, 114, 128) !important;
  font-size: 18px !important;
  line-height: 30px !important;
  font-weight: 400 !important;
}

.c4y-ah__timeline {
  position: relative;
}

.c4y-ah__line {
  display: none;
}

.c4y-ah__steps {
  display: grid;
  gap: 3rem;
}

.c4y-ah__step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  position: relative;
}

.c4y-ah__card {
  background: #fff;
  border: 1px solid rgb(228, 231, 236);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: left;
}

.c4y-ah .c4y-ah__year {
  margin: 0 !important;
  color: rgb(104, 200, 81) !important;
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
}

.c4y-ah .c4y-ah__step-title {
  margin: 0.5rem 0 0 !important;
  color: rgb(20, 31, 56) !important;
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
}

.c4y-ah .c4y-ah__step-desc {
  margin: 0.5rem 0 0 !important;
  color: rgb(107, 114, 128) !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

.c4y-ah__spacer {
  display: none;
}

.c4y-ah__dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  box-sizing: border-box;
  background: rgb(104, 200, 81);
  border: 4px solid rgb(244, 245, 247);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  justify-self: center;
  align-self: center;
  margin: 0.125rem auto 0;
}

.c4y-ah.c4y-ah--visible .c4y-ah__head {
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.c4y-ah.c4y-ah--visible .c4y-ah__step {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(1) { transition-delay: 0.08s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(2) { transition-delay: 0.16s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(3) { transition-delay: 0.24s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(4) { transition-delay: 0.32s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(5) { transition-delay: 0.40s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(6) { transition-delay: 0.48s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(7) { transition-delay: 0.56s; }
.c4y-ah.c4y-ah--visible .c4y-ah__step:nth-child(8) { transition-delay: 0.64s; }

@media (min-width: 768px) {
  .c4y-ah {
    padding: 6rem 0;
  }

  .c4y-ah .c4y-ah__title {
    font-size: 36px !important;
    line-height: 40px !important;
  }

  .c4y-ah__line {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgb(228, 231, 236);
    transform: translateX(-50%);
  }

  .c4y-ah__step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center !important;
    column-gap: 5rem;
    row-gap: 0;
    min-height: 1px;
  }

  .c4y-ah__spacer {
    display: block;
  }

  .c4y-ah__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    justify-self: auto;
    align-self: auto;
  }

  .c4y-ah__step--left .c4y-ah__card {
    grid-column: 1;
    text-align: right;
    align-self: center;
  }

  .c4y-ah__step--left .c4y-ah__dot {
    grid-column: auto;
  }

  .c4y-ah__step--left .c4y-ah__spacer {
    grid-column: 2;
  }

  .c4y-ah__step--right .c4y-ah__spacer {
    grid-column: 1;
  }

  .c4y-ah__step--right .c4y-ah__dot {
    grid-column: auto;
  }

  .c4y-ah__step--right .c4y-ah__card {
    grid-column: 2;
    text-align: left;
    align-self: center;
  }
}

@media (min-width: 1024px) {
  .c4y-ah {
    padding: 8rem 0;
  }
}
