.c4y-ps {
    padding: 7.1875rem 0;
    background: #fff;
}
.c4y-ps__inner { max-width: 1100px; margin: 0 auto; }

.c4y-ps__head { text-align: center; margin-bottom: 4rem; }
.c4y-ps__title {
    font-size: 1.875rem;
    font-weight: 700; color: #141f38;
    margin: 0 0 .75rem; line-height: 40px;
}
@media (min-width: 768px) {
    .c4y-ps__title { font-size: 2.25rem; }
}
.c4y-ps__subtitle {
    font-size: 1rem; font-weight: 400;
    color: rgb(107, 114, 128);
    line-height: 24px;
    max-width: 640px; margin: 0 auto;
}

.c4y-ps__timeline { position: relative; }
.c4y-ps__line {
    display: none;
    position: absolute; left: 50%; top: 40px; bottom: 40px;
    width: 4px; transform: translateX(-50%);
    background: rgba(229,231,235,.4); border-radius: 4px; overflow: hidden;
}
.c4y-ps__line-fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 0;
    background: linear-gradient(to bottom, rgb(104, 200, 81), rgb(104, 200, 81));
    border-radius: 4px;
    transition: height 2.5s cubic-bezier(.22,1,.36,1) .5s;
}
.c4y-ps--visible .c4y-ps__line-fill { height: 100%; }

.c4y-ps__step {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.c4y-ps__card      { order: 1; }
.c4y-ps__icon-wrap { order: 2; align-self: center; }

.c4y-ps__card {
    background: #fff;
    border: 1px solid rgba(229,231,235,.8);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    transition: box-shadow .25s, border-color .25s;
}
.c4y-ps__card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: rgba(104, 200, 81, .3);
}
.c4y-ps__card-title {
    font-size: 1.25rem;
    font-weight: 700; color: #141f38; margin: 0 0 .75rem; line-height: 1.3;
}
.c4y-ps__card-desc {
    font-size: 1rem; font-weight: 400;
    color: rgb(107, 114, 128); line-height: 24px;
    margin: 0 0 1rem !important;
}
.c4y-ps__card-details {
    list-style: none !important; margin: 0 !important; padding: 0 !important;
    display: flex; flex-direction: column; gap: .5rem;
}
.c4y-ps__card-details li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .875rem; font-weight: 400;
    color: rgb(20, 31, 56); line-height: 20px;
    padding: 0 !important; margin: 0 !important; margin-bottom: 0 !important;
    list-style: none !important;
}
.c4y-ps__check {
    width: 16px; height: 16px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgb(104%2C200%2C81)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center/contain;
    display: inline-block;
}

.c4y-ps__icon-wrap {
    flex-shrink: 0; position: relative; z-index: 2;
}
.c4y-ps__icon {
    width: 80px; height: 80px; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.c4y-ps__icon svg { width: 40px; height: 40px; color: #fff; }
.c4y-ps__num {
    position: absolute; top: -8px; right: -8px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgb(104, 200, 81); color: #fff;
    font-size: .875rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.c4y-ps__spacer { display: none; }

.c4y-ps__step--left .c4y-ps__card  { text-align: center; }
.c4y-ps__step--right .c4y-ps__card { text-align: left; }
.c4y-ps__card-details li { justify-content: flex-start; }

@media (min-width: 1024px) {
    .c4y-ps__line { display: block; }

    .c4y-ps__step {
        display: grid;
        grid-template-columns: 1fr 80px 1fr;
        align-items: center;
        gap: 2rem;
        margin-bottom: 6rem;
        flex-direction: unset;
    }

    .c4y-ps__card-title { font-size: 1.5rem; }
    .c4y-ps__card { padding: 2rem; }

    .c4y-ps__card      { order: unset; }
    .c4y-ps__icon-wrap { order: unset; align-self: unset; }
    .c4y-ps__step      { align-items: center; }

    .c4y-ps__step--left .c4y-ps__card     { grid-column: 1; grid-row: 1; text-align: right; }
    .c4y-ps__step--left .c4y-ps__icon-wrap { grid-column: 2; grid-row: 1; justify-self: center; }
    .c4y-ps__step--left .c4y-ps__spacer   { display: block; grid-column: 3; grid-row: 1; }

    .c4y-ps__step--right .c4y-ps__spacer   { display: block; grid-column: 1; grid-row: 1; }
    .c4y-ps__step--right .c4y-ps__icon-wrap { grid-column: 2; grid-row: 1; justify-self: center; }
    .c4y-ps__step--right .c4y-ps__card     { grid-column: 3; grid-row: 1; text-align: left; }

    .c4y-ps__step--left .c4y-ps__card-details li  { justify-content: flex-end; }
    .c4y-ps__step--left .c4y-ps__card-details li .c4y-ps__check { order: 2; }
    .c4y-ps__step--left .c4y-ps__card-details li span { order: 1; }
    .c4y-ps__step--right .c4y-ps__card-details li { justify-content: flex-start; }
}
