:root {
  --paper: #fbf8f3;
  --paper-2: #f4efe6;
  --card: #ffffff;
  --ink: #1f1a14;
  --ink-2: #4a4339;
  --muted: #7a7166;
  --line: #e8e1d5;
  --brand: #d9771f;
  --brand-ink: #ffffff;
  --brand-soft: #fbeedd;
  --shadow: 0 1px 2px rgba(60, 40, 10, .04), 0 12px 32px rgba(60, 40, 10, .07);
  --serif: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --wide: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141210;
    --paper-2: #1c1916;
    --card: #211d19;
    --ink: #f3ede4;
    --ink-2: #cfc6b8;
    --muted: #978d80;
    --line: #2f2a24;
    --brand: #f0973d;
    --brand-ink: #1a1208;
    --brand-soft: #3a2814;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); font-variant-numeric: tabular-nums; font-kerning: normal; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; margin: -2px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.lang { color: var(--muted); }
.lang:hover { color: var(--ink); }

/* 按钮 */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: 10px; font: 600 13px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: transform .12s ease-out, background-color .12s, opacity .12s; }
.button:active { transform: scale(.97); }
.button svg { width: 1.15em; height: 1.15em; flex: none; }
.button-regular { height: 40px; padding: 0 18px; border-radius: 14px; font-size: 15px; }
.button-big { height: 50px; padding: 0 24px; border-radius: 14px; font-size: 17px; }
.primary-button { background: var(--brand); color: var(--brand-ink); }
.primary-button:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.secondary-button { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.secondary-button:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }
@media (prefers-reduced-motion: reduce) { .button:active { transform: none; } html { scroll-behavior: auto; } }

/* 首屏 */
.hero { padding: 88px 0 24px; text-align: center; }
.hero-icon { width: 112px; height: 112px; margin: 0 auto 20px; filter: drop-shadow(0 10px 18px rgba(217, 119, 31, .28)); }
.hero-eyebrow { margin-bottom: 14px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 6.2vw, 66px); line-height: 1.26; letter-spacing: .02em; font-feature-settings: "halt" 1; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 700px; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(16px, 2vw, 19px); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-meta { margin-top: 16px; color: var(--muted); font-size: 13px; }
.hero-meta a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.hero-shot { margin: 56px auto 0; max-width: 1020px; }
.hero-shot img { width: 100%; }

/* 通用分区 */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.3; }
.section-head p { margin: 16px 0 0; color: var(--ink-2); font-size: 17px; }

/* 三个承诺 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.pillar .icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.pillar .icon svg { width: 22px; height: 22px; }
.pillar h3 { margin: 0 0 8px; font-size: 18px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 图文交替 */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(26px, 3.4vw, 36px); }
.feature-text > p { margin: 16px 0 0; color: var(--ink-2); }
.checks { margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }
.feature-shot img { width: 100%; }
.feature-shot.framed img { border-radius: 14px; box-shadow: var(--shadow); }

/* 能力格子 */
.alt { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cell { padding: 22px; border-radius: 18px; background: var(--card); }
.cell svg { width: 22px; height: 22px; color: var(--brand); }
.cell h3 { margin: 14px 0 6px; font-size: 16px; }
.cell p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.68; }
kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font: 12px var(--sans); }

/* 同步 */
.sync { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sync-card { padding: 32px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.sync-card .tag { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }
.sync-card h3 { margin: 14px 0 8px; font-size: 20px; }
.sync-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; color: var(--ink-2); font-size: 14px; }
.flow span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.flow i { color: var(--muted); font-style: normal; }
.note { margin: 28px auto 0; max-width: 680px; color: var(--muted); font-size: 14px; text-align: center; }
.note + .note { margin-top: 10px; }
.note b { color: var(--ink-2); font-weight: 600; }

/* 下载 */
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.dl svg.os { width: 30px; height: 30px; color: var(--ink); }
.dl h3 { margin: 14px 0 2px; font-size: 18px; }
.dl .req { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.dl .links { display: grid; gap: 8px; margin-top: auto; }
.dl .links .button { width: 100%; }
.dl .mirror { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.dl .mirror a { text-decoration: underline; text-underline-offset: 3px; }
.dl.current { outline: 2px solid var(--brand); }
.release { margin-top: 24px; color: var(--muted); font-size: 14px; text-align: center; }
.release a { text-decoration: underline; text-underline-offset: 3px; }

/* 常见问题 */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 20px; color: var(--ink-2); font-size: 15px; }
.faq details a { color: var(--brand); }

/* 收尾 */
.cta { text-align: center; }
.cta img { width: 88px; height: 88px; margin: 0 auto 20px; }
.cta p { margin: 14px 0 32px; color: var(--ink-2); }

footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li { margin-top: 8px; }
footer a:hover { color: var(--ink); }
footer .about p { margin: 12px 0 0; max-width: 360px; }

/* 进场 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .pillars, .sync { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 80px; }
  .grid, .downloads { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .desktop-br { display: none; }
}
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .grid, .downloads { grid-template-columns: 1fr; }
}
