/**
 * Knoodl Design System
 */

:root {
    color-scheme: light dark;
    /* Knoodl Palette */
    --primary: #319897;
    --primary-dark: #287a79;
    --primary-light: #4db8b7;
    --primary-bg: #e6f5f5;
    --accent-coral: #F16E44;
    --accent-coral-dark: #d85a33;
    --accent-berry: #D13D7E;
    --accent-gold: #F9B233;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #F9B233;
    --warning-bg: #fef8e7;
    --danger: #F16E44;
    --danger-bg: #fef0eb;
    --bg: #F7F9F9;
    --bg-elevated: #ffffff;
    --card: #ffffff;
    --text: #2D2D2D;
    --text-secondary: #555555;
    --text-muted: #8a9199;
    --border: #e2e8f0;
    --border-light: #eef2f2;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(49, 152, 151, 0.06);
    --shadow-md: 0 4px 16px rgba(49, 152, 151, 0.08);
    --shadow-lg: 0 8px 30px rgba(49, 152, 151, 0.1);
    --shadow-glow: 0 0 40px rgba(49, 152, 151, 0.15);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1a1a;
        --bg-elevated: #1a2e2e;
        --card: #1a2e2e;
        --text: #f1f5f5;
        --text-secondary: #c0d4d4;
        --text-muted: #6b8585;
        --border: #2a4040;
        --border-light: #1f3333;
        --primary-bg: #1a3333;
        --success-bg: #064e3b;
        --warning-bg: #4a3010;
        --danger-bg: #4a1e10;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
        --shadow-glow: 0 0 40px rgba(49, 152, 151, 0.2);
    }
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
button { font-family: var(--font-family); cursor: pointer; border: none; transition: all var(--transition); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
ul { list-style: none; }

