:root {
  --ink: #151b1e;
  --muted: #5d686e;
  --paper: #f7f2e8;
  --paper-2: #fffaf1;
  --line: #d8cdb9;
  --green: #285a4b;
  --green-2: #dce8df;
  --red: #a03d2f;
  --gold: #c18a2b;
  --blue: #2f5f80;
  --shadow: 0 20px 55px rgba(29, 36, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 27, 30, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 27, 30, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

.site-header {
  min-height: 88vh;
  background:
    linear-gradient(135deg, rgba(40, 90, 75, 0.95), rgba(21, 27, 30, 0.9)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 14px);
  color: #fff8e9;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.brand {
  color: #fff8e9;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255,255,255,0.84);
  font-size: 14px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: center;
  padding: 76px 0 96px;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-actions,
.page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  font-weight: 700;
}

.button.primary {
  color: #fff8e9;
  background: var(--red);
  border-color: var(--red);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.axis-card {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  padding: 22px;
  backdrop-filter: blur(8px);
}

.axis-number {
  color: #f1be58;
  font-weight: 900;
}

.axis-card h2 {
  margin: 8px 0;
  font-size: 24px;
}

.axis-card p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.section.band {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: rgba(255,250,241,0.72);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.page-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p:last-child,
.page-title p {
  color: var(--muted);
  font-size: 17px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.map-item,
.content-card,
.study-card,
.split-layout article,
.source-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
}

.map-item.strong {
  background: var(--green);
  color: #fff8e9;
}

.map-item.strong a {
  color: #f4c96e;
}

.map-item.muted {
  background: var(--green-2);
}

.map-item h3,
.timeline h3,
.content-card h3,
.study-card h3,
.split-layout h3,
.source-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.map-item p,
.content-card p,
.study-card p,
.source-card p {
  color: var(--muted);
}

.map-item.strong p {
  color: rgba(255,255,255,0.84);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline article {
  background: var(--paper-2);
  padding: 24px;
}

.timeline span {
  color: var(--red);
  font-weight: 800;
}

.law-table {
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.law-row {
  display: grid;
  grid-template-columns: 90px 1.2fr 2fr 110px;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.law-row:first-child {
  border-top: 0;
}

.law-row.head {
  background: var(--green);
  color: #fff8e9;
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.clean-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.footer {
  padding: 28px 16px;
  text-align: center;
  background: var(--ink);
  color: rgba(255,255,255,0.7);
}

.page-header {
  background: var(--green);
  color: #fff8e9;
}

.page-title {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 70px;
}

.page-title p {
  color: rgba(255,255,255,0.78);
  max-width: 780px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.study-list {
  display: grid;
  gap: 14px;
}

.study-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
}

.study-card .tag {
  color: var(--red);
  font-weight: 900;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.note-box {
  border-left: 6px solid var(--red);
  background: #fff1e7;
  padding: 18px 22px;
  color: #4d3029;
}

.question-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.question-list li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 14px 16px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px;
}

.article-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: #fff7e8;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.article-card dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.article-card dt {
  color: var(--green);
  font-weight: 900;
}

.article-card dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.scenario-shell {
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  padding: 22px;
}

.scenario-shell h3,
.step-card h3,
.check-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.scenario-grid,
.step-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scenario-shell p,
.step-card p,
.check-card p {
  color: var(--muted);
}

.step-card,
.check-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}

.step-no {
  color: var(--red);
  font-weight: 900;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 6px;
}

.mini-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: #fff6e4;
  color: #5d4d2f;
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .split-layout,
  .content-grid,
  .content-grid.two,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    padding: 18px 0;
    flex-direction: column;
  }

  .hero {
    padding-top: 44px;
  }

  .map-grid,
  .timeline,
  .article-grid,
  .scenario-grid,
  .step-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .law-row {
    grid-template-columns: 1fr;
  }

  .law-row.head {
    display: none;
  }

  .study-card {
    grid-template-columns: 1fr;
  }
}
