/* =====================================================
   GLOBAL
===================================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: #ffffff;

    color: #202020;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
}



/* =====================================================
   NAVIGATION
===================================================== */

.site-nav {
    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;
}


.nav-inner {
    width: 100%;

    max-width: 1120px;

    margin: 0 auto;

    padding: 21px 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 35px;
}


.brand {
    flex-shrink: 0;

    color: #171717;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: -0.3px;

    text-decoration: none;
}


.nav-links {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 27px;
}


.nav-links a {
    color: #777777;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.15s ease;
}


.nav-links a:hover {
    color: #111111;
}


.nav-links a.active {
    color: #111111;
}



/* =====================================================
   SHARED
===================================================== */

.eyebrow {
    margin: 0 0 16px;

    color: #8a8a8a;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}



/* =====================================================
   QUIZ PAGE
===================================================== */

.quiz-page {
    width: 100%;

    max-width: 880px;

    margin: 0 auto;

    padding: 80px 28px 110px;
}


.quiz-header {
    max-width: 760px;

    margin: 0 auto 65px;

    text-align: center;
}


.quiz-header h1 {
    max-width: 740px;

    margin: 0 auto 24px;

    color: #161616;

    font-size: 48px;

    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -1.4px;
}


.quiz-intro {
    max-width: 630px;

    margin: 0 auto;

    color: #666666;

    font-size: 19px;

    line-height: 1.7;
}



/* =====================================================
   QUIZ
===================================================== */

.quiz-section {
    width: 100%;

    max-width: 720px;

    margin: 0 auto;
}


.quiz-info {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;

    padding-bottom: 18px;

    border-bottom: 1px solid #eeeeee;

    color: #777777;

    font-size: 13px;

    font-weight: 600;
}


#question {
    margin: 0 0 30px;

    color: #202020;

    font-size: 25px;

    line-height: 1.5;

    font-weight: 650;

    letter-spacing: -0.3px;
}



/* ANSWERS */

.answer-button {
    display: block;

    width: 100%;

    margin: 0 0 12px;

    padding: 18px 19px;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 8px;

    color: #2c2c2c;

    font-size: 16px;

    line-height: 1.5;

    text-align: left;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        transform 0.1s ease;
}


.answer-button:hover:not(:disabled) {
    background: #fafafa;

    border-color: #999999;

    transform: translateY(-1px);
}


.answer-button:disabled {
    color: #222222;

    cursor: default;

    opacity: 1;
}


.answer-button.correct {
    background: #f0f8f1;

    border-color: #68a775;
}


.answer-button.incorrect {
    background: #fff2f2;

    border-color: #c97a7a;
}



/* FEEDBACK */

#feedback {
    margin-top: 27px;

    font-size: 16px;

    line-height: 1.7;
}


.feedback-correct {
    color: #337343;
}


.feedback-incorrect {
    color: #a33d3d;
}



/* QUIZ ACTIONS */

.question-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.next-button {
    display: none;

    padding: 14px 22px;

    background: #151515;

    border: 1px solid #151515;

    border-radius: 7px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}


.next-button:hover {
    background: #343434;
}


.contact-button {
    display: none;

    padding: 14px 22px;

    background: #ffffff;

    border: 1px solid #cccccc;

    border-radius: 7px;

    color: #444444;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;
}


.contact-button:hover {
    background: #fafafa;

    border-color: #999999;
}



/* =====================================================
   HOMEPAGE SECONDARY SECTIONS
===================================================== */

.simple-section {
    max-width: 650px;

    margin: 85px auto 0;

    padding-top: 50px;

    border-top: 1px solid #eeeeee;

    text-align: center;
}


.simple-section h2 {
    margin: 0 0 17px;

    color: #202020;

    font-size: 28px;

    line-height: 1.3;

    letter-spacing: -0.4px;
}


.simple-section p {
    max-width: 560px;

    margin: 0 auto 22px;

    color: #666666;

    font-size: 16px;

    line-height: 1.75;
}


.article-link {
    color: #171717;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;
}


.article-link:hover {
    text-decoration: underline;
}



/* =====================================================
   ARTICLE PAGES
===================================================== */

.article-page {
    width: 100%;

    max-width: 880px;

    margin: 0 auto;

    padding: 80px 28px 110px;
}


.article-header {
    max-width: 760px;

    margin: 0 auto 75px;

    text-align: center;
}


.article-header h1 {
    max-width: 760px;

    margin: 0 auto 26px;

    color: #171717;

    font-size: 48px;

    line-height: 1.12;

    letter-spacing: -1.3px;
}


.article-intro {
    max-width: 660px;

    margin: 0 auto 14px;

    color: #666666;

    font-size: 20px;

    line-height: 1.7;
}


