/* ============================================================
   杭州艺文报刊印务有限公司 · 全站样式
   设计取向：出版物气质的资料页，克制、清晰、耐看。
   层级：主标题 40 / 区块标题 24 / 卡片标题 17 / 正文 16
   ============================================================ */

:root {
  --brand: #8a2b2b;
  --brand-deep: #6f2020;
  --ink: #1a1d21;
  --ink-soft: #3d444c;
  --muted: #6b7480;
  --line: #e6e9ed;
  --line-soft: #f1f3f6;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --wrap: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- 页头 ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand:hover { text-decoration: none; }

.brand-mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.brand-text { display: block; min-width: 0; }

.brand-name {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--ink);
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
}

nav.site { margin-left: auto; display: flex; flex-wrap: wrap; gap: 26px; font-size: 15px; }
nav.site a { color: var(--ink-soft); letter-spacing: 0.02em; }
nav.site a:hover { color: var(--brand); text-decoration: none; }
nav.site a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 14px 0 -12px var(--brand);
}

/* ---------- 首屏 ---------- */

.hero {
  padding: 66px 0 54px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 780px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero p.hero-note {
  margin: 0;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 3px;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); text-decoration: none; }
.btn-ghost { border: 1px solid #d3d8de; color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ---------- 数据条 ---------- */

.factbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.factbar .wrap {
  display: flex;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}
.fact {
  flex: 1 1 180px;
  padding: 22px 26px 22px 0;
}
.fact + .fact { padding-left: 26px; border-left: 1px solid var(--line-soft); }
.fact strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.fact span { display: block; margin-top: 2px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- 区块 ---------- */

section { padding: 52px 0; border-bottom: 1px solid var(--line-soft); }

section h2 {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 14px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--ink);
}
section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--brand);
}

section h3 {
  margin: 30px 0 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

section p { margin: 0 0 14px; }

/* ---------- 卡片 ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; }

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 24px 22px;
  background: var(--surface);
}
.card h3 { margin: 0 0 10px; font-size: 17px; }
.card h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  margin-right: 9px;
  vertical-align: -1px;
  background: var(--brand);
}
.card p { margin: 0; font-size: 15px; line-height: 1.8; }

/* ---------- 列表 ---------- */

ul.plain, ol.plain { padding-left: 22px; margin: 0 0 14px; }
ul.plain li, ol.plain li { margin: 8px 0; }

/* ---------- 表格 ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}
th, td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
th {
  background: var(--surface-soft);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
td strong { color: var(--ink); }

/* ---------- 问答 ---------- */

.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.faq-item h3 { margin: 0 0 10px; font-size: 18px; }
.faq-item p { margin: 0 0 10px; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- 提示块 ---------- */

.note {
  margin: 18px 0 0;
  padding: 14px 20px;
  background: #fbf6f6;
  border-left: 2px solid var(--brand);
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */

footer.site { padding: 38px 0 56px; font-size: 14px; color: var(--muted); }
footer.site p { margin: 0 0 6px; }
footer.site p:first-child { color: var(--ink); font-weight: 600; letter-spacing: 0.03em; }

/* ---------- 待填占位（对外发布前应为 0 处） ---------- */

.todo { background: #fff6d6; border-bottom: 1px dashed #d9a300; padding: 0 2px; }

/* ---------- 响应式 ---------- */

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 38px; }
  .hero h1 { font-size: 27px; line-height: 1.35; }
  .hero-lead { font-size: 16px; }
  .eyebrow { margin-bottom: 14px; letter-spacing: 0.12em; }
  section { padding: 38px 0; }
  section h2 { font-size: 20px; margin-bottom: 20px; }
  .brand-name { font-size: 16px; }
  .brand-mark { flex-basis: 38px; width: 38px; height: 38px; font-size: 13px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.1em; }
  nav.site { width: 100%; margin-left: 0; gap: 18px; font-size: 14px; }
  .fact { flex: 1 1 100%; padding: 16px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  table { font-size: 14px; }
  th, td { padding: 11px 10px; }
}
