@font-face {
  font-family: AmazingGroteskUltra;
  src: url("/assets/fonts/amazing_grotesk_ultra.woff") format("woff"),
    url("/assets/fonts/amazing_grotesk_ultra.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  background: #f2f2f2;
}

body {
  margin: 0;
  min-width: 320px;
  color: #3f494f;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.557;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #ff5252;
}

p {
  margin: 0 0 1.5em;
}

h1 {
  margin: 0 0 0.7em;
  color: #222;
  font-family: AmazingGroteskUltra, Tahoma, Verdana, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.375rem);
  font-weight: normal;
  line-height: 1.26;
}

h2 {
  margin: 1.4em 0 0.5em;
  color: #222;
  font-family: AmazingGroteskUltra, Tahoma, Verdana, sans-serif;
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 26px;
  position: relative;
}

.header__top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 51px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header__inner {
  height: 51px;
  padding-bottom: 0;
}

.header__logo {
  position: absolute;
  top: 5px;
  left: 16px;
  width: 193px;
  height: 41px;
}

.header__logo img {
  display: block;
  width: 193px;
  height: 41px;
}

.header__top-nav {
  position: absolute;
  top: 6px;
  left: 230px;
}

.header__top-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__top-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  color: #4c4c4c;
  font-size: 13px;
  font-weight: 700;
}

.header__top-nav > ul > li > a:first-letter {
  color: #ff5252;
}

.header__since {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  color: #697278;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.middle {
  padding-top: 70px;
}

.content > article {
  padding: 28px 32px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.lead {
  font-size: 1.05em;
}

.cta {
  display: inline-block;
  margin: 0.2em 0 0.8em;
  color: #ff5252;
  font-weight: 700;
  border-bottom: 1px solid #ff5252;
}

.cta:hover,
.cta:focus-visible {
  color: #c1121f;
  border-bottom-color: #c1121f;
}

.footer {
  padding: 22px 24px 18px;
  margin: 20px 0 0;
  background: #2a2a2a;
}

.footer__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: #999;
  border-bottom: 3px double #555;
  font-family: AmazingGroteskUltra, Tahoma, Verdana, sans-serif;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer p {
  margin: 0 0 12px;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.55;
}

.footer__meta {
  margin: 18px 0 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.telegram_channel {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 60;
  width: 55px;
  height: 55px;
}

.telegram_channel img {
  display: block;
  width: 55px;
  height: 55px;
}

@media (max-width: 720px) {
  .header__top-nav {
    left: auto;
    right: 72px;
  }

  .header__top-nav > ul > li > a {
    padding: 10px 8px;
  }

  .content > article {
    padding: 22px 16px 12px;
  }

  .telegram_channel {
    right: 8px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }

  .telegram_channel img {
    width: 44px;
    height: 44px;
  }
}
