/* =========================================================
   APOGEE FAQ PAGE — FINAL DESIGN
========================================================= */

body.apogee-faq-page {
    margin: 0;

    background: #020509;

    color: #ffffff;
}

body.apogee-faq-page * {
    box-sizing: border-box;
}

#apogee-faq {
    overflow: hidden;
}


/* =========================================================
   FAQ-SPECIFIC CONTAINER
========================================================= */

.apogee-faq-shell {
    width: min(100% - 120px, 1500px);

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

body.apogee-faq-page .apogee-header {
    background: rgba(2, 5, 9, 0.92);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(16px);
}

body.apogee-faq-page
.apogee-nav a.is-current {
    color: #5fa9ed;
}


/* =========================================================
   HERO
========================================================= */

.apogee-faq-hero {
    position: relative;

    min-height: 720px;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding:
        180px
        0
        115px;

    background:
        radial-gradient(
            circle at 80% 55%,
            rgba(45, 120, 195, 0.15),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #020509 0%,
            #04101a 70%,
            #071624 100%
        );

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);
}


/* technical grid */

.apogee-faq-grid-bg {
    position: absolute;

    right: 0;
    top: 0;

    width: 54%;
    height: 100%;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(95, 169, 237, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(95, 169, 237, 0.07) 1px,
            transparent 1px
        );

    background-size:
        72px
        72px;

    mask-image:
        linear-gradient(
            to left,
            black,
            transparent 95%
        );
}


/* glowing horizon */

.apogee-faq-arc {
    position: absolute;

    width: 900px;
    height: 400px;

    right: -150px;
    bottom: -200px;

    border-radius:
        50%
        50%
        0
        0;

    border-top:
        2px solid
        rgba(95, 169, 237, 0.72);

    box-shadow:
        0 -6px 30px
        rgba(60, 150, 240, 0.35);

    transform:
        rotate(-8deg);

    opacity: 0.75;
}


.apogee-faq-hero-content {
    position: relative;

    z-index: 2;

    max-width: 930px;
}


/* kicker */

.apogee-faq-hero
.apogee-section-kicker {
    margin-bottom: 45px;
}

