body {
    min-height: 100vh;
    min-height: 100svh;
    color: var(--body-color);
    background: var(--body-background);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-base);
    line-height: var(--line-height-base);
    accent-color: var(--primary);
    margin-top: env(safe-area-inset-top);
    padding: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--headings-font-family);
    line-height: var(--headings-line-height);
    font-weight: var(--headings-font-weight);
    font-style: var(--headings-font-style);
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    font-size: var(--h6-font-size);
}

a {
    color: var(--link-color);
}

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

button {
    cursor: pointer;
}

strong {
    font-weight: var(--font-weight-bold);
}

hr {
    color: inherit;
    border: 0;
    border-top: 1px solid var(--border-color);
    opacity: 0.5;
}

sup {
    vertical-align: super;
    font-size: 0.75em;
}

sub {
    vertical-align: sub;
    font-size: 0.75em;
}

ul:not([class]),
ol:not([class]) {
    list-style-type: none;
    padding: 0;
}

ul:not([class]) li, 
ol:not([class]) li {
    list-style-type: none;
    position: relative;
    padding-left: 1.75em;
}

ul:not([class]) li::before, 
ol:not([class]) li::before {
    position: absolute;
    left: 0;
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

ul:not([class]) li + li {
    margin-top: 0.25rem;
}

ul:not([class]) li::before {
    content: '→';
}

ol:not([class]) {
    counter-reset: steps;
}

ol:not([class]) li {
    counter-increment: steps;
}

ol:not([class]) li::before {
    content: counter(steps) '.';
}

.content > * + * {
    margin-top: var(--stack-gap);
}

.content > * + h1,
.content > * + h2,
.content > * + h3,
.content > * + h4,
.content > * + h5,
.content > * + h6 {
    --stack-gap: var(--stack-gap-headings);
}