.article-content {
    max-width: 700px;

    margin: 0 auto;
}


.article-content section {
    margin-bottom: 70px;
}


.article-content h2 {
    margin: 0 0 24px;

    color: #191919;

    font-size: 29px;

    line-height: 1.3;

    letter-spacing: -0.4px;
}


.article-content h3 {
    margin: 0 0 18px;

    color: #222222;

    font-size: 19px;

    line-height: 1.4;
}


.article-content p {
    margin: 0 0 22px;

    color: #383838;

    font-size: 17px;

    line-height: 1.82;
}


.article-content ul {
    margin: 22px 0 30px;

    padding-left: 25px;
}


.article-content li {
    margin-bottom: 11px;

    color: #383838;

    font-size: 17px;

    line-height: 1.65;
}



/* QUOTES */

.article-content blockquote {
    margin: 34px 0;

    padding: 5px 0 5px 25px;

    border-left: 3px solid #222222;

    color: #222222;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.6;
}



/* TIP BOX */

.tip-box {
    margin: 32px 0;

    padding: 23px 25px;

    background: #f8f8f8;

    border: 1px solid #eeeeee;

    border-radius: 8px;

    color: #333333;

    font-size: 16px;

    line-height: 1.7;
}



/* QUESTION BOX */

.question-box {
    margin: 32px 0;

    padding: 28px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 9px;
}


.question-box ul {
    margin-bottom: 0;
}



/* COMPARISON QUOTE */

.comparison-quote {
    margin: 32px 0;

    padding: 28px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 9px;

    text-align: center;
}


.comparison-quote p {
    margin-bottom: 12px;

    font-weight: 600;
}


.comparison-quote span {
    display: block;

    margin: 10px 0;

    color: #aaaaaa;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}



/* TABLE */

.comparison-table-wrapper {
    width: 100%;

    margin-top: 32px;

    overflow-x: auto;
}


.comparison-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 15px;
}


.comparison-table th {
    padding: 15px 12px;

    border-bottom: 2px solid #222222;

    color: #222222;

    text-align: left;

    font-size: 14px;

    font-weight: 700;
}


.comparison-table td {
    padding: 18px 12px;

    border-bottom: 1px solid #e8e8e8;

    color: #444444;

    line-height: 1.55;

    vertical-align: top;
}


.comparison-table td:first-child {
    width: 45%;

    color: #222222;

    font-weight: 600;
}



/* CTA */

.article-cta {
    margin-top: 85px !important;

    padding: 45px 30px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 9px;

    text-align: center;
}


.article-cta h2 {
    margin-bottom: 17px;
}


.article-cta p {
    max-width: 520px;

    margin: 0 auto 25px;

    color: #666666;
}


.primary-button {
    display: inline-block;

    padding: 14px 24px;

    background: #151515;

    border-radius: 7px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;
}


.primary-button:hover {
    background: #333333;
}



/* ARTICLE FOOTER */

.article-footer {
    margin-top: 65px;

    padding-top: 30px;

    border-top: 1px solid #eeeeee;
}


.article-footer p {
    color: #888888;

    font-size: 13px;

    line-height: 1.7;
}



/* =====================================================
   SITE FOOTER
===================================================== */

.site-footer {
    padding: 38px 20px;

    border-top: 1px solid #eeeeee;

    background: #ffffff;

    text-align: center;
}


.site-footer p {
    margin: 4px 0;

    color: #999999;

    font-size: 12px;

    line-height: 1.5;
}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {

    .nav-inner {
        padding: 18px 20px;

        flex-direction: column;

        gap: 16px;
    }


    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 18px;
    }


    .quiz-page,
    .article-page {
        padding:
            50px
            20px
            75px;
    }


    .quiz-header,
    .article-header {
        margin-bottom: 50px;
    }


    .quiz-header h1,
    .article-header h1 {
        font-size: 34px;

        line-height: 1.18;

        letter-spacing: -0.7px;
    }


    .quiz-intro,
    .article-intro {
        font-size: 18px;
    }


    .quiz-info {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }


    #question {
        font-size: 21px;
    }


    .answer-button {
        padding: 16px;

        font-size: 15px;
    }


    .question-actions {
        flex-direction: column;
    }


    .next-button,
    .contact-button {
        width: 100%;
    }


    .simple-section {
        margin-top: 65px;
    }


    .article-content section {
        margin-bottom: 55px;
    }


    .article-content h2 {
        font-size: 25px;
    }


    .article-content p,
    .article-content li {
        font-size: 16px;
    }


    .question-box,
    .tip-box,
    .comparison-quote {
        padding: 21px;
    }


    .article-cta {
        padding: 35px 22px;
    }

}