.html-retirement-landing,
.html-retirement-landing body {
    margin: 0;
    background: #fff;
}

.retirement-landing {
    --rl-beige: #efebe8;
    --rl-mint: #bef9df;
    --rl-violet: #8a8af2;
    --rl-dark: #333;
    width: 100%;
    min-width: 320px;
    color: #000;
    background: #fff;
    direction: rtl;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.35;
}

.retirement-landing *,
.retirement-landing *::before,
.retirement-landing *::after {
    box-sizing: border-box;
}

.retirement-landing h1,
.retirement-landing h2,
.retirement-landing h3,
.retirement-landing p {
    margin: 0;
}

.retirement-landing a {
    text-decoration: none;
}

.rl-hero {
    position: relative;
    height: 1434px;
    background: linear-gradient(to bottom, var(--rl-beige) 0 864px, #fff 864px 100%);
}

.rl-hero__copy {
    position: absolute;
    z-index: 2;
    top: 199px;
    left: 50%;
    width: 669px;
    transform: translateX(-50%);
    text-align: center;
}

.rl-pill {
    height: 32px;
    padding: 3px 17px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rl-violet);
    background: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.rl-hero h1 {
    margin-top: 30px;
    font-size: 70px;
    font-weight: 700;
    line-height: 70px;
    letter-spacing: -1.5px;
}

.rl-hero__copy > p {
    width: 631px;
    margin: 25px auto 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.rl-cta {
    width: fit-content;
    max-width: calc(100% - 40px);
    height: 54px;
    margin: 31px auto 0;
    padding: 0 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #fff;
    background: var(--rl-violet);
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    transition: transform .15s ease, filter .15s ease;
}

.rl-cta span {
    white-space: nowrap;
}

.rl-cta:hover,
.rl-cta:focus-visible {
    color: #fff;
    filter: brightness(.97);
    transform: translateY(-1px);
}

.rl-cta img {
    width: 17px;
    height: 12px;
    flex: 0 0 auto;
    transform: rotate(180deg);
}

.rl-hero__preview {
    position: absolute;
    z-index: 1;
    top: 727px;
    left: 50%;
    width: 1280px;
    max-width: calc(100% - 40px);
    height: 707px;
    transform: translateX(-50%);
    overflow: hidden;
    border: 5px solid #333;
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
    background: #5dd6a2;
    box-shadow: 0 -10px 30px rgba(149, 131, 117, .2);
}

.rl-hero__preview > img {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
}

.rl-hero__preview::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: 0;
    left: -5px;
    height: 173px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%);
}

.rl-section-heading {
    text-align: center;
}

.rl-section-heading h2,
.rl-steps > h2,
.rl-trust > h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 47px;
}

.rl-section-heading p {
    width: 411px;
    margin: 19px auto 0;
    font-size: 18px;
    line-height: 1.2;
}

.rl-outcomes {
    height: 633px;
    padding-top: 107px;
    background: #fff;
}

.rl-outcomes__grid {
    width: 1280px;
    max-width: calc(100% - 40px);
    margin: 76px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 76px;
}

.rl-outcome {
    text-align: right;
}

.rl-outcome__icon,
.rl-outcome__bars {
    width: 36px;
    height: 36px;
    margin-right: 0;
    margin-left: auto;
    display: flex;
    object-fit: contain;
}

.rl-outcome__bars {
    align-items: flex-end;
    gap: 4px;
}

.rl-outcome__bars i {
    width: 9px;
    background: var(--rl-violet);
    border: 1.75px solid var(--rl-violet);
}

.rl-outcome__bars i:nth-child(1) { height: 18px; }
.rl-outcome__bars i:nth-child(2) { height: 32px; }
.rl-outcome__bars i:nth-child(3) { height: 24px; }

.rl-outcome h3 {
    margin-top: 24px;
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
}

.rl-outcome p {
    margin-top: 17px;
    font-size: 18px;
    line-height: 24px;
}

.rl-steps {
    height: 623px;
    padding-top: 103px;
    background: var(--rl-mint);
    text-align: center;
}

.rl-steps__grid {
    width: 1280px;
    max-width: calc(100% - 40px);
    margin: 49px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    direction: rtl;
}

.rl-step {
    height: 274px;
    padding: 42px 33px 28px;
    border-radius: 20px;
    background: #fff;
    text-align: right;
}

.rl-step > span {
    display: block;
    color: var(--rl-violet);
    font-size: 50px;
    font-weight: 400;
    line-height: 28px;
}

.rl-step h3 {
    margin-top: 32px;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
}

.rl-step p {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.16;
}

.rl-live {
    position: relative;
    height: 2760px;
    padding-top: 103px;
    background: #fff;
}

.rl-live__heading h2 {
    line-height: 47px;
}

.rl-live__rows {
    width: 1280px;
    max-width: calc(100% - 40px);
    margin: 69px auto 0;
    display: flex;
    flex-direction: column;
    gap: 76px;
}

.rl-feature {
    height: 171px;
    display: grid;
    grid-template-columns: 502px 1fr 502px;
    align-items: center;
    direction: ltr;
}

.rl-feature__copy {
    width: 382px;
    align-self: start;
    padding-top: 33px;
    direction: rtl;
    text-align: right;
}

.rl-feature__copy h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
}

.rl-feature__copy p {
    margin-top: 14px;
    font-size: 18px;
    line-height: 24px;
}

