:root {
  --bg: #fffafb;
  --surface: #ffffff;
  --surface-soft: #fff4f8;
  --text: #241b2f;
  --muted: #6b6078;
  --line: rgba(36, 27, 47, 0.1);
  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --pink: #ec4899;
  --shadow: 0 16px 48px rgba(77, 33, 91, 0.08);
  --home-ink: #111111;
  --home-muted: #666666;
  --home-line: #ececec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.8;
}
a { color: var(--accent-strong); }
img { max-width: 100%; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-size: 20px; font-weight: 800; }
.topnav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.topnav a { color: var(--muted); text-decoration: none; }
.topnav a:hover { color: var(--text); }
.topbar-home { min-height: 68px; padding: 14px 20px; }
.topbar-home .brand span { color: var(--home-ink); font-size: 20px; font-weight: 700; }
.topbar-home .top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 58px 0 42px;
  text-align: center;
}
.hero-icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: var(--shadow); }
.home-hero {
  display: flex;
  min-height: calc(100vh - 68px);
  align-items: center;
  justify-content: center;
  padding: 36px 20px 32px;
  min-width: 0;
}
.home-hero-inner { width: min(520px, 100%); min-width: 0; text-align: center; }
.home-hero-icon { width: 150px; height: 150px; margin-bottom: 28px; border-radius: 36px; }
.home-hero h1 { width: 100%; margin: 0 auto; overflow-wrap: anywhere; color: var(--home-ink); font-size: 24px; line-height: 1.35; font-weight: 800; }
.home-hero .lede { width: 100%; max-width: 360px; margin: 14px auto 0; overflow-wrap: anywhere; color: var(--home-muted); font-size: 15px; line-height: 1.75; }
.home-hero .tags { margin-top: 26px; }
.home-hero .tag { color: #444444; background: #f8f8f8; }
.home-hero .downloads { width: min(100%, 540px); min-width: 0; margin-top: 28px; }
.home-hero .btn { min-height: 58px; border: 1px solid var(--home-line); border-radius: 18px; color: var(--home-ink); background: #fff; font-size: 18px; font-weight: 700; }
.home-hero .btn.primary { border-color: #111; background: #111; color: #fff; }
.home-hero .fineprint { margin-top: 12px; color: var(--home-muted); font-size: 13px; }
.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.015em; }
h1 { max-width: 880px; margin: 0; font-size: clamp(30px, 5vw, 48px); font-weight: 850; }
.lede { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #5d4e66;
  font-size: 13px;
}
.downloads { display: grid; width: min(540px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface);
  font-weight: 750;
  text-decoration: none;
}
.btn.primary { border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--pink)); color: #fff; }
.fineprint { margin: 0; color: var(--muted); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding: 12px 0 64px; }
.article { min-width: 0; }
.card {
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(77, 33, 91, 0.035);
}
.card h2 { margin: 0 0 14px; font-size: 24px; }
.card h3 { margin: 20px 0 8px; font-size: 18px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.intent { background: linear-gradient(135deg, #fff7fb, #f7f1ff); }
.sidebar { align-self: start; position: sticky; top: 18px; }
.sidebar .card { padding: 20px; }
.sidebar h2 { font-size: 18px; }
.side-links { display: grid; gap: 8px; }
.side-links a { color: var(--text); text-decoration: none; }
.meta { color: var(--muted); font-size: 13px; }
.steps, .limits { margin: 0; padding-left: 1.25em; }
.steps li, .limits li { margin: 9px 0; padding-left: 4px; }
.example { border-left: 4px solid var(--pink); background: #fff8fc; }
.example-label { color: #a21caf; font-size: 13px; font-weight: 800; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq-list summary { cursor: pointer; padding: 15px 17px; font-weight: 750; }
.faq-list p { margin: 0; padding: 0 17px 17px; color: var(--muted); }
.feature-grid, .topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature, .topic {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.feature h3, .topic h3 { margin: 0 0 8px; font-size: 18px; }
.feature p, .topic p { margin: 0; color: var(--muted); }
.group { margin-top: 26px; }
.group h2 { margin-bottom: 12px; }
.breadcrumbs { padding-top: 22px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs span { margin: 0 7px; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.footer a { color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 14px; background: #faf5ff; color: #5b4a65; }
.price-rule { padding: 18px 20px; border-radius: 16px; background: #f7f2ff; }
@media (max-width: 820px) {
  .article-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .feature-grid, .topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar-home { padding: 12px 16px; }
  .topbar-home .brand span { font-size: 18px; }
  .topbar-home .top-link { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .topbar { align-items: flex-start; padding: 12px 16px; }
  .topnav { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .shell { width: min(100% - 28px, 1080px); }
  .hero { padding-top: 38px; }
  .home-hero { align-items: flex-start; padding-top: 84px; }
  .home-hero-icon { width: 154px; height: 154px; margin-bottom: 32px; }
  .home-hero h1 { font-size: 22px; }
  .hero-icon { width: 108px; height: 108px; border-radius: 26px; }
  .downloads { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  h1 { font-size: 31px; }
  .footer { flex-direction: column; }
}
