/* Brand Colors */
:root {
    --summit-glow: #D4784E;    /* Primary CTA */
    --alpine-dusk: #7B6B8D;    /* Accent/AI features */
    --valley-sage: #8FA68E;    /* Success states */
    --glacier-blue: #5C7A8B;   /* Trust elements */
    --trail-stone: #A68A64;    /* Secondary elements */
    --bedrock: #2C2927;        /* Text/navigation */
    --morning-mist: #FAF9F7;   /* Background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--morning-mist);
    color: var(--bedrock);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bedrock);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.25rem;
    color: var(--glacier-blue);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.email-input {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e0ddd9;
    border-radius: 12px;
    background-color: white;
    color: var(--bedrock);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.email-input:focus {
    outline: none;
    border-color: var(--summit-glow);
    box-shadow: 0 0 0 3px rgba(212, 120, 78, 0.15);
}

.email-input::placeholder {
    color: #999;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: var(--summit-glow);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: inherit;
}

.cta-button:hover {
    background-color: #c26a42;
}

.cta-button:active {
    transform: scale(0.98);
}

.message {
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.message.success {
    display: block;
    background-color: rgba(143, 166, 142, 0.15);
    color: var(--valley-sage);
    border: 1px solid var(--valley-sage);
}

.message.info {
    display: block;
    background-color: rgba(92, 122, 139, 0.15);
    color: var(--glacier-blue);
    border: 1px solid var(--glacier-blue);
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--trail-stone);
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (min-width: 640px) {
    h1 {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .waitlist-form {
        flex-direction: row;
    }

    .email-input {
        flex: 1;
        border-radius: 12px 0 0 12px;
    }

    .cta-button {
        border-radius: 0 12px 12px 0;
        white-space: nowrap;
    }
}
