/* 第4套 cn：卡片栅格，先平台后功能 */
html { scroll-behavior: auto; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: #1a1f29;
  background: #eef1f6;
  font: 16px/1.78 "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: #c2410c; }
a:hover { color: #9a3412; }
:focus-visible { outline: 2px solid #c2410c; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 80; }

.bar {
  background: #fff;
  box-shadow: 0 1px 0 #d8dee8;
}
.bar-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  color: #1a1f29; text-decoration: none; font-weight: 800; font-size: 19px;
}
.brand svg { width: 28px; height: 28px; color: #c2410c; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: #334155; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; background: #eef1f6;
}
.nav a[aria-current="page"] { background: #c2410c; color: #fff; }

.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto 40px; }
.hero-card {
  margin: 22px 0 18px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 18px;
  box-shadow: 0 8px 24px rgba(26, 31, 41, 0.06);
}
.hero-card h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.3; }
.hero-card p { margin: 0 0 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 6px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px; border-radius: 12px;
  background: #c2410c; color: #fff; text-decoration: none; font-weight: 800;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: #9a3412; color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center;
  min-height: 46px; padding: 0 16px; border-radius: 12px;
  background: #fff4ed; color: #9a3412; text-decoration: none; font-weight: 800;
}

.block { margin: 8px 0 22px; }
.block h2 { margin: 0 0 12px; font-size: 24px; }
.block > p { margin: 0 0 12px; }
.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 14px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 8px;
  box-shadow: 0 6px 18px rgba(26, 31, 41, 0.05);
}
.card h3 { margin: 8px 0; font-size: 17px; }
.card svg { width: 26px; height: 26px; color: #c2410c; }
.card .btn, .card .btn-ghost { width: 100%; justify-content: center; margin: 6px 0 10px; }
.faq details { background: #fff; border-radius: 12px; padding: 6px 16px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 8px 0; }
table.soft { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.soft th, table.soft td { padding: 10px 12px; border-bottom: 1px solid #e5e9f0; text-align: left; }

.foot { background: #1a1f29; color: #d6dbe3; padding: 24px 0; font-size: 14px; }
.foot-inner { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.foot p { margin: 0 0 8px; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .bar-inner { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .hero-card h1 { font-size: 24px; }
}
