html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--edu-color-page);
    color: var(--edu-color-text);
    font-family: var(--edu-font-sans);
    font-size: var(--edu-text-md);
    line-height: var(--edu-line-body);
    text-rendering: optimizeLegibility;
}

body.site-body,
body.child-app {
    display: flex;
    flex-direction: column;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--edu-color-text);
    font-weight: 750;
    line-height: var(--edu-line-compact);
    text-wrap: balance;
}

h1 {
    font-size: var(--edu-text-2xl);
}

p,
li,
dd {
    text-wrap: pretty;
}

a {
    color: var(--edu-color-brand-700);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--edu-color-brand-800);
}

code,
kbd,
pre,
samp {
    font-family: var(--edu-font-mono);
}

::selection {
    background: var(--edu-color-brand-200);
    color: var(--edu-color-text);
}

:focus-visible {
    outline: 3px solid var(--edu-color-focus);
    outline-offset: 3px;
}

.edu-prose {
    max-width: var(--edu-content-prose);
}

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

.edu-eyebrow {
    margin-bottom: var(--edu-space-2);
    color: var(--edu-color-brand-700);
    font-size: var(--edu-text-sm);
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    :focus-visible {
        outline-color: Highlight;
    }
}
