@font-face {
  font-family: "站酷高端黑";
  src: url("fonts/zcool-gaoduanhei.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg0: #0b1220;
  --bg1: #121c2e;
  --ink: #f3f6fb;
  --muted: #9aa8bd;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #3dd6c6;
  --accent-ink: #06241f;
  font-family: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg0);
  color: var(--ink);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  min-height: 100vh;
}

.ambient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 12% 8%, rgba(61, 214, 198, 0.18), transparent 60%),
    radial-gradient(800px 480px at 88% 18%, rgba(91, 140, 255, 0.16), transparent 55%),
    linear-gradient(160deg, var(--bg0), var(--bg1) 55%, #0a101b);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
  text-align: center;
}

.mark {
  width: 88px;
  height: 88px;
}

.product-en {
  margin: 22px 0 0;
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 13px;
}

h1,
.slogan {
  font-family: "站酷高端黑", sans-serif;
  font-weight: 400;
}

h1 {
  margin: 8px 0 0;
  font-size: 72px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.slogan {
  margin: 18px 0 0;
  color: #9eb0c6;
  font-size: 28px;
  letter-spacing: 0.16em;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 64px;
  margin-top: 40px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 20px;
  font-weight: 650;
  text-decoration: none;
  transition:
    translate 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.download:hover,
.download:focus-visible {
  outline: none;
  translate: 0 -2px;
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(61, 214, 198, 0.22);
}

.download:active {
  translate: 0 0;
  filter: brightness(0.98);
  box-shadow: none;
}

.version {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 56px;
  text-align: left;
}

.cards article {
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    translate 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.cards article:hover {
  translate: 0 -4px;
  border-color: rgba(61, 214, 198, 0.4);
  background-color: rgba(255, 255, 255, 0.055);
}

.cards h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.cards p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.note {
  margin: 28px auto 0;
  max-width: 770px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.note code {
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

.product-en,
h1,
.slogan,
.version,
.cards h2,
.cards p,
.note,
.note code {
  transition: color 0.28s ease;
}

.product-en:hover,
.version:hover,
.cards p:hover,
.note:hover {
  color: #d7e2ef;
}

h1:hover,
.slogan:hover,
.cards h2:hover,
.note code:hover {
  color: var(--accent);
}

.note a {
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.28s ease, background-size 0.28s ease;
}

.note a:hover,
.note a:focus-visible {
  color: #8af3e8;
  background-size: 100% 1px;
}

@media (max-width: 720px) {
  main {
    padding-top: 48px;
  }

  h1 {
    font-size: 48px;
  }

  .slogan {
    font-size: 20px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .ambient {
    animation: fade 0.9s ease backwards;
  }

  .mark,
  .product-en,
  h1,
  .slogan,
  .download,
  .version,
  .cards article,
  .note {
    animation: rise 0.62s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .product-en {
    animation-delay: 0.06s;
  }

  h1 {
    animation-delay: 0.1s;
  }

  .slogan {
    animation-delay: 0.16s;
  }

  .download {
    animation-delay: 0.22s;
  }

  .version {
    animation-delay: 0.28s;
  }

  .cards article:nth-child(1) {
    animation-delay: 0.34s;
  }

  .cards article:nth-child(2) {
    animation-delay: 0.4s;
  }

  .cards article:nth-child(3) {
    animation-delay: 0.46s;
  }

  .cards article:nth-child(4) {
    animation-delay: 0.52s;
  }

  .note {
    animation-delay: 0.58s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download,
  .cards article {
    transition: none;
  }
}
