/* 无头骑士大师 · 站点样式
   设计基调：Apple 官网式的克制排版 + 大留白 + 单一强调色 */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --hairline: rgba(0, 0, 0, .09);
  --hairline-2: rgba(0, 0, 0, .055);
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --card: #fff;
  --accent: #0071e3;
  --accent-dark: #0058b0;
  --green: #34c759;
  --amber: #ff9500;
  --red: #ff3b30;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .07);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, .06), 0 24px 60px rgba(0, 0, 0, .1);
  --nav-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ---------- 中文断行 ----------
   中文按字断行，浏览器不知道词边界，窄屏上很容易出现「末行只剩一个字」。
   balance 让标题各行长度接近，pretty 让正文避免孤字；不支持的老浏览器会忽略。 */
h1, h2, h3, .h2, .hero h1, .section-title {
  text-wrap: balance;
}
p, li, dd, figcaption {
  text-wrap: pretty;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* 正文里的内联链接常驻下划线：不靠颜色也能看出可点 */
p a:not([class]), li a:not([class]), dd a:not([class]),
td a:not([class]), figcaption a:not([class]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2.5px;
  text-decoration-color: rgba(0, 113, 227, .42);
}
p a:not([class]):hover, li a:not([class]):hover, dd a:not([class]):hover,
td a:not([class]):hover, figcaption a:not([class]):hover {
  text-decoration-color: var(--accent);
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .88em;
  background: rgba(0, 0, 0, .05);
  padding: .1em .38em;
  border-radius: 4px;
  color: var(--ink-2);
}
pre {
  background: #1d1d1f;
  color: #e8e8ed;
  padding: 15px 17px;
  border-radius: 11px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.75;
  margin: 12px 0;
}
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 253, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1.5px solid var(--hairline-2);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 22px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.2px;
  color: var(--ink); flex: none;
}
.brand:hover { text-decoration: none; }
.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 26px;
  font-size: 13px; color: var(--ink-2);
}
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 5px 15px; border-radius: 20px;
  font-weight: 500; font-size: 12.5px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 86px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; top: -340px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, .13), rgba(0, 113, 227, .04) 45%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-icon {
  margin: 0 auto 26px;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .13), 0 2px 6px rgba(0, 0, 0, .07);
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -1.6px;
  margin-bottom: 22px;
}
.lede {
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.68;
  color: var(--ink-3);
  max-width: 640px;
  margin: 0 auto 30px;
  letter-spacing: -.2px;
}
.lede b { color: var(--ink); font-weight: 600; }

/* 首屏提醒条：默认关闭的开关、需要自己动手的前提，都在这里先说清楚 */
.hero-note {
  max-width: 620px; margin: -10px auto 30px;
  text-align: left;
  font-size: 13.5px; line-height: 1.66; color: var(--ink-3);
  background: rgba(255, 149, 0, .07);
  border: 1px solid rgba(255, 149, 0, .24);
  border-radius: 12px;
  padding: 11px 16px;
}
.hero-note b { color: var(--ink); font-weight: 600; }
.hero-note-tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .3px;
  color: #b26a00;
  background: rgba(255, 149, 0, .16);
  border-radius: 5px;
  padding: 1px 7px;
  margin-right: 6px;
  vertical-align: 1px;
}

/* 中文按字断行，有些词（「偷偷」「假睡眠」）被拆开就很难读。
   给这类词套 .nb 让它整体换行。 */
.nb { white-space: nowrap; }

/* 正文里的重点标记：荧光笔式底纹 + 加深字色。
   刻意不用下划线/强调色，免得被当成链接。 */
