/* 第4套：步骤驱动 · 紫调单栏时间线 */
:root {
  --violet: #3d1a6e;
  --grape: #6b3fa0;
  --lilac: #f6f0ff;
  --ink: #241536;
  --soft: #6a5a7a;
  --line: #ddd0ef;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--lilac);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.78;
}

.rail-head {
  background: linear-gradient(90deg, #3d1a6e, #6b3fa0);
  color: #fff;
}
.rail-head .box {
  width: min(800px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 18px;
}
nav.steps-nav a {
  color: #e8d9ff;
  text-decoration: none;
  margin-left: 14px;
  font-size: 14px;
}
nav.steps-nav a.current { color: #ffe27a; font-weight: 700; }

.timeline {
  width: min(800px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-left: 3px solid #c8b0e6;
  padding-left: 28px;
}
.hero-step { border-left: none; padding-left: 0; margin-left: -28px; }
.hero-step h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.lead { color: var(--soft); }

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 22px 18px;
  margin: 0 0 22px;
  border-radius: 0 10px 10px 0;
}
.step::before {
  content: attr(data-n);
  position: absolute;
  left: -44px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grape);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 28px;
}
.step h2 { margin: 0 0 10px; font-size: 20px; color: var(--violet); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grape);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  margin: 6px 6px 0 0;
}
.btn.pale { background: #fff; color: var(--violet); border: 1px solid var(--grape); }

ol.flow { padding-left: 20px; }
ol.flow li { margin: 8px 0; }
table.need {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.need th, table.need td { border: 1px solid var(--line); padding: 8px; }
table.need th { background: #efe6fb; }

.faq-list h3 { font-size: 16px; margin: 16px 0 6px; color: var(--violet); }
.faq-list p { margin: 0; color: var(--soft); }

footer {
  background: #241536;
  color: #e6d9f5;
  font-size: 13px;
  padding: 24px 0;
}
footer .box { width: min(800px, calc(100% - 28px)); margin: 0 auto; }
footer a { color: #ffd36a; }

@media (max-width: 640px) {
  .timeline { border-left: none; padding-left: 0; }
  .step::before { display: none; }
  .rail-head .box { flex-direction: column; align-items: flex-start; gap: 8px; }
}
