:root {
  --ink: #17221d;
  --muted: #63716a;
  --paper: #f5f5ef;
  --panel: #fffefa;
  --line: #d9ded6;
  --green: #1f7a4d;
  --deep-green: #164e36;
  --teal: #087987;
  --orange: #b36b00;
  --red: #a63d32;
  --blue: #2857a5;
  --shadow: 0 10px 28px rgba(23, 34, 29, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: var(--teal); text-decoration-thickness: 1px; }
code {
  background: #edf1eb;
  border: 1px solid #d7ddd5;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: .88em;
}
.site-header {
  background: var(--deep-green);
  color: #f7f8ef;
  border-bottom: 5px solid #c8d83c;
}
.header-inner, .page, .footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}
.header-inner { padding: 22px 0 18px; }
.brandline { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.brand { font-weight: 800; letter-spacing: .04em; font-size: 15px; }
.brand small { display: block; font-weight: 400; opacity: .72; letter-spacing: 0; margin-top: 2px; }
.eyebrow { color: #c8d83c; text-transform: uppercase; font-size: 12px; letter-spacing: .13em; font-weight: 800; }
.site-nav { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 19px; }
.site-nav a {
  color: #dce8df;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 3px;
}
.site-nav a.active, .site-nav a:hover { color: var(--deep-green); background: #d7e984; border-color: #d7e984; }
.page { padding: 38px 0 70px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: end; margin-bottom: 34px; }
h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: 0; }
h2 { margin: 0 0 15px; font-size: 28px; line-height: 1.15; }
h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.25; }
.lead { font-size: 18px; color: #37473f; max-width: 760px; }
.hero-note { border-left: 6px solid var(--green); background: var(--panel); padding: 20px; box-shadow: var(--shadow); }
.hero-note strong { display: block; font-size: 24px; line-height: 1.2; margin-bottom: 9px; }
.section { margin-top: 42px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 15px; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
.section-heading small { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); padding: 19px; box-shadow: 0 3px 10px rgba(23,34,29,.03); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.accent-green { border-top: 5px solid var(--green); }
.card.accent-blue { border-top: 5px solid var(--blue); }
.card.accent-orange { border-top: 5px solid var(--orange); }
.card.accent-red { border-top: 5px solid var(--red); }
.number { color: var(--green); font-size: 34px; font-weight: 800; line-height: 1; margin-bottom: 11px; }
.muted { color: var(--muted); }
.tag { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #eaf2ed; color: var(--deep-green); font-size: 12px; font-weight: 800; }
.callout { background: var(--deep-green); color: #f7f8ef; padding: 22px; border-left: 6px solid #c8d83c; }
.callout p:last-child { margin-bottom: 0; }
.formula { margin: 14px 0; background: #1b2821; color: #f7f8ef; padding: 18px 20px; border-radius: 4px; font-family: "Cascadia Mono", Consolas, monospace; overflow-x: auto; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.flow-step { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 16px; }
.flow-step:not(:last-child)::after { content: ">"; position: absolute; right: -14px; top: 38%; z-index: 2; color: var(--green); font-size: 22px; font-weight: 800; }
.flow-step strong { display: block; margin-bottom: 5px; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
th, td { padding: 12px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14px; }
th { background: #e9efe9; color: #3b4e42; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 10px 0 0; }
.checklist li { padding-left: 24px; position: relative; margin: 7px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.risk { color: var(--red); font-weight: 700; }
.good { color: var(--green); font-weight: 700; }
.warn { color: var(--orange); font-weight: 700; }
.timeline { display: grid; gap: 12px; }
.timeline-row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; }
.timeline-date { font-weight: 800; color: var(--green); border-right: 3px solid var(--green); padding: 13px 15px 13px 0; }
.timeline-content { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; }
.footer { background: #e8ece5; border-top: 1px solid var(--line); }
.footer-inner { padding: 18px 0 28px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
@media (max-width: 980px) {
  .hero, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 680px) {
  .header-inner, .page, .footer-inner { width: min(100% - 28px, 1240px); }
  .hero, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brandline { display: block; }
  .site-nav { gap: 5px; }
  .site-nav a { font-size: 11px; }
  .flow { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 0; }
  .timeline-date { border-right: 0; border-bottom: 3px solid var(--green); padding-right: 0; }
  table { display: block; overflow-x: auto; }
  th, td { white-space: nowrap; }
}
