/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-black);
    line-height: 1.1;
    font-weight: 700; 
}

h1 { font-size: clamp(48px, 6vw, 80px); letter-spacing: -0.04em; margin-bottom: 24px; }
h2 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; margin-bottom: 20px; }
h3 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 16px; letter-spacing: -0.01em; }
h4 { font-size: clamp(18px, 2.5vw, 22px); margin-bottom: 12px; }

p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: clamp(15px, 1.2vw, 16px);
    font-weight: 400;
    line-height: 1.7;
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-text-muted);
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--color-white);
}

.section-alt {
    background-color: var(--color-background-alt);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.text-gray { color: var(--color-text-light) !important; }

/* Accessibility */
.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;
}

:focus-visible {
    outline: 2px solid var(--color-black);
    outline-offset: 2px;
}

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
