:root {
    --seasalt: #f8fafc;
    --keppel: #5da399;
    --gunmetal: #263D42;
    --flame: #cf5c36;
    --burst-4: #f7c94d;
    --burst-3: #f18a3b;
    --burst-2: #d45331;
    --burst-1: #9e2418;
    --violet: #A31621;
    --lemon: #f7c94d;
    --persian-green: #1B998B;
    --concrete: #475569;
    --verdigris: #3AAFB9;
    --darkgold: #AE8E1C;
    --bronze: #8C6239;
    --pico-primary-500: var(--flame);
    --pico-primary-600: var(--keppel);
    --pico-spacing: 2rem;
    --tobacco-dark: #5f1116;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Base responsive styles */
html {
    box-sizing: border-box;
    font-size: 18px;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-image: url('./top-tile.png');
    background-repeat: repeat-x;
    background-position: top;
    background-color: var(--seasalt);
    overflow-x: hidden;
}
h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--gunmetal);
}
p {
    font-size: 1rem;
}
/* Hero Section */
.hero {
    background: linear-gradient(180deg, #fff  0%, var(--seasalt) 100%);
    color: white;
    font-weight: 200;
    padding: 2rem 0 0 0;
    text-align: center;
    margin-bottom: 0;
    margin-top: 17px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--gunmetal);
    font-family: 'Special Elite', cursive;
}

.hero .tagline { 
    font-size: 1.6rem;
    color: var(--concrete);
    margin-bottom: 1.5rem;
    
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--tobacco-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-illustration {
    max-width: 100%;
    width: 1000px;
    height: auto;
    display: block;
    margin: 2rem auto;
    /* box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1); */
}

/* Problem Section */
.problem {
    padding: 0 0 4rem 0;
}

.problem h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--concrete);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-item {
    /* background: white; */
    padding: 1.5rem;
    border-radius: 0.75rem;
    /* box-shadow: 0 1px 30px 0 rgb(0 0 0 / 0.1); */
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.problem-item .icon {
    font-size: 2.6rem;
    color: var(--concrete);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.problem-item .text-content {
    flex: 1;
}

.problem-item h3 {
    color: var(--concrete);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: left;
    margin: 0;
}

.problem-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    text-align: left;
}

.problem-highlight {
    text-align: center;
    font-size: 1.2rem;
    color: #7e7e88;
    font-weight: 600;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 30px 0 rgb(0 0 0 / 0.1);
}

/* Solution Section */
.solution {
    background: url(./paf-back.png) no-repeat top left, url(./ledger.png) no-repeat right 100px, linear-gradient(180deg, #f8fafc  0%, #fff 100%);
    padding: 4rem 0;
}

.solution h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.solution-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.solution-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #475569;
}

.solution-content strong {
    color: var(--gunmetal);
}

.solution-content em {
    color: var(--burst-2);
    font-style: normal;
    font-weight: 500;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.2s ease;
}

.feature:hover {
    border-color: var(--flame);
    box-shadow: 0 4px 12px 0 rgb(37 99 235 / 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--tobacco-dark);
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gunmetal);
}

.feature p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* Vision Section */
.vision {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--burst-1) 0%, var(--tobacco-dark) 100%);
    color: white;
    text-align: center;
}

.vision h2 {
    margin-bottom: 2rem;
    color: var(--seasalt);
    font-weight: 600;
}

.vision-content {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: white;
    font-style: italic;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: var(--seasalt);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gunmetal);
}

.email-form {
    max-width: 500px;
    margin: 0 auto 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-form input[type="email"] {
    flex: 1;
    min-width: 280px;
    border: 2px solid var(--gunmetal);
    border-radius: 0.5rem;
}

.email-form input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.email-form .button {
    background: #1e293b;
    border: 2px solid #1e293b;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.email-form .button:hover {
    background: #334155;
    border-color: #334155;
    transform: translateY(-1px);
}

.cta-footnote {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #374151;
}

/* Container adjustments */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .solution {
        background: linear-gradient(180deg, #f8fafc  0%, #fff 100%);
    }
}
@media (max-width: 820px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.4rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-illustration {
        width: 100%;
        max-width: 800px;
    }
    .problem {
        padding: 0 0 4rem 0;
        background: var(--seasalt);
    }
    .solution {
        background: linear-gradient(180deg, #f8fafc  0%, #fff 100%);
    }
}

/* @media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }

    .problem-grid,
    .features {
        grid-template-columns: 1fr;
    }
    
    .email-form {
        flex-direction: column;
        align-items: center;
    }
    
    .email-form input[type="email"] {
        min-width: 100%;
    }
} */

/* @media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 1.5rem 0 0 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .problem-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .problem-item .icon {
        margin-bottom: 1rem;
        margin-top: 0;
    }
    
    .problem-item h3,
    .problem-item p {
        text-align: center;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .solution,
    .vision,
    .cta {
        padding: 3rem 0;
    }
} */

/* Remove default margins on sections */
section {
    margin: 0;
}

/* Clean up Pico defaults for better spacing */
main {
    padding: 0;
}
