/* Color Palette & Variables */
:root {
    --primary: #5f9ea0;    /* Seafoam Green */
    --secondary: #2c3e50;  /* Slate Blue */
    --bg: #f4f9f9;         /* Off-white/Cool */
    --text: #333;
    --white: #ffffff;
    --accent: #e67e22;     /* Subtle Orange for buttons */
}

/* Dark Mode Overrides (Optional - browsers will detect user preference) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a1a1a;
        --text: #e0e0e0;
        --white: #2d2d2d;
    }
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
}

nav {
    background: var(--white);
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover { color: var(--secondary); }

.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn:hover { transform: translateY(-2px); background: var(--secondary); }

h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--secondary); }
