:root {
  --brand: #2f6fed;
  --brand-dark: #1f4fc4;
  --brand-soft: #eaf1ff;
  --accent: #16b58a;
  --text: #1f2733;
  --text-soft: #5b6675;
  --bg: #f6f8fb;
  --line: #e6eaf0;
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}
.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-soft); font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #2f6fed 0%, #16b58a 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: .92; max-width: 620px; }
.hero-search {
  margin-top: 28px;
  display: flex;
  max-width: 560px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 999px;
  color: var(--text);
}
.hero-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.hero-search button:hover { background: var(--brand-dark); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; margin-bottom: 8px; }
.section-title p { color: var(--text-soft); font-size: 15px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,39,51,.08); }
.card .ic { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 14px; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- Inner page ---------- */
.page-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.page-head h1 { font-size: 28px; }
.page-head p { color: var(--text-soft); margin-top: 6px; }
.page-body { padding: 48px 0; }
.page-body h2 { font-size: 20px; margin: 28px 0 12px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li { color: var(--text-soft); font-size: 15px; }
.page-body ul { padding-left: 22px; margin: 8px 0; }
.page-body li { margin: 6px 0; }
.info-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { width: 96px; color: var(--text); font-weight: 600; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1c2530;
  color: #b9c2cf;
  padding: 36px 0 28px;
  margin-top: 20px;
  font-size: 13px;
}
.footer-inner { text-align: center; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: #cdd5df; }
.footer-links a:hover { color: #fff; }
.footer-beian { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-beian a { color: #9fb0c4; border: 1px solid #38434f; border-radius: 6px; padding: 4px 10px; display: inline-flex; align-items: center; gap: 5px; }
.footer-beian a:hover { color: #fff; border-color: #5a6b7d; }
.beian-gov-icon { height: 15px; width: 15px; display: block; border: 0; }
.copyright { color: #8b97a6; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:nth-child(n+4) { display: none; }
  .hero h1 { font-size: 30px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
