/* Wrenleaf Coming Soon Landing Page Styles */

/* CSS Custom Properties - Brand Design Tokens */
:root {
    /* Colors */
    --color-forest: #234E3F;
    --color-leaf: #6CA86C;
    --color-cream: #FDFBF7;
    --color-soft-gold: #D8B56A;
    --color-ink: #22302A;
    
    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Nunito', system-ui, sans-serif;
    --font-ui: system-ui, -apple-system, sans-serif;
    
    /* Typography Scale */
    --text-h1: 2.5rem;  /* 40px */
    --text-h2: 1.75rem; /* 28px */
    --text-h3: 1.375rem; /* 22px */
    --text-body: 1rem;   /* 16px */
    --text-small: 0.875rem; /* 14px */
    
    /* Spacing */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2.5rem;   /* 40px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
    
    /* Layout */
    --max-width: 800px;
    --container-padding: var(--space-lg);
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-ink);
    background: linear-gradient(135deg, var(--color-cream) 0%, #f8f6f2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    text-align: center;
    gap: var(--space-lg);
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* Content */
.content {
    max-width: 600px;
    margin: 0 auto;
}

.tagline {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    font-weight: 400;
    color: var(--color-forest);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.message {
    font-family: var(--font-heading);
    font-size: var(--text-h2);
    font-weight: 300;
    color: var(--color-leaf);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.description {
    font-size: 1.125rem; /* 18px */
    color: var(--color-ink);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Email Capture Form (hidden by default) */
.email-capture {
    margin-top: var(--space-2xl);
}

.email-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 400px;
    margin: 0 auto;
}

.email-form input[type="email"] {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid var(--color-leaf);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--text-body);
    background: white;
    transition: all 0.2s ease;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-forest);
    box-shadow: 0 0 0 3px rgba(35, 78, 63, 0.1);
}

.email-form button {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-forest);
    color: var(--color-cream);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.email-form button:hover {
    background: var(--color-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-subtle);
}

.email-form button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: var(--space-xl) var(--container-padding);
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(35, 78, 63, 0.1);
}

.footer p {
    font-size: var(--text-small);
    color: var(--color-forest);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --text-h1: 2rem;     /* 32px */
        --text-h2: 1.5rem;   /* 24px */
        --container-padding: var(--space-md);
        --space-xl: 2rem;    /* 32px */
        --space-2xl: 3rem;   /* 48px */
    }
    
    .container {
        gap: var(--space-lg);
    }
    
    .logo {
        max-width: 240px;
    }
    
    .description {
        font-size: var(--text-body);
    }
    
    .email-form {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .email-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --text-h1: 1.75rem;  /* 28px */
        --text-h2: 1.25rem;  /* 20px */
        --container-padding: var(--space-sm);
    }
    
    .logo {
        max-width: 200px;
    }
    
    .tagline {
        line-height: 1.3;
    }
    
    .description {
        font-size: var(--text-small);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-forest: #1a3a2d;
        --color-leaf: #5a9a5a;
        --color-ink: #000000;
    }
    
    .email-form input[type="email"] {
        border-width: 3px;
    }
    
    .email-form input[type="email"]:focus {
        border-width: 3px;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
    }
}

/* Focus indicators for keyboard navigation */
.logo:focus,
.email-form input:focus,
.email-form button:focus {
    outline: 3px solid var(--color-soft-gold);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .email-capture,
    .footer {
        display: none;
    }
    
    .tagline,
    .message,
    .description {
        color: black;
    }
}
