:root {
  --bg: #f4f8ea;
  --bg-deep: #145c28;
  --panel: #ffffff;
  --ink: #14331a;
  --muted: #3d5a3a;
  --line: rgba(20, 92, 40, 0.12);
  --teal: #1f9a3a;
  --teal-soft: #e2f4b8;
  --lime: #b6e832;
  --space-3: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 40px -28px rgba(20, 92, 40, 0.35);
  --header-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 Manrope, system-ui, sans-serif;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

.status-bar {
  background: var(--bg-deep);
  color: #e8f2f0;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.status-bar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  justify-content: space-between; align-items: center;
}
.status-bar strong { color: #fff; font-weight: 700; }
.status-bar span { color: rgba(232,242,240,0.65); }

header.site {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(251, 252, 247, 0.94);
  border-bottom: 1px solid rgba(20, 92, 40, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.logo img {
  display: block; height: 40px; width: auto;
  max-width: min(160px, 38vw); object-fit: contain;
}
nav.links { display: flex; gap: 4px 18px; flex-wrap: wrap; }
nav.links a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.links a:hover,
nav.links a.is-on { color: #12351a; border-bottom-color: var(--lime); }

.nav-panel { display: none; position: relative; }
.nav-panel summary {
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: #12351a;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.nav-panel summary::-webkit-details-marker { display: none; }
.nav-panel nav {
  position: absolute;
  right: 0; top: calc(100% + 6px);
  min-width: 220px;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 30;
}
.nav-panel nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #12351a;
}
.nav-panel nav a:hover,
.nav-panel nav a[aria-current="page"] { background: var(--teal-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 13px 20px; border-radius: 10px; border: 1px solid transparent;
  min-height: 44px;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #168a32; color: #fff; }
.btn-ghost {
  background: #fff;
  border-color: rgba(31, 154, 58, 0.28);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nav-cta { flex-shrink: 0; }

@media (max-width: 960px) {
  nav.links { display: none; }
  .nav-panel { display: block; }
}
@media (max-width: 520px) {
  .nav-cta { padding: 11px 14px; font-size: 13px; }
}

.page-hero {
  padding: 36px 0 12px;
  background: var(--bg);
}
.page-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px 40px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .page-hero__row { grid-template-columns: 1fr; gap: 22px; }
}
.page-hero__copy { min-width: 0; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 10px;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #12351a;
}
.page-hero .lead {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  max-width: 42em;
  font-weight: 500;
}
.page-hero .official {
  margin: 0 0 20px;
  max-width: 46em;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.hero-file {
  margin: 10px 0 0;
  font-size: 13px;
}
.hero-file a { color: var(--teal); font-weight: 700; text-decoration: none; }
.hero-file a:hover { text-decoration: underline; }
a.trust__item { text-decoration: none; color: inherit; }
a.trust__item:hover { background: var(--teal-soft); }
.more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.more:hover { text-decoration: underline; }
.pull a { color: var(--teal); font-weight: 700; text-decoration: none; }
.pull a:hover { text-decoration: underline; }
.close__copy .shift { margin-top: 16px; }

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel);
  border: 1px solid rgba(31, 154, 58, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 100%;
}
.trust__item {
  padding: 18px 18px 16px;
  border-right: 1px solid rgba(31, 154, 58, 0.1);
  border-bottom: 1px solid rgba(31, 154, 58, 0.1);
  display: flex; flex-direction: column; justify-content: center;
  background: #fff;
}
.trust__item:nth-child(2n) { border-right: 0; }
.trust__item:nth-child(n+3) { border-bottom: 0; }
.trust__item b {
  display: block; font-size: 1.35rem; font-weight: 800;
  color: #12351a; margin-bottom: 6px; line-height: 1.15;
  letter-spacing: -0.03em;
}
.trust__item span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 900px) {
  .trust { min-height: 0; }
}

.brief-shell { padding: 8px 0 0; }
.toc {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.toc a {
  flex: 1 1 0;
  min-width: 9.5rem;
  text-decoration: none;
  font-size: 13px; font-weight: 700;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #12351a;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.toc a span { color: var(--teal); font-variant-numeric: tabular-nums; }
.toc a:hover { border-color: rgba(31, 154, 58, 0.4); }

.chapter {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
@media (max-width: 720px) {
  .chapter { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .chapter__index { font-size: 1.6rem; }
}
.chapter__index {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.04em;
  padding-top: 4px;
}
.chapter__kicker {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 8px;
}
.chapter h2 {
  margin: 0 0 18px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #12351a;
  max-width: 28em;
}
.chapter__split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 22px 28px;
  align-items: start;
}
@media (max-width: 800px) {
  .chapter__split { grid-template-columns: 1fr; }
}
.chapter__body p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.chapter__split > div p:last-child { margin-bottom: 0; }
.pull {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.pull__kicker {
  margin: 0 0 8px !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal) !important;
  line-height: 1.3 !important;
}
.pull p { font-size: 14.5px; line-height: 1.5; }
.pull p + p { margin-top: 10px; }

.effects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 4px 0 16px;
}
@media (max-width: 800px) { .effects { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .effects { grid-template-columns: 1fr; } }
.effect {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.effect--wide { grid-column: 1 / -1; }
.effect__kicker {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 6px;
}
.effect b {
  display: block;
  font-size: 1.02rem;
  color: #12351a;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.effect p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.effect__fact {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: #2f6a32;
  line-height: 1.4;
}

.shift {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--teal-soft);
  border: 1px solid rgba(31, 154, 58, 0.16);
  font-size: 15px;
  line-height: 1.55;
  color: #12351a;
}

.path3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 16px;
}
@media (max-width: 800px) { .path3 { grid-template-columns: 1fr; } }
.path3__step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.path3__n {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.path3__step b {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #12351a;
  margin: 0 0 8px;
}
.path3__step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }

.formula {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14.5px;
  line-height: 1.45;
  color: #12351a;
}

.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.data th, .data td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: #f7fce8;
}
.data tr:last-child td { border-bottom: 0; }
.data td b { color: #12351a; }
.data a { color: var(--teal); font-weight: 700; text-decoration: none; }
.data a:hover { text-decoration: underline; }
.quote {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: #fff;
  border-left: 3px solid var(--teal);
  border-radius: 0 14px 14px 0;
}
.quote p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 720px) {
  .data { display: block; }
  .data thead { display: none; }
  .data tr { display: block; padding: 12px; border-bottom: 1px solid var(--line); }
  .data td { display: block; padding: 2px 0; border: 0; }
  .data td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 2px;
  }
}

.close {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 32px;
  padding: 44px 0 8px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.close__index {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.04em;
  padding-top: 18px;
}
.close__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.close__copy {
  padding: 28px 32px 30px;
}
.close__copy .eyebrow { margin-bottom: 8px; }
.close__copy h2 {
  margin: 0 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #12351a;
}
.close__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}
.close__copy p + p { margin-top: 12px; }
.close__aside {
  padding: 28px 26px 24px;
  background: #f7fce8;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.close__aside-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.close__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.close__aside li {
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(31, 154, 58, 0.14);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #12351a;
}
.close__aside .cta-row {
  flex-direction: column;
  align-items: stretch;
  margin-top: 4px;
}
.close__aside .btn { width: 100%; }
@media (max-width: 800px) {
  .close { grid-template-columns: 1fr; }
  .close__index { padding-top: 0; }
  .close__panel { grid-template-columns: 1fr; }
  .close__aside { border-left: 0; border-top: 1px solid var(--line); }
  .close__aside .cta-row { flex-direction: row; }
  .close__aside .btn { width: auto; flex: 1; }
}

footer.site-foot {
  margin-top: 48px;
  background: var(--bg-deep);
  color: rgba(232, 242, 240, 0.78);
  font-size: 13px;
}
footer.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 0;
}
footer.site-foot a {
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
}
footer.site-foot a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .page-hero { padding: 22px 0 20px; }
  .cta-row .btn { flex: 1 1 100%; }
}

@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  header.site { padding-top: env(safe-area-inset-top, 0px); }
  .nav { gap: 8px; padding: 8px 0; }
  .logo img { height: 32px; max-width: min(128px, 34vw); }
  .nav-panel summary {
    min-height: 40px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
  }
  .nav-panel nav {
    width: min(300px, calc(100vw - 28px));
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }
  .nav-panel nav a { padding: 12px 14px; font-size: 15px; }
  .status-bar { font-size: 11px; padding: 8px 0; }
  .status-bar .wrap { gap: 4px 12px; }
  .page-hero h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  footer.site-foot .wrap { padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  header.site, .status-bar, .toc, .nav-panel, .cta-row, .hero-file, .site-foot { display: none !important; }
  .page-hero { padding: 0 0 16px; }
  .trust, .effect, .close__panel { box-shadow: none; break-inside: avoid; }
  .chapter { break-inside: avoid; }
}
