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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family-base);
    font-size: var(--font-size-200);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-family-heading);
    line-height: 1.2;
}

p {
    margin: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

label {
    display: inline-block;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-100);
    font-weight: 600;
    color: var(--color-text);
}

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

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text);
    padding: var(--space-3) var(--space-4);
}

button {
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 var(--focus-ring-width) var(--focus-ring-color);
}

.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;
}