.apogee-faq-hero
.apogee-section-name {
    color: #5fa9ed;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


/* hero title */

.apogee-faq-hero h1 {
    margin: 0;

    color: #f8fafc;

    font-size:
        clamp(
            64px,
            6.6vw,
            105px
        );

    font-weight: 300;

    line-height: 0.96;

    letter-spacing: -0.055em;

    text-transform: uppercase;
}

.apogee-faq-hero h1 span {
    display: block;
}


/* line */

.apogee-faq-hero-rule {
    width: 72px;
    height: 2px;

    margin-top: 38px;

    background: #4d9fe8;
}


/* description */

.apogee-faq-hero p {
    max-width: 540px;

    margin:
        34px
        0
        0;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   FAQ CONTENT
========================================================= */

.apogee-faq-content {
    position: relative;

    padding:
        115px
        0
        175px;

    background:
        linear-gradient(
            180deg,
            #06111c 0%,
            #03090f 100%
        );
}


/* =========================================================
   FAQ LIST
========================================================= */

.apogee-faq-list {
    max-width: 1320px;

    margin: 0 auto;

    border:
        1px solid
        rgba(95, 169, 237, 0.17);

    background:
        rgba(6, 17, 28, 0.68);

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.22);
}


/* =========================================================
   FAQ ITEM
========================================================= */

.apogee-faq-item {
    margin: 0;

    border: 0;

    border-bottom:
        1px solid
        rgba(95, 169, 237, 0.14);

    background:
        rgba(255, 255, 255, 0.01);

    box-shadow: none;

    transition:
        background 0.35s ease;
}

.apogee-faq-item:last-child {
    border-bottom: 0;
}

.apogee-faq-item:hover {
    background:
        rgba(57, 121, 184, 0.055);
}

.apogee-faq-item.is-open {
    background:
        linear-gradient(
            90deg,
            rgba(57, 121, 184, 0.10),
            rgba(57, 121, 184, 0.02)
        );
}


/* =========================================================
   BUTTON RESET
========================================================= */

body.apogee-faq-page
button.apogee-faq-question,
body.apogee-faq-page
button.apogee-faq-question:hover,
body.apogee-faq-page
button.apogee-faq-question:focus,
body.apogee-faq-page
button.apogee-faq-question:active {

    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        50px
        1px
        minmax(0, 1fr)
        42px;

    gap: 24px;

    align-items: center;

    margin: 0 !important;

    padding:
        32px
        36px !important;

    background: transparent !important;

    color: #ffffff !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    outline: 0 !important;

    text-align: left !important;

    text-transform: none !important;

    text-decoration: none !important;

    appearance: none !important;

    cursor: pointer;

    font-family: inherit !important;
}


body.apogee-faq-page
.apogee-faq-question::before,
body.apogee-faq-page
.apogee-faq-question::after {
    display: none !important;
}


/* =========================================================
   NUMBER + DIVIDER
========================================================= */

.apogee-faq-number {
    color: #53a3eb;

    font-size: 18px;

    font-weight: 300;

    letter-spacing: -0.02em;
}


.apogee-faq-line {
    display: block;

    width: 1px;
    height: 38px;

    background:
        rgba(95, 169, 237, 0.30);
}


/* =========================================================
   QUESTION
========================================================= */

.apogee-faq-question-text {
    color:
        rgba(255, 255, 255, 0.94);

    font-size:
        clamp(
            21px,
            1.55vw,
            28px
        );

    font-weight: 300;

    line-height: 1.3;

    letter-spacing: -0.02em;
}


/* =========================================================
   PLUS / MINUS
========================================================= */

.apogee-faq-toggle {
    position: relative;

    width: 34px;
    height: 34px;

    justify-self: end;
}


.apogee-faq-toggle span {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 15px;
    height: 1px;

    background: #58a7ee;

    transform:
        translate(
            -50%,
            -50%
        );
}


.apogee-faq-toggle
span:last-child {
    transform:
        translate(
            -50%,
            -50%
        )
        rotate(90deg);
}


.apogee-faq-item.is-open
.apogee-faq-toggle
span:last-child {
    opacity: 0;
}


/* =========================================================
   ANSWER
========================================================= */

.apogee-faq-answer {
    height: 0;

    overflow: hidden;
}


.apogee-faq-answer-inner {
    padding:
        0
        90px
        34px
        137px;
}


.apogee-faq-answer-inner p {
    max-width: 920px;

    margin: 0 !important;

    color:
        rgba(255, 255, 255, 0.64);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   CTA
========================================================= */

.apogee-faq-cta {
    position: relative;

    overflow: hidden;

    padding:
        150px
        0
        175px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(31, 103, 171, 0.16),
            transparent 34%
        ),
        #020509;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);
}


/* rings */

.apogee-faq-cta-rings {
    position: absolute;

    left: 50%;
    top: 55%;

    width: 850px;
    height: 850px;

    transform:
        translate(
            -50%,
            -50%
        );

    border:
        1px solid
        rgba(95, 169, 237, 0.07);

    border-radius: 50%;
}

.apogee-faq-cta-rings::before,
.apogee-faq-cta-rings::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(
            -50%,
            -50%
        );

    border-radius: 50%;

    border:
        1px solid
        rgba(95, 169, 237, 0.06);
}

.apogee-faq-cta-rings::before {
    width: 70%;
    height: 70%;
}

.apogee-faq-cta-rings::after {
    width: 42%;
    height: 42%;
}


.apogee-faq-cta-inner {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: 0 auto;
}


.apogee-faq-cta
.apogee-overline {
    margin: 0;

    color: #5fa9ed;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.apogee-faq-cta h2 {
    max-width: 820px;

    margin:
        26px
        auto
        0;

    font-size:
        clamp(
            48px,
            4.5vw,
            76px
        );

    font-weight: 300;

    line-height: 1;

    letter-spacing: -0.05em;
}


.apogee-faq-cta-inner
> p:not(.apogee-overline) {
    max-width: 570px;

    margin:
        28px
        auto
        0;

    color:
        rgba(255, 255, 255, 0.60);

    font-size: 16px;

    line-height: 1.75;
}


.apogee-faq-cta
.apogee-button {
    margin-top: 38px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .apogee-faq-shell {
        width:
            min(
                100% - 64px,
                1500px
            );
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .apogee-faq-shell {
        width:
            calc(100% - 36px);
    }


    .apogee-faq-hero {
        min-height: auto;

        padding:
            135px
            0
            80px;
    }


    .apogee-faq-hero h1 {
        font-size:
            clamp(
                44px,
                12vw,
                64px
            );
    }


    .apogee-faq-content {
        padding:
            70px
            0
            100px;
    }


    body.apogee-faq-page
    button.apogee-faq-question {
        grid-template-columns:
            30px
            1px
            minmax(0, 1fr)
            28px;

        gap: 12px;

        padding:
            24px
            18px !important;
    }


    .apogee-faq-number {
        font-size: 14px;
    }


    .apogee-faq-line {
        height: 30px;
    }


    .apogee-faq-question-text {
        font-size: 19px;
    }


    .apogee-faq-answer-inner {
        padding:
            0
            40px
            28px
            63px;
    }


    .apogee-faq-answer-inner p {
        font-size: 14px;
    }


    .apogee-faq-cta {
        padding:
            105px
            0
            125px;
    }

}