/* 守税宝官网样式——与小程序品牌色一致（shoushuibao/miniprogram/app.wxss） */
:root {
  --green-900: #123528;
  --green-700: #1b4332;
  --green-600: #2d6a4f;
  --green-100: #e8f1eb;
  --surface: #f7faf8;
  --gold: #b08a2e;
  --ink: #17262b;
  --ink-2: #5c6b64;
  --ink-3: #8a9993;
  --line: #dfe8e2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--surface);
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--green-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand img {
  display: block;
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.site-nav a {
  color: var(--ink-2);
  font-size: 15px;
}

.site-nav a[aria-current="page"] {
  color: var(--green-700);
  font-weight: 600;
}

/* ---------- 内容排版 ---------- */
main.wrap {
  padding-top: 32px;
  padding-bottom: 56px;
}

h1 {
  font-size: 26px;
  line-height: 1.4;
  color: var(--green-900);
  margin: 0 0 16px;
}

h2 {
  font-size: 21px;
  color: var(--green-900);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

h3 {
  font-size: 17px;
  color: var(--green-700);
  margin: 24px 0 8px;
}

.lead {
  font-size: 17px;
  color: var(--ink);
  background: var(--green-100);
  border-left: 4px solid var(--green-600);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 8px;
}

.section {
  margin-top: 8px;
}

/* ---------- 首页 hero ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.hero-text {
  flex: 1 1 380px;
}

.hero-img {
  flex: 0 1 320px;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.cta-box {
  display: inline-block;
  background: var(--green-700);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 8px;
}

/* ---------- 事实卡 / 步骤 / 时间线 ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.facts > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.facts dt {
  font-weight: 600;
  color: var(--green-700);
  font-size: 15px;
}

.facts dd {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.steps > li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.steps h3 {
  margin-top: 0;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  border-left: 3px solid var(--green-100);
}

.timeline > li {
  position: relative;
  padding: 0 0 20px 20px;
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green-600);
}

.tl-date {
  font-weight: 700;
  color: var(--green-700);
  margin: 0 0 4px;
}

/* ---------- FAQ ---------- */
.qa-list {
  margin-top: 16px;
}

.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 10px;
}

.qa h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.qa p {
  margin: 0 0 12px;
  color: var(--ink-2);
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

thead th {
  background: var(--green-100);
  color: var(--green-900);
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: none;
}

td.price {
  white-space: nowrap;
  font-weight: 600;
  color: var(--green-700);
}

/* ---------- 其他 ---------- */
.link-list {
  padding-left: 20px;
}

.link-list li {
  margin: 6px 0;
}

.more {
  font-weight: 600;
}

.notfound {
  padding-top: 80px;
  text-align: center;
}

.qr {
  text-align: center;
}

.qr img {
  border: 1px solid var(--line);
  border-radius: 12px;
}

.qr figcaption {
  color: var(--ink-3);
  font-size: 14px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #d7e5dc;
  padding: 28px 0;
  font-size: 14px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: #fff;
}

.site-footer .disclaimer {
  color: var(--ink-3);
}

.site-footer .copy {
  color: var(--ink-3);
}
