html {
    box-sizing: border-box;
    hanging-punctuation: first last;
}

* {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-weight: inherit;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: hsl(0, 0%, 0%);
    font-weight: 400;
    line-height: 1.6;

    min-height: 100svh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/* body > :is(header, footer),
main,
section,
article {
    container-type: inline-size;
} */

p,
li,
figcaption {
    text-wrap: pretty;
    max-width: 65ch;
}

img,
picture,
svg,
video {
    vertical-align: middle;
    max-width: 100%;
}

img {
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    font-style: italic;
    shape-margin: 0.75rem;
}

a:is(:link, :active, :visited) {
    text-decoration: none;
}

button {
    cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
    html,
    :has(:target) {
        scroll-behavior: smooth;
        scroll-padding-top: 1rem;
    }
}
