:root {
  color-scheme: light;
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, sans-serif;
  color: #222;
  background: #222;
  font-size: min(5.208333vw, 100px);
  font-synthesis: none;
}

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

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #222;
}

body {
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

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

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

.desktop-page {
  position: relative;
  width: 100%;
  height: 18.44rem;
  min-height: 100vh;
  overflow: hidden;
  background: #e5e6e6;
}

.mobile-page {
  display: none;
}

.desktop-grid {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -6.1254rem;
  width: max(30.67967rem, 100%);
  height: 30.69217rem;
  max-width: none;
  pointer-events: none;
  transform: translateX(-50%);
}

.desktop-canvas {
  position: relative;
  z-index: 1;
  width: 19.2rem;
  height: 16.5586rem;
  margin: 0 auto;
}

.desktop-brand-logo {
  position: absolute;
  z-index: 2;
  left: 0.9258rem;
  top: 0.2612rem;
  width: 0.53156rem;
  height: 0.53156rem;
  border-radius: 0.16rem;
}

.desktop-brand-name,
.desktop-brand-slogan {
  position: absolute;
  z-index: 2;
  left: 1.5559rem;
  white-space: nowrap;
}

.desktop-brand-name {
  top: 0.2887rem;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.desktop-brand-slogan {
  top: 0.5651rem;
  color: #666;
  font-size: 0.14rem;
  line-height: 1.4;
}

.desktop-phone {
  position: absolute;
  max-width: none;
  object-fit: contain;
}

.desktop-phone-left {
  z-index: 1;
  left: 3.43rem;
  top: 1.7339rem;
  width: 5rem;
  height: 6.62rem;
}

.desktop-phone-right {
  z-index: 2;
  left: 5.03rem;
  top: 1.4838rem;
  width: 4.83rem;
  height: 6.86rem;
}

.desktop-flying-friend {
  position: absolute;
  z-index: 4;
  left: 8.1469rem;
  top: 7.201rem;
  width: 0.81067rem;
  height: 0.83888rem;
  object-fit: contain;
  transform: rotate(6.21deg);
}

.desktop-title {
  position: absolute;
  z-index: 2;
  left: 11.5913rem;
  top: 2.636rem;
  width: 3.16878rem;
  height: 1.00199rem;
  object-fit: contain;
}

.desktop-hero-copy {
  position: absolute;
  z-index: 2;
  left: 11.1357rem;
  top: 3.877rem;
  margin: 0;
  color: #999;
  font-size: 0.24rem;
  line-height: 1.4;
  white-space: nowrap;
}

.download-button {
  position: absolute;
  z-index: 3;
  width: 2.7469rem;
  height: 0.68rem;
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.download-button:hover {
  filter: brightness(1.12);
  transform: translateY(-0.02rem);
}

.download-button:focus-visible,
.mobile-download:focus-visible {
  outline: 0.03rem solid #f5d900;
  outline-offset: 0.03rem;
}

.desktop-ios-download {
  left: 11.8022rem;
  top: 5.3653rem;
}

.desktop-android-download {
  left: 11.8022rem;
  top: 6.315rem;
}

.desktop-download-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.desktop-wavy-rule {
  position: absolute;
  z-index: 5;
  left: 0.5861rem;
  top: 8.2385rem;
  width: 18rem;
  height: 0.1rem;
  max-width: none;
}

.desktop-card {
  position: absolute;
  z-index: 2;
  top: 9.9109rem;
  width: 3.44258rem;
  height: 4.89908rem;
  overflow: visible;
  border: 0.04rem solid #222;
  border-radius: 0.56rem;
  background: #fff;
}

.desktop-card::before {
  position: absolute;
  z-index: -1;
  inset: 0.04rem;
  content: "";
  border-radius: 0.48rem;
  background: url("./assets/desktop-card-texture.png") center / cover no-repeat;
  opacity: 0.1;
}

.desktop-card-one {
  left: 3.6266rem;
}

.desktop-card-two {
  left: 7.8787rem;
}

.desktop-card-three {
  left: 12.1263rem;
}

.desktop-card-tag {
  position: absolute;
  left: 50%;
  top: -0.1867rem;
  width: 0.98994rem;
  height: 0.42881rem;
  max-width: none;
  transform: translateX(-50%);
}

.desktop-card-heading {
  position: absolute;
  left: 50%;
  top: 0.4534rem;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
}

.desktop-card-heading.photo-heading {
  width: 1.21984rem;
  height: 0.32rem;
}

.desktop-card-heading.awaken-heading {
  width: 1.04rem;
  height: 0.32rem;
}

.desktop-card-heading.companion-heading {
  width: 1.23rem;
  height: 0.37rem;
}

.desktop-card-illustration {
  position: absolute;
  object-fit: contain;
}

.desktop-card-illustration.photo {
  left: 1.0867rem;
  top: 1.0652rem;
  width: 1.53253rem;
  height: 2.10253rem;
}

.desktop-card-illustration.awaken {
  left: 0.5486rem;
  top: 1.324rem;
  width: 2.13557rem;
  height: 1.78211rem;
}

.desktop-card-illustration.companion {
  left: 0.9516rem;
  top: 1.324rem;
  width: 1.85297rem;
  height: 1.67805rem;
}

.desktop-card-divider {
  position: absolute;
  left: 0.2262rem;
  top: 3.6507rem;
  width: 2.91715rem;
  height: 0.03rem;
}

.desktop-card-spark {
  position: absolute;
  z-index: 3;
  left: 1.9626rem;
  top: -0.0518rem;
  width: 0.11624rem;
  height: 0.17076rem;
}

.desktop-card p {
  position: absolute;
  top: 3.9126rem;
  margin: 0;
  color: #666;
  font-size: 0.24rem;
  line-height: 1.42;
  white-space: nowrap;
}

.desktop-card-one p {
  left: 0.4013rem;
}

.desktop-card-two p {
  left: 0.2822rem;
}

.desktop-card-three p {
  left: 0.3713rem;
}

.desktop-connector {
  position: absolute;
  z-index: 3;
  top: 12.0992rem;
  width: 0.18543rem;
  height: 0.3225rem;
}

.desktop-connector-one {
  left: 7.3832rem;
}

.desktop-connector-two {
  left: 11.603rem;
}

.desktop-footer-wave {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  width: max(19.34343rem, 100%);
  height: 1.8814rem;
  max-width: none;
  transform: translateX(-50%);
}

.desktop-footer {
  position: absolute;
  z-index: 2;
  isolation: isolate;
  left: 0;
  right: 0;
  top: 16.5586rem;
  bottom: 0;
  min-height: 1.8814rem;
  overflow: hidden;
  background: transparent;
}

.desktop-footer::before {
  position: absolute;
  z-index: 0;
  top: 0.14rem;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: #222;
}

.desktop-legal {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0.3612rem;
  width: 13.056rem;
  color: rgb(255 255 255 / 60%);
  font-size: 0.15rem;
  line-height: 0.28rem;
  text-align: center;
  transform: translateX(-50%);
}

.desktop-legal p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  white-space: nowrap;
}

.desktop-legal a,
.desktop-legal span {
  color: inherit;
}

.desktop-legal a {
  text-decoration: underline;
  text-underline-offset: 0.012rem;
}

.desktop-legal p > span:not(:last-child) {
  padding: 0 0.014rem;
}

.desktop-legal p:last-child a {
  margin-right: 0.03rem;
}

.police-record {
  display: inline-flex;
  align-items: center;
}

.police-record img {
  width: 0.2rem;
  height: 0.22rem;
  margin-right: 0.03rem;
}

@media (max-width: 1079px) {
  :root {
    font-size: min(13.333333vw, 100px);
  }

  html,
  body {
    min-height: 100%;
    background: #e5e6e6;
  }

  .desktop-page {
    display: none;
  }

  .mobile-page {
    position: relative;
    display: block;
    width: 7.5rem;
    max-width: 100%;
    height: 18.72rem;
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: #e5e6e6;
  }

  .mobile-grid {
    position: absolute;
    z-index: 0;
    left: -1.6432rem;
    top: -3.9972rem;
    width: 10.7939rem;
    height: 23.43448rem;
    max-width: none;
  }

  .mobile-status {
    position: absolute;
    z-index: 2;
    inset: 0;
    color: #333;
    font-size: 0.32rem;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
  }

  .mobile-status > span:first-child {
    position: absolute;
    left: 0.84rem;
    top: 0.3rem;
  }

  .mobile-reception,
  .mobile-wifi,
  .mobile-battery {
    position: absolute;
  }

  .mobile-reception {
    right: 1.637rem;
    top: 0.36rem;
    width: 0.363rem;
    height: 0.22rem;
  }

  .mobile-wifi {
    right: 1.16rem;
    top: 0.34rem;
    width: 0.36rem;
    height: 0.26rem;
  }

  .mobile-battery {
    right: 0.528rem;
    top: 0.34rem;
    width: 0.53206rem;
    height: 0.25rem;
  }

  .mobile-battery > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mobile-battery > .mobile-battery-fill {
    inset: 15.38% 16.87% 15.38% 7.23%;
    width: 75.9%;
    height: 69.24%;
  }

  .mobile-title {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 1.4472rem;
    width: 3.06926rem;
    height: 0.97052rem;
    transform: translateX(-50%);
    object-fit: contain;
  }

  .mobile-hero p {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 2.6154rem;
    margin: 0;
    color: #999;
    font-size: 0.28rem;
    line-height: 1.4;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .mobile-phone-showcase {
    position: absolute;
    z-index: 1;
    left: 0.34rem;
    top: 3.2rem;
    width: 6.7rem;
    height: 6.24rem;
    max-width: none;
    object-fit: contain;
  }

  .mobile-step {
    position: absolute;
    z-index: 2;
    left: 0;
    width: 7.5rem;
    height: 2.00108rem;
  }

  .mobile-step-one {
    top: 10.2612rem;
  }

  .mobile-step-two {
    top: 12.443rem;
  }

  .mobile-step-three {
    top: 14.6648rem;
  }

  .mobile-step-icon {
    position: absolute;
    left: 0.7256rem;
    top: 0;
    width: 1.6rem;
    height: 1.6rem;
  }

  .mobile-step-tag {
    position: absolute;
    left: 2.762rem;
    top: 0.0352rem;
    width: 0.92344rem;
    height: 0.4rem;
  }

  .mobile-step h2 {
    position: absolute;
    left: 2.762rem;
    top: 0.5986rem;
    margin: 0;
    color: #333;
    font-size: 0.36rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-step p {
    position: absolute;
    left: 2.762rem;
    top: 1.1766rem;
    margin: 0;
    color: #666;
    font-size: 0.28rem;
    line-height: 1.4;
    white-space: nowrap;
  }

  .mobile-step-two h2 {
    top: 0.6348rem;
  }

  .mobile-step-two p {
    top: 1.2008rem;
  }

  .mobile-step-three .mobile-step-icon {
    left: 0.7556rem;
  }

  .mobile-step-three h2 {
    top: 0.6568rem;
  }

  .mobile-step-three p {
    top: 1.2522rem;
  }

  .mobile-connector {
    position: absolute;
    z-index: 3;
    left: 1.4128rem;
    width: 0.22562rem;
    height: 0.14152rem;
  }

  .mobile-connector-one {
    top: 12.0832rem;
  }

  .mobile-connector-two {
    top: 14.312rem;
  }

  .mobile-footer-wave {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 0;
    width: max(7.57624rem, 100%);
    height: 2.05214rem;
    max-width: none;
    transform: translateX(-50%);
  }

  .mobile-footer {
    position: fixed;
    z-index: 20;
    isolation: isolate;
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(7.5rem, 100vw);
    height: calc(1.65rem + env(safe-area-inset-bottom));
    min-height: 0;
    overflow: hidden;
    background: transparent;
    transform: translateX(-50%);
  }

  .mobile-footer::before {
    position: absolute;
    z-index: 0;
    top: 0.13rem;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background: #222;
  }

  .mobile-footer-logo {
    position: absolute;
    z-index: 2;
    left: 0.2294rem;
    top: 0.348rem;
    width: 1.06312rem;
    height: 1.06312rem;
    border-radius: 0.32rem;
  }

  .mobile-footer > strong,
  .mobile-footer > span {
    position: absolute;
    z-index: 2;
    left: 1.4896rem;
    white-space: nowrap;
  }

  .mobile-footer > strong {
    top: 0.403rem;
    color: #fff;
    font-size: 0.4rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .mobile-footer > span {
    top: 0.9558rem;
    color: #666;
    font-size: 0.28rem;
    line-height: 1.4;
  }

  .mobile-download {
    position: absolute;
    z-index: 3;
    left: 5.5316rem;
    top: 0.5194rem;
    width: 1.66772rem;
    height: 0.72rem;
    cursor: pointer;
    transition: transform 160ms ease;
  }

  .mobile-download:active {
    transform: scale(0.96);
  }

  .mobile-download-pill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mobile-download > span {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    place-items: center;
    color: #222;
    font-family:
      "MF XiYue", "Arial Rounded MT Bold", "PingFang SC", sans-serif;
    font-size: 0.32rem;
    line-height: 1;
  }

  .mobile-download-arrow {
    position: absolute;
    z-index: 2;
    top: 0.1344rem;
    right: 0.1272rem;
    width: 0.31992rem;
    height: 0.12886rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
