/* --- Global Styles & Design System --- */
:root {
    --bg-cream: #FDFBF6;
    --text-navy: #1D2D44;
    --text-charcoal: #3E506A;
    --accent-red: #A94442;
    --border-color: #e0e0e0;
    --section-bg-light: #F7F8FA;
    
    --font-serif: 'Lora', serif;
    --font-sans-serif: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-sans-serif);
    background-color: var(--bg-cream);
    color: var(--text-charcoal);
    margin: 0;
    line-height: 1.7;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow-x: hidden;
}

/* --- Reusable Components & Helpers --- */
.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--text-navy);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

p:last-of-type {
    margin-bottom: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-red);
    color: #fff; /* High contrast */
    font-family: var(--font-sans-serif);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #8c3836;
}

.horizontal-rule {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 0 auto;
    max-width: 750px;
}

/* --- Section Specific Styles --- */

/* Section 1: Hero */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.hero-section .sub-headline {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1rem auto 2.5rem auto;
}
.hero-section .cta-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-red);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}
.hero-section .cta-link:hover {
    border-bottom-color: var(--accent-red);
}

/* Section 3: The Antidote (Solution) */
.solution-section h2 {
    text-align: center;
}
.feature-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}
.feature-block h3 {
    margin-bottom: 0.5rem;
}

/* Section 5: For Creators */
.creators-section {
    background-color: var(--section-bg-light);
    text-align: center;
}

/* Section 6: Final CTA */
.final-cta-section {
    text-align: center;
}
.email-form {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.email-input {
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-sans-serif);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fff;
    flex-grow: 1;
}
.email-input:focus {
    outline: 2px solid var(--accent-red);
    border-color: var(--accent-red);
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .container { padding: 4rem 1.5rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-section .sub-headline { font-size: 1.1rem; }
}

@media (min-width: 768px) {
    .feature-grid {
        /* This is the key change: from 3 columns to 1 */
        grid-template-columns: 1fr; 
        /* Increase the gap for the vertical layout */
        gap: 4rem; 
    }
    .email-form {
        flex-direction: row;
    }
}