@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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;
}

:root {
  color-scheme: light;
}

body {
  margin: 0;
  background: #f7f6f3;
  color: #1c1917;
  font-family: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

h1 {
  margin: 0.25rem 0 1.5rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p,
li {
  font-size: 1.02rem;
}

a {
  color: #1d4ed8;
}

.nav {
  margin: 0 0 1.5rem;
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
}

.nav a {
  color: #44403c;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.home-links {
  list-style: none;
  padding: 0;
}

.home-links a {
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
}

.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.1rem;
  background: #1c1917;
  color: #f7f6f3;
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
}

.button:hover {
  background: #44403c;
}

footer {
  margin-top: 3rem;
  color: #57534e;
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.85rem;
}
