:root {
  --page-width: 390px;
  --black: #000;
  --panel: #1a1a1a;
  --footer: #141817;
  --green: #5efca1;
  --green-2: #33e28d;
  --muted: #65706f;
  --text-soft: #c2c7ca;
  --button-gradient: linear-gradient(90deg, #33e28d 0%, #98e977 100%);
  --site-scale: 1;
  --scaled-page-height: 1770px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  color: #fff;
  background: var(--black);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-stage {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--black);
}

.site-page {
  width: 100%;
  background: var(--black);
}

.hero {
  position: relative;
  height: 544px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 587px;
  object-fit: cover;
}

.top-bar {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 20px);
  height: 48px;
  margin: 0;
  padding: 6px 8px 6px 6px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0, 9, 5, 0.86), rgba(1, 16, 8, 0.84));
  transition: background 160ms ease;
}

.top-bar.is-scrolled {
  background: rgba(5, 12, 8, 0.95);
}

.top-bar__brand {
  display: block;
  width: 121px;
  height: 36px;
}

.top-bar__brand img {
  width: 121px;
  height: 36px;
}

.top-bar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 88px;
  height: 32px;
  border-radius: 8px;
  color: #000;
  background: var(--button-gradient);
  box-shadow: 0 2px 0 rgba(51, 192, 106, 1);
  font-size: 12px;
  font-weight: 800;
  line-height: 17px;
}

.top-bar__button .download-icon {
  width: 16px;
  height: 16px;
}

.hero__copy {
  position: absolute;
  top: 88px;
  left: 0;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.hero__copy p {
  margin: 0 0 1px;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
}

.hero__copy h1 {
  margin: 0;
  color: var(--green);
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 35px;
}

.hero__actions {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 101px 1fr;
  gap: 18px;
  align-items: start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
}

.button--outline {
  height: 42px;
  color: #42e28b;
  border: 1px solid #33e28d;
  background: #19241e;
}

.button--primary {
  gap: 8px;
  color: #000;
  background: var(--button-gradient);
  box-shadow: 0 2px 0 rgba(51, 192, 106, 1);
}

.button--primary .download-icon {
  width: 20px;
  height: 20px;
}

.button--wide {
  width: 270px;
}

.notice {
  display: flex;
  align-items: center;
  width: calc(100% - 60px);
  height: 40px;
  margin: 18px auto 0;
  padding: 0 10px;
  border-radius: 8px;
  color: rgba(94, 252, 161, 0.5);
  background: #19241e;
  box-shadow: 0 2px 0 rgba(25, 36, 30, 1);
  font-size: clamp(11px, 3vw, 11.8px);
  font-weight: 800;
  line-height: 17px;
  white-space: nowrap;
}

.notice__icon {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  color: rgba(94, 252, 161, 0.5);
  background: rgba(94, 252, 161, 0.14);
  font-size: 14px;
  font-weight: 900;
}

.install {
  margin-top: 30px;
}

.section-title {
  text-align: center;
}

.section-title p,
.section-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 25px;
}

.section-title p {
  color: var(--green);
}

.section-title h2 {
  color: #fff;
}

.install-card {
  position: relative;
  width: calc(100% - 60px);
  height: 380px;
  margin: 20px auto 0;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 2px 0 rgba(25, 36, 30, 1);
}

.step {
  position: absolute;
  left: 30px;
  display: flex;
  align-items: center;
  height: 68px;
}

.step--first {
  top: 42px;
}

.step--second {
  top: 204px;
}

.step--third {
  top: 292px;
}

.step__icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.step__text {
  margin-left: 12px;
}

.step__text h3,
.step__text p {
  margin: 0;
  font-weight: 800;
}

.step__text h3 {
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

.step__text p {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 17px;
}

.install-card .button--wide {
  position: absolute;
  left: 30px;
  top: 122px;
}

.step-arrow {
  position: absolute;
  top: 174px;
  left: 155px;
  width: 20px;
  height: 24px;
}

.step-arrow span {
  position: absolute;
  left: 4px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #33e28d;
  border-bottom: 2px solid #33e28d;
  opacity: 0.2;
  transform: rotate(45deg);
  animation: arrowGlow 1.45s ease-in-out infinite;
}

.step-arrow span:nth-child(1) {
  top: 0;
}

.step-arrow span:nth-child(2) {
  top: 6px;
  animation-delay: 0.18s;
}

.step-arrow span:nth-child(3) {
  top: 12px;
  animation-delay: 0.36s;
}

@keyframes arrowGlow {
  0%,
  70%,
  100% {
    opacity: 0.18;
    filter: drop-shadow(0 0 0 rgba(94, 252, 161, 0));
  }

  28% {
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(94, 252, 161, 0.8));
  }
}

.phone-showcase {
  width: 210px;
  height: 217px;
  margin: 45px auto 0;
}

.phone-showcase img {
  width: 210px;
  height: 217px;
  object-fit: contain;
}

.bottom-download {
  width: calc(100% - 60px);
  margin: 20px auto 0;
}

.bottom-download .button--wide {
  width: 100%;
}

.footer {
  height: 326px;
  margin-top: 42px;
  padding: 24px 26px 0;
  background: var(--footer);
}

.footer__logo {
  width: 151px;
  height: 27px;
}

.footer__desc {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.footer__label {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.footer__partners {
  width: 338px;
  height: auto;
  margin-top: 6px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  margin-top: 20px;
  background: #182227;
}

.footer__copy {
  margin: 23px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

@media (min-width: 481px) {
  body {
    background: var(--black);
  }

  .site-stage {
    width: 100vw;
    height: var(--scaled-page-height);
  }

  .site-page {
    transform: scale(var(--site-scale));
    transform-origin: top center;
    width: var(--page-width);
    margin: 0 auto;
  }

  html,
  body {
    min-height: var(--scaled-page-height);
    overflow-x: hidden;
  }
}

@media (max-width: 360px) {
  .site-page {
    max-width: 360px;
  }

  .hero,
  .hero__bg {
    height: 544px;
  }

  .hero__actions {
    left: 22px;
    right: 22px;
    grid-template-columns: 98px 1fr;
    gap: 14px;
  }

  .hero__copy h1 {
    font-size: 22px;
  }

  .install-card,
  .notice,
  .bottom-download {
    width: calc(100% - 44px);
  }

  .step {
    left: 24px;
  }

  .install-card .button--wide {
    left: 24px;
    width: calc(100% - 48px);
  }

  .footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .footer__partners {
    width: 100%;
  }
}
