@font-face {
  font-display: swap;
  font-family: "Suisse Intl";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/SuisseIntl-Regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Suisse Intl";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/SuisseIntl-SemiBold.woff2") format("woff2");
}

:root {
  --color-white: #fff;
  --color-black: #3a3a3a;
  --color-blue: #0a66dd;
  --color-blue-hover: #298df8;
  --color-blue-light: #f0f3fb;
  --color-grey: #dde2ed;
  --color-grey-dark: #90969f;
  --container-padding-x: 20px;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

aside,
nav,
footer,
header,
section {
  display: block;
}

img,
video,
canvas,
svg {
  display: block;
}

input,
input::placeholder,
textarea,
textarea::placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

input {
  width: 100%;
  float: left;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: inherit;
}

input::placeholder {
  color: inherit;
}

input:focus,
input._fill {
  outline: none;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input::-ms-clear {
  display: none;
}

button {
  display: inline-block;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  -webkit-user-select: none;
          user-select: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

button:disabled {
  cursor: default;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  vertical-align: top;
}

ol,
ul {
  padding: 0;
}

ol[role=list],
ul[role=list],
ol[role=listbox],
ul[role=listbox] {
  list-style: none;
}

.custom-scrollbar {
  scrollbar-color: var(--color-grey) transparent;
  scrollbar-width: thin;
}

.custom-scrollbar::-webkit-scrollbar {
  background-color: transparent;
  width: 4px;
  height: 4px;
  border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background-color: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--color-grey);
  border-radius: 2px;
}

.section-pt {
  margin-top: 100px;
}

.h-pb {
  margin-bottom: 32px;
}

.container {
  max-width: 1900px;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

body {
  font-family: "Suisse Intl", "Helvetica", "Arial";
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  background-color: var(--color-white);
  color: var(--color-black);
}

::selection {
  color: #fff;
  background: var(--color-blue);
}

::-moz-selection {
  color: #fff;
  background: var(--color-blue);
}

.h1 {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.subtitle {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.blue {
  color: var(--color-blue);
}

.header {
  height: 112px;
}

.header__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  background-color: var(--color-white);
  padding: 32px 0;
  transition: padding 0.2s ease;
}

.header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  user-drag: none;
  -webkit-user-drag: none;
}

.header__logo img {
  width: 224px;
  -webkit-user-select: none;
          user-select: none;
  user-drag: none;
  -webkit-user-drag: none;
}

main {
  padding-bottom: 20px;
}

.card-float {
  color: var(--color-white);
  background-color: var(--color-blue);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 10px;
  -webkit-user-select: none;
          user-select: none;
}

.card-float p {
  margin-top: 20px;
}

.card-float__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.main-slide {
  position: relative;
}

.main-slide__logo {
  position: absolute;
  left: 50%;
  bottom: 20px;
  translate: -50% 0;
  padding: 24px;
  background-color: var(--color-white);
  border-radius: 16px;
}

.main-slide__img {
  height: 390px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  object-position: 80% bottom;
  -webkit-user-select: none;
          user-select: none;
}

.schema {
  margin-top: 30px;
  -webkit-user-select: none;
          user-select: none;
}

.schema h2 {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
}

.schema__image {
  height: auto;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 16px;
}

.schema__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 10px;
}

.step {
  padding: 24px;
  background-color: #f0f3fa;
  border-radius: 24px;
  height: 266px;
}

.step__title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step .num {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  background-color: var(--color-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
}

.step p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1;
}

.step--img {
  position: relative;
  overflow: hidden;
}

.step--img p {
  position: relative;
  z-index: 2;
}

.step--room .step__img {
  position: absolute;
  width: 151px;
  height: 148px;
  bottom: -30px;
  right: -25px;
}

.step--keys .step__img {
  position: absolute;
  width: 115px;
  height: 173px;
  rotate: 55deg;
  bottom: -45px;
  right: 30px;
}

.step--point .step__img {
  position: absolute;
  width: 148px;
  height: 148px;
  bottom: -24px;
  right: -24px;
}

.mobile-app-wrapper {
  position: relative;
  background-color: var(--color-blue-light);
  padding: 32px 20px;
  border-radius: 16px;
}

.app-col-wrapper {
  margin-top: 30px;
}

.app-col + .app-col {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-grey);
}

.app-col h3 {
  color: var(--color-blue);
}

.app-col p {
  margin-top: 16px;
}

.app-col__links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  max-width: 334px;
}

.google-play {
  flex: 0 1 51.69%;
}

.google-play img {
  width: 100%;
}

.app-store {
  flex: 0 1 45.846%;
}

.app-store img {
  width: 100%;
}

.mobile-app-img {
  display: none;
}

.slide-logo img {
  width: 224px;
  height: 42px;
}

@media (min-width: 767px) {
  :root {
    --container-padding-x: 34px;
  }
}

