:root {
  --bg: #f6f8f5;
  --paper: #ffffff;
  --ink: #17211d;
  --muted: #59655f;
  --muted-2: #7a8781;
  --line: #d7dfd8;
  --navy: #173763;
  --navy-2: #254d75;
  --sage: #355f68;
  --gold: #b99245;
  --gold-soft: #f3ead8;
  --danger: #8d4732;
  --shadow: 0 18px 58px rgba(23, 33, 29, .09);
  --serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.sitebar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
}
.sitebar-inner {
  width: min(1180px, 100%);
  min-height: 70px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.15;
}
.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--navy); }

.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f2 100%);
}
.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 58px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 46px;
  align-items: center;
}
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 12px;
}
.breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.breadcrumbs span { color: var(--muted-2); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 700; letter-spacing: 0; }
h1 {
  margin: 0;
  max-width: 880px;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.18;
}
.hero-lead {
  margin: 22px 0 0;
  max-width: 880px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.btn.primary { background: var(--navy); color: #fff; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.hero-figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.hero-figure img { width: 100%; object-fit: contain; }
.hero-figure figcaption {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}

.summary-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.summary-item {
  min-height: 126px;
  padding: 20px;
  background: var(--paper);
}
.summary-item strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.08;
}
.summary-item span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 44px 24px 88px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 38px;
}
.toc {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 18px 16px;
  border-left: 3px solid var(--navy);
  background: rgba(255,255,255,.74);
}
.toc b {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.toc a:hover { color: var(--navy); }
.content { min-width: 0; }
.section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.section:first-child { padding-top: 0; }
.section-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.26;
}
.section h3 {
  margin: 26px 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}
.section p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}
.lede {
  color: #34423c !important;
  font-size: 18px !important;
  line-height: 1.95;
}
.note {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
}
.note strong {
  display: block;
  margin-bottom: 8px;
  color: #735723;
  font-size: 13px;
  letter-spacing: .08em;
}
.note p { color: #554b39; font-size: 15px; }
.grid-2, .grid-3 {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.card small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { font-size: 14.5px; line-height: 1.75; }
.figure {
  margin: 28px 0 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.figure img {
  width: 100%;
  object-fit: contain;
}
.figcaption {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}
.table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}
table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
th, td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
th {
  background: #f8faf7;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: .06em;
}
td {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
tbody tr:last-child td { border-bottom: 0; }
.redlines {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.redlines div {
  min-height: 154px;
  padding: 16px;
  border-top: 4px solid var(--danger);
  background: var(--paper);
}
.redlines b {
  display: block;
  margin-bottom: 8px;
  color: var(--danger);
  font-family: var(--serif);
  font-size: 17px;
}
.redlines span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.source-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.source-list li { margin: 8px 0; }
.source-list a { color: var(--navy); }
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 560px; }
  .summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell { grid-template-columns: 1fr; }
  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 3px solid var(--navy);
  }
  .toc b { grid-column: 1 / -1; }
  .redlines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .sitebar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }
  .hero-inner { padding: 32px 18px 24px; gap: 18px; }
  h1 { font-size: 28px; line-height: 1.24; }
  .hero-lead { font-size: 14.5px; line-height: 1.76; }
  .summary-strip {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }
  .shell { padding-left: 18px; padding-right: 18px; }
  .toc, .grid-2, .grid-3, .redlines { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .section h2 { font-size: 27px; }
  .section p { font-size: 15px; }
  table { min-width: 680px; }
}
