/* Home page styles */
@font-face {
    font-family: 'cakefont';
    src: url('../font/cakedingbats-webfont.eot');
    src: url('../font/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/cakedingbats-webfont.woff2') format('woff2'),
    url('../font/cakedingbats-webfont.woff') format('woff'),
    url('../font/cakedingbats-webfont.ttf') format('truetype'),
    url('../font/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-gold: #CEB073;
    --color-dark-gold: #837454;
    --color-light-grey: #F7F7F7;
    --color-dark-grey: #222222;
    --color-brand-green: #41AD6B;
}

h1 {
    font-weight: bold;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    color: #0071BC;
    text-decoration: underline;
}

hr {
    border-bottom: 1px solid #e7e7e7;
    border-top: 0;
    margin-bottom: 35px;
}

.text-center {
    text-align: center;
}

.links a {
    margin-right: 10px;
}

.release-name {
    color: #D33C43;
    font-weight: 400;
    font-style: italic;
}

.bullet:before {
    font-family: 'cakefont', sans-serif;
    font-size: 18px;
    display: inline-block;
    margin-left: -1.3em;
    width: 1.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: -1px;
}

.success:before {
    color: #88c671;
    content: "\0056";
}

.problem:before {
    color: #d33d44;
    content: "\0057";
}

.cake-error {
    padding: 10px;
    margin: 10px 0;
}

#url-rewriting-warning {
    display: none;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

.font-poppins          { font-family: 'Poppins', sans-serif; }
.font-poppins-light    { font-family: 'Poppins Light', sans-serif; }
.font-poppins-bold     { font-family: 'Poppins Bold', sans-serif; }
.font-poppins-extra-bold { font-family: 'Poppins ExtraBold', sans-serif; }
.font-poppins-semi-bold { font-family: 'Poppins SemiBold', sans-serif; }
.font-poppins-medium   { font-family: 'Poppins Medium', sans-serif; }

.fs-18  { font-size: 18px; }
.fs-20  { font-size: 20px; }
.fs-22  { font-size: 22px; }
.fs-24  { font-size: 24px; }
.fs-28  { font-size: 28px; }
.fs-30  { font-size: 30px; }
.fs-32  { font-size: 32px; }
.fs-35  { font-size: 35px; }
.fs-40  { font-size: 40px; }
.fs-44  { font-size: 44px; }
.fs-45  { font-size: 45px; }
.fs-50  { font-size: 50px; }

.lh-25  { line-height: 25px; }
.lh-28  { line-height: 28px; }
.lh-30  { line-height: 30px; }
.lh-32  { line-height: 32px; }
.lh-34  { line-height: 34px; }
.lh-36  { line-height: 36px; }
.lh-38  { line-height: 38px; }
.lh-40  { line-height: 40px; }
.lh-42  { line-height: 42px; }
.lh-45  { line-height: 45px; }
.lh-50  { line-height: 50px; }
.lh-53  { line-height: 53px; }
.lh-60  { line-height: 60px; }

/* ==========================================
   COLORS
   ========================================== */

.bg-F7F7F7    { background: #F7F7F7; }
.bg-222222    { background: #222222; }
.bg-gold      { background: var(--color-gold); }
.bg-dark-gold { background: var(--color-dark-gold); }
.bg-dark-grey { background: var(--color-dark-grey); }

.\!bg-dark-grey { background: var(--color-dark-grey) !important; }

.hover-bg-gold:hover  { background: var(--color-gold); }
.\!hover-bg-gold:hover { background: var(--color-gold) !important; }

.text-gold        { color: var(--color-gold); }
.text-dark-gold   { color: var(--color-dark-gold); }
.text-brand-green { color: var(--color-brand-green); }
.text-light-grey  { color: var(--color-light-grey); }
.text-dark-grey   { color: var(--color-dark-grey); }

.\!text-dark-grey { color: var(--color-dark-grey) !important; }

/* ==========================================
   WIDTHS / MAX-WIDTHS
   ========================================== */

.w-max-content { width: max-content; }
.w-max-544  { max-width: 544px; }
.w-max-670  { max-width: 670px; }
.w-max-710  { max-width: 710px; }
.w-max-900  { max-width: 960px;  padding-left: 30px; padding-right: 30px; }
.w-max-1090 { max-width: 1150px; padding-left: 30px; padding-right: 30px; }
.w-max-1286 { max-width: 1284px; padding-left: 30px; padding-right: 30px; }
.w-max-1245 { max-width: 1245px; padding-left: 30px; padding-right: 30px; }
.w-max-1364 { max-width: 1424px; padding-left: 30px; padding-right: 30px; }
.w-max-1640 { max-width: 1700px; padding-left: 30px; padding-right: 30px; }
.w-max-1710 { max-width: 1770px; padding-left: 30px; padding-right: 30px; }
.w-max-1820 { max-width: 1880px; padding-left: 30px; padding-right: 30px; }

/* ==========================================
   SPACING — PADDING
   ========================================== */

.pt-26  { padding-top: 26px; }
.pt-30  { padding-top: 30px; }
.pt-50  { padding-top: 50px; }
.pt-60  { padding-top: 60px; }
.pt-100 { padding-top: 100px; }
.pt-108 { padding-top: 108px; }
.pt-120 { padding-top: 120px; }

.pb-40  { padding-bottom: 40px; }
.pb-50  { padding-bottom: 50px; }
.pb-90  { padding-bottom: 90px; }
.pb-120 { padding-bottom: 120px; }
.pb-200 { padding-bottom: 200px; }

.py-25  { padding-top: 25px;  padding-bottom: 25px; }
.py-30  { padding-top: 30px;  padding-bottom: 30px; }
.py-36  { padding-top: 36px;  padding-bottom: 36px; }
.py-70  { padding-top: 70px;  padding-bottom: 70px; }
.py-80  { padding-top: 80px;  padding-bottom: 80px; }
.py-90  { padding-top: 90px;  padding-bottom: 90px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.py-120 { padding-top: 120px; padding-bottom: 120px; }

.px-10  { padding-left: 10px; padding-right: 10px; }
.px-30  { padding-left: 30px; padding-right: 30px; }
.px-40  { padding-left: 40px; padding-right: 40px; }
.px-70  { padding-left: 70px; padding-right: 70px; }

/* ==========================================
   SPACING — MARGIN
   ========================================== */

.mb-12    { margin-bottom: 12px; }
.mb-24    { margin-bottom: 24px; }
.mb-28    { margin-bottom: 28px; }
.mb-34    { margin-bottom: 34px; }
.mb-36    { margin-bottom: 36px; }
.mb-40    { margin-bottom: 40px; }
.mb-45    { margin-bottom: 45px; }
.mb-50    { margin-bottom: 50px; }
.mb-58    { margin-bottom: 58px; }
.mb-60    { margin-bottom: 60px; }
.mb-80    { margin-bottom: 80px; }
.mb-2rem  { margin-bottom: 2rem; }
.mb-2-5rem { margin-bottom: 2.5rem; }
.mt-2rem  { margin-top: 2rem; }
.-mb-40   { margin-bottom: -40px; }
.mx-30    { margin-left: 30px; margin-right: 30px; }

/* ==========================================
   MISC UTILITIES
   ========================================== */

.-z-1          { z-index: -1; }
.block-shadow  { box-shadow: 0px 20px 25px #00000036; }
.object-cover  { object-fit: cover; }
.border-none   { border: none; }
.cursor-pointer { cursor: pointer; }
.bottom-auto   { bottom: auto; }
.grey-card {padding: 36px 24px;}

/* ==========================================
   BUTTONS
   ========================================== */

.link-button-main {
    font-size: 17px;
    line-height: 26px;
    padding: 12px 33px;
    color: #ffffff;
    font-family: 'Poppins Medium', sans-serif;
    text-decoration: none;
    transition: all 0.3s;
    background: #41AD6B;
    min-width: 260px;
    border: 1px solid #41AD6B;
}

.link-button-main:hover {
    filter: brightness(0.85);
}

.link-button-secondary {
    font-size: 17px;
    line-height: 26px;
    padding: 12px 33px;
    border: 1px solid #fff;
    color: #ffffff;
    font-family: 'Poppins Medium', sans-serif;
    text-decoration: none;
    transition: all 0.3s;
    background: transparent;
    min-width: 260px;
}

.link-button-secondary.dark {
    border: 1px solid #222222;
    color: #222222;
}

.link-button-secondary:hover {
    background: #41AD6B;
    border: 1px solid transparent;
    color: #fff;
}

/* ==========================================
   HEADER
   ========================================== */

header {
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.bg-brand-green { background: var(--color-brand-green); }
header .menu-desktop .nav-items {
    display: flex;
    font-family: 'Poppins Bold', sans-serif;
    align-items: center;

    li {
        margin-left: 10px;
        margin-bottom: 0;

        a, button {
            color: #222222;
            text-decoration: none;
            font-family: 'Poppins Light', sans-serif;
            background: transparent;
            border: none;
            font-size: 18px;
        }

        a:hover,
        button:hover {
            text-decoration: underline;
        }
    }
}
footer {
    .bg-black {
        padding-top: 40px;
        padding-bottom: 75px;
        .footer-menu-wrapper {
            flex-wrap: wrap;
            row-gap: 30px;
        }
    }
    .nav-items {
        display: flex;
        font-family: 'Poppins Bold', sans-serif;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
        li {
            a, button {
                color: #fff;
                font-size: 16px;
                text-decoration: none;
                font-family: 'Poppins Light', sans-serif;
                background: transparent;
                border: none;
            }
            a:hover,
            button:hover {
                text-decoration: underline;
            }
        }
    }
}
/* ==========================================
   MAIN BANNER
   ========================================== */

.main-banner {
    .content-wrapper {
        padding-bottom: 50px;

        h1 {
            font-size: 60px;
            line-height: 65px;
            max-width: 700px;
            margin: 0 auto 25px;
        }

        p {
            font-size: 22px;
            line-height: 30px;
            max-width: 900px;
            margin: 0 auto;
        }
    }
}
.main-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.info-title {
    margin-bottom: 4rem;
}

.banner-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-content-wrapper {
    margin-top: -250px;
}

.text-block {
    padding-top: 140px;
    padding-bottom: 300px;
}

/* ==========================================
   VIDEO
   ========================================== */

.video-background {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;

    button {
        border: none;
    }
}

.video-wrapper-tall {
    aspect-ratio: 820 / 700;
}

.video-wrapper .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper .hero-poster {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#heroVideo {
    width: 100%;
    height: auto;
    display: block;
}

#playBtn {
    font-size: 1.25rem;
    padding: 0.75rem 1.25rem;
    z-index: 2;
    cursor: pointer;
}

/* ==========================================
   CAROUSEL
   ========================================== */

#howItWorksSlider .carousel-indicators button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    opacity: 1;
    margin: 0 7px;
}

#howItWorksSlider .carousel-indicators button.active {
    background-color: #41AD6B;
}

#howItWorksSlider .carousel-item .row {
    min-height: 370px;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.menu-desktop { display: none; }

/* Burger */
.burger {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 32px;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    width: 28px;
    background: #313131;
}

/* Offcanvas */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80vw;
    max-width: 360px;
    background: #111;
    color: #fff;
    z-index: 1001;
    padding: 20px 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.offcanvas.open {
    transform: translateX(0);
    visibility: visible;
}

.offcanvas .nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.offcanvas .nav-items li {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.offcanvas .nav-items a,
.offcanvas .nav-items button {
    display: block;
    padding: 14px 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    background: transparent;
    border: none;
}

/* Backdrop */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1000;
    opacity: 0;
    transition: opacity .3s ease;
}

.backdrop.show { opacity: 1; }

body.noscroll { overflow: hidden; }

/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.close span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
}

.close span:first-child { transform: translateY(-50%) rotate(45deg); }
.close span:last-child  { transform: translateY(-50%) rotate(-45deg); }

.close.closePopup { top: 43px; right: 40px; }
.close.closePopup span { background: #000000; }

/* ==========================================
   POPUP
   ========================================== */

#hubspot-form-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 1001;
    transition: transform .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

#hubspot-form-wrapper .content-wrapper {
    height: auto;
    width: 90vw;
    background: #fff;
    color: #000;
    position: relative;
    z-index: 10;
    max-width: 600px;
    max-height: 90vh;
}

#hubspot-form-wrapper .header {
    padding: 40px 80px 0 40px;
}

#hubspot-form-wrapper.open { visibility: visible; }

.mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
    opacity: 0;
    transition: opacity .3s ease;
}

