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

html,
body {
    margin: 0;
    padding: 0;
}


/* ========================================
   THANK YOU PAGE
======================================== */

.thank-you-page {
    --color-green-50: #F0F9F3;
    --color-green-100: #DCF2E3;
    --color-green-200: #BCE5CA;
    --color-green-300: #8FD1A7;
    --color-green-400: #59B67B;
    --color-green-500: #2E9A58;
    --color-green-600: #11823B;
    --color-green-700: #0D6830;
    --color-green-800: #0D5228;
    --color-green-900: #0C4323;
    --color-green-950: #052513;

    --color-white: #FFFFFF;
    --color-black: #000000;

    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-300: #CBD5E1;
    --color-slate-400: #94A3B8;
    --color-slate-500: #64748B;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1E293B;
    --color-slate-900: #0F172A;

    width: 100%;

    font-family:
        "Google Sans",
        sans-serif;

    color: var(--color-slate-900);
}


/* ========================================
   THANK YOU HERO
======================================== */

.thank-you-hero {
    display: flex;
    align-items: center;
    justify-content: center;


    padding: 80px 24px;

    background: var(--color-green-50);

    border-top: 1px solid var(--color-green-100);
    border-bottom: 1px solid var(--color-green-100);
}

.thank-you-wrapper {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


/* Icon */

.thank-you-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 74px;
    height: 74px;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: var(--color-green-600);
    color: var(--color-white);
}

.thank-you-icon svg {
    width: 38px;
    height: 38px;
}


/* Heading */

.thank-you-hero h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 60px);
    line-height: 1;

    text-transform: uppercase;
    font-weight: 700;

    letter-spacing: -0.035em;

    color: var(--color-slate-900);
}

.thank-you-intro {
    max-width: 720px;

    margin: 18px auto 0;

    font-size: 18px;
    line-height: 1.55;

    color: var(--color-slate-500);
}


/* ========================================
   ACTIONS
======================================== */

.thank-you-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.thank-you-button,
.thank-you-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 22px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 15px;
    line-height: 1;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Primary */

.thank-you-button {
    background: var(--color-green-600);
    color: var(--color-white);

    border: 2px solid var(--color-green-600);
}

.thank-you-button:hover {
    background: var(--color-green-700);

    border-color: var(--color-green-700);

    transform: translateY(-1px);
}


/* Phone */

.thank-you-phone {
    gap: 8px;

    background: var(--color-white);
    color: var(--color-green-700);

    border: 2px solid var(--color-green-200);
}

.thank-you-phone svg {
    width: 18px;
    height: 18px;
}

.thank-you-phone:hover {
    border-color: var(--color-green-600);

    transform: translateY(-1px);
}


/* ========================================
   FAQ SECTION
======================================== */

.thank-you-faq {
    padding: 90px 24px;

    background: var(--color-white);
}

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

    margin: 0 auto;
}


/* Intro */

.faq-intro {
    max-width: 720px;

    margin: 0 auto 48px;

    text-align: center;
}

.faq-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--color-green-600);

    font-size: 14px;
    line-height: 1.3;

    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faq-intro h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.05;

    letter-spacing: -0.035em;

    font-weight: 700;

    color: var(--color-slate-900);
}

.faq-intro p {
    max-width: 650px;

    margin: 17px auto 0;

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

    color: var(--color-slate-500);
}


/* ========================================
   FAQ LIST
======================================== */

.faq-list {
    display: grid;

    gap: 12px;
}

.faq-item {
    overflow: hidden;

    border: 1px solid var(--color-slate-200);
    border-radius: 10px;

    background: var(--color-white);

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

.faq-item.is-open {
    border-color: var(--color-green-200);

    box-shadow:
        0 5px 20px rgba(15, 23, 42, 0.05);
}


/* Question */

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    width: 100%;
    min-height: 76px;

    padding: 20px 24px;

    border: 0;

    background: transparent;
    color: var(--color-slate-900);

    font: inherit;

    text-align: left;

    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.faq-question:hover {
    background: var(--color-green-50);
}

.faq-question:focus-visible {
    outline: 3px solid var(--color-green-300);
    outline-offset: -3px;
}


/* Chevron */

.faq-chevron {
    width: 10px;
    height: 10px;

    flex: 0 0 auto;

    border-right: 2px solid var(--color-green-700);
    border-bottom: 2px solid var(--color-green-700);

    transform:
        translateY(-2px)
        rotate(45deg);

    transition:
        transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform:
        translateY(3px)
        rotate(225deg);
}


/* Answer */

.faq-answer {
    border-top: 1px solid var(--color-green-100);
}

.faq-answer-inner {
    padding: 22px 24px 26px;
}

.faq-answer-inner p {
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.7;

    color: var(--color-slate-600);
}

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

.faq-answer-inner a {
    color: var(--color-green-700);

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ========================================
   DISCLAIMER
======================================== */

.thank-you-disclaimer {
    padding: 30px 24px;

    background: var(--color-green-50);

    border-top: 1px solid var(--color-green-100);
}

.thank-you-disclaimer-inner {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.thank-you-disclaimer p {
    margin: 0 0 10px;

    font-size: 11px;
    line-height: 1.6;

    color: var(--color-slate-500);
}

.thank-you-disclaimer p:last-child {
    margin-bottom: 0;
}

.thank-you-warning {
    font-weight: 600;

    color: var(--color-slate-700) !important;
}


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

@media (max-width: 767px) {

    .thank-you-hero {
        min-height: 420px;

        padding: 60px 20px;
    }

    .thank-you-icon {
        width: 66px;
        height: 66px;

        margin-bottom: 21px;
    }

    .thank-you-icon svg {
        width: 34px;
        height: 34px;
    }

    .thank-you-hero h1 {
        font-size: 42px;
    }

    .thank-you-intro {
        font-size: 16px;
    }

    .thank-you-actions {
        flex-direction: column;

        margin-top: 28px;
    }

    .thank-you-button,
    .thank-you-phone {
        width: 100%;
        max-width: 320px;
    }


    /* FAQ */

    .thank-you-faq {
        padding: 60px 18px;
    }

    .faq-intro {
        margin-bottom: 34px;
    }

    .faq-intro h2 {
        font-size: 38px;
    }

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

    .faq-question {
        min-height: 68px;

        padding: 18px 20px;

        font-size: 17px;
    }

    .faq-answer-inner {
        padding:
            18px
            20px
            22px;
    }

    .faq-answer-inner p {
        font-size: 15px;
    }

}