/* 第5套 web：编辑部紫 · 双栏时间线 */
:root {
  --paper: #f8f5ff;
  --card: #ffffff;
  --ink: #1e1233;
  --muted: #5b5270;
  --line: #e4d9f5;
  --violet: #5b21b6;
  --violet-2: #7c3aed;
  --violet-soft: #ede6fb;
  --serif: Georgia, "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.82;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-2); text-decoration: underline; }

h1, h2, h3, .brand, .kicker, .rail-title, .quote-who {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); line-height: 1.32; }
h2 { font-size: clamp(1.28rem, 2.1vw, 1.68rem); line-height: 1.38; margin-bottom: 14px; }
h3 { font-size: 1.08rem; margin: 18px 0 8px; }

.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.ribbon {
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--violet-2));
}

.site-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-head-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--violet);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand:hover { text-decoration: none; color: var(--violet-2); }

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  padding: 8px 14px 10px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
}
.nav a:hover { color: var(--violet); text-decoration: none; }
.nav a.active {
  color: var(--violet);
  border-bottom-color: var(--violet);
  font-weight: 700;
}

.hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  color: var(--violet);
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.hero .lead {
  margin-top: 16px;
  max-width: 46em;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--violet);
}

.btn:hover { text-decoration: none; }

.btn-solid {
  background: var(--violet);
  color: #fff;
}

.btn-solid:hover { background: var(--violet-2); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--violet);
}

.btn-ghost:hover { background: var(--violet-soft); }

.btn.is-loading { opacity: 0.72; pointer-events: none; }

.band { padding: 48px 0; border-bottom: 1px solid var(--line); }
.band.tint { background: #fff; }

.split {
  display: grid;
  grid-template-columns: 1.65fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.prose p { margin-bottom: 14px; color: #332646; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 14px; color: #332646; }
.prose li { margin-bottom: 6px; }

.rail {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--violet);
  padding: 20px 20px 16px;
}

.rail-title {
  font-size: 15px;
  color: var(--violet);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.rail ol { padding-left: 1.2em; color: var(--muted); font-size: 14.5px; }
.rail li { margin-bottom: 10px; }
.rail p { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }

.timeline { position: relative; padding-left: 28px; margin: 20px 0 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--violet), #c4b5fd);
}

.tl {
  position: relative;
  padding-bottom: 22px;
}

.tl:last-child { padding-bottom: 0; }

.tl::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--violet-2);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--violet-soft);
}

.tl h3 { margin-top: 0; color: var(--violet); }
.tl p { color: #332646; }

.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.voice {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 18px 14px;
}
.voice p { color: #332646; font-size: 15px; }
.quote-who { margin-top: 12px; font-size: 13.5px; color: var(--violet); }
.quote-who span { display: block; color: var(--muted); font-family: var(--sans); font-weight: 400; margin-top: 2px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 14px;
  text-align: center;
}

.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--violet);
}

.metric span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.cmp { width: 100%; border-collapse: collapse; background: #fff; margin: 16px 0 8px; }
.cmp th, .cmp td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: 15px; }
.cmp th { background: var(--violet); color: #fff; font-weight: 600; }
.cmp td.hl { color: var(--violet); font-weight: 700; }

.faq-item { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.faq-item h3 { color: var(--violet); margin-top: 0; }
.faq-item p { color: #332646; }

.site-foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.site-foot a { margin-right: 14px; }
.site-foot p { margin-bottom: 8px; }
.foot-nav { margin-bottom: 14px; }

@media (max-width: 880px) {
  .split, .voices, .metrics { grid-template-columns: 1fr; }
  .site-head-inner { flex-direction: column; align-items: flex-start; padding: 12px 0; min-height: 0; }
  h1 { font-size: 1.55rem; }
}