.hl {
  color: var(--ink);
  font-weight: 600;
  background-image: linear-gradient(rgba(0, 113, 227, .30), rgba(0, 113, 227, .30));
  background-repeat: no-repeat;
  background-size: 100% .40em;
  background-position: 0 92%;
  padding: 0 .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.meta {
  margin-top: 20px;
  font-size: 12.5px; color: var(--ink-4);
  display: flex; gap: 9px; justify-content: center; flex-wrap: wrap;
}
.meta .dot { opacity: .45; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  border-radius: 980px;
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -.2px;
  transition: transform .18s cubic-bezier(.4,0,.2,1), background .2s, box-shadow .2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 18px rgba(0, 113, 227, .28); }
.btn-ghost { background: rgba(0, 0, 0, .035); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: rgba(0, 0, 0, .06); }
.btn-lg { padding: 13px 28px; font-size: 16px; }

/* ---------- 区块 ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.h2 {
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.18; font-weight: 600; letter-spacing: -1.1px;
  margin-bottom: 18px;
}
.lead {
  font-size: 17px; line-height: 1.72; color: var(--ink-3);
  margin-bottom: 34px; letter-spacing: -.1px;
}
.lead.centered { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.center-note { text-align: center; max-width: 640px; margin: 44px auto 0; }
.center-note b { color: var(--ink); font-weight: 600; }

/* ---------- 三层 ---------- */
.layers { display: grid; gap: 14px; margin-bottom: 8px; }
.layer {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.layer-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .4px; color: var(--accent);
  background: rgba(0, 113, 227, .08);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 11px;
}
.layer h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 8px; }
.layer p { font-size: 14.5px; color: var(--ink-3); line-height: 1.68; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.step { position: relative; padding-top: 4px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14.5px; font-weight: 600; margin-bottom: 15px;
}
.step h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-3); line-height: 1.66; }
.step b { color: var(--ink-2); font-weight: 600; }

/* ---------- 状态机 ---------- */
.flow-diagram {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow-sm);
}
.flow-node {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 980px;
  background: var(--bg-alt); border: 1.5px solid var(--hairline);
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
}
.flow-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.flow-dot.hollow { border: 1.8px solid var(--ink); }
.flow-dot.solid { background: var(--ink); }
.flow-dot.red { background: var(--red); box-shadow: 0 0 0 3px rgba(255, 59, 48, .16); }
.flow-arrow { font-size: 12px; color: var(--ink-4); white-space: nowrap; }

/* ---------- 功能网格 ---------- */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 56px;
}
.feat {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feat h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 8px; }
.feat p { font-size: 13.5px; color: var(--ink-3); line-height: 1.66; }
.feat b { color: var(--ink-2); font-weight: 600; }

/* ---------- 截图 ---------- */
/* 图本身已按窗口真实边界裁好（600px 宽、四边无留白），
   所以这里只需要等比缩放 + 居中；说明文字靠 margin-top:auto 统一贴底，
   避免三张图高低不一导致说明参差。 */
.feature-shot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; align-items: stretch;
}
.feature-shot figure {
  display: flex; flex-direction: column;
  text-align: center;
}
.feature-shot img {
  width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .1);
  background: #fff;
}
.feature-shot figcaption {
  font-size: 12.5px; color: var(--ink-4);
  margin-top: auto; padding-top: 15px; line-height: 1.6;
}

/* 完整流程截图组 */
.flow-shots {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; margin-top: 44px;
  padding-top: 40px; border-top: 1.5px solid var(--hairline-2);
  align-items: stretch;
}
.flow-shots figure { display: flex; flex-direction: column; text-align: center; }
.flow-shots img {
  width: 100%; border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 8px 22px rgba(0, 0, 0, .07);
}
.flow-shots figcaption {
  font-size: 11.5px; color: var(--ink-4);
  margin-top: auto; padding-top: 11px; line-height: 1.55;
}
.flow-shots figcaption b { color: var(--ink-2); font-weight: 600; }

/* ---------- 唤醒表 ---------- */
.wake-table {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 8px;
}
.wake-row {
  display: grid; grid-template-columns: 130px 1fr 170px;
  gap: 16px; padding: 16px 22px; align-items: center;
  border-bottom: 1.5px solid var(--hairline-2);
  font-size: 14px;
}
.wake-row:last-child { border-bottom: none; }
.wake-row.head {
  background: var(--bg-alt); font-size: 12px; font-weight: 600;
  color: var(--ink-4); text-transform: uppercase; letter-spacing: .5px;
}
.wake-row.hot { background: rgba(255, 59, 48, .035); }
.wake-row .muted { color: var(--ink-4); font-size: 13px; }
.wake-row .hot { color: var(--red); font-weight: 600; font-size: 13.5px; }

