:root {
    /* Color system */
    --bg-body: #ffffff;
    --bg-card: #f5f5f5;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --text-light: #999999;
    --border-light: rgba(0, 0, 0, 0.1);
    --bg-section-subtle: #f0f0f0;
    --border-dark: #333333;

    /* Typography system */
    --font-heading: 'Switzer', sans-serif;
    --font-body: 'Switzer', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Layout + spacing system */
    --site-max-width: 1600px;
    --page-padding: 60px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
}

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

html {
    scroll-behavior: smooth;
    /* Every page keeps a scrollbar track, so short pages (e.g. Connect)
       center their content identically to pages that scroll */
    overflow-y: scroll;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    :root {
        --page-padding: 20px;
    }
}
