:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f1ec;
  --ink: #25231f;
  --muted: #6b675f;
  --line: #ded9d0;
  --line-strong: #c9c2b7;
  --sage: #71806e;
  --sage-dark: #4d5d4b;
  --sage-darker: #3f4e3d;
  --sage-soft: #e8ede6;
  --clay: #a46f5e;
  --clay-dark: #815444;
  --clay-soft: #f4e8e2;
  --gold: #b48a46;
  --shadow: 0 18px 50px rgba(49, 43, 34, 0.08);
  --radius: 22px;
  --content: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(113, 128, 110, 0.10), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(164, 111, 94, 0.08), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--sage-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--clay-dark); }
button, summary { font: inherit; }
button:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--clay-dark); outline-offset: 3px;
}
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  background: var(--ink); color: white; padding: .7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.hero {
  border-bottom: 1px solid var(--line);
  padding: 74px 28px 58px;
}
.hero-inner { max-width: 1160px; margin: 0 auto; }
.confidential {
  display: inline-flex; margin: 0 0 18px; padding: 6px 10px; border-radius: 999px;
  background: var(--clay-soft); color: var(--clay-dark); font-size: .78rem; font-weight: 800;
}
.eyebrow {
  margin: 0 0 14px; color: var(--sage-dark); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero h1 {
  max-width: 860px; margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.045em;
  font-weight: 500;
}
.hero-lead {
  max-width: 760px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.document-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.document-meta strong { color: var(--ink); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 42px; max-width: 900px;
}
.stat { min-width: 0; background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat strong { display: block; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.stat span { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }

.executive {
  max-width: 1160px; margin: 0 auto; padding: 54px 28px 14px;
}
.executive-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(25px, 5vw, 48px);
}
.executive h2 {
  margin: 0; max-width: 820px; font: 500 clamp(2rem, 5vw, 3.5rem)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}
.executive-lead { max-width: 820px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.executive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.executive-item { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); padding: 18px; }
.executive-item-wide { grid-column: 1 / -1; background: var(--clay-soft); border-color: #e3cfc5; }
.executive-item strong { display: block; margin-bottom: 5px; color: var(--sage-dark); }
.executive-item p { margin: 0; color: #4c4943; }
.executive-next { margin: 20px 0 0; padding: 16px 18px; border-left: 4px solid var(--clay-dark); background: var(--clay-soft); border-radius: 0 12px 12px 0; }
.executive-next strong { color: var(--clay-dark); }
.decision-section { margin-top: 46px; padding-top: 38px; border-top: 1px solid var(--line); }
.decision-section > h3 {
  max-width: 850px; margin: 0; font: 500 clamp(1.6rem, 3.5vw, 2.45rem)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.022em;
}
.decision-section > p { max-width: 820px; color: var(--muted); }
.evidence-grid, .roles-grid, .outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.evidence-item, .role-item, .outcome-item { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); padding: 18px; }
.evidence-item strong { display: block; color: var(--clay-dark); font: 500 1.55rem/1.1 Georgia, serif; }
.evidence-item p, .role-item p, .outcome-item p { margin: 6px 0 0; color: #4c4943; }
.role-item strong, .outcome-item strong { display: block; color: var(--sage-dark); }
.roadmap { display: grid; gap: 0; margin-top: 22px; }
.roadmap-step { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.roadmap-step:last-child { border-bottom: 1px solid var(--line); }
.roadmap-step strong { color: var(--sage-dark); }
.roadmap-step p { margin: 0; color: #4c4943; }
.limits-box, .deal-box { margin-top: 22px; padding: 22px; border-radius: 16px; }
.limits-box { border: 1px solid #e3cfc5; background: var(--clay-soft); }
.deal-box { border: 1px solid #cfd8cc; background: var(--sage-soft); }
.limits-box h4, .deal-box h4 { margin: 0; color: var(--ink); font-size: 1.05rem; }
.limits-box p, .deal-box p { margin: 8px 0 0; color: #4c4943; }

.page-shell {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px;
  max-width: 1280px; margin: 0 auto; padding: 48px 28px 100px;
}
.sidebar { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; }
.sidebar-title { margin: 0 0 12px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.chapter-nav { display: grid; gap: 3px; }
.chapter-nav a {
  display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start;
  padding: 8px 9px; border-radius: 10px; color: var(--muted); text-decoration: none;
  font-size: .82rem; line-height: 1.35;
}
.chapter-nav a:hover, .chapter-nav a.active { background: var(--sage-soft); color: var(--sage-dark); }
.chapter-nav .num { font-weight: 800; color: var(--sage-dark); }

.main { min-width: 0; }
.mobile-nav { display: none; margin-bottom: 24px; }
.search-panel {
  max-width: var(--content); margin: 0 auto 24px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.search-panel label { display: block; font-weight: 800; color: var(--sage-dark); }
.search-row { display: flex; gap: 10px; margin-top: 8px; }
.search-row input[type="search"] {
  width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 9px 12px; background: white; color: var(--ink); font: inherit;
}
.search-option { display: flex !important; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted) !important; font-weight: 500 !important; }
.search-status { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.chapter-section[hidden] { display: none; }
.source-preamble, .chapter-section, .appendix-intro { max-width: var(--content); margin: 0 auto 18px; }
.appendix-intro { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.appendix-intro h2 { margin: 0; font: 500 clamp(1.65rem, 3vw, 2.3rem)/1.12 Georgia, serif; }
.appendix-intro p { margin: 10px 0 0; color: var(--muted); }
.source-preamble {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.source-preamble > summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.source-preamble > summary::-webkit-details-marker, .chapter-details > summary::-webkit-details-marker, .appendix-chapter > summary::-webkit-details-marker { display: none; }
.source-preamble > summary::after { content: "+"; font-size: 1.35rem; color: var(--sage-dark); }
.source-preamble[open] > summary::after { content: "–"; }
.source-preamble .source-content { border-top: 1px solid var(--line); padding: 24px; }

.chapter-section { scroll-margin-top: 20px; }
.appendix-chapter { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 24px rgba(49, 43, 34, 0.05); overflow: clip; }
.appendix-summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 42px minmax(0, 1fr) 24px; gap: 12px; align-items: start; padding: 18px 20px; color: var(--ink); font-weight: 750; line-height: 1.38; }
.appendix-summary::after { content: "+"; color: var(--sage-dark); font-size: 1.3rem; line-height: 1; }
.appendix-chapter[open] > .appendix-summary { background: var(--sage-soft); }
.appendix-chapter[open] > .appendix-summary::after { content: "–"; }
.appendix-number { color: var(--sage-dark); font-weight: 850; }
.appendix-content { padding: 12px; border-top: 1px solid var(--line); }
.chapter-brief {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: clamp(24px, 5vw, 44px); box-shadow: none;
}
.chapter-brief::before {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -90px; top: -90px; background: var(--sage-soft);
}
.chapter-kicker { margin: 0 0 9px; color: var(--sage-dark); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.chapter-brief h2 {
  position: relative; margin: 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.028em; font-weight: 500;
}
.brief-lead { max-width: 790px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.brief-lead p { margin: 0; }
.brief-lead p + p { margin-top: .8rem; }
.brief-basis {
  max-width: 820px; margin-top: 20px; padding: 15px 17px; border-left: 4px solid var(--clay);
  border-radius: 0 12px 12px 0; background: var(--clay-soft);
}
.brief-basis-label { margin: 0 0 5px; color: var(--clay-dark); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.brief-card { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); padding: 17px 18px; }
.brief-card-wide { grid-column: 1 / -1; }
.brief-label { margin: 0 0 6px; color: var(--sage-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brief-copy { color: #4c4943; font-size: .96rem; }
.brief-copy p { margin: 0; }
.brief-copy p + p, .brief-copy ul + p, .brief-copy ol + p { margin-top: .75rem; }
.brief-copy ul, .brief-copy ol { margin: .15rem 0 0; padding-left: 1.25rem; }
.brief-copy li + li { margin-top: .4rem; }
.brief-copy a { color: var(--sage-darker); font-weight: 700; text-decoration-thickness: .08em; text-underline-offset: .16em; }
.application-guide { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.application-guide > h3 { margin: 0; color: var(--ink); font-size: 1.06rem; }
.application-guide > p { max-width: 760px; margin: 5px 0 0; color: var(--muted); font-size: .94rem; }
.application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.application-item { border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); padding: 14px 15px; }
.application-item strong { display: block; margin-bottom: 4px; color: var(--sage-dark); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.application-item p { margin: 0; color: #4c4943; font-size: .92rem; }
.method-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.method-step { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); padding: 15px 15px 15px 48px; }
.method-step span { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sage-dark); color: white; font-weight: 800; font-size: .78rem; }
.method-step strong { display: block; color: var(--ink); }
.method-step p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }
.stakeholder-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stakeholder-path { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 15px 16px; }
.stakeholder-path strong { display: block; color: var(--sage-dark); }
.stakeholder-path p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.stakeholder-path a { font-weight: 750; }
.term-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.term-item { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 15px 16px; }
.term-item dt { color: var(--sage-dark); font-weight: 800; }
.term-item dd { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.delivery-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); padding: 15px 16px; }
.delivery-item:last-child { grid-column: 1 / -1; }
.delivery-item strong { display: block; color: var(--sage-dark); }
.delivery-item p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

.chapter-details {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: clip;
}
.chapter-details > summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--sage-dark); user-select: none;
}
.chapter-details > summary:hover { background: var(--sage-soft); }
.chapter-details > summary::after { content: "+"; font-size: 1.35rem; flex: 0 0 auto; }
.chapter-details[open] > summary { background: var(--sage-soft); }
.chapter-details[open] > summary::after { content: "–"; }
.when-open { display: none; }
.chapter-details[open] .when-closed { display: none; }
.chapter-details[open] .when-open { display: inline; }
.detail-body { border-top: 1px solid var(--line); padding: clamp(22px, 5vw, 46px); }
.chapter-pager {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 12px; padding: 0 4px; font-size: .88rem;
}
.chapter-pager a { font-weight: 700; }
.chapter-pager .next { margin-left: auto; text-align: right; }

.source-content { color: #36332e; }
.source-content h1, .source-content h2, .source-content h3, .source-content h4 {
  color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.18; font-weight: 500;
  scroll-margin-top: 20px;
}
.source-content h1 { font-size: 2.25rem; letter-spacing: -.03em; }
.source-content h2 { margin-top: 0; font-size: 2rem; letter-spacing: -.025em; }
.source-content h3 { margin-top: 2.1em; font-size: 1.45rem; }
.source-content h4 { margin-top: 1.7em; font-size: 1.13rem; }
.source-content p, .source-content li { max-width: 78ch; }
.source-content blockquote {
  margin: 1.3rem 0; padding: 13px 18px; border-left: 4px solid var(--clay);
  background: var(--clay-soft); border-radius: 0 12px 12px 0;
}
.source-content blockquote p { margin: .35em 0; }
.source-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em;
  background: var(--surface-soft); padding: .12em .32em; border-radius: 5px; overflow-wrap: anywhere;
}
.source-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.source-content img { max-width: 100%; height: auto; }
.table-scroll { overflow-x: auto; margin: 1.25rem 0 1.6rem; border: 1px solid var(--line); border-radius: 13px; }
.table-scroll:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 3px; }
.table-hint { display: none; margin: 0; padding: 8px 12px; background: var(--surface-soft); color: var(--muted); font-size: .78rem; }
.source-content table { width: 100%; border-collapse: collapse; font-size: .87rem; background: white; }
.source-content th, .source-content td { min-width: 120px; padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.source-content th { position: sticky; top: 0; background: var(--sage-soft); color: var(--sage-dark); font-weight: 800; }
.source-content tr:last-child td { border-bottom: 0; }
.source-content .text-right { text-align: right; }
.source-content .text-center { text-align: center; }

.footer { border-top: 1px solid var(--line); padding: 34px 28px 46px; color: var(--muted); }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; }

@media (max-width: 960px) {
  .page-shell { grid-template-columns: 1fr; padding-top: 28px; }
  .sidebar { display: none; }
  .mobile-nav { display: block; max-width: var(--content); margin-inline: auto; }
  .mobile-nav > summary { cursor: pointer; font-weight: 800; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
  .mobile-nav .chapter-nav { margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; }
}
@media (max-width: 680px) {
  .hero { padding: 50px 20px 42px; }
  .hero h1 { hyphens: none; overflow-wrap: normal; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-shell { padding: 24px 14px 70px; }
  .brief-grid { grid-template-columns: 1fr; }
  .method-chain, .stakeholder-paths, .term-grid, .delivery-grid, .evidence-grid, .roles-grid, .outcome-grid { grid-template-columns: 1fr; }
  .roadmap-step { grid-template-columns: 1fr; gap: 5px; }
  .delivery-item:last-child { grid-column: auto; }
  .executive { padding: 34px 14px 8px; }
  .executive-grid { grid-template-columns: 1fr; }
  .chapter-brief { border-radius: 18px; }
  .appendix-summary { grid-template-columns: 32px minmax(0, 1fr) 20px; padding: 16px 14px; }
  .appendix-content { padding: 8px; }
  .chapter-pager { flex-wrap: wrap; }
  .table-hint { display: block; }
  .source-preamble .source-content, .detail-body { padding: 20px 17px 28px; }
  .source-content h1 { font-size: 1.8rem; }
  .source-content h2 { font-size: 1.65rem; }
  .source-content table { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  :root { --paper: white; --surface: white; --ink: black; --muted: #333; --line: #bbb; }
  body { background: white; font-size: 10pt; }
  .hero { padding: 24px 0 18px; }
  .hero h1 { font-size: 32pt; }
  .sidebar, .mobile-nav, .search-panel, .chapter-pager, .chapter-details > summary, .source-preamble > summary, .appendix-summary { display: none !important; }
  .page-shell { display: block; max-width: none; padding: 20px 0; }
  .executive { max-width: none; padding: 18px 0; }
  .executive-card { box-shadow: none; padding: 20px; }
  .source-preamble, .chapter-section { max-width: none; box-shadow: none; break-inside: auto; }
  .chapter-brief { box-shadow: none; break-inside: avoid; padding: 24px; }
  .chapter-details { border: 0; }
  .appendix-chapter, .appendix-content { border: 0; box-shadow: none; padding: 0; }
  .brief-grid { grid-template-columns: repeat(2, 1fr); }
  .table-scroll { overflow: visible; break-inside: auto; }
  .source-content table { font-size: 7.5pt; }
  a { color: black; text-decoration: none; }
  .footer { padding-inline: 0; }
}
