:root {
  --primary: #1565c0;
  --text: #1f2329;
  --muted: #646a73;
  --border: #e5e6eb;
  --bg: #f7f8fa;
  --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 18px; }
.brand-mark { width: 10px; height: 10px; border-radius: 3px; background: var(--primary); display: inline-block; }
.channel-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.channel-nav a { padding: 6px 12px; border-radius: 16px; text-decoration: none; color: var(--muted); font-size: 14px; }
.channel-nav a.active, .channel-nav a:hover { color: var(--primary); background: rgba(21, 101, 192, 0.08); }

main.container { padding: 24px 16px 48px; min-height: 60vh; }
.loading, .empty { color: var(--muted); padding: 48px 0; text-align: center; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card-cover { height: 160px; background: linear-gradient(135deg, #dbe7f5, #eef3f9); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 17px; font-weight: 600; text-decoration: none; color: var(--text); }
.card-title:hover { color: var(--primary); }
.card-summary { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; color: var(--muted); font-size: 13px; display: flex; gap: 12px; }

.detail { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 28px; }
.detail h1 { margin: 0 0 12px; font-size: 26px; }
.detail-meta { color: var(--muted); font-size: 13px; display: flex; gap: 16px; margin-bottom: 20px; }
.detail-content { font-size: 15px; line-height: 1.8; }
.detail-content p { margin: 0 0 12px; }
.detail-content h1, .detail-content h2, .detail-content h3 { margin: 20px 0 10px; line-height: 1.35; }
.detail-content ul, .detail-content ol { margin: 0 0 12px; padding-left: 22px; }
.detail-content blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 3px solid var(--primary); background: #f6f8fb; color: var(--muted); }
.detail-content img { max-width: 100%; border-radius: 8px; }
.detail-content pre, .detail-content code { background: #f4f6f9; border-radius: 6px; padding: 2px 6px; font-size: 13px; }
.detail-content a { color: var(--primary); }
.detail-cover { max-width: 100%; border-radius: 8px; margin-bottom: 20px; }
.back-link { display: inline-block; margin-bottom: 16px; color: var(--primary); text-decoration: none; font-size: 14px; }

.section-title { font-size: 18px; font-weight: 600; margin: 0 0 16px; }

.site-footer { border-top: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 13px; padding: 20px 0; margin-top: 24px; }
.site-footer .icp { margin-top: 4px; }

/* ---------- 营销站：品牌/产品官网视觉 ---------- */
:root {
  --primary-deep: #0b3a75;
  --primary-soft: #eef4fc;
  --ink: #172033;
  --ink-soft: #5c6678;
  --line: #e6e9ef;
  --paper: #fbfcfe;
}
.marketing-site { background: #fff; color: var(--ink); }
.marketing-site .container { max-width: 1160px; }
.marketing-site .site-header { background: rgba(255,255,255,.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(23,32,51,.08); }
.marketing-site .header-inner { height: 72px; }
.marketing-site .brand { font-size: 19px; letter-spacing: -.01em; }
.marketing-site .brand-mark { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, #1565c0, #21a3ff); }
.marketing-site .channel-nav a { font-size: 13px; color: #5c6678; }
.marketing-site .channel-nav a.active, .marketing-site .channel-nav a:hover { color: #0b3a75; background: #eef4fc; }
.header-cta { margin-left: auto; text-decoration: none; font-size: 13px; font-weight: 600; color: #fff; background: #1565c0; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.header-cta:hover { background: #0b3a75; }

.marketing-hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 82% 10%, rgba(33,163,255,.18), transparent 64%),
  radial-gradient(700px 420px at 8% 0%, rgba(21,101,192,.10), transparent 60%),
  linear-gradient(180deg, #f7faff 0%, #ffffff 100%); border-bottom: 1px solid #edf0f5; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-eyebrow, .section-kicker { font-size: 11px; letter-spacing: .18em; font-weight: 800; color: #1565c0; }
.hero-title { margin: 16px 0 18px; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; color: #111a2c; }
.hero-title span { color: #1565c0; }
.hero-sub { max-width: 540px; margin: 0 0 26px; color: #5c6678; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #1565c0, #0b3a75); box-shadow: 0 12px 26px rgba(21,101,192,.22); }
.btn-ghost { color: #0b3a75; background: #fff; border: 1px solid #ccd8e7; }
.btn-light { color: #0b3a75; background: #fff; box-shadow: 0 10px 24px rgba(6,35,75,.14); }
.hero-proof { display: flex; gap: 18px; margin-top: 26px; color: #7a8496; font-size: 12px; }
.hero-proof span::before { content: "✓"; color: #1565c0; font-weight: 800; margin-right: 6px; }
.hero-panel { position: relative; min-height: 420px; }
.panel-window { position: absolute; inset: 18px 26px 26px 10px; background: #fff; border: 1px solid #e2e8f2; border-radius: 22px; box-shadow: 0 30px 70px rgba(16,48,90,.16); padding: 24px; transform: rotate(1.2deg); }
.window-bar { display: flex; gap: 6px; margin-bottom: 28px; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dce3ee; display: block; }
.panel-kicker { font-size: 10px; letter-spacing: .16em; font-weight: 800; color: #8a95a8; }
.panel-title { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 24px; color: #172033; }
.panel-lines { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.panel-lines span { height: 8px; border-radius: 5px; background: #edf1f7; display: block; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.panel-grid div { background: #f6f9fd; border: 1px solid #e8eef7; border-radius: 12px; padding: 12px; text-align: center; }
.panel-grid b { display: block; font-size: 22px; color: #0b3a75; }
.panel-grid small { font-size: 10px; color: #7a8496; }
.metric-float { position: absolute; right: 0; bottom: 0; width: 172px; background: #0b3a75; color: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 18px 36px rgba(6,35,75,.24); transform: rotate(-2deg); }
.metric-float span { display: block; font-size: 10px; opacity: .7; }
.metric-float b { display: block; font-size: 24px; margin: 3px 0 1px; }
.metric-float small { font-size: 10px; opacity: .75; }

.trust-strip { border-bottom: 1px solid #edf0f5; background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 16px; }
.trust-inner span { color: #8a95a8; font-size: 12px; }
.trust-inner b { color: #7b8aa1; font-size: 12px; letter-spacing: .18em; font-weight: 800; }
.section { padding-top: 76px; padding-bottom: 76px; }
.section-soft { background: var(--paper); border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.18; letter-spacing: -.035em; color: #111a2c; }
.section-head p { max-width: 430px; margin: 0; color: #6b7587; font-size: 14px; line-height: 1.75; }
.section-link, .section-count { color: #1565c0; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { background: #fff; border: 1px solid #e6e9ef; border-radius: 18px; padding: 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #cfdcf1; box-shadow: 0 18px 40px rgba(18,48,90,.09); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-bottom: 20px; }
.feature-tone-0 { background: #eef4fc; color: #1565c0; }.feature-tone-1 { background: #eefbf7; color: #0f766e; }.feature-tone-2 { background: #fff5eb; color: #c2410c; }
.feature-card h3 { margin: 0 0 8px; font-size: 19px; color: #172033; }
.feature-card p { margin: 0; color: #6b7587; font-size: 13px; line-height: 1.7; min-height: 66px; }
.feature-link { display: inline-flex; gap: 6px; margin-top: 18px; color: #1565c0; font-size: 12px; font-weight: 700; }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.channel-tile { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #e6e9ef; border-radius: 16px; padding: 22px; text-decoration: none; color: #172033; min-height: 126px; transition: border-color .16s ease, transform .16s ease; }
.channel-tile:hover { border-color: #bcd0ea; transform: translateY(-2px); }
.channel-tile span { font-size: 18px; font-weight: 700; }
.channel-tile small { color: #7a8496; font-size: 12px; line-height: 1.6; }
.channel-tile b { position: absolute; right: 18px; bottom: 16px; color: #1565c0; }
.article-card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(18,48,90,.09); }
.marketing-site .card { border-radius: 16px; border-color: #e6e9ef; }
.marketing-site .card-cover { height: 180px; background: linear-gradient(135deg, #e9f1fc, #f7faff); color: #1565c0; }
.cover-glyph { font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #5f80ac; }
.card-kicker { font-size: 10px; letter-spacing: .12em; font-weight: 800; color: #1565c0; }
.article-card .card-title { font-size: 18px; line-height: 1.4; }
.article-card .card-summary { min-height: 42px; }
.stats-band { background: #0b3a75; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 38px; padding-bottom: 38px; }
.stats-grid div { text-align: center; }
.stats-grid b { display: block; font-size: 34px; letter-spacing: -.03em; }
.stats-grid span { font-size: 12px; opacity: .72; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(135deg, #0b3a75, #1565c0 60%, #21a3ff); border-radius: 24px; padding: 42px 48px; color: #fff; box-shadow: 0 26px 60px rgba(11,58,117,.22); }
.cta-panel h2 { margin: 10px 0 10px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; max-width: 560px; }
.cta-panel .section-kicker { color: #9fd4ff; }
.channel-hero { padding: 70px 0 42px; background: linear-gradient(180deg, #f6f9fd, #fff); border-bottom: 1px solid #edf0f5; }
.channel-hero h1 { margin: 12px 0 10px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; color: #111a2c; }
.channel-hero p { max-width: 640px; margin: 0; color: #6b7587; font-size: 15px; line-height: 1.8; }
.article-shell { max-width: 900px; padding-top: 52px; padding-bottom: 70px; }
.article-detail { background: #fff; }
.article-kicker { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: #1565c0; }
.article-detail h1 { margin: 12px 0 16px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.22; letter-spacing: -.035em; color: #111a2c; }
.article-meta { display: flex; gap: 16px; color: #8a95a8; font-size: 12px; margin-bottom: 28px; }
.article-cover { width: 100%; border-radius: 18px; margin-bottom: 28px; }
.article-content { color: #394456; font-size: 16px; line-height: 1.95; }
.article-content p { margin: 0 0 18px; }
.empty-state { padding: 58px 0; text-align: center; color: #8a95a8; border: 1px dashed #dce3ee; border-radius: 18px; background: #fbfcfe; }
.marketing-site .site-footer { margin-top: 0; padding: 34px 0; background: #0e1728; color: #aab5c7; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: center; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.footer-note { font-size: 11px; color: #7e8da5; margin-top: 4px; }
.footer-links { display: flex; gap: 18px; font-size: 12px; }
.footer-links a { color: #aab5c7; text-decoration: none; }
.footer-meta { font-size: 11px; color: #7e8da5; }
@media (max-width: 900px) {
  .hero-grid, .section-head, .cta-panel { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .hero-panel { min-height: 330px; width: 100%; }
  .feature-grid, .channel-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .marketing-site .header-inner { height: auto; align-items: flex-start; }
  .header-cta { display: none; }
  .feature-grid, .channel-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 30px 24px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero-grid { padding-top: 48px; padding-bottom: 48px; }
  .panel-window { inset: 0 0 20px 0; transform: none; }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; height: auto; padding: 10px 16px; gap: 8px; align-items: flex-start; }
  .detail { padding: 18px; }
}
