:root {
    --primary: #1F1F1F;
    --cta-amber: #F59E0B;
    --secondary-olive: #6B8E23;
    --background-light: #F5F5F5;
    --card-white: #FFFFFF;
    --text-header: #111111;
    --text-body: #4B5563;
    --error-accent: #E4572E;
    --font-main: 'Inter', sans-serif;
    --border-radius: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-body);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--cta-amber);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: var(--border-radius);
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

input,
textarea,
select {
    font-family: inherit;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    body {
        font-size: 0.9375rem;
    }

    .js-mobile-text {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

:focus-visible {
    outline: 2px solid var(--cta-amber);
    outline-offset: 2px;
}

/* ===== header_main ===== */
#header {
    background-color: var(--card-white)
}

.js-mobile-menu-overlay {
    background-color: var(--card-white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05)
}

.js-mobile-link {
    transition: color 0.2s ease-in-out
}

.js-mobile-link:active {
    color: var(--secondary-olive)
}

/* ===== hero_collage ===== */
@keyframes slow-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.animate-slow-zoom {
    animation: slow-zoom 25s infinite alternate ease-in-out;
}

.hero-text-shadow {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* ===== intro_risks ===== */
.intro-section {
    width: 100%;
}

/* ===== benefits_cards ===== */
#benefits {
    width: 100%;
}

.bg-orange-50 {
    background-color: rgba(245, 158, 11, 0.1);
}

.bg-olive-50 {
    background-color: rgba(107, 142, 35, 0.1);
}

.bg-blue-50 {
    background-color: rgba(37, 99, 235, 0.1);
}

/* ===== savings_calc ===== */
#interactive-calc .range::-webkit-slider-thumb {
    background-color: var(--cta-amber);
}

#interactive-calc .range::-moz-range-thumb {
    background-color: var(--cta-amber);
}

#interactive-calc .range {
    height: 1.5rem;
}

/* ===== main_content ===== */
.main-article-content blockquote {
    border-left: 4px solid #6B8E23;
    padding-left: 1.5rem;
    font-style: italic;
    margin: 2rem 0
}

.js-share-btn:active {
    transform: scale(0.95)
}

/* ===== reviews_section ===== */
#social-proof {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ri-double-quotes-l {
    line-height: 1;
}

/* ===== newsletter_form ===== */
#subscribe {
    width: 100%;
    background-color: var(--background-light);
}

.subscribe-card {
    background-color: var(--card-white);
    border: 1px solid rgba(31, 31, 31, 0.05);
    transition: transform 0.3s ease;
}

.subscribe-btn {
    background-color: var(--cta-amber);
    color: var(--primary);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.subscribe-btn:hover {
    filter: brightness(0.9);
    transform: scale(1.01);
}

.subscribe-input {
    border: 2px solid #e5e7eb;
    color: var(--text-header);
    transition: border-color 0.2s ease;
}

.subscribe-input:focus {
    border-color: var(--secondary-olive);
    outline: none;
}

/* ===== article_grid ===== */
#more-articles {
    position: relative;
}

.js-article-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-box {
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== faq_accordion ===== */
#faq-section .js-faq-card {
    width: 100%;
    border-color: rgba(107, 142, 35, 0.1);
    border-width: 2px
}

#faq-section .is-active {
    border-color: var(--cta-amber) !important
}

#faq-section .collapse-plus .collapse-title::after {
    color: var(--cta-amber) !important
}

#faq-section .js-faq-card:hover {
    transform: translateY(-2px)
}

/* ===== contact_section ===== */
#contact-us {
    width: 100%;
    scroll-margin-top: 80px;
}

.js-error-email.hidden,
.js-error-message.hidden {
    display: none;
}

.js-error-email:not(.hidden),
.js-error-message:not(.hidden) {
    display: block;
}

/* ===== footer ===== */
#footer {
    background-color: var(--primary);
}

#footer h4 {
    color: var(--card-white);
}

#footer p,
#footer span,
#footer a {
    color: var(--card-white);
}

.bg-secondary-olive {
    background-color: var(--secondary-olive);
}

.text-cta-amber {
    color: var(--cta-amber);
}