/* Independent product studio theme: screenshot-led and deliberately restrained. */
:root {
  --blue: #0071e3;
  --blue-dark: #0077ed;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --paper: #ffffff;
  --navy: #000000;
  --radius: 8px;
  --shadow: 0 30px 70px rgba(0, 0, 0, .13), 0 3px 12px rgba(0, 0, 0, .08);
  font-family: "Avenir Next", Avenir, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

body { background: var(--paper); color: var(--ink); }
.shell { width: min(1120px, calc(100% - 56px)); }

.site-header {
  position: absolute;
  height: 78px;
}
.nav { height: 78px; gap: 16px; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.45px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { flex: 1 1 auto; min-width: 0; justify-content: center; gap: 20px; font-size: 12px; }
.nav-links a { white-space: nowrap; }
.nav-actions { flex: 0 0 auto; gap: 14px; font-size: 12px; white-space: nowrap; }
.nav-links a, .text-link, .language { color: #1d1d1f; }
/* 导航右侧的社群图标：进入官方 QQ 交流群、Telegram 群组或 X 账号 */
.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #1d1d1f;
  transition: color .2s, background .2s;
}
.nav-social svg { width: 19px; height: 19px; fill: currentColor; }
.nav-social:hover { color: var(--blue); background: #eef6ff; }
.nav-social[aria-current="page"] { color: var(--blue); }
/* 导航仍为展开态但已经不宽（921–1024px）时压缩间距：
   首页有 13 个链接，加上右侧社群图标后 930px 处会与动作区贴到一起 */
@media (max-width: 1024px) and (min-width: 921px) {
  .nav { gap: 22px; }
  .nav-links { gap: 13px; }
  .nav-actions { gap: 12px; }
}

.button {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: none;
  font-size: 14px;
  font-weight: 650;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { background: #0077ed; transform: translateY(-1px); box-shadow: none; }
.button-small { min-height: 38px; padding: 8px 14px; border-radius: 5px; font-size: 13px; }
.button-ghost { background: transparent; border: 1px solid #d2d2d7; color: var(--ink); }
.button-ghost:hover { background: #fff; color: var(--ink); }

.hero {
  padding: 160px 0 0;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-glow { display: none; }
.hero-content { text-align: left; }
.hero-copy { min-width: 0; }
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
  gap: 68px;
  align-items: center;
}
.product-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
  gap: 68px;
  align-items: center;
}
.hero-kicker {
  margin: 0 0 22px !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Charter, "Iowan Old Style", "Songti SC", serif;
  font-size: clamp(52px, 6.4vw, 82px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.052em;
}
.hero h1 span { color: inherit; }
.hero-copy > p:not(.hero-kicker):not(.system-note) {
  max-width: 700px;
  margin: 28px 0 0;
  color: #1d1d1f;
  font-size: 18px;
  line-height: 1.75;
}
.hero-copy > .system-note {
  max-width: none;
  margin: 13px 0 0;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.5;
}
.hero-proofs {
  justify-content: flex-start;
  gap: 0;
  margin-top: 26px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 500;
}
.hero-proofs span { gap: 0; }
.hero-proofs span::before { display: none; }
.hero-proofs span + span::before {
  content: "/";
  display: inline;
  width: auto;
  height: auto;
  margin: 0 11px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #86868b;
}
.hero-download-panel {
  padding: 30px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .1);
}
.hero-download-panel .hero-download-kicker {
  margin: 0 0 9px;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-download-panel h2 {
  margin: 0;
  font-family: Charter, "Iowan Old Style", "Songti SC", serif;
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -.035em;
}
.hero-download-panel .hero-download-copy {
  margin: 11px 0 24px;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.65;
}
.hero-download-primary,
.hero-buy-button { width: 100%; }
.hero-download-primary { min-height: 54px; background: var(--blue); font-size: 15px; }
.hero-download-primary:hover { background: var(--blue-dark); }
.hero-download-primary[aria-disabled="true"] { opacity: .72; }
.hero-download-panel .hero-download-note {
  min-height: 36px;
  margin: 10px 0 15px;
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}
.hero-buy-button {
  min-height: 54px;
  border: 1px solid #86868b;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}
.hero-buy-button:hover { background: #f5f5f7; color: var(--ink); }
/* 无说明文字时补回原间距（说明文字占位约 61px） */
.hero-download-primary + .hero-buy-button { margin-top: 61px; }
.hero-other-versions {
  display: block;
  margin-top: 16px;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.hero-other-versions:hover { color: var(--blue); }
.product-hero-download .hero-download-note {
  margin: 14px 0 0;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.55;
}
.product-stage { margin: 58px 0 0 8%; padding: 0; }
.product-preview-tabs {
  display: flex;
  width: max-content;
  margin: 0 0 14px auto;
  padding: 3px;
  border: 1px solid #d2d2d7;
  border-radius: 7px;
  background: #f5f5f7;
}
.product-preview-tab {
  min-width: 92px;
  padding: 8px 15px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #6e6e73;
  cursor: pointer;
  font: 650 12px/1.2 "Avenir Next", Avenir, "PingFang SC", sans-serif;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.product-preview-tab:hover { color: var(--ink); }
.product-preview-tab.is-active {
  background: #1d1d1f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
  color: #fff;
}
.product-preview-tab:focus-visible {
  outline: 3px solid rgba(47, 111, 184, .3);
  outline-offset: 2px;
}
.product-window {
  position: relative;
  aspect-ratio: 1.55;
  max-width: 1180px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d2d2d7;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: var(--shadow);
}
.product-preview-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
}
.product-preview-panel[hidden] { display: none; }
.product-preview-panel img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: none;
}

.platforms { background: #f5f5f7; border: 0; border-bottom: 1px solid var(--line); }
.platform-track { min-height: 84px; }
.platform { gap: 8px; color: #1d1d1f; font-size: 13px; font-weight: 600; }
.platform img { width: 24px; height: 24px; border-radius: 5px; filter: saturate(.75); }
.more-platforms { color: #6e6e73; font-weight: 500; }

.section { padding: 110px 0; }
.section-heading { max-width: 680px; margin-bottom: 58px; }
.section-heading.centered { margin-left: 0; margin-right: 0; text-align: left; }
/* 加 .balance 让多行大标题均分断行，避免末行只剩一个字（如「…远不止下 / 载」） */
.section-heading.balance h2 { text-wrap: balance; }
.section-heading h2,
.ai-copy h2,
.download-grid h2,
.download-intro h2,
.dashboard-feature-copy h2,
.license-card h2 {
  font-family: Charter, "Iowan Old Style", "Songti SC", serif;
  font-size: clamp(38px, 4.2vw, 55px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.section-heading p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.eyebrow { color: #6e6e73; font-size: 11px; letter-spacing: .15em; }

.dashboard-feature, .native-section, .extensions, .faq, .license-section { background: transparent; }
.dashboard-feature { border-bottom: 1px solid var(--line); }
.dashboard-feature-grid { grid-template-columns: .72fr 1.28fr; gap: 76px; }
.dashboard-feature-copy .feature-icon { display: none; }
.dashboard-feature-copy .eyebrow { margin: 0 0 15px; }
.dashboard-feature-copy h2 { margin: 0 0 22px; }
.dashboard-feature-copy > p { font-size: 15px; }
.dashboard-feature-copy ul { gap: 11px; margin-top: 28px; color: #1d1d1f; }
.dashboard-feature-copy li::before {
  width: auto;
  height: auto;
  margin-right: 10px;
  border-radius: 0;
  background: none;
  color: #1d1d1f;
  content: "—";
}
.stats-preview {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(34, 39, 46, .1);
}
.stat-preview-card {
  min-height: 104px;
  padding: 18px;
  border: 0;
  border-right: 1px solid #f5f5f7;
  border-bottom: 1px solid #f5f5f7;
  border-radius: 0;
  background: #fff;
}
.stat-preview-card:nth-child(2n) { border-right: 0; }
.stat-preview-card strong { font-family: Charter, serif; font-size: 27px; font-weight: 500; }
.stats-chart.dashboard-panel { margin: 18px; border-radius: 5px; }
.bars i { border-radius: 2px 2px 0 0; background: #0071e3; }

.workflow { background: #fff; border-bottom: 1px solid var(--line); }
.workflow-grid { counter-reset: workflow; gap: 0; border-top: 1px solid var(--line); }
.workflow-item {
  counter-increment: workflow;
  min-height: 280px;
  padding: 34px 38px 28px 0;
  border-bottom: 1px solid var(--line);
}
.workflow-item + .workflow-item { padding-left: 38px; border-left: 1px solid var(--line); }
.workflow-item::before {
  content: "0" counter(workflow);
  display: block;
  margin-bottom: 48px;
  color: #86868b;
  font: 600 11px/1 "Avenir Next", sans-serif;
  letter-spacing: .12em;
}
.workflow-item .feature-icon { display: none; }
.workflow-item h3 { max-width: 290px; margin: 0 0 16px; font-family: Charter, "Songti SC", serif; font-size: 26px; font-weight: 600; }
.workflow-item > p { max-width: 300px; min-height: 0; font-size: 14px; }

.native-section { border-bottom: 1px solid var(--line); }
.native-grid { gap: 18px; }
.native-card {
  padding: 30px;
  border-color: #d2d2d7;
  border-radius: 7px;
  background: transparent;
  transition: border-color .18s ease, background .18s ease;
}
.native-card:hover { transform: none; border-color: #86868b; background: #fff; box-shadow: none; }
.advantage-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #1d1d1f !important;
}
.advantage-icon svg { width: 30px; height: 30px; stroke-width: 1.45; }
.native-card h3 { font-family: Charter, "Songti SC", serif; font-size: 22px; font-weight: 600; }

.ai-section { background: #000000; color: #f5f5f7; border: 0; }
.ai-grid { grid-template-columns: .85fr 1.15fr; gap: 90px; }
.ai-copy p { color: #a1a1a6; font-size: 16px; }
.privacy-points { justify-content: flex-start; gap: 0; margin-top: 38px; color: #f5f5f7; }
.privacy-points span { display: flex; gap: 8px; padding-right: 22px; font-size: 12px; }
.privacy-points span + span { padding-left: 22px; border-left: 1px solid #6e6e73; }
.privacy-points svg { width: 20px; }
.ai-visual { height: 330px; }
.mac-screen { border-color: #000000; border-radius: 8px 8px 2px 2px; box-shadow: 0 25px 60px rgba(0, 0, 0, .32); }
.ai-output { border: 1px solid #d2d2d7; border-radius: 5px; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.ai-output::before { border-color: #86868b; border-top-style: solid; }

.extensions { background: #f5f5f7; border-bottom: 1px solid var(--line); }
.three-features { grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid #d2d2d7; }
.three-features article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  min-height: 210px;
  padding: 32px 34px;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-bottom: 1px solid #d2d2d7;
  border-radius: 0;
}
.three-features article:nth-child(2n) { border-right: 0; }
.three-features article:hover { transform: none; background: rgba(255, 255, 255, .55); box-shadow: none; }
.three-features .advantage-icon { margin: 0; }
.extension-grid h3 { font-family: Charter, "Songti SC", serif; font-size: 21px; font-weight: 600; }
.extension-grid p { margin: 10px 0 16px; color: #6e6e73; }
.extension-grid a { color: #0066cc; font-size: 13px; }


.faq { border-top: 1px solid var(--line); }
.faq-shell { max-width: 860px; }
/* FAQ 中心（faq.html）：分组与首屏同宽，仅列表限宽保证可读性 */
.faq-page-shell { max-width: none; }
.faq-page-shell .faq-group { max-width: 860px; }
.faq-page-shell summary, .faq-page-shell details p { overflow-wrap: anywhere; }
/* FAQ 中心：按产品分区 */
.faq-group + .faq-group { margin-top: 72px; }
.faq-group-title { margin: 0 0 10px; font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -.02em; }
.faq-group-note { max-width: 640px; margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 640px) { .faq-group + .faq-group { margin-top: 52px; } }
.faq-list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.faq details { min-width: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; }
.faq summary { padding: 20px 42px 20px 0; font-size: 15px; }
.faq details p { max-width: 720px; margin: 0 0 22px; font-size: 14px; }
.faq details p a { color: #0066cc; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.faq details .faq-answer { min-width: 0; max-width: 720px; margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq details .faq-answer p { margin: 0 0 12px; }
.faq details .faq-answer strong { color: var(--ink); }
.faq details .inline-code { color: var(--ink); font-size: .95em; font-weight: 650; }
.faq details .command-code { display: block; overflow-x: auto; box-sizing: border-box; width: 100%; max-width: 100%; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #f5f5f7; color: #1d1d1f; font-size: 12px; white-space: nowrap; }
.faq details .faq-answer .command-note { margin-bottom: 0; }

.license-section { padding: 110px 0; border-top: 1px solid var(--line); }
.license-card {
  grid-template-columns: 1.3fr .7fr;
  gap: 70px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.license-card h2 { margin-top: 0; }
.license-card > div > p:not(.eyebrow) { max-width: 620px; }
.license-list li::before { width: auto; height: auto; margin-right: 10px; border-radius: 0; background: none; content: "—"; color: #6e6e73; }
.license-price { padding: 30px; border-radius: 7px; background: #000000; }
.license-price strong { font-family: Charter, serif; font-weight: 500; }
.license-price .button { background: #f5f5f7; color: #1d1d1f; }

.download-section { padding: 86px 0 92px; background: #000000; }
.download-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 38px;
}
.download-intro h2 { margin: 0; font-size: 42px; }
.download-intro > div > p {
  margin: 12px 0 0;
  color: #a1a1a6;
  font-size: 15px;
}
.download-help {
  max-width: 320px;
  margin: 0 0 4px;
  color: #86868b;
  font-size: 12px;
  line-height: 1.65;
  text-align: right;
}
.download-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
/* 两张卡时自适应：宽屏两列、窄屏单列（避免去改媒体查询里的 .download-options） */
.download-options-quad {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}
.download-options-duo {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.download-note {
  margin: 22px 0 0;
  color: #a1a1a6;
  font-size: 13px;
  line-height: 1.7;
}
.download-note a {
  color: inherit;
  text-decoration: underline;
}
.download-option {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: #f5f5f7;
  color: #1d1d1f;
  box-shadow: 0 18px 42px rgba(8, 32, 62, .16);
}
.download-option-heading {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  min-height: 64px;
  margin-bottom: 22px;
  align-items: start;
}
.download-option-heading h3 {
  margin: 1px 0 7px;
  font-family: Charter, "Iowan Old Style", "Songti SC", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}
.download-option-heading p {
  min-height: 0;
  margin: 0;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.6;
}
.os-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d2d2d7;
  border-radius: 7px;
  background: #fff;
  color: #1d1d1f;
  font: 700 18px/1 "Avenir Next", sans-serif;
}
.os-mark svg { display: block; width: 26px; height: 26px; fill: currentColor; }
.os-mark-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.os-mark-apple { color: #6e6e73; }
.os-mark-windows { color: #0071e3; }
.os-mark-android { color: #2f8f4e; }
.download-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #d2d2d7;
  color: #6e6e73;
  font-size: 11px;
}
.release-version { color: #1d1d1f; font-weight: 700; }
.platform-download {
  width: 100%;
  margin-top: 0;
  background: #1d1d1f;
  color: #fff;
}
.platform-download:hover { background: #0077ed; }
.platform-download[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .55;
  pointer-events: none;
}
.button-light { background: #f5f5f7; color: #1d1d1f; }
.button-light:hover { background: #fff; color: #1d1d1f; }
.footer { padding: 66px 0; background: #f5f5f7; }
.footer-grid { grid-template-columns: 2.4fr 1fr 1fr 1fr; }
.footer .brand img { width: 38px; height: 38px; }

.legal-page { padding-top: 130px; }
.legal-page h1 { font-family: Charter, "Songti SC", serif; font-weight: 600; }

@media (max-width: 1050px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: 40px; }
  .product-hero-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: 40px; }
  .dashboard-feature-grid { grid-template-columns: 1fr; gap: 46px; }
  .three-features { grid-template-columns: 1fr; }
  .three-features article { border-right: 0; }
}

@media (max-width: 920px) {
  .site-header.menu-open { background: var(--paper); }
  .hero-top { grid-template-columns: 1fr; gap: 38px; }
  .product-hero-top { grid-template-columns: 1fr; gap: 38px; }
  .hero-download-panel { width: min(100%, 520px); }
  .workflow-grid { grid-template-columns: 1fr; gap: 0; }
  .workflow-item, .workflow-item + .workflow-item { display: block; min-height: 0; padding: 28px 0; border-left: 0; }
  .workflow-item::before { margin-bottom: 20px; }
  .ai-grid { grid-template-columns: 1fr; gap: 46px; }
  .ai-copy { text-align: left; }
  .ai-copy p { margin-left: 0; }
  .privacy-points { justify-content: flex-start; }
  .download-options { grid-template-columns: 1fr; }
  .download-option { min-height: 0; }
  .download-option-heading { min-height: 0; }
  .download-option-heading p { min-height: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 36px, 1120px); }
  .site-header, .nav { height: 66px; }
  .brand img { width: 30px; height: 30px; }
  .hero { padding-top: 116px; }
  .hero-kicker { margin-bottom: 17px !important; }
  .hero h1 { font-size: 45px; letter-spacing: -.045em; }
  .hero-copy > p:not(.hero-kicker):not(.system-note) { margin-top: 23px; font-size: 15px; }
  .hero-proofs { flex-wrap: wrap; row-gap: 5px; font-size: 11px; }
  .product-stage { margin: 40px -18px 0 18px; }
  .product-preview-tabs { margin-bottom: 10px; }
  .product-preview-tab { min-width: 82px; padding: 8px 13px; }
  .product-window { border-radius: 7px 7px 0 0; }
  .product-preview-panel img { width: 100%; max-width: none; transform: none; }
  .platform-track { display: flex; justify-content: flex-start; padding: 0; overflow-x: auto; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .ai-copy h2, .dashboard-feature-copy h2, .license-card h2 { font-size: 38px; }
  .stats-preview { grid-template-columns: 1fr 1fr; }
  .stats-chart.dashboard-panel { grid-column: 1 / -1; }
  .native-grid { grid-template-columns: 1fr; gap: 10px; }
  .native-card { padding: 24px; }
  .advantage-icon { margin-bottom: 30px; }
  .privacy-points { flex-wrap: wrap; row-gap: 14px; }
  .privacy-points span + span { padding-left: 0; border-left: 0; }
  .three-features article { grid-template-columns: 38px 1fr; gap: 18px; padding: 25px 0; }
  .three-features .advantage-icon { width: 36px; height: 36px; }
  .license-card { grid-template-columns: 1fr; gap: 38px; }
  .license-price { padding: 25px; }
  .download-section { padding: 68px 0 72px; }
  .download-intro { display: block; margin-bottom: 28px; }
  .download-intro h2 { font-size: 34px; }
  .download-help { margin-top: 18px; text-align: left; }
  .download-option { padding: 22px; }
  .download-option-heading h3 { font-size: 21px; }
  .download-meta { margin-top: 26px; }
  .footer-grid { gap: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Product lineup — Desktop / Server / Client */
.product-lineup { align-items: stretch; }
.product-card { display: flex; flex-direction: column; }
.product-card .advantage-icon { margin-bottom: 32px; }
.product-role { margin: 8px 0 0; font-size: 12px; letter-spacing: .1em; color: #6e6e73; }
.product-summary { margin: 18px 0 0; font-size: 15px; line-height: 1.75; }
.product-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.product-points li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #86868b;
}
.product-status { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 12px; letter-spacing: .03em; color: #6e6e73; }
.product-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #248a3d; }
.product-status.is-soon::before { background: #86868b; }
.product-cta { margin-top: auto; padding-top: 26px; }
.product-cta .button { width: 100%; }

@media (max-width: 640px) {
  .product-card .advantage-icon { margin-bottom: 24px; }
  .product-cta .button { width: auto; }
}

/* Nav — products dropdown */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item > a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 250px;
  padding: 8px;
  display: grid;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .2s;
  z-index: 60;
}
.nav-item:hover .sub-menu,
.nav-item:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
/* 桥接菜单与导航项之间的 12px 空隙：鼠标穿过空隙时保持 :hover 不断开 */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.sub-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 7px; }
.sub-menu a:hover { background: #f5f5f7; color: var(--ink); }
.sub-menu strong { font-size: 13px; font-weight: 650; color: var(--ink); }
.sub-menu small { font-size: 11px; color: #6e6e73; }
/* 当前所在产品：在产品下拉里标出来 */
.sub-menu a[aria-current="page"] { background: #eaf3ff; }
.sub-menu a[aria-current="page"] strong { color: var(--blue); }
.nav-links > a[aria-current="page"] { color: var(--blue); font-weight: 700; }

@media (max-width: 920px) {
  .site-header.menu-open .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 4px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
  .site-header.menu-open .sub-menu a { padding: 9px 0; }
  .site-header.menu-open .sub-menu a:hover { background: transparent; }
  .site-header.menu-open .sub-menu a[aria-current="page"] { background: transparent; }
  .nav-item > a::after { display: none; }
}

/* Product landing pages — Server / Client */
.product-landing { padding-top: 200px; padding-bottom: 0; }
/* 首屏外壳与下方区块共用 1120 网格。
   原先限制 780px，但 .shell 自带 margin:0 auto，收窄后变成「居中的窄列」，
   左边界落在 330px，比导航/下方区块的 160px 缩进 170px，首屏看着像没对齐。 */
.product-landing-shell { max-width: none; }
.product-landing h1 {
  margin: 14px 0 0;
  font-family: Charter, "Iowan Old Style", "Songti SC", serif;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 600;
}
.product-landing-lede { margin: 24px 0 0; max-width: 620px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.product-landing-points { margin-top: 36px; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.product-landing-points li { padding-left: 24px; font-size: 15px; }

/* ===== Server 产品页 ===== */
/* 控制台配图与卡片网格同宽同左边界（原先 margin:0 auto + max-width:960 居中，
   左边界 240px，两边都不贴网格线） */
.server-shot {
  margin: 0 0 56px;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
  background: #f5f5f7;
}
.server-shot img { display: block; width: 100%; height: auto; }
.server-feature-grid { grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.server-feature-grid .native-card h3 { font-size: 19px; margin-bottom: 10px; }
.server-feature-grid .native-card p { color: #6e6e73; font-size: 15px; line-height: 1.65; }
.server-feature-grid .native-card + .native-card { margin-top: 0; }
/* 功能一览：带图标的四列卡片 */
.server-feature-grid .advantage-icon { width: 34px; height: 34px; margin-bottom: 24px; }
.server-feature-grid .advantage-icon svg { width: 26px; height: 26px; }
@media (max-width: 920px) {
  .server-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .server-feature-grid { grid-template-columns: 1fr; }
  .server-shot { border-radius: 12px; }
}

@media (max-width: 640px) {
  .product-landing { padding-top: 160px; }
  .product-landing-points { grid-template-columns: 1fr; }
}

/* ---- Apple-inspired finishing touches ---- */
:root { --radius: 12px; }

/* 标题改用系统无衬线（SF Pro / PingFang），与 Apple 排版一致 */
h1, h2, h3, h4,
.hero h1,
.section-heading h2,
.native-card h3,
.workflow-item h3,
.extension-grid h3,
.product-landing h1,
.legal-page h1,
.license-card h2,
.license-price strong,
.stat-preview-card strong,
.download-option-heading h3 { font-family: inherit; }

/* 胶囊按钮 + Apple 蓝 */
.button:not(.button-light):not(.button-ghost):not(.button-soon),
.button-small:not(.button-light):not(.button-ghost):not(.button-soon) { border-radius: 980px; }
.button:not(.button-light):not(.button-ghost):not(.button-soon) { background: var(--blue); color: #fff; }
.button:not(.button-light):not(.button-ghost):not(.button-soon):hover { background: var(--blue-dark); }
.platform-download { background: var(--blue); }
.platform-download:hover { background: var(--blue-dark); }

/* 浅灰色带分区 */
.faq { background: #f5f5f7; }
.license-section { background: #f5f5f7; }
.hero { background: #fff; }
.download-section { background: #000; }

/* 浅色页脚（Apple 风格） */
.footer { background: #f5f5f7; color: #6e6e73; border-top: 1px solid #d2d2d7; }
.footer h3 { color: #1d1d1f; }
.footer p, .footer small { color: #6e6e73; }
.footer-grid > div:not(:first-child) a { color: #6e6e73; }
.footer-grid > div:not(:first-child) .footer-meta { font-size: 13px; line-height: 1.4; color: #6e6e73; }
.footer-grid a:hover { color: #1d1d1f; }
.brand-light { color: #1d1d1f; }

/* Docker 部署教程（server.html） */
.deploy-section { background: #f5f5f7; }
.deploy-steps { list-style: none; max-width: 860px; margin: 0 auto 30px; padding: 0; display: grid; gap: 16px; }
.deploy-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; text-align: left; }
.deploy-steps .step-index { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.deploy-steps strong { display: block; font-size: 15px; line-height: 1.5; }
.deploy-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.deploy-steps code, .code-note code { font-family: "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; padding: 1px 5px; border-radius: 4px; background: #ececee; border: 1px solid #d2d2d7; color: #1d1d1f; word-break: break-all; }

.code-block { max-width: 860px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: #1d1d1f; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #a1a1a6; font-size: 12px; }
.copy-button { border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); color: #f5f5f7; font: inherit; font-size: 12px; padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.copy-button:hover { background: rgba(255, 255, 255, .16); }
.copy-button.copied { color: #6ee79a; border-color: rgba(110, 231, 154, .5); }
.code-block pre { margin: 0; padding: 16px 18px; overflow-x: auto; }
.code-block code { display: block; font-family: "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; line-height: 1.8; color: #f5f5f7; white-space: pre; }
.code-note { max-width: 860px; margin: 14px auto 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

.deploy-volume-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.deploy-volume-grid .native-card { padding: 22px 20px; }
.deploy-volume-grid h3 { font-size: 14px !important; font-family: "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; letter-spacing: 0; word-break: break-all; }
.deploy-volume-grid p { font-size: 13px; line-height: 1.7; }
@media (max-width: 1050px) { .deploy-volume-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .deploy-volume-grid { grid-template-columns: 1fr; } .code-block pre { padding: 14px; } }

/* Client 手机截图展示（client.html） */
.client-shots-section { background: #fff; overflow: hidden; }
.client-gallery { display: flex; gap: 24px; justify-content: center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 28px; -webkit-overflow-scrolling: touch; }
.client-gallery img { flex: 0 0 auto; width: 300px; height: auto; scroll-snap-align: center; border-radius: 22px; background: #f5f5f7; box-shadow: 0 20px 50px rgba(0, 0, 0, .12); }
.client-gallery-hint { display: none; text-align: center; font-size: 13px; color: var(--muted); margin-top: -6px; }
@media (max-width: 1050px) { .client-gallery img { width: 280px; } }
@media (max-width: 640px) { .client-gallery { justify-content: flex-start; padding-left: 20px; padding-right: 20px; } .client-gallery img { width: 260px; } .client-gallery-hint { display: block; } }

/* 「复制直达下载」特性区块（client.html，Android 专属） */
.client-copy-section { background: var(--soft); border-top: 1px solid var(--line); }
.client-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.client-copy-text .eyebrow { margin: 0 0 15px; }
.client-copy-text h2 { margin: 0 0 22px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.02em; }
.client-copy-text > p { max-width: 500px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.client-copy-text .product-points { margin-top: 26px; }
.client-copy-visual { display: grid; gap: 20px; margin: 0; }
.client-copy-bar { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .26)); }
.client-copy-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0; padding: 0; list-style: none; counter-reset: copy-step; }
.client-copy-steps li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.client-copy-steps li::before {
  counter-increment: copy-step;
  content: counter(copy-step);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 1050px) { .client-copy-grid { gap: 48px; } }
@media (max-width: 900px) { .client-copy-grid { grid-template-columns: 1fr; gap: 40px; } .client-copy-text > p { max-width: 560px; } }

/* 「iOS 小组件」特性区块（client.html，iOS 专属） */
.client-widget-section { background: #fff; border-top: 1px solid var(--line); }
.client-widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.client-widget-visual { display: grid; gap: 22px; justify-items: center; margin: 0; }
.client-ios-widget { display: block; width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 20px 46px rgba(0, 0, 0, .2)); }
.client-widget-visual figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }
.client-widget-text .eyebrow { margin: 0 0 15px; }
.client-widget-text h2 { margin: 0 0 22px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.02em; }
.client-widget-text > p { max-width: 500px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.client-widget-text .product-points { margin-top: 26px; }
@media (max-width: 1050px) { .client-widget-grid { gap: 48px; } }
@media (max-width: 900px) { .client-widget-grid { grid-template-columns: 1fr; gap: 40px; } .client-widget-text > p { max-width: 560px; } }

/* 正文里的链接沿用 FAQ 的口径：蓝字 + 下划线（全站 a 默认 color:inherit、无下划线） */
.product-landing-lede a { color: #0066cc; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 920px) {
  /* 移动端菜单里图标不撑高动作行（菜单内容本就很长，底部动作区容易被顶出屏幕） */
  .nav-social { width: 20px; height: 20px; }
  .nav-social svg { width: 16px; height: 16px; }
}

/* ===== 产品首屏下载区（server.html / client.html） ===== */
/* 首屏原本只有文案没有入口，下载得往下滚到 #download 才看得到 */
.product-hero-download { margin-top: 34px; }
.product-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; }
.product-hero-primary { min-height: 54px; padding: 0 26px; font-size: 15px; }
/* 次入口按参考稿的做法做成「图标 + 粗体文字」，不抢主按钮的视觉 */
.product-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  transition: color .18s ease;
}
.product-hero-secondary svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-hero-secondary span {
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .18s ease;
}
.product-hero-secondary:hover { color: var(--blue); }
.product-hero-secondary:hover span { border-bottom-color: var(--blue); }
.product-hero-targets { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 10px; margin-top: 24px; }
.product-hero-target {
  padding: 7px 15px;
  border: 1px solid #d2d2d7;
  border-radius: 980px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.product-hero-target:hover { border-color: var(--blue); background: #eef6ff; color: var(--blue); }
@media (max-width: 640px) {
  .product-hero-download { margin-top: 28px; }
  .product-hero-actions { gap: 16px 22px; }
  .product-hero-primary { width: 100%; min-height: 50px; }
  .product-hero-targets { margin-top: 20px; gap: 9px; }
  .product-hero-target { padding: 6px 13px; font-size: 12.5px; }
}

/* ===== 页内小节锚点条（index / client / server / en） ===== */
.anchor-bar {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.anchor-bar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 13px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.anchor-bar-inner::-webkit-scrollbar { display: none; }

.anchor-bar a {
  white-space: nowrap;
  color: #6e6e73;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.anchor-bar a:hover { color: #1d1d1f; }

.anchor-bar a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

/* 吸顶条会盖住锚点落点：预留略小于条高的距离，让跳转后条子正好吸在 top:0 */
html:has(.anchor-bar) { scroll-padding-top: 50px; }

@media (max-width: 640px) {
  .anchor-bar-inner { gap: 20px; font-size: 12.5px; }
}

/* ===== Client landing refinement =====
   让首屏先回答「它是什么、我现在能做什么」，再展开平台细节。 */
.product-landing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(8, 125, 244, .08), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #fbfcff 72%, #fff 100%);
}
.product-landing::before {
  content: "";
  position: absolute;
  top: 132px;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(8, 125, 244, .10);
  border-radius: 50%;
  pointer-events: none;
}
.product-hero-top { position: relative; z-index: 1; }
.product-hero-copy { max-width: 650px; }
.product-landing-lede { max-width: 580px; }
.hero-download-panel {
  position: relative;
  border-color: rgba(8, 125, 244, .22);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 60px rgba(8, 50, 110, .12);
}
.hero-download-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--blue);
}
.hero-download-panel a.button.hero-buy-button {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid #c7c9cf;
  box-shadow: none;
}
.hero-download-panel a.button.hero-buy-button:hover {
  background: #f5f5f7 !important;
  color: var(--ink) !important;
  border-color: #8f9298;
  box-shadow: none;
}
.product-landing-points {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(16, 24, 40, .10);
}
.product-landing-points li {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px 0 30px;
  border-right: 1px solid rgba(16, 24, 40, .08);
  font-size: 13px;
  line-height: 1.45;
}
.product-landing-points li:nth-child(4n) { border-right: 0; }
.client-shots-section { background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.client-shots-section .section-heading { max-width: 760px; }
.client-copy-section { background: #f5f9ff; }
.download-section { background: linear-gradient(135deg, #071b3d 0%, #0b2f65 100%); }
.download-intro h2 { letter-spacing: -.04em; }
.download-option { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.download-option:hover { transform: translateY(-3px); border-color: rgba(8, 125, 244, .55); box-shadow: 0 24px 50px rgba(3, 21, 53, .28); }

/* 默认 Desktop 首页与 Client / Server 共用同一层首屏氛围，保留它自己的截图主视觉。 */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(8, 125, 244, .08), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #fbfcff 72%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: 132px;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(8, 125, 244, .10);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

@media (max-width: 920px) {
  .product-landing-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-landing-points li:nth-child(2n) { border-right: 0; }
  .product-landing-points li:nth-child(4n) { border-right: 0; }
}

@media (max-width: 640px) {
  .hero::before { top: 84px; right: -11rem; width: 18rem; height: 18rem; }
  .product-landing { padding-top: 118px; }
  .product-landing::before { top: 84px; right: -11rem; width: 18rem; height: 18rem; }
  .product-landing h1 { margin-top: 10px; font-size: 42px; line-height: 1.08; letter-spacing: -2.8px; }
  .product-landing-lede { margin-top: 18px; font-size: 16px; line-height: 1.72; }
  .product-hero-top { gap: 28px; }
  .hero-download-panel { padding: 26px 22px 22px; border-radius: 16px; }
  .hero-download-panel h2 { font-size: 29px; }
  .hero-download-copy { max-width: 240px; }
  .hero-download-note { min-height: 0; }
  .product-landing-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 32px; padding: 12px 0 18px; }
  .product-landing-points li { min-height: 52px; padding: 8px 10px 8px 24px; border-right: 1px solid rgba(16, 24, 40, .08); font-size: 12px; }
  .product-landing-points li:nth-child(2n) { border-right: 0; }
  .product-landing-points li::before { left: 3px; width: 14px; height: 14px; font-size: 9px; }
  .client-shots-section .section-heading p { font-size: 15px; }
  .download-intro h2 { font-size: 32px; line-height: 1.15; }
}
