/* 淡黄色 + 企业风模板 */
:root {
  --bg: #faf8f2;
  --bg-alt: #f5f2e8;
  --panel: #ffffff;
  --text: #2c2c2c;
  --muted: #5c5c5c;
  --line: #e5e2d9;
  --accent: #8b6914;
  --accent-soft: #c9a82a;
  --header-bg: #ffffff;
  --footer-bg: #ebe8df;
  --max: 1140px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* 顶部导航 - 企业风白底 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  object-fit: cover;
}
.brand-title { font-size: 18px; font-weight: 700; color: var(--text); }
.brand-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
}
.nav-toggle:hover { background: var(--bg-alt); }
.menu { display: flex; gap: 28px; flex-wrap: wrap; }
.menu a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}
.menu a:hover,
.menu a.active { color: var(--accent); }

/* 抽屉 */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .25s;
}
.drawer-overlay.is-open { display: block; opacity: 1; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  width: min(300px, 88vw);
  height: 100%;
  background: var(--panel);
  box-shadow: -4px 0 16px rgba(0,0,0,.08);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.drawer.is-open { transform: translateX(0); }
.drawer-inner { padding: 24px 20px 32px; }
.drawer .brand { padding: 8px 0 20px; border-bottom: 1px solid var(--line); }
.drawer .brand img { width: 44px; height: 44px; }
.drawer .brand-title { font-size: 16px; }
.drawer .brand-sub { font-size: 12px; }
.drawer .menu {
  flex-direction: column;
  gap: 0;
  padding: 16px 0 0;
}
.drawer .menu a {
  display: block;
  padding: 12px 10px;
  font-size: 15px;
  border-radius: var(--radius);
  color: var(--text);
}
.drawer .menu a:hover { background: var(--bg-alt); }
.drawer .menu a.active {
  background: #f8f4e8;
  color: var(--accent);
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: 7px;
}
.drawer .nav-divider { margin: 12px 0; height: 1px; background: var(--line); }

/* 首屏 - 企业风 */
.hero {
  padding: 40px 0 36px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  background: #faf6eb;
  font-size: 12px;
  font-weight: 600;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 14px 0 12px;
  color: var(--text);
  font-weight: 700;
}
.hero p.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn.primary:hover { background: #7a5d10; border-color: #7a5d10; color: #fff; }
.btn.secondary { background: var(--bg-alt); }
.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: auto; display: block; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: var(--radius);
}
.metric b { display: block; font-size: 22px; color: var(--accent); }
.metric span { font-size: 13px; color: var(--muted); }

/* 区块 */
.section { padding: 36px 0; }
.section h2 {
  font-size: 24px;
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 700;
}
.section p.intro { color: var(--muted); max-width: 720px; font-size: 15px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* 图文区块 */
.feature {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}
.feature-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
}
.list { display: grid; gap: 12px; margin-top: 14px; }
.list-item {
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.list-item strong { display: block; margin-bottom: 4px; color: var(--text); }
.list-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* 文章卡片 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article .body { padding: 18px; }
.article h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.article h3 a { color: var(--text); }
.article h3 a:hover { color: var(--accent); }
.article p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: #f8f4e8;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.faq-item h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text); }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* 页脚 - 企业风 */
.footer {
  margin-top: 48px;
  padding: 32px 0 40px;
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
}
.footer h4 { margin: 0 0 12px; color: var(--text); font-size: 15px; font-weight: 600; }
.footer a { display: block; margin: 6px 0; color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer p { margin: 0; line-height: 1.6; }

/* 内页 */
.page-hero { padding: 36px 0 24px; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.crumb a { color: var(--accent); }
.content { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
.prose {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.prose h1 { font-size: 26px; line-height: 1.3; margin: 8px 0 12px; font-weight: 700; color: var(--text); }
.prose h2 { font-size: 20px; margin-top: 24px; font-weight: 600; color: var(--text); }
.prose p, .prose li { color: var(--muted); line-height: 1.7; font-size: 15px; }
.prose .meta { color: var(--muted); margin-bottom: 16px; font-size: 13px; }
.aside { display: grid; gap: 16px; }
.sidebox {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.sidebox h3 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.sidebox p, .sidebox li { color: var(--muted); font-size: 14px; }
.prose .article-body { margin-top: 12px; }

@media (max-width: 980px) {
  .hero-grid, .feature, .content, .footer-grid { grid-template-columns: 1fr; }
  .cards, .article-grid, .faq { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .topbar .menu { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-title { font-size: 16px; }
}
@media (max-width: 680px) {
  .menu { gap: 14px; font-size: 14px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 24px; }
  .cards, .article-grid, .faq, .metrics { grid-template-columns: 1fr; }
  .section h2 { font-size: 20px; }
  .prose h1 { font-size: 22px; }
}
