:root {
  --page-max-width: 100%;
  --subtitle-top-gap: 32px;
  --button-gap: 24px;
  --manual-gap: 24px;
  --logo-width: 246px;
  --logo-height: 87px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", Arial, sans-serif;
  color: #fff;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #000 50.47%, #0b43d1 50.48%);
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero {
  width: 100%;
  min-height: 660px;
  background: linear-gradient(360deg, #0b43d1 0%, #000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: block;
  width: var(--logo-width);
  height: var(--logo-height);
}

.subtitle {
  width: 173px;
  margin: var(--subtitle-top-gap) 0 0;
  font-size: 20px;
  line-height: 24px;
}

.store-buttons {
  display: grid;
  gap: var(--button-gap);
  margin-top: 60px;
}

.store-badge {
  width: 188px;
  height: 56px;
  border: 1px solid #000;
  border-radius: 7px;
  background: #fff;
  color: #000;
  text-decoration: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.badge-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.store-badge--app .badge-icon {
  width: 141px;
  height: 36px;
}

.store-badge--google {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.store-badge--google .badge-icon {
  width: 188px;
  height: 56px;
}

.manual-link {
  margin-top: var(--manual-gap);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: underline;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    cursor: pointer;
  }
}


@media (max-width: 439px) {
  :root {
    --button-gap: 24px;
    --manual-gap: 40px;
    --logo-width: 246px;
  }
}

@media (min-width: 440px) and (max-width: 743px) {
  :root {
    --button-gap: 24px;
    --manual-gap: 24px;
    --logo-width: 246px;
  }

  .hero {
    height: 660px;
    min-height: 660px;
  }
}

@media (min-width: 744px) and (orientation: portrait) {
  :root {
    --button-gap: 24px;
    --manual-gap: 24px;
    --logo-width: 311px;
  }

  .hero {
    height: 534px;
    min-height: 534px;
  }

  .store-buttons {
    margin-top: 64px;
  }
}



@media (min-width: 900px) and (orientation: landscape) {
  :root {
    --button-gap: 24px;
    --manual-gap: 24px;
    --logo-width: 311px;
  }

  .hero {
    height: 518px;
    min-height: 518px;
  }

  .store-buttons {
    margin-top: 64px;
  }
}


