/**
 * Минимальный reset — mobile-first
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font-ui);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--chalk);
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
    body {
        font-size: 1.125rem;
        line-height: 1.8;
    }
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--indigo);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--indigo-hover);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    margin: 0;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

address {
    font-style: normal;
}
