@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-semi-bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("/assets/fonts/SuisseIntl-Book.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("/assets/fonts/SuisseIntl-Medium.otf") format("opentype");
  font-weight: 450;
  font-style: normal;
}

* {
  scroll-behavior: smooth;
}

html,
body {
  width: 100vw;
  overflow-x: hidden;
}

a,
.btn {
  cursor: pointer;
}

body {
  color: #667080;
  font-family: "Suisse Intl";
  font-size: 18px;
  font-weight: 450;
  line-height: 140%;
  background: #f6f7fa;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

h1 {
  color: #fff;
  text-align: center;
  font-size: 65px;
  line-height: 120%; /* 78px */
  letter-spacing: -1.95px;
}

h2 {
  color: #323232;
  text-align: center;
  font-size: 55px;
  line-height: 120%; /* 66px */
  letter-spacing: -1.65px;
}

.home {
  border-radius: 20px;
  background: linear-gradient(0deg, #001568 0%, #0169ff 100%);
  max-width: calc(100% - 20px);
  margin: 10px auto 0 auto;
  position: relative;
  padding-top: 30px;
  padding-bottom: 20px;
  margin-bottom: 150px;
}

.home__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 46px;
}
.navbar {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 2222px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    259deg,
    rgba(242, 245, 255, 0.04) 43.79%,
    rgba(255, 242, 242, 0.03) 60.31%
  );
  padding: 8px;
}

.navbar__item {
  display: flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  border-radius: 222px;
  font-size: 16px;
  color: rgba(207, 218, 255, 0.52);
}

.navbar__item.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 500;
}

.home__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 780px;
  position: relative;
  z-index: 3;
}

.home .subtitle {
  color: #bdd8ff;
}

.btn {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  gap: 8px;
  border-radius: 79px;
  font-weight: 600;
  font-family: Inter;
  font-size: 16px;
}

.home .btn {
  background: #fff;
  color: #323232;
}

.home__images {
  margin-top: -100px;
  height: 422px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.home__images img {
  position: absolute;
}

.home__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 436px;
}

.home__bg svg {
  position: absolute;
}

.home__bg img {
  position: absolute;
  left: 0;
  bottom: 0;
}

.features {
  margin-bottom: 150px;
}
.features__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
}

.features__text {
  display: flex;
  max-width: 780px;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.features .btn {
  color: #fff;
  background: #0869f8;
}

.features__tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}

.features .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: center;
  padding: 40px;
  border-radius: 16px;
  background: #fff;
  justify-content: space-between;
  align-self: normal;
}

.features .tab__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

h3 {
  color: #323232;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.66px;
}

.features .tab img {
  height: 100%;
  object-fit: cover;
}

.number {
  display: flex;
  width: 27px;
  height: 27px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #323232;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.42px;
}

.why {
  width: 100%;
  background: #fff;
  position: relative;
  padding: 100px 0;
  margin-bottom: 150px;
}
.why__container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 26px;
  max-width: 750px;
  text-align: center;
  position: relative;
  z-index: 3;
}
.why__bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.why__bg svg {
  position: absolute;
  z-index: 1;
}

.start {
  margin-bottom: 150px;
}
.start__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
}

.start h2 {
  max-width: 750px;
}

.start__tabs {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.start .tab {
  border-radius: 16px;
  background: #fff;
  display: flex;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.start .tab header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.icon {
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfcff 0%, #e9eaed 100%);
  box-shadow: 0 -5px 12.2px 0 rgba(255, 255, 255, 0.61) inset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  height: 100%;
}

.tab__header-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  gap: 10px;
}

.step {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  background: #323232;
  display: flex;
  padding: 5px 11px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.fee {
  margin-bottom: 150px;
}
.fee__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
  width: 100%;
  border-radius: 16px;
  background: #fff;
  padding: 60px 0;
  position: relative;
}

.fee h2,
.fee p,
.fee a {
  z-index: 2;
}

.fee h2,
.fee p {
  max-width: 780px;
}

.fee .btn {
  color: #fff;
  background: #0869f8;
}

.fee__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
}

