:root {
  --ink: #15211b;
  --muted: #6b766e;
  --paper: #fbf7f1;
  --ivory: #fffaf3;
  --sage: #789176;
  --moss: #263f34;
  --clay: #b97762;
  --hot: #e14e45;
  --deep: #101812;
  --ice: #dfe9e3;
  --rose: #f2c0c4;
  --line: rgba(21, 33, 27, 0.14);
  --shadow: 0 26px 70px rgba(30, 43, 34, 0.18);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #101812 0%, #1a261f 260px, #fff7f1 520px, #edf5ee 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(128px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 250, 243, 0.14);
  background: rgba(16, 24, 18, 0.9);
  backdrop-filter: blur(18px);
}
.brand { display: inline-grid; width: fit-content; gap: 4px; }
.brand span { color: var(--ivory); font-size: 34px; line-height: 1; font-weight: 900; }
.brand small { color: rgba(255, 250, 243, 0.66); font-size: 12px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nav-links a, .header-cta, .btn {
  min-height: 40px;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease;
}
.nav-links a { display: inline-flex; align-items: center; padding: 0 14px; color: rgba(255,250,243,.84); font-size: 14px; }
.nav-links a:hover { background: rgba(255,250,243,.13); transform: translateY(-2px); }
.header-cta { justify-self: end; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: var(--ivory); background: var(--hot); font-size: 14px; font-weight: 800; }
.resource-page { min-height: 100vh; }
.resource-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
  color: var(--ivory);
  background:
    linear-gradient(112deg, transparent 0 48%, rgba(225, 78, 69, 0.14) 48% 54%, transparent 54% 100%),
    radial-gradient(ellipse at 78% 42%, rgba(242, 192, 196, 0.13), transparent 38%),
    linear-gradient(135deg, #101812 0%, #1d2a22 54%, #0d120f 100%);
}
.article-hero { min-height: 480px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--clay); font-size: 13px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
.resource-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
  color: #fffaf3;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  font-weight: 900;
}
.hero-lead { max-width: 740px; color: rgba(255,250,243,.78); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 136px; padding: 0 22px; border: 1px solid rgba(255,250,243,.28); font-weight: 800; }
.btn.primary { color: var(--ivory); border-color: var(--hot); background: var(--hot); }
.btn.ghost { color: var(--ivory); background: rgba(255,250,243,.1); }
.hero-visual { align-self: center; margin: 0; border: 1px solid rgba(255,250,243,.18); border-radius: var(--radius); overflow: hidden; background: #fff7f0; box-shadow: 0 26px 80px rgba(0,0,0,.34); transform: rotate(1.5deg); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.hero-visual figcaption { padding: 13px 16px; color: var(--ivory); background: rgba(21,33,27,.9); font-weight: 800; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.article-meta span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border: 1px solid rgba(255,250,243,.2); border-radius: 999px; color: rgba(255,250,243,.82); font-size: 13px; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; max-width: 1180px; margin: 24px auto 0; padding: 0 18px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--moss); font-weight: 800; }
.proof-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 1180px; margin: -24px auto 0; padding: 0 18px; position: relative; z-index: 3; }
.proof-strip article { padding: 24px; background: rgba(255,250,243,.94); border: 1px solid var(--line); }
.proof-strip strong { display: block; color: var(--hot); font-size: 40px; line-height: 1; }
.proof-strip span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.6; }
.resource-list { max-width: 1180px; margin: 0 auto; padding: 70px 18px 90px; }
.resource-list h2 { margin-bottom: 26px; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.resource-card, .related-card { display: grid; gap: 12px; min-height: 260px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,250,243,.9); box-shadow: 0 18px 48px rgba(30,43,34,.08); }
.resource-card:hover, .related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.resource-card span, .related-card span { color: var(--clay); font-size: 13px; font-weight: 900; }
.resource-card strong, .related-card strong { font-size: 24px; line-height: 1.18; }
.resource-card p, .related-card small { color: var(--muted); line-height: 1.75; }
.article-shell { display: grid; grid-template-columns: 240px minmax(0, 800px); gap: 44px; align-items: start; max-width: 1180px; margin: 34px auto 0; padding: 0 18px 90px; }
.toc { position: sticky; top: 96px; display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,250,243,.86); }
.toc strong { margin-bottom: 4px; }
.toc a { color: var(--muted); font-size: 14px; line-height: 1.45; }
.toc .toc-l3 { padding-left: 12px; }
.article-body { min-width: 0; padding: clamp(26px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,250,243,.94); box-shadow: 0 24px 72px rgba(30,43,34,.09); }
.article-body h2 { margin: 44px 0 14px; font-size: 34px; line-height: 1.18; color: var(--moss); }
.article-body h3 { margin: 28px 0 10px; font-size: 22px; color: var(--ink); }
.article-body p, .article-body li { color: #334038; font-size: 17px; line-height: 1.86; }
.article-body a { color: #a95035; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.answer-block { margin: 24px 0; padding: 18px 20px; border-left: 5px solid var(--hot); background: #fff1e9; color: #24332b; font-size: 18px; line-height: 1.75; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.6; }
th { background: #edf3ed; color: var(--moss); font-weight: 900; }
tr:nth-child(even) td { background: #fff8f2; }
.visual-proof { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, .9fr); gap: 24px; align-items: center; margin: 44px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #eef5ee; }
.visual-proof h2 { margin-top: 0; }
.visual-proof img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-cta { margin-top: 50px; padding: 28px; border-radius: var(--radius); color: var(--ivory); background: linear-gradient(135deg, #20372d, #101812); }
.article-cta h2 { color: var(--ivory); margin-top: 0; }
.article-cta p { color: rgba(255,250,243,.76); }
.related { margin-top: 46px; }
.related h2 { font-size: 30px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { min-height: 210px; padding: 18px; }
.related-card strong { font-size: 18px; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { grid-column: 1 / -1; justify-content: start; }
  .resource-hero, .article-shell, .visual-proof { grid-template-columns: 1fr; }
  .toc { position: static; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip { grid-template-columns: 1fr; margin-top: 0; }
}
@media (max-width: 620px) {
  .site-header { grid-template-columns: 1fr; padding: 10px 14px; }
  .brand span { font-size: 26px; }
  .header-cta { display: none; }
  .nav-links { flex-wrap: nowrap; overflow-x: auto; }
  .resource-hero { padding: 34px 16px; }
  .hero-visual { transform: none; }
  .resource-grid, .related-grid { grid-template-columns: 1fr; }
  .article-body { padding: 22px 18px; }
  .article-body h2 { font-size: 28px; }
}
