/* Gauss AI - Global Styles v2.0
   Reset, base typography, utilities, container */

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, picture, video, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-brand);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: var(--text-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p + p { margin-top: var(--space-2); }

/* === Container === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* === Section === */
.section {
    padding: var(--space-12) 0;
}

.section--alt {
    background: var(--color-bg-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header h2 {
    margin-bottom: var(--space-2);
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: var(--text-body-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === Utilities === */
.text-center { text-align: center; }
.text-secondary { color: var(--color-text-secondary); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === Source attribution === */
.source-note {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    opacity: 0.6;
    margin-top: var(--space-3);
    text-align: center;
}

/* === Responsive === */
@media (max-width: 768px) {
    .container {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .section {
        padding: var(--space-8) 0;
    }
}
