/* Design System & Variables */
:root {
    /* Color Palette - Beige / Sand / Warm Grey */
    --color-bg-base: #F5F2EB;
    /* Warm off-white/beige base */
    --color-bg-section: #EBE7DE;
    /* Slightly darker sand for sections */
    --color-text-main: #3E3C38;
    /* Warm dark grey for body text */
    --color-text-heading: #2C2A26;
    /* Darker grey for headings */
    --color-accent: #8C867A;
    /* Warm middle-grey for accents */
    --color-accent-light: #AFA99E;
    --color-secondary: #D9D4C7;
    /* Borders / Dividers */

    /* CTA Colors - Calm but distinct */
    --color-cta-bg: #3E3C38;
    --color-cta-text: #FFFFFF;
    --color-cta-hover: #595650;

    /* Typography */
    --font-family-heading: 'Playfair Display', serif;
    /* Elegant, premium */
    --font-family-body: 'Inter', sans-serif;
    /* Clean, modern, legible */

    /* Spacing & Structure */
    --spacing-container: 1200px;
    --spacing-section-y: 6rem;
    --spacing-mobile-section-y: 4rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-family-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    max-width: 65ch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: var(--spacing-container);
    margin: 0 auto;
}

.section {
    padding: var(--spacing-section-y) 0;
}

.text-center {
    text-align: center;
}

.card {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Subtle, premium shadow */
    max-width: 600px;
    margin: 0 auto;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-cta-bg);
    color: var(--color-cta-text);
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--color-cta-bg);
    cursor: pointer;
    border-radius: 4px;
    /* Minimal radius */
}

.btn:hover {
    background-color: var(--color-cta-hover);
    border-color: var(--color-cta-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-main);
}

.btn-outline:hover {
    background-color: rgba(62, 60, 56, 0.05);
    /* very light subtle hover */
}

/* Specific Section Styles (Placeholder for now) */
header {
    padding: 2rem 0;
    border-bottom: 1px solid transparent;
    /* Prepare for sticky header logic if needed */
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
}

.hero-content {
    max-width: 800px;
}

.problem-section {
    background-color: var(--color-bg-section);
}

.founder-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #D9D4C7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    font-style: italic;
    font-family: var(--font-family-heading);
}

footer {
    background-color: var(--color-text-heading);
    color: var(--color-bg-base);
    padding: var(--spacing-md) 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --spacing-section-y: 4rem;
    }

    .container {
        width: 92%;
        /* Slightly wider on mobile */
    }

    h1 {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding-top: 1rem;
        min-height: auto;
        /* Allow content to dictate height on mobile */
        padding-bottom: 4rem;
    }

    .founder-image,
    .founder-text {
        grid-column: 1 / -1;
        /* Stack vertically */
    }

    .founder-image {
        order: -1;
        /* Image first */
        max-width: 400px;
        margin: 0 auto;
    }

    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        /* Force stack for problem items */
        gap: 1.5rem !important;
    }
}