/* Mobile rem baseline: 375px design width = 100px per rem. */
html {
  font-size: 26.6667vw;
  font-size: min(26.6667vw, 200px);
}

body {
  margin: 0;
  font-size: 0.16rem;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}
main {
  max-width: 750px;
  margin: 0 auto;
}

.page01 {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.page01_background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page02,
.page03,
.page04,
.page04-visual {
  position: relative;
  width: 100%;
}

.page02_background,
.page03_background,
.page04_background {
  width: 100%;
  height: auto;
}

.download-actions {
  position: absolute;
  right: 0.24rem;
  bottom: 0.2rem;
  left: 0.24rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0.225rem;
  color: #fff;
  font: inherit;
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 0.45rem;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.download-button--telegram {
  background: #087af2;
}

.download-button--accelerator {
  background: #ff7d38;
}

.experience-button {
  background: #087af2;
}

.download-button:active {
  transform: scale(0.99);
}

.page02-actions,
.page04-actions {
  position: absolute;
  right: 0.24rem;
  bottom: 0.25rem;
  left: 0.24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page02-arrow {
  width: 0.26rem;
  height: auto;
  margin-top: 0.3rem;
}

.site-footer {
  width: 100%;
  text-align: center;
}

.footer-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 0.6rem;
  padding: 0 0.2rem;
  color: #5d6269;
  font-size: 0.17rem;
  white-space: nowrap;
}

.footer-features i {
  color: #a9afb5;
  font-style: normal;
}

.footer-legal {
  padding: 0.42rem 0.16rem 0.45rem;
  color: #9c9c9c;
  background: #2d2d2d;
  font-size: 0.14rem;
  line-height: 1.8;
}

.footer-legal p {
  margin: 0;
}

.floating-download {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 750px;
  min-height: 0.7rem;
  padding: 0.14rem 0.12rem;
  color: #fff;
  background: rgba(137, 145, 155, 0.96);
  box-shadow: 0 -0.04rem 0.14rem rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 0.2rem));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-download.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.floating-download.is-at-bottom {
  position: absolute;
  bottom: auto;
}

.floating-brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: 0.08rem;
}

.floating-brand > img {
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 0.1rem;
}

.floating-brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.03rem;
  white-space: nowrap;
}

.floating-brand__text strong {
  overflow: hidden;
  font-size: 0.15rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.floating-brand__text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.13rem;
  line-height: 1.2;
}

.floating-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.1rem;
  margin-left: 0.08rem;
}

.floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.74rem;
  height: 0.34rem;
  padding: 0;
  border: 0;
  border-radius: 0.17rem;
  color: #fff;
  font: inherit;
  font-size: 0.12rem;
  line-height: 0.34rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.floating-button--telegram {
  background: #087af2;
}

.floating-button--accelerator {
  background: #ff7d38;
}

.floating-button:active {
  transform: scale(0.98);
}

@media (max-width: 360px) {
  .floating-download {
    padding-right: 0.08rem;
    padding-left: 0.08rem;
  }

  .floating-brand > img {
    width: 0.38rem;
    height: 0.38rem;
  }

  .floating-brand__text strong {
    font-size: 0.14rem;
  }

  .floating-brand__text span {
    font-size: 0.12rem;
  }

  .floating-actions {
    gap: 0.06rem;
    margin-left: 0.04rem;
  }

  .floating-button {
    width: 0.66rem;
    font-size: 0.11rem;
  }
}
