:root {
  --bg: #eef0f3;
  --surface: #ffffff;
  --ink: #2b3245;
  --text: #1d2130;
  --muted: #5d6475;
  --line: #dfe2e8;
  --accent: #2f3a57;
  --accent-hover: #1f2840;
  --orange: #e0765c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 8px 24px rgba(20, 24, 40, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #5aa3d8;
  outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(238, 240, 243, .85);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: #fff;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(47, 58, 87, .08); border-color: var(--accent); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* 首屏 */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px;
  padding: 72px 0 40px;
}
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.release-meta { font-size: 14px; color: var(--muted); min-height: 1.7em; }
/* 截图底色是 #d9dce1，放在同色舞台上，边缘就看不出来 */
.stage, .hero-visual, .feature-visual {
  background: #d9dce1;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.hero-visual { padding: 48px 24px; }

.faces { text-align: center; padding: 32px 0 64px; color: var(--muted); }
.faces img { border-radius: 20px; }
.faces-row { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.face-typing { width: 110px; }

/* 扇形快捷菜单：截图是深色底，放在深色卡片里 */
.fan {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 64px;
}
.fan h2 { font-size: clamp(24px, 3vw, 32px); }
.fan p { color: var(--muted); }
.fan-visual {
  background: radial-gradient(ellipse at 60% 50%, #232731 0%, #1a1d26 70%, #15171f 100%);
  border-radius: 24px; padding: 16px;
  display: flex; justify-content: center;
}
.fan-visual img { width: 340px; }

/* 我的宇宙：整段深色背景 */
.universe {
  background: radial-gradient(ellipse at 70% 30%, #2a3350 0%, #151a28 55%, #0e111a 100%);
  color: #e8eaf2; padding: 88px 0; margin: 32px 0 96px;
}
.universe .eyebrow { color: #a9b3d6; }
.universe h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 18em; }
.universe-text { max-width: 760px; margin-bottom: 40px; }
.universe-text p, .universe-text li { color: #c3c8da; }
.universe-text ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0; }
.universe-text strong { color: #fff; }
.universe-shot {
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); margin: 0 auto;
}

.egg img { margin: 16px auto 0; border-radius: 20px; }
.egg p { max-width: 40em; margin-inline: auto; }

.lingdong { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.lingdong figure { margin: 0; }
.lingdong img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; }
.lingdong figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }

/* 功能 */
.section-title { font-size: clamp(28px, 3.6vw, 40px); text-align: center; margin-bottom: 48px; }
.features { padding: 48px 0; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px;
  margin-bottom: 96px;
}
.feature-flip .feature-text { order: 2; }
.feature h3 { font-size: 26px; }
.feature p { color: var(--muted); }
.feature .note {
  font-size: 14px; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.feature-wide { grid-template-columns: 1fr; gap: 28px; }
.feature-wide .feature-text { max-width: 40em; margin: 0 auto; text-align: center; }
.shots { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.shots img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot-side { width: 286px; }
.shots-pair { grid-template-columns: 1fr 1fr; }
.shots-single { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.feature-center { grid-template-columns: 1fr; text-align: center; gap: 8px; }
.feature-center img { margin: 16px auto 0; border-radius: 20px; }

/* 隐私与操作 */
.privacy {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; margin-bottom: 96px;
}
.privacy h3 { font-size: 24px; }
.privacy p { color: var(--muted); margin: 0; }
.ops { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.ops li { display: flex; align-items: center; gap: 14px; }
kbd {
  min-width: 52px; text-align: center; font: 600 13px/1 inherit; padding: 8px 10px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}

/* 安装 */
.install { padding-bottom: 96px; }
.steps {
  max-width: 720px; margin: 0 auto; padding: 0; list-style: none; counter-reset: s;
  display: grid; gap: 14px;
}
.steps li {
  counter-increment: s; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px 18px 64px; color: var(--muted);
}
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
}
.steps strong { color: var(--text); }
.checksum {
  max-width: 720px; margin: 20px auto 0; font-size: 13px; color: var(--muted);
  overflow-wrap: anywhere;
}
.checksum code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* 更新日志 */
.changelog { padding-bottom: 96px; }
.changelog [data-changelog] { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.release {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
}
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.release-head h3 { font-size: 20px; margin: 0; }
.release-head .tag {
  font-size: 12px; font-weight: 600; color: #fff; background: var(--orange);
  padding: 2px 8px; border-radius: 999px;
}
.release-head .tag-beta { background: var(--bg); color: var(--muted); }
.release-head .meta { font-size: 14px; color: var(--muted); }
.release-head a { margin-left: auto; font-size: 14px; font-weight: 600; }
.release-notes { color: var(--muted); }
.release-notes ul { margin: 0 0 .6em; padding-left: 1.2em; }
.release-notes ul:last-child { margin-bottom: 0; }
.release-notes p:last-child { margin-bottom: 0; }

/* 关于 */
.about { padding-bottom: 96px; }
.about-card, .about-groups { max-width: 760px; margin: 0 auto; }
.about-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px;
}
.about-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; margin: 0 0 16px; }
.about-info dt { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.about-info dd { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.about-note { color: var(--muted); margin: 0; }
.about-groups { margin-top: 32px; text-align: center; }
.about-groups h3 { font-size: 20px; margin-bottom: 16px; }
.qr-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.qr {
  width: 212px; padding: 16px; display: grid; justify-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  color: var(--muted); font-size: 14px;
}
.qr img { width: 180px; height: 180px; object-fit: contain; border-radius: 8px; }
.qr span { overflow-wrap: anywhere; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* 响应式 */
@media (max-width: 860px) {
  .hero, .feature, .privacy, .fan { grid-template-columns: 1fr; gap: 28px; }
  .universe { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .feature-flip .feature-text { order: 0; }
  .feature { margin-bottom: 64px; }
  .shots, .shots-pair, .lingdong { grid-template-columns: 1fr; }
  .lingdong { max-width: 420px; margin-inline: auto; }
  .shot-side { width: min(286px, 100%); margin: 0 auto; }
  .privacy { padding: 28px; }
}
@media (max-width: 560px) {
  .nav nav a:not(.btn) { display: none; }
  .wrap { width: calc(100% - 32px); }
  .lead { font-size: 17px; }
}
