* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 16px;
    line-height: 1.6;
    transition: background .3s, color .3s;
}

a {
    color: var(--link);
    text-decoration: underline;
    transition: color .3s;
}

a:hover,
a:focus-visible {
    color: var(--link-hover);
}

.no-underline {
    text-decoration: none;
    color: inherit;
}

.no-underline:hover {
    text-decoration: underline;
}

.preload *,
.preload *::before,
.preload *::after {
    transition: none !important;
    animation: none !important;
}

h1 {
    font-size: clamp(24px, 5vw, 48px);
    margin: 0 0 16px;
}

p {
    margin: 0 0 20px;
}