/* ---------- 限制 ---------- */
.limits { list-style: none; margin-bottom: 28px; }
.limits li {
  position: relative; padding-left: 26px;
  font-size: 15px; line-height: 1.75; color: var(--ink-3);
  margin-bottom: 14px;
}
.limits li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
}
.limits b { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-left: 3px solid var(--accent);
  border-radius: 14px; padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.callout h3 { font-size: 16px; font-weight: 600; margin-bottom: 9px; letter-spacing: -.3px; }
.callout p { font-size: 14.5px; color: var(--ink-3); line-height: 1.72; }
.callout p + p { margin-top: 10px; }
.callout b { color: var(--ink-2); font-weight: 600; }

/* 补充备注：用琥珀色区别于普通说明，别让人误读成又一个功能 */
.callout-note {
  margin-top: 18px;
  border-left-color: var(--amber);
  background: rgba(255, 149, 0, .045);
}

/* ---------- 安装 ---------- */
.install-steps { margin-bottom: 32px; }
.install-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1.5px solid var(--hairline-2);
}
.install-step:last-child { border-bottom: none; }
.istep-num {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  background: rgba(0, 113, 227, .1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.install-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.3px; }
.install-step p { font-size: 14px; color: var(--ink-3); line-height: 1.68; }

.download-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 26px 30px;
  box-shadow: var(--shadow);
}
.dl-name { font-size: 20px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 5px; }
.dl-meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.dl-sha { font-size: 11px; color: var(--ink-4); line-height: 1.6; }
.dl-sha code { font-size: 10.5px; word-break: break-all; }
.dl-note { font-size: 13.5px; color: var(--ink-4); margin-top: 16px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 11px; }
.faq-item {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: 14px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(0, 113, 227, .3); }
.faq-item summary {
  padding: 16px 20px; cursor: pointer;
  font-size: 15.5px; font-weight: 500; letter-spacing: -.3px;
  list-style: none; position: relative; padding-right: 44px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px; margin-top: -5px;
  border-right: 1.8px solid var(--ink-4);
  border-bottom: 1.8px solid var(--ink-4);
  transform: rotate(45deg);
  transition: transform .22s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body { padding: 0 20px 18px; }
.faq-body p { font-size: 14.5px; color: var(--ink-3); line-height: 1.72; margin-bottom: 11px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body b { color: var(--ink-2); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding: 100px 0;
}
.cta-icon { margin: 0 auto 24px; border-radius: 20px; box-shadow: var(--shadow); }
.cta-section .lead { margin-bottom: 26px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-alt); border-top: 1.5px solid var(--hairline-2); padding: 44px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  font-size: 13px;
}
.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: var(--ink); }
.copyright { font-size: 12px; color: var(--ink-4); text-align: center; line-height: 1.7; }

/* ---------- 内页通用 ---------- */
.page-hero { padding: 74px 0 44px; }
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.16;
  font-weight: 600; letter-spacing: -1.4px; margin-bottom: 16px;
}
.page-hero .lede { margin-bottom: 0; }
.breadcrumb { font-size: 13px; color: var(--ink-4); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--ink-2); }

