:root {
    color-scheme: light;
    /* Base - Clean warm neutrals */
    --bg: #f8f7f4;
    --bg-soft: #f0ede8;
    --bg-warm: #e8e4dc;
    --panel: #ffffff;
    --panel-strong: #fafaf9;
    
    /* Text - Rich charcoal spectrum */
    --text: #1a1a1a;
    --text-light: #2d2d2d;
    --muted: #6b6b6b;
    
    /* Accent - Deep navy/indigo for sophistication */
    --accent: #2d3a4f;
    --accent-hover: #1e2a3d;
    --accent-soft: rgba(45, 58, 79, 0.08);
    --accent-2: #4a5d7a;
    
    /* Secondary - Warm gold for subtle highlights */
    --highlight: #c4a574;
    --highlight-hover: #b8956c;
    --highlight-soft: rgba(196, 165, 116, 0.18);
    
    /* Tertiary - Sage green for freshness */
    --sage: #7a8f7a;
    --sage-soft: rgba(122, 143, 122, 0.12);
    
    /* Slate - Near black */
    --slate: #1a1a1a;
    --slate-light: #2a2a2a;
    
    /* Borders & Effects */
    --border: rgba(28, 28, 28, 0.08);
    --border-warm: rgba(196, 165, 116, 0.35);
    --focus-ring: rgba(45, 58, 79, 0.4);
    --shadow-xs: 0 1px 2px rgba(28, 28, 28, 0.04);
    --shadow-sm: 0 2px 8px rgba(28, 28, 28, 0.05), 0 1px 2px rgba(28, 28, 28, 0.03);
    --shadow-md: 0 8px 24px rgba(28, 28, 28, 0.08), 0 4px 8px rgba(28, 28, 28, 0.04);
    --shadow-lg: 0 20px 48px rgba(28, 28, 28, 0.12), 0 8px 16px rgba(28, 28, 28, 0.06);
    --shadow-glow: 0 0 40px rgba(196, 165, 116, 0.15);
    
    /* Gradients */
    --gradient-warm: linear-gradient(135deg, rgba(196, 165, 116, 0.08) 0%, rgba(45, 58, 79, 0.04) 100%);
    --gradient-hero: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    --gradient-card: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
    
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selection styling */
::selection {
    background: var(--highlight);
    color: var(--panel);
}

::-moz-selection {
    background: var(--highlight);
    color: var(--panel);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

p {
    margin: 0;
    color: var(--muted);
}

a {
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: 1px solid transparent;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--accent);
}

main {
    display: block;
}