@media (min-width: 1023px) {
  :root {
    --container-padding-x: 42px;
  }

  .section-pt {
    margin-top: 160px;
  }

  .h-pb {
    margin-top: 48px;
  }

  .header__logo img {
    width: 258px;
  }

  main {
    padding-bottom: 80px;
  }

  .card-float {
    padding: 48px;
    margin: 0;
  }

  .card-float p {
    margin-top: 24px;
  }

  .card-float__icon {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
  }

  .main-slide__card {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 740px;
    padding-right: 20px;
    padding-bottom: 20px;
    background-color: var(--color-white);
    border-bottom-right-radius: 16px;
  }

  .main-slide__logo {
    border-radius: 0;
    border-top-left-radius: 16px;
    translate: none;
    left: auto;
    right: 0;
    bottom: 0;
  }

  .main-slide .float::before,
  .main-slide .float::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2219%22%20fill%3D%22none%22%20viewBox%3D%220%200%2020%2019%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M20%200H0v19C.5%209%209%200%2020%200%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
  }

  .main-slide .float--top-left::before {
    left: 100%;
    top: 0;
  }

  .main-slide .float--top-left::after {
    top: 100%;
    left: 0;
  }

  .main-slide .float--bottom-right::before {
    right: 100%;
    bottom: 0;
    rotate: 180deg;
  }

  .main-slide .float--bottom-right::after {
    bottom: 100%;
    right: 0;
    rotate: 180deg;
  }

  .main-slide__img {
    object-position: center bottom;
    height: 805px;
  }

  .schema {
    position: absolute;
    right: 20px;
    bottom: 20px;
    margin-top: 0;
    padding: 30px 35px 30px;
    background-color: var(--color-white);
    border-radius: 16px;
    width: 350px;
  }

  .schema__image {
    margin-top: 33px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .step {
    height: 438px;
  }

  .step .num {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    font-size: 30px;
  }

  .step p {
    margin-top: 32px;
    font-size: 20px;
  }

  .step--room .step__img {
    width: 301px;
    height: 292px;
    bottom: -67px;
    right: -35px;
  }

  .step--keys .step__img {
    width: 228px;
    height: 342px;
    bottom: -75px;
    right: 60px;
  }

  .step--point .step__img {
    width: 270px;
    height: 270px;
    bottom: -50px;
    right: 0;
  }

  .mobile-app-wrapper {
    padding: 48px;
  }

  .mobile-app-wrapper h2 {
    max-width: 532px;
  }

  .app-col-wrapper {
    display: grid;
    grid-template-columns: 337px 360px;
    gap: 84px;
  }

  .app-col:nth-child(1) {
    order: 2;
  }

  .app-col:nth-child(2) {
    order: 1;
  }

  .app-col:nth-child(2) h3 {
    max-width: 250px;
  }

  .app-col + .app-col {
    margin: 0;
    padding: 0;
    border: none;
  }

  .app-col p {
    margin-top: 24px;
  }

  .app-col__links {
    margin-top: 20px;
    max-width: 337px;
    gap: 20px;
  }

  .slide-logo {
    padding: 24px;
  }

  .slide-logo img {
    width: 258px;
    height: 48px;
  }
}

@media (min-width: 1299px) {
  :root {
    --container-padding-x: 60px;
  }

  body {
    font-size: 17px;
  }

  .h1 {
    font-size: 48px;
  }

  .h2 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 24px;
  }

  .main-slide--2 .main-slide__card {
    max-width: 1030px;
  }

  .step {
    padding: 48px;
  }

  .app-col-wrapper {
    grid-template-columns: 337px 390px;
    margin-top: 70px;
    gap: 44px;
  }

  .app-col:nth-child(2) h3 {
    max-width: 303px;
  }

  .mobile-app-img {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    right: 0;
    display: block;
  }

  .mobile-app-img img {
    width: 330px;
    height: 371px;
  }
}

@media (min-width: 1400px) {
  .mobile-app-img img {
    width: 450px;
    height: 506px;
  }
}

@media (min-width: 1500px) {
  .mobile-app-img img {
    width: 550px;
    height: 619px;
  }
}

@media (min-width: 1600px) {
  :root {
    --section-gap: 160px;
  }

  .schema {
    padding: 45px 75px 63px;
    width: 580px;
    border-radius: 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-app-wrapper {
    padding: 80px;
  }

  .app-col-wrapper {
    margin-top: 94px;
    gap: 84px;
  }
}

@media (min-width: 1700px) {
  .mobile-app-img img {
    width: 600px;
    height: 620px;
  }
}

@media (min-width: 1800px) {
  .mobile-app-img img {
    width: 700px;
    height: 787px;
    margin-right: 30px;
  }
}

@media (max-width: 1022px) {
  .header.scroll .header__wrapper {
    padding: 16px 0;
  }
}