@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

.relizon-referral-page {
    --ref-blue: #165bfb;
    --ref-ink: #15223a;
    --ref-muted: #6d788c;
    color: var(--ref-ink);
    font-family: "Inter", sans-serif;
    overflow: hidden
}

.relizon-referral-page * {
    box-sizing: border-box
}

.relizon-referral-page .container {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

.relizon-referral-page h1,
.relizon-referral-page h2,
.relizon-referral-page h3 {
    font-family: "Inter", sans-serif;
    letter-spacing: -.045em
}

.referral-hero {
    position: relative;
    background: linear-gradient(120deg, #f8faff, #edf3ff);
    padding: 88px 0 75px;
    isolation: isolate
}

.referral-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: -1
}

.referral-hero__glow--one {
    width: 390px;
    height: 390px;
    right: -100px;
    top: -140px;
    background: radial-gradient(circle, rgba(22, 91, 251, .14), transparent 68%)
}

.referral-hero__glow--two {
    width: 300px;
    height: 300px;
    left: 32%;
    bottom: -180px;
    background: radial-gradient(circle, rgba(103, 80, 220, .12), transparent 70%)
}

.referral-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px
}

.referral-eyebrow,
.referral-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--ref-blue)
}

.referral-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px
}

.referral-eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22b47a;
    box-shadow: 0 0 0 5px #22b47a1c
}

.referral-hero h1 {
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.07;
    margin: 22px 0 20px
}

.referral-hero h1 span,
.referral-intro h2 span,
.referral-section-heading h2 span,
.referral-eligibility h2 span {
    color: var(--ref-blue)
}

.referral-hero__copy>p:not(.referral-note) {
    font-size: 16px;
    line-height: 1.85;
    color: #66738a;
    max-width: 590px
}

.referral-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.referral-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px 19px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: .25s
}

.referral-btn--primary {
    background: var(--ref-blue);
    color: #fff;
    box-shadow: 0 12px 25px #165bfb30
}

.referral-btn--primary:hover {
    transform: translateY(-3px);
    color: #fff
}

.referral-btn--light {
    background: #fff;
    border: 1px solid #dfe7f7;
    color: var(--ref-ink)
}

.referral-note {
    font-size: 12px;
    color: #8791a2;
    line-height: 1.7;
    margin-top: 22px;
    max-width: 570px
}

.referral-hero__visual {
    position: relative;
    min-height: 405px;
    display: grid;
    place-items: center
}

.referral-orbit {
    position: absolute;
    border: 1px solid #165bfb20;
    border-radius: 50%;
    aspect-ratio: 1
}

.referral-orbit--outer {
    width: min(100%, 400px);
    border-style: dashed;
    animation: referralSpin 42s linear infinite
}

.referral-orbit--inner {
    width: min(80%, 320px);
    border-color: #8ca9fa55
}

.referral-visual-card {
    position: relative;
    width: min(100%, 360px);
    padding: 27px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px #1b3e801b;
    border: 1px solid #fff
}

.referral-visual-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.referral-symbol {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--ref-blue);
    color: white;
    border-radius: 13px;
    font: 800 20px Manrope
}

.referral-pill {
    font-size: 12px;
    font-weight: 700;
    color: #16895c;
    background: #e7f9f0;
    padding: 8px 10px;
    border-radius: 30px
}

.referral-visual-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #edf2ff;
    color: var(--ref-blue);
    display: grid;
    place-items: center;
    font-size: 30px;
    margin-top: 28px
}

.referral-visual-card h2 {
    font-size: 24px;
    margin: 18px 0 8px
}

.referral-visual-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ref-muted)
}

.referral-visual-card__steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    font-size: 10px;
    color: #9aa4b5
}

.referral-visual-card__steps span {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.referral-visual-card__steps b {
    font-size: 12px;
    color: #39465c
}

.referral-visual-card__steps i {
    height: 1px;
    flex: 1;
    background: #dce4f4
}

.section-space {
    padding: 85px 0
}

.referral-intro__grid,
.referral-eligibility__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: start
}

.referral-intro h2,
.referral-eligibility h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    margin: 16px 0
}

.referral-intro__grid>div+div p,
.referral-eligibility__grid>div>p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--ref-muted);
    margin: 0 0 15px
}

.referral-solutions,
.referral-benefits {
    background: #f7f9fd
}

.referral-section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 38px
}

.referral-section-heading h2 {
    font-size: clamp(31px, 4vw, 45px);
    line-height: 1.18;
    margin: 14px 0
}

.referral-section-heading>p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ref-muted)
}

.referral-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px
}

