/* 原生静态页面，延续 App 朱砂红品牌。DESIGN_VARIANCE: 4;
   MOTION_INTENSITY: 2; VISUAL_DENSITY: 4。可信、克制的下载入口。
   圆角：按钮/图标 12px，截图边框 24px。层级：仅跳转链接使用 z-index: 1。 */
:root {
  color-scheme: light dark;
  --background: #fafafa;
  --surface: #f0f0f2;
  --text: #202126;
  --muted: #60616b;
  --line: #dcdce1;
  --accent: #e11d48;
  --accent-hover: #c5163d;
  --tint: #fce9ee;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 24px; padding: 14px; background: var(--background); z-index: 1; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 80px; padding-block: 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px 24px; }
.header-controls { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 10px; }
.site-header nav { display: flex; gap: 32px; font-size: 14px; }
.site-header nav a, .site-footer nav a { text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.hero { min-height: 600px; padding-block: 48px 32px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
h1 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.3; letter-spacing: -2px; font-weight: 700; margin: 0; }
h1 span { display: block; }
.intro { color: var(--muted); font-size: 17px; line-height: 1.9; margin: 24px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 56px; border: 1px solid var(--accent); padding: 16px 21px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .15s, background-color .15s; cursor: pointer; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-secondary { color: var(--text); border-color: var(--line); background: var(--background); }
.button-secondary:hover { background: var(--surface); }
.button:active { transform: translateY(1px); }
.product-view { margin: 0; width: 100%; max-width: 320px; justify-self: center; }
.screenshot-frame { padding: 6px; border: 1px solid #45454b; border-radius: 24px; overflow: hidden; background: #202126; box-shadow: 0 18px 36px #20212618; }
.screenshot-frame img { display: block; width: 100%; height: auto; border-radius: 17px; }
.download-note { padding: 18px 0 32px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.download-note p { margin: 4px 0; }
.download-note [role="status"]:empty { display: none; }
.download-note [role="status"] { color: var(--text); font-weight: 500; }
.download-note a { color: var(--text); }
.features { padding-block: 80px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -1px; line-height: 1.45; margin: 0 0 20px; }
.section-heading p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.feature-list { display: grid; gap: 30px; }
h3 { margin: 0 0 10px; font-size: 18px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 40ch; }
.install-section { padding: 52px 56px; background: var(--surface); border-radius: 24px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.install-copy > p { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 34ch; }
.package-info { margin-top: 28px; }
.package-info > a { font-weight: 600; font-size: 16px; }
.package-info > a span { margin-left: 10px; }
.package-info p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.package-info details { margin-top: 16px; font-size: 12px; color: var(--muted); }
.package-info summary { cursor: pointer; }
.package-info code { display: block; margin-top: 12px; overflow-wrap: anywhere; max-width: 48ch; line-height: 1.8; user-select: all; }
.qr-block { margin: 0; text-align: center; }
.qr-block img { display: block; border-radius: 12px; background: #fff; }
.qr-block figcaption { font-size: 13px; padding-top: 16px; color: var(--muted); }
.faq { padding-block: 96px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 23px 32px 23px 0; cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; font-size: 22px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 70ch; margin: 0; padding: 0 30px 24px 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.site-footer .brand { font-size: 17px; }
.site-footer p { font-size: 12px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; padding-top: 8px; }
.site-footer .copyright { grid-column: 1 / -1; margin: 0; }
.policy-index { padding-block: 72px 96px; }
.policy-options { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 28px 40px; }
.policy-options article { border-top: 1px solid var(--line); padding-top: 28px; }
.policy-options h2 { font-size: 23px; letter-spacing: 0; }
.policy-options p,.policy-contact { color: var(--muted); font-size: 15px; line-height: 1.9; }
.policy-options a { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; }
.policy-contact { max-width: 65ch; }
/* 更新日志沿用 4 / 2 / 4：按日期阅读，节点表示版本，无滚动动画。 */
.site-header nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.changelog { max-width: 960px; padding-block: 64px 80px; }
.changelog-heading { max-width: 720px; margin-bottom: 60px; }
.changelog-heading .intro { margin-block: 20px 16px; }
.changelog-note { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0; }
.changelog-note a { color: var(--text); font-weight: 600; white-space: nowrap; }
.release-timeline { list-style: none; padding: 0; margin: 0; }
.release-entry { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 40px; scroll-margin-top: 32px; }
.release-date { padding-top: 9px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 13px; }
.release-date time { color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.release-content { position: relative; border-left: 1px solid var(--line); padding: 0 0 56px 40px; }
.release-content::before { content: ""; position: absolute; top: 15px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; background: var(--background); }
.release-entry:last-child .release-content { padding-bottom: 8px; border-color: transparent; }
.release-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.release-heading h2 { font-size: 27px; line-height: 1.4; letter-spacing: -.5px; margin: 0; }
.release-heading a { text-decoration: none; }
.release-heading a:hover { text-decoration: underline; }
.release-status { padding: 4px 9px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.release-current { color: var(--text); border-color: var(--accent); background: var(--tint); }
.release-content h3 { font-size: 20px; line-height: 1.6; margin-bottom: 10px; }
.release-content p, .release-content li { font-size: 15px; line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.release-content p { margin: 0 0 14px; }
.release-content ul { padding-left: 20px; margin: 0; }
.release-content li + li { margin-top: 8px; }
.release-content li::marker { color: var(--muted); }
.release-content .release-note { margin: 16px 0 0; font-size: 13px; }
.changelog-back { display: inline-flex; gap: 18px; margin: 40px 0 0 228px; padding-block: 8px; font-size: 15px; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  :root { --background: #19191d; --surface: #242429; --text: #f2f2f4; --muted: #b2b2bd; --line: #3f3f48; --tint: #302027; }
}
@media (max-width: 1024px) {
  .site-header nav { gap: 20px; }
  .header-controls { gap: 20px; }
  .hero { gap: 36px; grid-template-columns: 1.2fr 1fr; }
  .button { padding-inline: 16px; gap: 12px; }
  .features { gap: 48px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-controls { display: contents; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .language-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 72px; gap: 16px 12px; }
  .header-controls { display: contents; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .language-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; gap: 16px; font-size: 12px; flex-wrap: wrap; }
  .hero { padding-block: 36px 12px; grid-template-columns: 1fr; gap: 36px; min-height: auto; }
  .eyebrow { margin-bottom: 20px; font-size: 13px; }
  h1 { font-size: clamp(32px, 8.2vw, 42px); letter-spacing: -1.5px; }
  .intro { font-size: 15px; margin-block: 20px 26px; }
  .desktop-break { display: none; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  html[lang="en-US"] .actions { grid-template-columns: 1fr; }
  .button { padding: 15px 12px; font-size: 13px; min-height: 52px; gap: 10px; }
  .download-note { padding-block: 16px 36px; font-size: 12px; }
  .features { padding-block: 48px; grid-template-columns: 1fr; gap: 32px; }
  .feature-list { gap: 24px; }
  .feature-list p { max-width: none; font-size: 14px; }
  .install-section { padding: 28px 24px; grid-template-columns: 1fr; gap: 30px; }
  .qr-block { justify-self: start; }
  .qr-block img { width: 160px; height: 160px; }
  .faq { padding-block: 56px; }
  .faq summary { font-size: 15px; line-height: 1.7; padding-block: 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding-block: 26px; }
  .site-footer nav { gap: 18px; padding-block: 8px 12px; }
  .policy-index { padding-block: 44px 56px; }
  .policy-options { grid-template-columns: 1fr; gap: 32px; padding-top: 12px; }
  .changelog { padding-block: 40px 56px; }
  .changelog-heading { margin-bottom: 40px; }
  .changelog-note { font-size: 13px; }
  .release-entry { position: relative; display: block; border-left: 1px solid var(--line); margin-left: 4px; padding-left: 24px; }
  .release-entry:last-child { border-color: transparent; }
  .release-date { flex-direction: row; flex-wrap: wrap; gap: 10px; padding: 0; margin-bottom: 12px; }
  .release-date time { font-size: 13px; }
  .release-content { position: static; border: 0; padding: 0 0 40px; }
  .release-content::before { top: 6px; }
  .release-heading { margin-bottom: 14px; }
  .release-heading h2 { font-size: 24px; }
  .release-content h3 { font-size: 18px; }
  .release-content p, .release-content li { font-size: 14px; }
  .changelog-back { margin: 32px 0 0 28px; }
}
@media (max-width: 359px) {
  .site-header nav { gap: 10px; }
  .brand { font-size: 16px; }
  .button { padding-inline: 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
.guide-preview { padding-block:80px 24px; display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.guide-links { list-style:none; padding:0; margin:0; counter-reset:guides; }
.guide-links li { border-top:1px solid var(--line); padding:24px 0; counter-increment:guides; }
.guide-links li::before { content:'0' counter(guides); display:block; font-size:12px; color:var(--muted); margin-bottom:12px; }
.guide-links a { font-size:19px; line-height:1.6; font-weight:600; text-decoration:none; }
.guide-links a:hover { color:var(--accent); text-decoration:underline; }
.guide-links p { font-size:14px; color:var(--muted); line-height:1.8; margin:10px 0 0; }
.guide { max-width:840px; padding-block:64px 80px; }
.guide-heading { margin-bottom:48px; }
.guide-heading > a { display:inline-block; margin-bottom:24px; color:var(--muted); font-size:14px; }
.guide h1 { font-size:clamp(30px,4vw,46px); line-height:1.4; letter-spacing:-1px; overflow-wrap:anywhere; }
.guide-description { font-size:17px; line-height:1.9; color:var(--muted); margin:24px 0 16px; }
.guide-meta, .guide-reference { color:var(--muted); font-size:13px; line-height:1.8; }
.guide-body { font-size:16px; line-height:1.95; overflow-wrap:anywhere; }
.guide-body h2 { font-size:25px; margin:44px 0 16px; scroll-margin-top:24px; }
.guide-body p, .guide-body ol, .guide-body ul, .guide-body dl { margin:16px 0 24px; }
.guide-body li { padding-left:5px; margin-block:12px; }
.guide-body ol, .guide-body ul { padding-left:24px; }
.guide-body a { text-decoration-color:var(--accent); }
.guide-body dt { font-weight:600; margin-top:20px; }
.guide-body dd { margin:8px 0 20px; color:var(--muted); }
.guide-body code { font-size:14px; }
.guide-related { margin-top:56px; }
.guide-related h2 { font-size:24px; }
.guide-support { font-size:15px; line-height:1.8; margin-top:40px; }
@media (max-width:1100px) and (min-width:960px) { .site-header nav { gap:18px; } .header-controls { gap:18px; } }
@media (max-width:767px) {
  .guide-preview { padding-block:48px 8px; grid-template-columns:1fr; gap:24px; }
  .guide { padding-block:40px 56px; }
  .guide-heading { margin-bottom:32px; }
  .guide-description { font-size:15px; }
  .guide-body { font-size:15px; }
  .guide-body h2 { font-size:23px; }
  .guide-links a { font-size:17px; }
}