.fee__bg img {
  position: absolute;
  z-index: 1;
}

.faq {
  margin-bottom: 150px;
}
.faq__container {
  display: flex;
  align-items: stretch;
  width: 100%;
  justify-content: space-between;
  gap: 40px;
}

.faq header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  text-align: left;
}

.faq__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 54px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.faq__item {
  display: flex;
  padding: 10px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  align-self: stretch;
  border-radius: 14px;
  background: #fff;
  width: 100%;
  cursor: pointer;
}

.faq__question {
  color: #0d0f09;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-top: 0;
}

.faq__answer.open {
  max-height: 500px; /* достаточно большое значение, чтобы вместить текст */
  padding-top: 6px;
}

.faq img {
  align-self: flex-start;
}

.footer {
  width: 100%;
  padding: 55px 0;
  background: #0869f8;
}
.footer__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer__text {
  display: flex;
  align-items: stretch;
  gap: 100px;
}

.footer .navbar {
  flex-direction: column;
  background: none;
  border: none;
  align-items: flex-start;
  padding: 0;
  gap: 17px;
}

.footer h3 {
  color: #fff;
}

.footer .navbar__item {
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
  padding: 0;
}

.left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  max-width: 410px;
  text-align: left;
  justify-content: space-between;
  color: #fff;
  font-size: 18px;
}
.copyright {
  font-size: 14px;
}
.center-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.footer .btn {
  color: #0869f8;
  background: #fff;
  align-self: flex-start;
}

@media (max-width: 1250px) {
  .container {
    max-width: calc(100% - 30px);
  }

  .home__bg svg,
  .why svg {
    display: none;
  }
}

@media (max-width: 1000px) {
  .features__tabs {
    flex-direction: column;
  }

  .start__tabs {
    flex-direction: column;
  }

  .faq__container,
  .faq header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq img {
    align-self: center;
  }
  .home__images img {
    position: static;
  }

  .home__images {
    display: flex;
    flex-direction: column;
    height: auto;
    margin-top: auto;
    gap: 0px;
    align-items: center;
    justify-content: center;
  }

  .blue {
    margin-top: -130px;
    width: 100%;
  }

  .green {
    width: 80%;
  }

  .faq__list {
    text-align: left;
  }

  .footer__container {
    flex-direction: column-reverse;
    gap: 35px;
    align-items: center;
  }

  .footer__text {
    flex-direction: column-reverse;
    gap: 35px;
    align-items: center;
  }

  .footer .btn {
    align-self: center;
  }

  .footer .navbar__item {
    text-align: center;
  }

  .footer .navbar,
  .center-col {
    align-items: center;
  }

  .left-col {
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 27px;
  }

  body {
    font-size: 18px;
  }

  .home p {
    font-size: 14px;
    line-height: 140%;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  .navbar__item {
    font-size: 18px;
  }

  .home nav {
    display: none;
  }

  .home {
    padding-top: 40px;
    margin-bottom: 60px;
  }

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

  .features {
    margin-bottom: 60px;
  }

  .why {
    padding: 50px 0;
    margin-bottom: 60px;
  }

  .start__container {
    gap: 20px;
  }

  .icon {
    width: 62px;
    height: 62px;
  }

  .start {
    margin-bottom: 60px;
  }

  .fee__container {
    padding: 15px 5px;
  }

  .fee__bg {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    height: 200px;
  }

  .fee__bg img {
    position: static;
  }

  .fee {
    margin-bottom: 60px;
  }

  .faq__container,
  .faq header,
  .faq__text {
    gap: 20px;
  }

  .faq__answer {
    font-size: 16px;
  }

  .footer {
    padding: 30px 0;
  }

  .faq {
    margin-bottom: 60px;
  }

  .left-col .subtitle {
    font-size: 14px;
    line-height: 140%;
  }
}
