/* 品牌首页与产品专题。作者：wwj */
.brand-hero .hero-inner { max-width: 1120px; }
.brand-hero h1 { font-size: clamp(28px, 3.5vw, 44px); }
.brand-hero .hero-sub { max-width: 800px; font-size: 17px; }
.brand-hero .hero-sub > span { display: block; text-wrap: balance; }
.brand-hero .hero-sub > span + span { margin-top: 4px; }
.brand-hero .hero-sub b { display: inline-block; white-space: nowrap; }
.brand-hero .hero-note { margin-top: 20px; }
.product-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; text-align: left; }
.product-choice { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.product-choice:hover { border-color: var(--primary); }
.product-choice .eyebrow { font-size: 12px; color: var(--muted); }
.product-choice h2 { font-size: 21px; line-height: 1.5; color: var(--ink); }
.product-choice p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.product-choice .choice-link { margin-top: auto; padding-top: 8px; color: var(--primary); font-size: 14px; font-weight: 600; }
.brand-faq { max-width: 840px; margin: 28px auto 0; text-align: left; }
.brand-faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.brand-faq summary { cursor: pointer; font-weight: 600; }
.brand-faq p { margin-top: 12px; line-height: 1.85; color: var(--ink-2); }
.brand-faq summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.brand-topic-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px auto 0; justify-content: center; }
.brand-topic-links a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; padding-block: 6px; }

