:root {
  color-scheme: light;
  --paper: #f9f7ef;
  --sheet: #ffffff;
  --ink: #16211c;
  --muted: #5f6f67;
  --line: #d8dfd5;
  --green: #2f7d57;
  --blue: #1d5d8c;
  --amber: #d69636;
  --soft-green: #e6f1e9;
  --soft-blue: #e5eef6;
  --shadow: 0 22px 60px rgba(21, 33, 28, 0.12);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(22, 33, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 33, 28, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  letter-spacing: 0;
}

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

img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(22, 33, 28, 0.1);
  background: rgba(249, 247, 239, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(255,255,255,.85) 43% 55%, transparent 56%),
    linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 10px 24px rgba(47,125,87,.22);
}

.brand-text { font-size: 1.05rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.site-footer a,
.inline-links a {
  border: 1px solid rgba(22, 33, 28, 0.16);
  border-radius: 6px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.66);
  color: #26362f;
  font-size: 0.94rem;
}

.site-nav a:hover,
.inline-links a:hover,
.site-footer a:hover {
  border-color: rgba(47, 125, 87, 0.45);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 33, 28, 0.18);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.ledger-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  min-height: 620px;
  padding: clamp(46px, 8vw, 92px) 0 54px;
}

.hero-copy {
  position: relative;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(22, 33, 28, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 12px auto auto 12px;
  width: 78px;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--blue));
}

.kicker {
  margin: 0 0 13px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: #33443c;
}

.hero-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  border: 1px solid rgba(22, 33, 28, 0.14);
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.hero-visual {
  margin: 0;
  border: 1px solid rgba(22, 33, 28, 0.16);
  background: #fff;
  padding: 12px;
  transform: rotate(0.6deg);
  box-shadow: var(--shadow);
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 11px 2px 1px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  padding: clamp(42px, 8vw, 76px) 0 28px;
  max-width: 820px;
}

.econ-board,
.route-ledger,
.download-note,
.plain-section,
.cta-band,
.split-text,
.client-grid,
.faq-list,
.route-table,
.article-index {
  margin: 34px 0;
}

.econ-board,
.route-ledger,
.download-note,
.plain-section,
.cta-band {
  border: 1px solid rgba(22, 33, 28, 0.14);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 18px 40px rgba(21, 33, 28, 0.08);
}

.budget-table {
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
}

.budget-table.wide { margin: 22px 0 46px; }

.table-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
}

.table-row span {
  min-width: 0;
  padding: 15px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.table-row span:last-child { border-right: 0; }
.table-row:last-child span { border-bottom: 0; }

.table-head span {
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.paper-grid,
.client-grid,
.faq-list,
.route-table,
.split-text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.client-grid,
.faq-list,
.route-table,
.split-text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paper-card,
.client-grid article,
.faq-list article,
.route-table article,
.split-text > div,
.article-row {
  border: 1px solid rgba(22, 33, 28, 0.14);
  background: rgba(255, 255, 255, 0.84);
  padding: 24px;
  box-shadow: 0 16px 34px rgba(21, 33, 28, 0.07);
}

.paper-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--soft-green);
  color: var(--green);
  font-weight: 900;
}

.paper-card p,
.client-grid p,
.faq-list p,
.route-table p,
.split-text p,
.article-row p { margin-bottom: 0; }

.client-grid a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.route-ledger {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
}

.route-ledger ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.route-ledger li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.route-ledger strong { color: var(--green); }
.route-ledger span { color: var(--muted); line-height: 1.65; }

.research-strip {
  margin: 54px 0;
}

.note-list,
.article-index {
  display: grid;
  gap: 12px;
}

.note-list a,
.article-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 8px 18px;
  align-items: start;
  border: 1px solid rgba(22, 33, 28, 0.14);
  background: rgba(255, 255, 255, 0.84);
  padding: 18px;
}

.note-list time,
.article-row time,
.article-row span {
  color: var(--green);
  font-weight: 800;
  font-size: 0.92rem;
}

.note-list span,
.article-row p {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.65;
}

.article-row {
  grid-template-columns: 126px 110px 1fr;
}

.article-row p { grid-column: 3; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 74px;
  background:
    linear-gradient(135deg, rgba(230, 241, 233, 0.92), rgba(229, 238, 246, 0.86)),
    #fff;
}

.article-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(46px, 8vw, 92px) 0 70px;
}

.article-page header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-page time {
  color: var(--green);
  font-weight: 800;
}

.article-page section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(22, 33, 28, 0.1);
}

.article-page p {
  font-size: 1.05rem;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
}

.article-links a {
  border: 1px solid rgba(22, 33, 28, 0.16);
  border-radius: 6px;
  background: #fff;
  padding: 11px 14px;
  font-weight: 800;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.78;
}

.prose ul { padding-left: 20px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(22, 33, 28, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 840px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 68px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(22, 33, 28, 0.14);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .ledger-hero,
  .route-ledger,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .ledger-hero {
    min-height: auto;
    padding-top: 36px;
  }
  .hero-visual { transform: none; }
  .paper-grid,
  .client-grid,
  .faq-list,
  .route-table,
  .split-text {
    grid-template-columns: 1fr;
  }
  .table-row {
    grid-template-columns: 1fr;
  }
  .table-row span {
    border-right: 0;
  }
  .note-list a,
  .article-row {
    grid-template-columns: 1fr;
  }
  .note-list span,
  .article-row p {
    grid-column: auto;
  }
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }
  .button { width: 100%; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 26px, 1180px);
  }
  .site-header {
    padding: 14px;
  }
  .hero-copy {
    padding: 26px 20px;
  }
  .hero-actions,
  .inline-links,
  .article-links {
    flex-direction: column;
  }
  .inline-links a,
  .article-links a {
    text-align: center;
  }
}