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

html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-400);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration-color: rgba(37, 99, 235, 0.35);
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-color: rgba(37, 99, 235, 0.75);
}

p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
}

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

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

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

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

small {
    font-size: var(--fs-200);
    color: var(--color-muted);
}

::selection {
    background: rgba(37, 99, 235, 0.18);
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-1);
}

hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: var(--space-8) 0;
}

ul,
ol {
    margin: 0;
    padding-left: 1.2rem;
}

li {
    margin: 0.25rem 0;
}