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

html {
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-md);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    color: var(--clr-black);
    background: var(--clr-white);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

ul,
ol {
    padding-left: var(--sp-xl);
}

.bold {
    font-weight: var(--fw-bold);
}

.italic {
    font-style: italic;
}

.site-header {
    background: #F2F4F7;
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--sp-xs);
}

.site-logo {
    width: 53%;
    max-width: 276px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--sp-xs);
}

.article {
    padding-top: var(--sp-md);
    padding-bottom: var(--sp-md);
}

.article-title {
    font-size: var(--font-4xl);
    font-weight: var(--fw-extra-bold);
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-md);
}

.author {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    font-size: var(--font-lg);
    margin-bottom: var(--sp-lg);
}

.author-avatar {
    width: 50px;
    height: 50px;
}

.content-image {
    width: 100%;
    margin-bottom: var(--sp-md);
}

.text {
    margin-bottom: var(--sp-md);
}

.text p + p,
.text p + ul,
.text ul + p,
.text blockquote + p,
.text p + blockquote,
.text blockquote + blockquote {
    margin-top: var(--sp-sm);
}

.text ul {
    list-style: disc;
}

.text blockquote {
    margin-left: 40px;
    margin-right: 40px;
}

.section-title {
    font-size: var(--font-3xl);
    font-weight: var(--fw-extra-bold);
    line-height: var(--lh-snug);
    margin-top: var(--sp-md);
    margin-bottom: var(--sp-md);
}

.box {
    border-radius: var(--radius-xl);
    padding: var(--sp-md);
    margin-bottom: var(--sp-md);
}

.box-title {
    font-size: var(--font-xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-md);
}

.box .text {
    margin-bottom: 0;
}

.box--gray {
    background: #E9E9E9;
}

.box--pink {
    background: #FCCED5;
}

.box--blue {
    background: #CFDFEF;
}

.box--yellow {
    background: #F9DBA9;
}

.box--teal {
    background: #D5EAEA;
    border: 4px solid #207E7C;
}

.box--outline {
    background: #E9E9E9;
    border: 1px solid var(--clr-black);
    border-radius: 0;
}

.quote-box {
    position: relative;
    background: #E9E9E9;
    border: 3px solid var(--clr-black);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg) var(--sp-md) var(--sp-md);
    margin-top: var(--sp-xl);
    margin-bottom: var(--sp-md);
}

.quote-icon {
    position: absolute;
    top: -31px;
    left: 11px;
    width: 51px;
    height: 51px;
}

.quote-title {
    font-size: var(--font-xl);
    font-weight: var(--fw-bold);
    font-style: italic;
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-md);
}

.quote-box .text {
    margin-bottom: 0;
}

.cta-block {
    text-align: center;
    margin-bottom: var(--sp-md);
}

.order-button {
    display: inline-block;
    background: #0D413F;
    color: var(--clr-white);
    font-size: var(--font-lg);
    font-weight: var(--fw-bold);
    line-height: var(--lh-normal);
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-xl);
    padding: var(--sp-sm) var(--sp-2xl);
    transition: opacity 0.2s ease;
}

.order-button:hover {
    opacity: 0.9;
}

.order-button--wide {
    padding: var(--sp-sm);
}

.review {
    border: 4px solid #D4BDD7;
    border-radius: var(--radius-xl);
    padding: var(--sp-sm) var(--sp-lg);
    margin-bottom: var(--sp-md);
}

.review-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-xs);
    font-size: var(--font-lg);
}

.review-stars {
    width: 135px;
    height: 25px;
}

.review-text {
    font-size: var(--font-lg);
}

.bio {
    background: #F4F4F4;
    font-style: italic;
    padding: var(--sp-xs);
    margin-bottom: var(--sp-md);
}

.accordion {
    margin-top: var(--sp-xl);
}

.accordion-item {
    border-top: 1px solid var(--clr-black);
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-2xl);
    padding: var(--sp-md) 0;
    cursor: pointer;
    list-style: none;
}

.accordion-title::-webkit-details-marker {
    display: none;
}

.accordion-title::after {
    content: '+';
    font-size: var(--font-xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-none);
}

.accordion-item[open] .accordion-title::after {
    content: '\2212';
}

.accordion-body {
    padding-bottom: var(--sp-md);
}

.accordion-body--sources {
    font-size: var(--font-xs);
    line-height: var(--lh-loose);
    word-break: break-all;
}

.accordion-body--sources li + li {
    margin-top: var(--sp-sm);
}

.accordion-body--sources p {
    margin-top: var(--sp-sm);
}

.accordion-body--disclaimer {
    font-size: var(--font-sm);
    font-style: italic;
    line-height: var(--lh-relaxed);
}

.accordion-body--disclaimer p + p {
    margin-top: var(--sp-md);
}

.site-footer {
    background: #232222;
    color: var(--clr-white);
    padding: var(--sp-lg) var(--sp-xs);
}

.site-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
    max-width: 1750px;
    margin: 0 auto;
}

.footer-logo {
    width: 200px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
}

.footer-links a {
    font-size: var(--font-xs);
    text-decoration: none;
}

.social-icon {
    width: 21px;
    height: 21px;
}

.footer-copy {
    max-width: 1750px;
    margin: 0 auto;
    padding-top: var(--sp-lg);
    font-size: var(--font-xs);
    text-align: center;
}

@media (min-width: 768px) {
    .site-logo {
        width: 276px;
    }

    .container {
        padding: 0;
    }

    .order-button--wide {
        padding: var(--sp-sm) var(--sp-4xl);
    }

    .review {
        padding: var(--sp-xs) var(--sp-lg) var(--sp-md);
    }

    .review-head {
        margin-bottom: 0;
    }

    .accordion-body--sources {
        font-size: var(--font-base);
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }

    .site-footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 91%;
    }

    .footer-links {
        gap: var(--sp-md);
    }

    .footer-copy {
        width: 91%;
        text-align: start;
    }
}