.rl-feature--copy-right .rl-feature__copy {
    grid-column: 3;
    justify-self: end;
}

.rl-feature--copy-right .rl-feature__visual {
    grid-column: 1;
    grid-row: 1;
}

.rl-feature--copy-left .rl-feature__copy {
    grid-column: 1;
    justify-self: start;
}

.rl-feature--copy-left .rl-feature__visual {
    grid-column: 3;
    grid-row: 1;
}

.rl-feature__visual {
    width: 502px;
    height: 171px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.rl-feature__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.rl-feature__visual--slider img {
    object-position: center bottom;
}

.rl-live__cta {
    position: absolute;
    top: 2607px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
}

.rl-live__cta:hover,
.rl-live__cta:focus-visible {
    transform: translateX(-50%) translateY(-1px);
}

.rl-trust {
    height: 651px;
    padding-top: 103px;
    background: var(--rl-mint);
    text-align: center;
}

.rl-trust__grid {
    width: 1214px;
    max-width: calc(100% - 40px);
    margin: 67px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 334px);
    justify-content: space-between;
    text-align: right;
}

.rl-trust article > img {
    width: 40px;
    height: 40px;
    display: block;
    margin-right: 0;
    margin-left: auto;
}

.rl-trust h3 {
    margin-top: 23px;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
}

.rl-trust article p {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.17;
}

.rl-cta--dark {
    color: #fff;
    background: #000;
}

.rl-trust__cta {
    margin-top: 66px;
}

.rl-final {
    position: relative;
    height: 515px;
    overflow: hidden;
    padding-top: 137px;
    color: #fff;
    background: #333 url("/img/retirement-landing/final-pattern.svg") center 42% / 1980px auto no-repeat;
    text-align: center;
}

.retirement-landing .rl-final h2 {
    position: relative;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
}

.rl-final > p {
    position: relative;
    width: 534px;
    margin: 26px auto 0;
    font-size: 20px;
    line-height: 1.2;
}

.rl-final .rl-cta {
    position: relative;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .rl-hero,
    .rl-outcomes,
    .rl-steps,
    .rl-live,
    .rl-trust,
    .rl-final {
        height: auto;
    }

    .rl-hero {
        padding: 24px 20px 56px;
        background: var(--rl-beige);
    }

    .rl-hero__copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 126px;
        transform: none;
    }

    .rl-pill { height: 28px; font-size: 16px; }
    .rl-hero h1 { margin-top: 24px; font-size: 43px; line-height: 46px; letter-spacing: -.8px; }
    .rl-hero__copy > p { width: min(100%, 570px); margin-top: 22px; font-size: 17px; line-height: 1.45; }
    .rl-cta {
        min-height: 54px;
        height: auto;
        max-width: 100%;
        padding: 10px 20px;
        gap: 16px;
        font-size: 20px;
    }

    .rl-cta span { white-space: normal; }
    .rl-trust__cta { padding-inline: 18px; gap: 16px; font-size: 18px; }

    .rl-hero__preview {
        position: relative;
        top: auto;
        left: auto;
        width: min(100%, 640px);
        height: auto;
        aspect-ratio: 1.81;
        margin: 56px auto 0;
        transform: none;
        border-width: 3px;
        border-bottom: 3px solid #333;
        border-radius: 18px;
    }

    .rl-hero__preview > img { top: -9%; }
    .rl-hero__preview::after { height: 24%; }

    .rl-outcomes,
    .rl-steps,
    .rl-live,
    .rl-trust,
    .rl-final {
        padding: 72px 20px;
    }

    .rl-section-heading h2,
    .rl-steps > h2,
    .rl-trust > h2 { font-size: 32px; line-height: 38px; }
    .rl-section-heading p { width: min(100%, 411px); font-size: 16px; line-height: 1.45; }

    .rl-outcomes__grid,
    .rl-steps__grid,
    .rl-live__rows,
    .rl-trust__grid {
        width: min(100%, 640px);
        grid-template-columns: 1fr;
    }

    .rl-outcomes__grid { margin-top: 48px; gap: 48px; }
    .rl-outcome { max-width: 420px; margin: 0 auto; text-align: center; }
    .rl-outcome__icon,
    .rl-outcome__bars { margin: 0 auto; }

    .rl-steps__grid { margin-top: 42px; gap: 18px; }
    .rl-step { height: auto; min-height: 230px; }

    .rl-live__rows { margin-top: 52px; display: flex; gap: 48px; }
    .rl-feature { height: auto; display: flex; flex-direction: column; gap: 22px; }
    .rl-feature__copy { order: 1; width: 100%; padding-top: 0; text-align: center; }
    .rl-feature__visual { order: 2; width: 100%; height: auto; aspect-ratio: 2.94; border-radius: 14px; }
    .rl-live__cta { position: relative; top: auto; left: auto; margin: 58px auto 0; transform: none; }
    .rl-live__cta:hover,
    .rl-live__cta:focus-visible { transform: translateY(-1px); }

    .rl-trust__grid { margin-top: 50px; display: grid; gap: 44px; }
    .rl-trust article { text-align: center; }
    .rl-trust article > img { margin: 0 auto; }
    .rl-trust__cta { margin-top: 54px; }

    .rl-final { background-size: cover; }
    .rl-final h2 { font-size: 32px; line-height: 38px; }
    .rl-final > p { width: min(100%, 534px); font-size: 17px; line-height: 1.45; }

}
