:root {
  --background: #F9FAFB;
  --gray: #333333;
  --gray-secondary: #4B5563;
  --light-gray: #9CA3AF;
  --blue: #075398;
  --light-blue: #3C9DF4;
  --red: #EA4335;
  --gradient: linear-gradient(to right, #1EA7DE, #48C0B2);
  --drop-shadow: 0px 10px 15px rgba(0, 0, 0, 0.03);
  --header-height: 76px;
  --header-height-mobile: 52px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #fff;;
  font-family: Inter, Roboto, sans-serif;
}

.inline-link {
  font-weight: 500;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  cursor: pointer;
  transition: color 150ms;
}

.inline-link:hover {
  color: var(--light-blue);
  border-bottom: 1px solid var(--light-blue);
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: var(--header-height);
  box-shadow: var(--drop-shadow);
  background-color: #fff;
  display: flex;
  align-items: center;
  z-index: 50;
}

.header__content {
  width: 1420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header__logo {
  height: 60px;
  width: 60px;
  padding: 8px;
}

.header__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--gray);
}

.header__code {
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 10px 32px;
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
}

@media screen and (max-width: 1440px) {
  .header__content {
    padding: 0 16px;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .header {
    height: var(--header-height-mobile);
  }

  .header__content {
    padding: 0 16px;
  }

  .header__brand {
    gap: 10px;
  }

  .header__logo {
    height: 36px;
    width: 36px;
    padding: 4px;
  }

  .header__title {
    font-size: 16px;
  }

  .header__code {
    border: 1px solid var(--blue);
    padding: 10px 16px;
    font-size: 14px;
    color: var(--blue);
  }
}

.content {
  padding-top: var(--header-height);
  background-color: var(--background);
}

.content__section {
  max-width: 1472px;
  margin: 0 auto;
  padding: 40px 16px;
  scroll-margin-top: var(--header-height);
}

@media screen and (max-width: 1085px) {
  .content__section {
    padding: 24px 16px;
  }
}

@media screen and (max-width: 768px) {
  .content {
    padding-top: var(--header-height-mobile);
  }

  .content__section {
    scroll-margin-top: var(--header-height-mobile);
  }
}

.landing {
  display: grid;
  grid-template-columns: 720px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 56px;
}

.landing__text {
  grid-column: 1;
  grid-row: 1;
  padding: 60px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing__header {
  margin: 0;
  font-size: 64px;
  font-weight: 600;
  color: var(--blue);
  text-wrap: balance;
}

.landing__subtitle {
  font-size: 32px;
  line-height: 120%;
  color: var(--gray);
  text-wrap: balance;
}

.landing__downloads {
  grid-column: 1;
  grid-row: 2;
  width: 474px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.downloads__button {
  height: 70px;
  width: auto;
}

.landing__action {
  grid-column: 1;
  grid-row: 3;
  width: 474px;
  padding: 60px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action__button {
  height: 74px;
  width: 100%;
  border: none;
  border-radius: 16px;
  background-color: var(--blue);
  font-size: 32px;
  font-family: Inter, Roboto, sans-serif;;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms, box-shadow 150ms;
  outline: none;
}

.action__button:hover,
.action__button:active {
  background-color: var(--light-blue);
  box-shadow: var(--drop-shadow);
}

.action__subtitle {
  font-size: 20px;
  line-height: 130%;
  color: var(--gray);
}

.landing__preview {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview__image {
  height: 683px;
  width: auto;
  z-index: 10;
  animation: imageTilt 400ms ease-out forwards;
}

@keyframes imageTilt {
  0% {
    transform: scale(0.9) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(3deg);
  }
}

.preview__orb {
  width: 222px;
  height: 222px;
  border-radius: 50%;
  background-color: #48C0B2;
  position: absolute;
  translate: -100px -100px;
  filter: blur(150px);
  z-index: 0;
  animation: orbOpacity 400ms ease-out forwards;
}

.preview__orb:last-child {
  translate: 100px 100px;
}

@keyframes orbOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 1440px) {
  .landing {
    grid-template-columns: 700px 1fr;
    column-gap: 0;
  }

  .preview__orb {
    translate: -60px -60px;
  }

  .preview__orb:last-child {
    translate: 60px 60px;
  }
}

@media screen and (max-width: 1085px) {
  .landing {
    grid-template-columns: 440px 1fr;
  }

  .landing__text {
    padding: 48px 0 16px;
    gap: 24px;
  }

  .landing__header {
    font-size: 36px;
  }

  .landing__subtitle {
    font-size: 18px;
  }

  .landing__downloads {
    width: 340px;
  }

  .downloads__button {
    height: 40px;
  }

  .landing__action {
    width: 360px;
  }

  .action__button {
    height: 42px;
    width: 280px;
    border-radius: 6px;
    font-size: 18px;
  }

  .action__subtitle {
    font-size: 14px;
  }

  .landing__preview {
    padding-top: 32px;
  }

  .preview__image {
    height: 460px;
  }

  .preview__orb {
    width: 150px;
    height: 150px;
    filter: blur(70px);
  }
}

@media screen and (max-width: 768px) {
  .landing {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }

  .landing__text {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    gap: 12px;
  }

  .landing__header {
    font-size: 28px;
    text-wrap: auto;
  }

  .landing__subtitle {
    font-size: 16px;
    text-wrap: auto;
  }

  .landing__preview {
    grid-column: 1;
    grid-row: 2;
    margin: 24px 0;
    padding-top: 0;
  }

  .preview__image {
    height: max(270px, calc(100svh - 450px));
    max-height: 550px;
  }

  .preview__orb {
    width: 100px;
    height: 100px;
    filter: blur(70px);
    translate: -40px -40px;
  }

  .preview__orb:last-child {
    translate: 40px 40px;
  }

  .landing__downloads {
    margin: 0 auto;
    width: 250px;
    grid-column: 1;
    grid-row: 3;
    gap: 8px;
    justify-content: center;
  }

  .landing__action {
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    padding: 12px 0 0;
    gap: 8px;
    align-items: center;
  }

  .action__button {
    height: 36px;
    width: 212px;
    border-radius: 6px;
    font-size: 14px;
  }

  .action__subtitle {
    font-size: 8px;
  }

  .downloads__button {
    height: 36px;
  }
}

.section__container {
  background: var(--gradient);
  border-radius: 24px 26px;
  display: flex;
  flex-direction: column;
}

.section__header {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 120%;
  color: #fff;
  padding: 24px 36px;
}

.section__content {
  background-color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  gap: 56px;
}

.section__text {
  font-size: 20px;
  line-height: 150%;
  color: var(--gray-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.text__paragraph {
  margin: 0 0 12px;
}

.section__list {
  margin: 0;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section__list-item {
  padding-left: 8px;
}

.section__list-item::marker {
  color: var(--blue);
  font-weight: 600;
}

.section__notice {
  margin-left: 10px;
  padding-left: 21px;
  border-left: 3px solid var(--red);
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
  text-wrap: balance;
  color: var(--red);
}

.section__preview {
  width: 640px;
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.preview__arrows {
  height: 24px;
  width: 24px;
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.preview__arrow--hidden {
  opacity: 0;
  cursor: auto;
}

.section__images {
  display: flex;
  gap: 24px;
  scrollbar-width: none;
}

.section__images::-webkit-scrollbar {
  display: none;
}

.section__image {
  height: 620px;
  width: auto;
}

@media screen and (max-width: 1085px) {
  .section__container {
    border-radius: 16px 18px;
  }

  .section__header {
    font-size: 28px;
    padding: 20px;
  }

  .section__content {
    border-radius: 16px;
    flex-direction: column;
    gap: 36px;
  }

  .section__text {
    font-size: 18px;
  }

  .section__list-item {
    padding-left: 6px;
  }

  .section__notice {
    margin-left: 8px;
    padding-left: 20px;
    font-size: 18px;
  }

  .section__preview {
    width: auto;
    margin: 0 auto;
  }

  .section__image {
    height: 512px;
  }
}

@media screen and (max-width: 768px) {
  .section__header {
    font-size: 28px;
    padding: 16px;
  }

  .section__full-header {
    display: none;
  }

  .section__content {
    padding: 24px 16px;
    gap: 24px;
  }

  .section__text {
    font-size: 12px;
    gap: 10px;
  }

  .text__paragraph {
    margin: 0 0 10px;
  }

  .section__list {
    padding-left: 18px;
    gap: 6px;
  }

  .section__list-item {
    padding-left: 4px;
  }

  .section__notice {
    margin-left: 6px;
    padding-left: 13px;
    font-size: 12px;
  }

  .section__image {
    height: 426px;
  }
}

@media screen and (max-width: 600px) {
  .preview__arrows {
    display: block;
  }

  .section__images {
    width: 220px;
    overflow-x: scroll;
    padding: 0 6px;
    scroll-snap-type: x mandatory;
  }

  .section__image {
    height: auto;
    width: 220px;
    scroll-snap-align: center;
  }
}

@media screen and (max-width: 375px) {
  .section__preview {
    gap: 0;
  }

  .section__images {
    width: 190px;
  }

  .section__image {
    width: 190px;
  }
}

.footer-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 0;
}

.footer {
  background: var(--gradient);
  padding: 36px;
  border-radius: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  gap: 16px;
}

.footer__text {
  font-size: 44px;
  font-weight: 600;
  line-height: 120%;
  text-wrap: balance;
}

.footer__text--mobile {
  display: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
}

.footer__downloads {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: end;
}

@media screen and (max-width: 1472px) {
  .footer-wrapper {
    margin: 0 16px;
  }
}

@media screen and (max-width: 1085px) {
  .footer__text {
    font-size: 28px;
  }

  .footer__downloads {
    width: 300px;
    flex-shrink: 0;
    gap: 10px;
  }
}

@media screen and (max-width: 768px) {
  .footer-wrapper {
    padding: 24px 0;
  }

  .footer {
    padding: 24px;
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
  }

  .footer__text {
    display: none;
  }

  .footer__text--mobile {
    display: block;
  }

  .footer__downloads {
    width: 250px;
    justify-content: center;
    gap: 8px;
  }
}

#scrollButton {
  display: none;
  position: fixed;
  right: 36px;
  bottom: 36px;
  height: 48px;
  width: 48px;
  z-index: 50;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--light-blue);
  outline: none;
  box-shadow: var(--drop-shadow);
  justify-content: center;
  align-items: center;
}
