:root {
  --bg: #fffaf3;
  --alt: #fdf1e3;
  --ink: #3d2c23;
  --muted: #8a7466;
  --brand: #e07a3f;
  --brand-dark: #c05f27;
  --card: #ffffff;
  --line: #f0dcc7;
  --ok-bg: #eef7ee;
  --ok-ink: #2f6b39;
  --warn-bg: #fff4dd;
  --warn-ink: #8a6116;
  --danger-bg: #fdeaea;
  --danger-ink: #a03030;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
}

.brand {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}

.links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; }
.links a:hover { color: #fff; }

.hero {
  background: linear-gradient(135deg, #e8894f 0%, #d96a35 55%, #b95326 100%);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) 0;
}

.kicker {
  letter-spacing: .25em;
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero .sub {
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 2rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4rem);
}

.section.alt { background: var(--alt); }

.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: .6rem;
}

.num {
  color: var(--brand);
  font-size: .8em;
  vertical-align: middle;
  margin-right: .5rem;
  font-variant-numeric: tabular-nums;
}

.section > p { color: var(--muted); margin-bottom: 1.8rem; }

.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(160,90,40,.12); }

.card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .93rem; }

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: .95rem;
}

.table th, .table td { padding: .8rem 1rem; text-align: left; }
.table thead th { background: var(--brand); color: #fff; font-weight: 600; }
.table tbody tr + tr td { border-top: 1px solid var(--line); }
.table tbody tr:nth-child(even) { background: var(--bg); }

.callout {
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-top: 1.4rem;
  font-size: .95rem;
}
.callout.ok { background: var(--ok-bg); color: var(--ok-ink); }
.callout.warn { background: var(--warn-bg); color: var(--warn-ink); }
.callout.danger { background: var(--danger-bg); color: var(--danger-ink); }

.list { list-style: none; display: grid; gap: .7rem; }
.list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1.2rem;
}

.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: .7rem;
}

.checklist li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1.2rem .85rem 2.6rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 10px;
  height: 16px;
  border-right: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: translateY(-65%) rotate(45deg);
}

.timeline {
  list-style: none;
  position: relative;
  margin-left: .5rem;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4rem;
  bottom: .4rem;
  width: 3px;
  background: var(--line);
  border-radius: 3px;
}

.timeline li {
  position: relative;
  margin-bottom: 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1.2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translate(-38%, -50%);
  background: var(--brand);
  border: 3px solid var(--bg);
  outline: 2px solid var(--brand);
  border-radius: 50%;
}

.timeline .when {
  display: inline-block;
  min-width: 4.6rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-right: .8rem;
  font-variant-numeric: tabular-nums;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: .7rem;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details p { margin-top: .6rem; color: var(--muted); }

footer {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  color: var(--muted);
  font-size: .9rem;
}

footer .muted { opacity: .7; margin-top: .3rem; }

@media (max-width: 640px) {
  .table thead { display: none; }
  .table tbody tr { display: block; border-top: 1px solid var(--line); }
  .table tbody td { display: block; border: none; padding: .35rem 1rem; }
  .table tbody td:first-child { padding-top: .8rem; font-weight: 700; }
  .timeline .when { display: block; margin-bottom: .15rem; }
}
