/* Сброс и базовая типографика */
/* Inter (SIL OFL 1.1), вариативный 400–800, только кириллица и латиница */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--c-text);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "tnum" 0;
}
table, .tabular { font-variant-numeric: tabular-nums; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 0 0 var(--sp-2);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--c-heading);
}
h1, .h1 { font-size: var(--fs-3xl); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); line-height: 1.1; }
h2, .h2 { font-size: var(--fs-2xl); letter-spacing: -0.025em; }
h3, .h3 { font-size: var(--fs-xl); }
h4, .h4 { font-size: var(--fs-lg); }
h5, .h5 { font-size: var(--fs-md); }
h6, .h6 { font-size: var(--fs-base); font-weight: var(--fw-semibold); }

p { margin: 0 0 var(--sp-3); }
ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.5rem; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }
dl { margin: 0 0 var(--sp-3); }
dt { font-weight: var(--fw-semibold); }
dd { margin: 0 0 var(--sp-2); }
hr { margin: var(--sp-3) 0; border: 0; border-top: var(--border-w) solid var(--c-border); opacity: 1; }
small, .small { font-size: 0.875em; }
strong, b { font-weight: var(--fw-semibold); }
code, kbd, pre, samp { font-family: var(--font-mono); font-size: 0.875em; }
code { color: var(--c-primary-hover); word-wrap: break-word; }
pre { margin: 0 0 var(--sp-3); overflow: auto; }

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

img, svg { vertical-align: middle; }
img { max-width: 100%; }
table { border-collapse: collapse; caption-side: bottom; }
th { text-align: inherit; font-weight: var(--fw-semibold); }
label { display: inline-block; }
button { border-radius: 0; }
button:focus:not(:focus-visible) { outline: 0; }
input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button:not(:disabled), [type="button"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; }
textarea { resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { float: left; width: 100%; padding: 0; margin-bottom: var(--sp-2); font-size: var(--fs-lg); line-height: inherit; }
legend + * { clear: left; }
[hidden] { display: none !important; }
summary { cursor: pointer; }

.lead { font-size: var(--fs-lg); font-weight: var(--fw-normal); }
.display-4 { font-size: calc(1.475rem + 2.7vw); font-weight: 300; line-height: 1.2; }
@media (min-width: 1200px) { .display-4 { font-size: 3.5rem; } }

::selection { background: rgba(var(--c-primary-rgb), 0.18); }
