:root {
  color-scheme: dark;
  --bg: #07040d;
  --bg-soft: #11091d;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8f4ff;
  --muted: rgba(232, 224, 247, 0.72);
  --shadow: 0 24px 64px rgba(5, 3, 10, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 14%, rgba(130, 90, 255, 0.2), transparent 30%),
    radial-gradient(circle at 80% 24%, rgba(77, 154, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #090510 0%, #06030b 52%, #090510 100%);
  color: var(--text);
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow,
.grain {
  position: absolute;
}

.glow {
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}

.glow-a {
  top: -8vh;
  left: -8vw;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(147, 100, 255, 0.42) 0%, rgba(147, 100, 255, 0) 72%);
}

.glow-b {
  top: 20vh;
  right: -10vw;
  width: 28vw;
  height: 28vw;
  background: radial-gradient(circle, rgba(90, 146, 255, 0.2) 0%, rgba(90, 146, 255, 0) 72%);
}

.glow-c {
  left: 32vw;
  bottom: -18vh;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(255, 136, 220, 0.1) 0%, rgba(255, 136, 220, 0) 72%);
}

.grain {
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mix-blend-mode: soft-light;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  position: absolute;
  top: 32px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  min-height: 40px;
}

.brand img {
  border-radius: 12px;
}

.brand span {
  font-size: 0.92rem;
  font-weight: 600;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.hero {
  display: grid;
  gap: 18px;
  max-width: 560px;
  padding-top: 72px;
}

.eyebrow {
  margin: 0;
  color: rgba(205, 180, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
}

.summary {
  max-width: 440px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: rgba(246, 241, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.download-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--panel-strong);
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .page {
    width: 100%;
    padding: 22px 16px 32px;
  }

  .brand {
    top: 22px;
    left: 16px;
    gap: 8px;
    min-height: 36px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand span {
    font-size: 0.86rem;
  }

  .hero {
    max-width: none;
    padding-top: 88px;
    gap: 14px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
    line-height: 0.96;
  }

  .summary {
    max-width: 360px;
    font-size: 0.84rem;
  }

  .downloads {
    gap: 8px;
  }

  .download-link {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    left: 14px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .download-link {
    padding: 0 12px;
    font-size: 0.74rem;
  }
}

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