:root {
  --colors-text-primary: #202d59;
  --colors-text-secondary: #566081;
  --colors-toggle-default: #c1c4d2;
  --colors-buttons-clickable-text-link-color-default: #5766e0;
  --colors-stroke-primary: #dcdee6;
}

html {
  color: var(--colors-text-secondary);
  font-size: 1em;
  line-height: 1.25;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  background: url(/images/background.png) no-repeat top center;
  background-size: cover;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
  letter-spacing: -0.96px;
  color: var(--colors-text-primary);
}
h2 {
  margin: 0 0 16px;
  font-size: 1.375rem;
  color: var(--colors-text-primary);
}
@media (width > 768px) {
  h1 {
    font-size: 3rem;
    letter-spacing: -1.44px;
  }
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 32px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}
.logo {
  width: 129px;
  height: 46px;
}
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 65px;
}

.menu {
  display: none;
}
@media (width > 600px) {
  .menu {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 23px 48px;
    border-radius: 100px;
    list-style: none;
    font-size: 0.9375rem;
    background-color: #fff;
  }
  .menu a {
    text-decoration: none;
    color: var(--colors-text-primary);
  }
}
.languages {
  position: relative;
}
.languages:hover .languages__list {
  display: block;
}
.languages__current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  cursor: pointer;
}
.languages__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 7px;
}
.languages__list {
  position: absolute;
  right: 0;
  z-index: 2;
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 16px;
  border-radius: 16px;
  background: #fff;
}
.languages li {
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--colors-stroke-primary);
}
.languages li:last-child {
  border-bottom: none;
}
.languages label {
  white-space: nowrap;
}

.intro__header {
  padding: 66px 0;
  text-align: center;
}
.intro__text {
  font-size: 1.25rem;
  letter-spacing: -0.6px;
}
@media (width > 768px) {
  .intro__header {
    padding: 140px 0;
  }
  .intro__text {
    font-size: 1.8125rem;
    letter-spacing: -0.87px;
  }
}

.glide {
  max-width: 338px;
  margin: 0 auto;
}

.features {
  margin: 0 auto 64px;
  padding: 0;
  list-style: none;
  text-align: center;
}
.features p {
  margin: 0;
}
.features__item h2 {
  margin-top: 12px;
}
.features__image {
  width: 290px;
  margin: 0 auto;
}
@media (width > 799px) {
  .glide {
    max-width: 1024px;
  }
  .glide__bullets {
    display: none;
  }
  .features {
    margin-bottom: 227px;
  }
}

.download__wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 400px;
  text-align: center;
  background-color: #fff;
}
.download__image {
  order: 2;
  transform: scale(1.3);
}
.download__content {
  padding: 86px 56px 56px;
  order: 1;
}
.download__qr-code {
  display: none;
}
.download__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.download__link {
  text-decoration: none;
}
@media (width > 997px) {
  .download {
    position: relative;
  }
  .download::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 50%;
    height: 100%;
    background-color: #fff;
  }
  .download .container {
    max-width: 1188px;
  }
  .download__wrapper {
    position: relative;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    max-width: none;
    padding-right: 180px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .download__image {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(60%);
    transform-origin: bottom left;
  }
  .download__content {
    order: 2;
    flex-shrink: 0;
    width: 290px;
    margin-left: auto;
    padding: 110px 0;
  }
  .download__qr-code {
    display: block;
    width: 178px;
    height: 178px;
    margin: 0 auto 24px;
  }
  .download__links {
    flex-direction: row;
    gap: 16px;
  }
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 340px;
  margin: 56px auto 75px;
  padding: 64px;
  border-radius: 24px;
  background-color: #fff;
}
.contact > div {
  padding-left: 28px;
}
.contact__address {
  background: url(/images/icon-location.svg) no-repeat;
}
.contact__email {
  background: url(/images/icon-mail.svg) no-repeat;
  background-position: 0 3px;
}
.contact__phone {
  background: url(/images/icon-call.svg) no-repeat;
}
@media (width > 768px) {
  .contact {
    margin-top: 121px;
  }
}
