/* 图量科技 · 工具指南 共享样式（苹果浅色风） */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  line-height: 1.75;
  font-size: 16px;
}
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(980px, calc(100% - 40px)); margin: 0 auto; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; }
.brand { font-weight: 600; font-size: 15px; color: #1d1d1f; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.nav nav a { color: #515154; }
.nav nav a:hover { color: #0066cc; text-decoration: none; }

/* 面包屑 */
.crumb { font-size: 12px; color: #86868b; padding: 18px 0 0; }
.crumb a { color: #86868b; }

/* 首屏 */
.hero { padding: 26px 0 30px; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: #0066cc; background: rgba(0, 113, 227, .1);
  border-radius: 999px; padding: 4px 10px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 700; }
.lead { font-size: 17px; color: #515154; margin: 0 0 22px; max-width: 760px; }
.meta { font-size: 12px; color: #86868b; margin-top: 14px; }

/* 按钮 */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border-radius: 980px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
  transition: .15s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #0071e3; color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-ghost { background: #fff; color: #1d1d1f; border-color: #d2d2d7; }
.btn-ghost:hover { border-color: #0071e3; color: #0066cc; }

/* 通用区块 */
.section { padding: 30px 0; }
.section h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 12px; }
.section h3 { font-size: 18px; margin: 26px 0 8px; }
.section p { margin: 0 0 14px; color: #2f2f33; }
.muted { color: #6e6e73; }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card {
  display: block; background: #fff; border-radius: 16px; padding: 20px 18px;
  border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: .18s ease; color: inherit;
}
.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.card h3 { font-size: 16px; margin: 0 0 6px; color: #1d1d1f; }
.card p { font-size: 13px; color: #6e6e73; margin: 0; line-height: 1.6; }
.card .tag { font-size: 11px; color: #0066cc; font-weight: 600; }

/* 步骤 */
.steps { counter-reset: step; display: grid; gap: 12px; margin: 18px 0; }
.step {
  position: relative; background: #fff; border-radius: 14px; padding: 16px 18px 16px 54px;
  border: 1px solid rgba(0, 0, 0, .06);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 16px; width: 26px; height: 26px;
  border-radius: 50%; background: #0071e3; color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.step strong { display: block; margin-bottom: 2px; }
.step span { font-size: 14px; color: #6e6e73; }

/* 表格 */
.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .06); margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #ededf0; vertical-align: top; }
th { background: #fafafc; font-weight: 600; color: #1d1d1f; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { color: #2f2f33; }

/* 提示框 */
.note {
  background: #fff; border-left: 3px solid #0071e3; border-radius: 0 12px 12px 0;
  padding: 14px 18px; margin: 18px 0; font-size: 14px; color: #515154;
}
.note strong { color: #1d1d1f; }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 16px 0; }
.faq details {
  background: #fff; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .06);
  padding: 0 16px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #86868b; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; font-size: 14px; color: #515154; }

/* 相关链接 */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 16px 0; }
.related a {
  display: block; background: #fff; border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600;
}
.related a span { display: block; font-weight: 400; font-size: 12px; color: #86868b; margin-top: 2px; }

/* 产品条 */
.product-strip {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: #fff; border-radius: 16px; padding: 16px 18px; margin: 22px 0;
  border: 1px solid rgba(0, 0, 0, .06);
}
.product-strip strong { font-size: 15px; }
.product-strip p { margin: 0; font-size: 13px; color: #6e6e73; flex: 1 1 240px; }

/* 页脚 */
.footer {
  margin-top: 40px; padding: 28px 0 40px; border-top: 1px solid #e5e5ea;
  font-size: 12px; color: #86868b;
}
.footer .links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.footer a { color: #6e6e73; }

@media (max-width: 640px) {
  .nav { min-height: 48px; }
  .nav nav { font-size: 12px; gap: 4px 12px; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 15px; }
}
