/* 咨询有道 · 模块落地页（/site/:id）样式，独立自包含 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #172033;
  --muted: #5b6478;
  --line: #e7e9f2;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --bg: #f6f7fb;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }

.sp-header {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: var(--brand);
}
.sp-crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.sp-crumb a:hover { color: var(--brand); }

.sp-main {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 46px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.sp-cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: #eef0fe;
  border-radius: 999px;
  padding: 4px 14px;
}
.sp-main h1 {
  font-size: 34px;
  margin: 16px 0 12px;
  letter-spacing: .5px;
}
.sp-desc { font-size: 16px; color: #3a4358; }
.sp-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sp-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(79, 70, 229, .34); }
.sp-back { color: var(--muted); font-size: 14px; }
.sp-back:hover { color: var(--brand); }

.sp-others {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 26px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.sp-others h2 { font-size: 16px; margin-bottom: 14px; }
.sp-others ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sp-others li a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color .15s ease, color .15s ease;
}
.sp-others li a:hover { border-color: var(--brand); color: var(--brand); }
.sp-others li a span { font-weight: 400; font-size: 12px; color: var(--muted); }

.sp-footer {
  max-width: 860px;
  margin: 30px auto;
  padding: 0 20px 30px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .sp-main { padding: 32px 22px; margin: 16px 14px 0; border-radius: 14px; }
  .sp-main h1 { font-size: 26px; }
  .sp-others { margin: 16px 14px 0; padding: 20px; }
  .sp-header { padding: 16px 18px 0; }
}
