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

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/onest/onest-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+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #000;
  font-family: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  background: rgb(255 255 255 / 95%);
}

.site-header__inner {
  display: flex;
  width: 100%;
  max-width: 1700px;
  height: 84px;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 109px;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: auto;
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.site-nav span {
  font-size: 16px;
  font-weight: 600;
  line-height: 44px;
  text-decoration: none;
}

.site-nav span {
  color: rgb(0 0 0 / 35%);
  cursor: not-allowed;
}

.site-login {
  display: inline-flex;
  height: 44px;
  align-items: center;
  margin-left: auto;
  border-radius: 999px;
  background: rgb(0 0 0 / 3%);
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.site-main {
  width: 100%;
  max-width: 768px;
  flex: 1;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.site-main h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

.site-updated {
  margin: 8px 0 0;
  color: rgb(0 0 0 / 50%);
  font-size: 14px;
}

.site-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  color: rgb(0 0 0 / 80%);
  font-size: 16px;
  line-height: 1.65;
}

.site-content h2 {
  margin: 16px 0 0;
  color: #000;
  font-size: 20px;
  line-height: 1.25;
}

.site-content p {
  margin: 0;
}

.site-content ul {
  margin: 0;
  padding-left: 22px;
}

.site-content li + li {
  margin-top: 4px;
}

.site-footer {
  display: flex;
  width: 100%;
  max-width: 1700px;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 4px;
  margin: 24px auto 0;
  border-top: 1px solid rgb(0 0 0 / 10%);
  background: #fff;
  padding: 16px 30px;
  color: rgb(0 0 0 / 45%);
  font-size: 12px;
  font-weight: 500;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 4px;
}

.site-footer__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #000;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  text-align: right;
}

@media (max-width: 1025px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    height: 64px;
  }

  .site-logo {
    margin-right: auto;
  }

  .site-logo img {
    height: 32px;
  }

  .site-nav {
    display: none;
  }

  .site-login {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }

  .site-main h1 {
    font-size: 30px;
  }
}

@media (max-width: 568px) {
  .site-footer {
    align-items: center;
    text-align: center;
  }

  .site-footer__left,
  .site-footer__links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 4px;
    text-align: center;
  }

  .site-footer p {
    text-align: center;
  }
}
