:root {
    --forest-50: #f0fdf4;
    --forest-100: #dcfce7;
    --forest-200: #bbf7d0;
    --forest-300: #86efac;
    --forest-400: #4ade80;
    --forest-500: #22c55e;
    --forest-600: #16a34a;
    --forest-700: #166534;
    --forest-800: #15803d;
    --forest-900: #14532d;
    --forest-950: #052e16;
    --offwhite: #FAFAF5;
    --cream: #F5F5EE;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #14532d;
    background-color: #FAFAF5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animations — progressive enhancement, only below the fold */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FAFAF5;
}

::-webkit-scrollbar-thumb {
    background: #bbf7d0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #86efac;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #bbf7d0;
    color: #14532d;
}

/* Smooth image loading */
img {
    image-rendering: auto;
    loading: lazy;
}
