

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

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--brand-font-family);
    font-size: var(--brand-font-md);
    line-height: 1.4;
    color: var(--brand-text);
    background: var(--brand-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main,
body > section,
body > .wrapper {
    flex: 1 0 auto;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover { opacity: 0.85; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
}
h1 { font-size: var(--brand-font-3xl); }
h2 { font-size: var(--brand-font-2xl); }
h3 { font-size: var(--brand-font-xl); }

p {
    margin: 0 0 1em;
    line-height: 1.5;
}

ul, ol {
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--brand-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }
.text-center { text-align: center; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
