body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
h2 { font-size: clamp(1.25rem, 4vw, 1.5rem); }
h3 { font-size: 1.25rem; }

p {
    color: var(--color-muted);
    max-width: 65ch;
}

strong { font-weight: 600; }

code {
    background: rgba(37,99,235,0.08);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'SF Mono', Monaco, monospace;
}

::selection {
    background: rgba(37,99,235,0.2);
    color: var(--color-text);
}

main.container {
    flex: 1;
}
