/* ====================== */
/* CORE STYLES */
/* ====================== */
:root {
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
    --base-font-size: 16px;
    --line-height: 1.6;

    /* Spacing */
    --space-unit: 1rem;
    --space-xs: calc(0.5 * var(--space-unit));
    --space-sm: calc(0.75 * var(--space-unit));
    --space-md: calc(1.25 * var(--space-unit));
    --space-lg: calc(2 * var(--space-unit));
    --space-xl: calc(3.25 * var(--space-unit));

    /* Borders */
    --border-radius: 0.5rem;
    --border-width: 1px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--base-font-size);
    line-height: var(--line-height);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-unit);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: var(--space-sm);
    background: var(--primary);
    color: white;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-unit);
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}