html { font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-background);
    font-size: 1rem;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); }

p { color: var(--color-text); }
p.muted, .text-muted { color: var(--color-text-muted); }

a.link { color: var(--color-accent); text-underline-offset: 2px; }
a.link:hover { text-decoration: underline; }

::selection { background: var(--color-accent); color: #fff; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: var(--space-2) var(--space-3);
    z-index: 1000;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }