/* =========================================================
   RESET / VARIABLES
========================================================= */

.faq-page, .faq-page * { box-sizing: border-box; }

:root {
    --navy: #071D59;
    --navy-soft: #16336F;
    --cyan: #13C7E5;
    --cyan-dark: #08AFCB;
    --text: #586783;
    --text-light: #7B879D;
    --line: #E2EAF0;
    --white: #FFFFFF;
}



.faq-page {
    margin: 0;
    background: #FFFFFF;
    color: var(--navy);

    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   FAQ PAGE

   Intentionally white at both top and bottom so this section
   can flow naturally from the previous page section into the
   website footer.
========================================================= */

.faq-page {
    position: relative;
    width: 100%;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 84% 12%,
            rgba(19,199,229,.050) 0%,
            rgba(19,199,229,.020) 28%,
            rgba(19,199,229,0) 55%
        ),
        #FFFFFF;
}


/* =========================================================
   SUBTLE BACKGROUND DETAIL
========================================================= */

.faq-atmosphere {
    position: absolute;
    z-index: 0;

    top: 25px;
    right: -260px;

    width: 850px;
    height: 380px;

    border-radius: 50%;

    border-bottom:
        1px solid rgba(19,199,229,.06);

    transform: rotate(-10deg);

    pointer-events: none;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.faq-container {
    position: relative;
    z-index: 2;

    width: calc(100% - 80px);
    max-width: 1180px;

    margin: 0 auto;

    padding:
        92px 0
        105px;
}


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

.faq-header {
    width: 100%;
    max-width: 720px;

    margin-bottom: 58px;
}


/* =========================================================
   EYEBROW
========================================================= */

.faq-eyebrow {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 20px;

    color: var(--cyan);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.45px;

    text-transform: uppercase;
}

.faq-eyebrow::after {
    content: "";

    width: 58px;
    height: 1px;

    background: var(--cyan);
}


/* =========================================================
   TITLE
========================================================= */

.faq-title {
    margin-bottom: 19px;

    color: var(--navy);

    font-size:
        clamp(46px, 4.5vw, 66px);

    line-height: .98;

    letter-spacing: -2.6px;

    font-weight: 750;
}

.faq-title span {
    display: block;

    margin-top: 4px;

    color: var(--cyan);
}


/* =========================================================
   INTRO
========================================================= */

.faq-intro {
    width: 100%;
    max-width: 590px;

    margin-bottom: 31px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.55;
}


/* =========================================================
   SEARCH
========================================================= */

.faq-search {
    position: relative;

    width: 100%;
    max-width: 575px;
}

.faq-search input {
    width: 100%;
    height: 54px;

    padding:
        0 58px
        0 21px;

    border:
        1px solid #D8E3EA;

    border-radius: 9px;

    outline: none;

    background:
        rgba(255,255,255,.98);

    color: var(--navy);

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.faq-search input::placeholder {
    color: #98A3B5;
}

.faq-search input:focus {
    border-color:
        rgba(19,199,229,.7);

    box-shadow:
        0 0 0 3px
        rgba(19,199,229,.07);
}


/* =========================================================
   SEARCH ICON
========================================================= */

.search-icon {
    position: absolute;

    right: 19px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform:
        translateY(-50%);

    fill: none;

    stroke: var(--cyan);

    stroke-width: 1.6;
    stroke-linecap: round;
}


/* =========================================================
   FAQ CONTENT
========================================================= */

.faq-content {
    width: 100%;
    max-width: 1000px;
}


/* =========================================================
   CATEGORY
========================================================= */

.faq-category {
    margin-bottom: 58px;
}

.faq-category:last-of-type {
    margin-bottom: 0;
}

.category-title {
    margin-bottom: 13px;

    color: var(--cyan-dark);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 1.55px;

    text-transform: uppercase;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    border-top:
        1px solid var(--line);
}

.faq-item:last-child {
    border-bottom:
        1px solid var(--line);
}


/* =========================================================
   QUESTION
========================================================= */

.faq-question {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        22px 3px;

    border: 0;

    background: transparent;

    color: var(--navy);

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    line-height: 1.4;

    text-align: left;

    cursor: pointer;

    transition:
        color .2s ease;
}

.faq-question:hover {
    color: #079FBE;
}


/* =========================================================
   PLUS / CLOSE BUTTON
========================================================= */

.faq-toggle {
    position: relative;

    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    border:
        1px solid #DDE7EC;

    border-radius: 50%;

    background: #FFFFFF;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.faq-toggle::before,
.faq-toggle::after {

    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 10px;
    height: 1px;

    background: var(--navy);

    transform:
        translate(-50%,-50%);
}

.faq-toggle::after {

    transform:
        translate(-50%,-50%)
        rotate(90deg);

    transition:
        transform .25s ease;
}

.faq-item.active
.faq-toggle {

    border-color:
        rgba(19,199,229,.45);

    background:
        rgba(19,199,229,.05);
}

.faq-item.active
.faq-toggle::after {

    transform:
        translate(-50%,-50%)
        rotate(0deg);
}


/* =========================================================
   ANSWER
========================================================= */

.faq-answer {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .4s ease,
        opacity .25s ease;
}

.faq-item.active
.faq-answer {

    max-height: 700px;

    opacity: 1;
}


/* =========================================================
   ANSWER CONTENT
========================================================= */

.answer-inner {

    width: 100%;
    max-width: 860px;

    margin:
        0 0 23px;

    padding:
        2px 60px
        5px 22px;

    border-left:
        2px solid var(--cyan);

    color: var(--text);

    font-size: 14px;
    line-height: 1.65;
}

.answer-inner p {
    margin-bottom: 10px;
}

.answer-inner p:last-child {
    margin-bottom: 0;
}

.answer-inner strong {
    color: var(--navy);

    font-weight: 650;
}


/* =========================================================
   IMPORTANT SECURITY TEXT
========================================================= */

.answer-important {

    color: var(--navy);

    font-weight: 650;
}


/* =========================================================
   NO SEARCH RESULTS
========================================================= */

.no-results {
    display: none;

    padding:
        35px 0;

    color: var(--text);

    font-size: 15px;
}

.no-results.visible {
    display: block;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .faq-container {

        width:
            calc(100% - 60px);

        padding:
            75px 0
            90px;
    }

    .faq-header {
        margin-bottom: 50px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .faq-container {

        width:
            calc(100% - 40px);

        padding:
            58px 0
            70px;
    }

    .faq-atmosphere {
        display: none;
    }

    .faq-header {
        margin-bottom: 45px;
    }

    .faq-title {

        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .faq-intro {
        font-size: 16px;
    }

    .faq-category {
        margin-bottom: 46px;
    }

    .faq-question {

        padding:
            19px 0;

        gap: 20px;

        font-size: 14px;
    }

    .faq-toggle {

        width: 28px;
        height: 28px;
    }

    .answer-inner {

        padding:
            1px 15px
            4px 17px;

        font-size: 13.5px;
    }

}