.toc {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.toc h2 { font-size: 13px; font-weight: 600; color: var(--ink-4); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 11px; }
.toc ul { list-style: none; display: grid; gap: 2px; }
.toc a {
  display: block; font-size: 14px; color: var(--accent);
  padding: 5px 10px; margin: 0 -10px; border-radius: 8px;
}
.toc a:hover { background: rgba(0, 113, 227, .07); }

.prose h2 {
  font-size: 23px; font-weight: 600; letter-spacing: -.6px;
  margin: 46px 0 14px; padding-top: 10px;
}
.prose h3 { font-size: 17px; font-weight: 600; margin: 30px 0 10px; letter-spacing: -.3px; }
.prose p { font-size: 15.5px; line-height: 1.78; color: var(--ink-2); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 8px; }
.prose b { color: var(--ink); font-weight: 600; }
.prose hr { border: none; border-top: 1.5px solid var(--hairline-2); margin: 40px 0; }

.kv {
  display: grid; grid-template-columns: 190px 1fr;
  gap: 10px 20px; margin: 20px 0 8px;
  font-size: 14.5px;
}
.kv dt { color: var(--ink-4); }
.kv dd { color: var(--ink-2); word-break: break-all; }

.release {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 26px 30px;
  margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.release-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.release-ver { font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
.release-date { font-size: 13px; color: var(--ink-4); }
.badge {
  font-size: 11.5px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; letter-spacing: .2px;
}
.badge-latest { background: var(--green); color: #fff; }
.badge-beta { background: var(--amber); color: #fff; }
.release ul { list-style: none; }
.release li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 9px;
}
.release li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4);
}
.release li b { color: var(--ink); font-weight: 600; }
.release .fix { color: var(--ink-3); }
.release .tag {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  padding: 1px 7px; border-radius: 4px; margin-right: 7px;
  vertical-align: 1px;
}
.tag-fix { background: rgba(255, 59, 48, .1); color: #c9332a; }
.tag-new { background: rgba(52, 199, 89, .13); color: #1e8b3c; }
.tag-chg { background: rgba(0, 113, 227, .1); color: var(--accent-dark); }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 34px; }
.support-card {
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.support-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 9px; letter-spacing: -.3px; }
.support-card p { font-size: 14px; color: var(--ink-3); line-height: 1.68; margin-bottom: 13px; }
.support-card .btn { font-size: 13.5px; padding: 8px 17px; }

.mail-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: 14px; padding: 16px 20px; margin: 16px 0;
  box-shadow: var(--shadow-sm);
}
.mail-row code { background: rgba(0, 113, 227, .07); color: var(--accent-dark); font-size: 13px; }
.copy-btn {
  margin-left: auto;
  background: var(--bg-alt); border: 1.5px solid var(--hairline);
  border-radius: 8px; padding: 6px 13px;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  font-family: inherit; transition: background .18s;
}
.copy-btn:hover { background: rgba(0, 0, 0, .07); }

/* ---------- 开源卡片 ---------- */
.oss-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 6px;
}
.oss-card {
  display: block;
  background: var(--card); border: 1.5px solid var(--hairline-2);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform .18s cubic-bezier(.4,0,.2,1), box-shadow .2s, border-color .2s;
}
.oss-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 113, 227, .28);
}
.oss-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.3px;
  margin-bottom: 7px; color: var(--ink);
}
.oss-title svg { color: var(--ink-3); flex: none; }
.oss-card:hover .oss-title svg { color: var(--accent); }
.oss-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }

/* ---------- 滚动淡入 ----------
   默认完全可见；只有 JS 明确加上 .reveal-prep 时才隐藏，
   保证脚本没跑成时内容依然可读。 */
.reveal-enabled .reveal-prep {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.4, 0, .2, 1), transform .55s cubic-bezier(.4, 0, .2, 1);
}
.reveal-enabled .reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 940px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-shot { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  /* 3 张图塞进 2 列时，最后一张会独占一行：让它横跨整行并居中，别缩在左边 */
  .feature-shot figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .flow-shots { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
/* 窄屏标题：字号略收，让常见标题一行放得下，避免断在词中间 */
@media (max-width: 430px) {
  .h2 { font-size: 25px; letter-spacing: -.9px; }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4.5px;
    margin-left: auto; width: 34px; height: 34px;
    background: none; border: none; cursor: pointer; padding: 0;
  }
  .nav-toggle span {
    display: block; width: 19px; height: 1.7px; margin: 0 auto;
    background: var(--ink); border-radius: 2px;
    transition: transform .24s, opacity .24s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fbfbfd;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 6px 24px 16px;
    border-bottom: 1.5px solid var(--hairline-2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .07);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--hairline-2); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: inline-block; width: auto; margin-top: 10px; text-align: center; }

  .hero { padding: 62px 0 58px; }
  .section { padding: 62px 0; }
  .steps, .feat-grid, .feature-shot { grid-template-columns: 1fr; }
  .feature-shot { max-width: 340px; margin: 0 auto; }
  .flow-shots { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .wake-row { grid-template-columns: 1fr; gap: 5px; padding: 15px 18px; }
  .wake-row.head { display: none; }
  .flow-diagram { flex-direction: column; align-items: stretch; gap: 0; padding: 24px 18px; }
  .flow-node { justify-content: center; }
  .flow-arrow {
    transform: none; white-space: normal; text-align: center;
    font-size: 11.5px; line-height: 1.5; padding: 9px 0;
  }
  .flow-arrow::before {
    content: ""; display: block; width: 1.5px; height: 11px;
    margin: 0 auto 7px; background: var(--hairline);
  }
  .flow-arrow::after {
    content: ""; display: block; width: 1.5px; height: 11px;
    margin: 7px auto 0; background: var(--hairline);
  }
  .download-box { flex-direction: column; align-items: flex-start; }
  .download-box .btn { width: 100%; justify-content: center; }
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv dd { margin-bottom: 11px; }
  .support-grid { grid-template-columns: 1fr; }
  .oss-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