.mask.open { opacity: 1; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 16px;
    row-gap: 70px;
}
/* ==========================================
   FOOTER
   ========================================== */

footer {
    button:hover {
        text-decoration: underline;
    }

    .social-link-item:hover svg path {
        fill: #ffffff;
    }

    .social-link-item {
        font-size: 0;
    }
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */

@media (max-width: 460px) {
    .main-banner {
        .banner-content {
            position: relative;
            z-index: 10;
            padding-top: 60px;
            padding-bottom: 60px;
        }

        .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
    }
}

@media (max-width: 768px) {
    .xs-pb-30 { padding-bottom: 30px; }
    .xs-pt-60 { padding-top: 60px !important; }

    #hubspot-form-wrapper .content-wrapper {
        overflow: auto;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
    }
    .financial-risk .w-max-1090 {
        padding: 0!important;
    }
    .news-grid {
        grid-template-columns: 1fr!important;
        row-gap: 24px;
    }
}

@media (max-width: 991px) {
    #howItWorksSlider .carousel-item .row {
        min-height: auto;
    }

    .lg-pb-4rem {
        padding-bottom: 0;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1023px) {
    .main-banner .content-wrapper {
        h1 {
            font-size: 40px;
            line-height: 50px;
        }

        p {
            font-size: 20px;
            line-height: 30px;
        }
    }

    .xs-fs-14  { font-size: 14px !important; }
    .xs-fs-16  { font-size: 16px !important; }
    .xs-fs-20  { font-size: 20px !important; }
    .xs-fs-24  { font-size: 24px !important; }
    .xs-fs-30  { font-size: 30px !important; }
    .xs-fs-40  { font-size: 40px !important; }

    .xs-lh-24  { line-height: 24px !important; }
    .xs-lh-26  { line-height: 26px !important; }
    .xs-lh-30  { line-height: 30px !important; }
    .xs-lh-34  { line-height: 34px !important; }
    .xs-lh-36  { line-height: 36px !important; }
    .xs-lh-40  { line-height: 40px !important; }
    .xs-lh-50  { line-height: 50px !important; }

    .text-block { padding-top: 60px; padding-bottom: 60px; }

    .xs-py-60  { padding-top: 60px !important; padding-bottom: 60px !important; }
    .xs-py-30  { padding-top: 30px !important; padding-bottom: 30px !important; }
    .xs-px-0   { padding-left: 0 !important; padding-right: 0 !important; }
    .xs-px-30  { padding-left: 30px !important; padding-right: 30px !important; }
    .xs-mb-30  { margin-bottom: 30px !important; }
}

