:root {
    /* Earthy Color Palette based on new logo */
    --color-bg-primary: #F9F8F3;
    --color-bg-secondary: #EBEADD;
    
    --color-brand-green: #1a4a31;
    --color-leaf-green: #6a8b32;
    --color-wheat-gold: #ce9d34;
    --color-soil-brown: #4a3525;

    --color-green-primary: #1a4a31;
    --color-green-light: #6a8b32;
    --color-green-glow: rgba(26, 74, 49, 0.15);
    --color-earth-accent: #ce9d34;

    --color-text-main: #242D26;
    --color-text-muted: #576359;
    --color-white: #FFFFFF;

    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    --radius-full: 9999px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- Background Shapes & Patterns --- */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--color-green-light) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.08;
    z-index: -2;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 15s ease-in-out infinite alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-green-glow);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(166, 123, 91, 0.08);
    /* Earth glow */
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}

/* --- Layout --- */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.eyebrow-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- Typography --- */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--color-green-glow);
    color: var(--color-green-primary);
    border: 1px solid rgba(44, 94, 51, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(44, 94, 51, 0.05);
}

.brand-name {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-brand-green);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    letter-spacing: -3px;
    padding-right: 5px;
}

/* Wheat 'X' SVG Styling */
.wheat-x {
    display: inline-block;
    width: clamp(3.5rem, 8vw, 6rem);
    height: clamp(3.5rem, 8vw, 6rem);
    margin-left: -5px;
    transition: var(--transition-smooth);
}

.wheat-x svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wheat-x:hover {
    transform: scale(1.05) rotate(2deg);
}

.draw-soil, .draw-filled-leaf {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 1s ease forwards;
}

.draw-grain {
    opacity: 0;
    transform-origin: center;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.stalk-dark { animation-delay: 0.1s; }
.stalk-light { animation-delay: 0.3s; }

.s-1 { animation-delay: 0.6s; }
.s-2 { animation-delay: 0.8s; }
.s-3 { animation-delay: 1.0s; }

.g-1 { animation-delay: 0.7s; }
.g-2 { animation-delay: 0.8s; }
.g-3 { animation-delay: 0.9s; }
.g-4 { animation-delay: 1.0s; }
.g-5 { animation-delay: 1.1s; }
.g-6 { animation-delay: 1.2s; }
.g-7 { animation-delay: 1.3s; }

.subtitle {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.supporting-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* --- Form --- */
.cta-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.input-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    background: var(--color-white);
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(44, 94, 51, 0.1);
    transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
    box-shadow: 0 12px 40px rgba(44, 94, 51, 0.15);
    border-color: var(--color-green-primary);
    transform: translateY(-2px);
}

input[type="email"] {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text-main);
    outline: none;
}

input[type="email"]::placeholder {
    color: #9AA69C;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--color-green-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: var(--color-green-light);
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.icon-arrow {
    transition: transform var(--transition-fast);
}

.btn-primary:hover .icon-arrow {
    transform: translateX(4px);
}

.form-message {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    font-weight: 500;
    opacity: 1;
    transition: opacity var(--transition-fast);
}

.form-message.hidden {
    opacity: 0;
    pointer-events: none;
}

.form-message.success {
    color: var(--color-green-primary);
}

.form-message.error {
    color: #d9534f;
}

/* --- Footer --- */
footer {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: var(--spacing-xl);
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.05);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-up {
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .wrapper {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .input-wrapper {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        gap: var(--spacing-sm);
    }

    .input-wrapper:focus-within {
        transform: none;
        box-shadow: none;
    }

    input[type="email"] {
        background: var(--color-white);
        border: 1px solid rgba(44, 94, 51, 0.1);
        padding: 1rem 1.5rem;
        border-radius: var(--radius-full);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        text-align: center;
    }

    input[type="email"]:focus {
        border-color: var(--color-green-primary);
        box-shadow: 0 8px 24px rgba(44, 94, 51, 0.1);
    }

    .btn-primary {
        justify-content: center;
        padding: 1rem;
        box-shadow: 0 4px 16px rgba(44, 94, 51, 0.2);
    }
}