.referral-solution {
    position: relative;
    background: #fff;
    border: 1px solid #e7ecf5;
    border-radius: 17px;
    padding: 24px;
    min-height: 220px;
    transition: .25s
}

.referral-solution:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px #1b3e800e;
    border-color: #cbd9ff
}

.referral-solution>span {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aab3c2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px
}

.referral-solution__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #edf2ff;
    color: var(--ref-blue);
    font-size: 22px
}

.referral-solution h3 {
    font-size: 17px;
    margin: 19px 0 8px;
    letter-spacing: -.025em
}

.referral-solution p,
.referral-process-grid p,
.referral-benefits-grid p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--ref-muted);
    margin: 0
}

.referral-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px
}

.referral-process-grid article {
    padding: 23px 20px;
    border: 1px solid #e7ecf5;
    border-radius: 15px;
    background: #fff
}

.referral-process-grid article>span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #edf2ff;
    color: var(--ref-blue);
    font-weight: 800;
    font-size: 11px
}

.referral-process-grid h3 {
    font-size: 16px;
    margin: 18px 0 8px;
    letter-spacing: -.025em
}

.referral-people-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.referral-people-grid span {
    padding: 15px 17px;
    background: #f7f9fd;
    border: 1px solid #e9eef8;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #47546a
}

.referral-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.referral-benefits-grid article {
    background: #fff;
    border: 1px solid #e7ecf5;
    border-radius: 16px;
    padding: 25px
}

.referral-benefits-grid article>span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: #edf2ff;
    color: var(--ref-blue);
    border-radius: 13px;
    font-size: 22px
}

.referral-benefits-grid h3 {
    font-size: 17px;
    margin: 18px 0 8px;
    letter-spacing: -.025em
}

.referral-terms {
    padding: 0 0 75px
}

.referral-terms__inner {
    display: flex;
    gap: 17px;
    padding: 23px;
    border: 1px solid #f1dfb6;
    background: #fffaf0;
    border-radius: 14px
}

.referral-terms__icon {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0c9;
    color: #9b6b00;
    font-weight: 800
}

.referral-terms h2 {
    font-size: 16px;
    margin: 2px 0 8px;
    letter-spacing: -.02em
}

.referral-terms p {
    font-size: 12px;
    line-height: 1.8;
    color: #786e5a;
    margin: 0
}

.referral-cta {
    padding: 0 0 85px
}

.referral-cta__box {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 45px 50px;
    border-radius: 23px;
    background: linear-gradient(120deg, #1248d7, #165bfb);
    color: #fff
}

.referral-kicker--light {
    color: #c8d8ff
}

.referral-cta h2 {
    font-size: clamp(29px, 4vw, 43px);
    margin: 13px 0 10px
}

.referral-cta p {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e9ff;
    max-width: 540px
}

.referral-btn--white {
    background: #fff;
    color: #174dc9;
    margin-top: 10px
}

.referral-cta__mark {
    font: 800 130px Manrope;
    color: #ffffff18;
    position: relative;
    letter-spacing: -15px
}

.referral-cta__mark span {
    font-size: 55px;
    color: #ffffff65;
    vertical-align: top;
    letter-spacing: 0
}

@keyframes referralSpin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:900px) {
    .referral-hero__grid {
        gap: 20px
    }

    .referral-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .referral-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .referral-intro__grid,
    .referral-eligibility__grid {
        gap: 35px
    }
}

@media(max-width:650px) {
    .relizon-referral-page .container {
        width: min(100% - 34px, 560px)
    }

    .referral-hero {
        padding: 60px 0 45px
    }

    .referral-hero__grid {
        grid-template-columns: 1fr
    }

    .referral-hero h1 {
        font-size: 44px
    }

    .referral-hero__visual {
        min-height: 355px;
        margin-top: 5px
    }

    .referral-visual-card {
        width: min(100%, 330px);
        padding: 22px
    }

    .section-space {
        padding: 60px 0
    }

    .referral-intro__grid,
    .referral-eligibility__grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .referral-solution-grid,
    .referral-benefits-grid,
    .referral-process-grid {
        grid-template-columns: 1fr
    }

    .referral-solution {
        min-height: unset
    }

    .referral-people-grid {
        grid-template-columns: 1fr 1fr
    }

    .referral-cta {
        padding-bottom: 60px
    }

    .referral-cta__box {
        padding: 32px 25px
    }

    .referral-cta__mark {
        display: none
    }

    .referral-terms {
        padding-bottom: 55px
    }
}

@media(prefers-reduced-motion:reduce) {
    .referral-orbit--outer {
        animation: none
    }

    .referral-solution,
    .referral-btn {
        transition: none
    }
}