@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=DM+Serif+Display&display=swap');

:root {
    --background: hsl(40, 30%, 97%);
    --foreground: hsl(215, 30%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 30%, 15%);
    --primary: hsl(215, 65%, 28%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(42, 75%, 55%);
    --secondary-foreground: hsl(215, 65%, 15%);
    --muted: hsl(210, 20%, 94%);
    --muted-foreground: hsl(215, 15%, 45%);
    --accent: hsl(42, 75%, 55%);
    --border: hsl(210, 20%, 88%);
    --section-alt: hsl(210, 20%, 96%);
    --hero-gradient: linear-gradient(135deg, hsl(215, 65%, 28%) 0%, hsl(215, 55%, 20%) 100%);
    --gold-gradient: linear-gradient(135deg, hsl(42, 75%, 55%) 0%, hsl(38, 80%, 48%) 100%);
    --radius: 0.75rem;

    --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.05);

    --max-width: 1200px;
    --header-height: 64px;
    --touch-target: 44px;

    --color-white: hsl(0, 0%, 100%);
    --color-black: hsl(0, 0%, 0%);
    --color-gray-50: hsl(210, 20%, 98%);
    --color-gray-100: hsl(210, 20%, 96%);
    --color-gray-200: hsl(210, 20%, 88%);
    --color-gray-300: hsl(210, 20%, 80%);
    --color-gray-400: hsl(210, 15%, 65%);
    --color-gray-500: hsl(215, 15%, 55%);
    --color-gray-600: hsl(215, 15%, 45%);
    --color-gray-700: hsl(215, 15%, 35%);
    --color-gray-800: hsl(215, 20%, 25%);
    --color-gray-900: hsl(215, 30%, 15%);
    --color-primary: hsl(215, 65%, 28%);
    --color-primary-foreground: hsl(0, 0%, 100%);
    --color-primary-light: hsl(215, 65%, 95%);
    --color-primary-hover: hsl(215, 65%, 24%);
    --color-success: hsl(142, 76%, 36%);
    --color-success-light: hsl(142, 76%, 96%);
    --color-danger: hsl(0, 84%, 60%);
    --color-danger-light: hsl(0, 84%, 96%);
    --color-warning: hsl(38, 92%, 50%);
    --color-warning-light: hsl(38, 92%, 96%);
    --color-info-light: hsl(199, 89%, 96%);
    --color-focus-ring: rgba(21, 78, 160, 0.25);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid var(--border);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(21, 78, 160, 0.25);
    border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(21, 78, 160, 0.25);
    border-radius: var(--radius-sm);
}