/* 产品入口与年报模块分层，模块链接在小屏上同样直接可见。 */
.annual-nav { border-top: 1px solid var(--border); background: #fff; }
.annual-nav-inner { display: flex; align-items: center; gap: 28px; max-width: var(--maxw, 1080px); margin: auto; padding-inline: 24px; }
.annual-nav-label { color: var(--ink); font-size: 14px; font-weight: 600; }
.annual-nav-links { display: flex; gap: 24px; }
.annual-nav-links a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 4px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.annual-nav-links small { color: inherit; font-size: 11px; }
.annual-nav-links a:hover { color: var(--primary); }
.annual-nav-links a[aria-current="page"] { border-bottom-color: var(--primary); color: var(--primary); font-weight: 700; }
:is(.annual-page, .topic-page) :is(section, header, h2, h3, .tbl-col, footer)[id] { scroll-margin-top: 136px; }
.annual-page #mNav { max-height: calc(100dvh - 114px); }

/* 新专题不复制旧页面的大段内联样式。 */
.topic-page {
  --primary: #2b6ed7; --primary-dark: #1a5bc2; --primary-soft: #eaf2fe;
  --ink: #15233b; --ink-2: #3d4d66; --muted: #5e6f8b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  margin: 0; color: var(--ink); font-family: var(--font); line-height: 1.8; background: #fff;
}
.topic-page * { box-sizing: border-box; }
.topic-page h1, .topic-page h2, .topic-page h3, .topic-page p { margin: 0; }
.topic-page a { color: var(--primary); text-underline-offset: 4px; }
.topic-page .wrap { width: min(100%, 1080px); margin: auto; padding-inline: 24px; }
.topic-page .nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); }
.topic-page .nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 10px; }
.topic-page .nav-left { display: flex; align-items: center; gap: 28px; }
.topic-page .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.topic-page .logo { width: 34px; height: 34px; }
.topic-products { display: flex; align-items: center; gap: 4px; padding-left: 20px; border-left: 1px solid var(--border); }
.topic-products a { padding: 6px 11px; font-size: 14px; font-weight: 600; border-radius: 9px; text-decoration: none; color: var(--muted); }
.topic-products a:hover, .topic-products .cur { background: var(--primary-soft); color: var(--primary); }
.topic-page .topic-download { padding: 8px 16px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.topic-page .topic-download:hover, .topic-page .btn-primary:hover { background: var(--primary-dark); }
.topic-page .annual-nav-inner { max-width: 1080px; }
.topic-page .annual-nav-links a { color: var(--muted); }
.topic-page .annual-nav-links a:hover, .topic-page .annual-nav-links a[aria-current="page"] { color: var(--primary); }
.topic-page .topic-hero { padding: 32px 0 48px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.topic-page .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.topic-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.topic-intro { min-width: 0; }
.topic-page .eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; }
.topic-page h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.45; margin: 12px 0 20px; }
.topic-page h1 span { display: inline-block; }
.topic-page .lead { max-width: 800px; font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.topic-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.topic-page .btn { display: inline-flex; justify-content: center; align-items: center; padding: 11px 22px; text-decoration: none; border: 1px solid var(--primary); font-weight: 600; }
.topic-page .btn-primary { background: var(--primary); color: #fff; }
.topic-page .btn-ghost { background: #fff; color: var(--primary); }
.topic-page .topic-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.topic-jump { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.topic-jump > span { color: var(--muted); }
.topic-jump a { padding-block: 4px; text-decoration: none; }
.topic-jump a:hover { text-decoration: underline; }
.topic-section { padding-block: 48px; border-bottom: 1px solid var(--border); }
.topic-section h2 { font-size: 26px; line-height: 1.5; margin-bottom: 20px; text-wrap: balance; }
.topic-section h3 { font-size: 18px; margin-bottom: 10px; }
.topic-section p + p { margin-top: 12px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.topic-card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; color: var(--ink-2); }
.topic-card h3 { padding-bottom: 14px; border-bottom: 1px solid var(--border); color: var(--ink); }
.topic-card ul { margin: 0; padding: 0; list-style: none; }
.topic-card li { padding-top: 16px; }
.topic-card li b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; }
.topic-warning { padding: 18px 22px; margin-top: 20px; border-left: 3px solid var(--primary); border-radius: 0 10px 10px 0; background: var(--primary-soft); font-size: 14px; color: var(--ink-2); }
.topic-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.topic-steps li { padding: 22px; background: var(--bg-soft); border-radius: 12px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--primary); font-size: 13px; font-weight: 700; }
.topic-steps h3 { font-size: 16px; }
.topic-steps p { color: var(--ink-2); font-size: 14px; }
.topic-shot { min-width: 0; margin: 0; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 32px #15233b08; }
.topic-shot-title { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 14px; }
.topic-shot-title span { color: var(--muted); font-size: 12px; }
.topic-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 6px; }
.topic-shot figcaption { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 12px; }
.topic-page .brand-faq { max-width: none; margin-top: 0; }
.topic-page .brand-faq details { padding: 20px 24px; margin-top: 12px; border: 1px solid var(--border); border-radius: 12px; }
.topic-page .brand-faq p { font-size: 15px; }
.topic-page #get-started { margin-block: 36px; padding: 32px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft); }
.topic-footer { padding: 32px 0; background: #0f1f38; color: #b8c6da; font-size: 13px; }
.topic-footer a { color: #dce8fb; }
.topic-footer p { margin-top: 14px; }
.topic-footer nav { display: flex; gap: 12px 24px; flex-wrap: wrap; }
@media (max-width: 1100px) and (min-width: 861px) {
  .nav .prod-tabs { gap: 0; }
  .nav .prod-tabs a { padding-inline: 5px; font-size: 12px; }
  .nav .nav-menu { gap: 10px; }
}
@media (max-width: 960px) {
  .topic-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .topic-shot { max-width: 680px; width: 100%; }
  .topic-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .product-choices, .topic-grid { grid-template-columns: 1fr; }
  .product-choice { padding: 20px; gap: 8px; }
  .product-choice .choice-link { padding-top: 0; }
  .brand-hero .hero-sub { font-size: 16px; }
  .topic-page .wrap { padding-inline: 18px; }
  .topic-products { display: none; }
  .annual-nav-inner { padding-inline: 18px; }
  .annual-nav-label { display: none; }
  .annual-nav-links { width: 100%; gap: 8px; }
  .annual-nav-links a { flex: 1; gap: 5px; }
  .topic-page .topic-hero { padding: 24px 0 32px; }
  .topic-page .breadcrumb { margin-bottom: 24px; }
  .topic-jump { gap: 6px 0; }
  .topic-jump > span { display: none; }
  .topic-jump a { width: 25%; text-align: center; font-size: 13px; }
  .topic-section { padding-block: 32px; }
  .topic-section h2 { font-size: 23px; }
  .topic-page .lead { font-size: 16px; }
  .topic-card { padding: 20px; }
  .topic-page #get-started { width: calc(100% - 36px); padding: 24px 20px; }
}
@media (max-width: 480px) {
  .topic-steps { grid-template-columns: 1fr; }
  .topic-steps li { position: relative; padding: 20px 20px 20px 68px; }
  .step-number { position: absolute; left: 18px; top: 20px; }
  .topic-page .brand-faq details { padding: 18px; }
}
@media (max-width: 400px) {
  .topic-actions .btn { width: 100%; }
  .topic-page .topic-download { padding-inline: 12px; font-size: 13px; }
  .annual-nav-links a { font-size: 13px; }
}