@media (max-width: 1219px) {
    .lg-fs-20 { font-size: 20px; }
}

@media (min-width: 767px) {
    .-md-mb-40  { margin-bottom: -40px; }
    .md-mb-60   { margin-bottom: 60px; }
    .md-block   { display: block !important; }
    .md-w-50    { width: 50% !important; }
    .md-mt-80   { margin-top: 80px; }
    .md-w-auto  { width: auto !important; }
}

@media (min-width: 991px) {
    .lg-pb-4rem    { padding-bottom: 4rem; }
    .lg-text-right { text-align: right; }
    .lg-pt-5rem    { padding-top: 5rem !important; }
    .lg-mb-4-5rem {margin-bottom: 4.5rem !important;}
    .lg-py-100 { padding-top: 100px !important;padding-bottom: 100px !important; }
}

@media (min-width: 1024px) {
    .move-top-160  { margin-top: -160px; }
    .move-top      { transform: translateY(-160px); }
    .lg-pb-200     { padding-bottom: 200px; }
    .lg-h-min-500  { min-height: 500px; }
    .lg-mb-36      { margin-bottom: 36px !important; }
    .lg-mb-80      { margin-bottom: 80px; }
    .lg-mb-22      { margin-bottom: 22px; }
    .lg-block      { display: block !important; }
    .lg-w-1\/3     { width: 33.333% !important; }
    .lg-mt-0       { margin-top: 0 !important; }
    .lg-pb-15      { padding-bottom: 15px !important; }
    .lg-w-90       { width: 90%; }
    .menu-desktop  { display: block; }
    #burger        { display: none; }
}

@media (min-width: 1280px) {
    header .menu-desktop .nav-items li {
        margin-left: 34px;
    }

    header {
        padding: 30px 0;
    }

    .main-banner .content-wrapper {
        padding-bottom: 6.5vw;
    }
}