@use "fonts";

html {
    background: var(--bg);
}

body {
    max-width: calc(60ch + 4rem);
    margin-inline: auto;
    padding: 3rem 2rem;
    color: var(--text);
    font-family: fonts.$font-serif;
    font-size: 17px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

@media (min-width: 40rem) {
    body {
        padding-top: 6rem;
    }
}

body > :first-child {
    margin-top: 0;
}

body > :last-child {
    margin-bottom: 0;
}

.signature {
    display: inline-block;
    height: 0.667em;
    width: auto;
    transform: scale(3);
    transform-origin: left bottom;
}
