:root {
  color-scheme: light;
  --pine: #1e4837;
  --pine-dark: #143427;
  --pine-light: #2f674c;
  --gold: #dda95b;
  --gold-bright: #f8d692;
  --cream: #fcfaf5;
  --page: #f6f4ec;
  --ink: #22352b;
  --body-ink: #405248;
  --muted: #66776c;
  --line: #e4e8dd;
  --surface: #fffefa;
  --shadow: 0 24px 70px rgba(28, 60, 42, .075), 0 2px 8px rgba(28, 60, 42, .025);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 700px 500px at 9% 13%, rgba(225, 215, 178, .22), transparent 70%),
    radial-gradient(ellipse 730px 450px at 95% 31%, rgba(94, 133, 91, .075), transparent 80%),
    var(--page);
  line-height: 1.7;
  font-size: 16px;
}

::selection { color: #123828; background: #e9cc8e; }
a { color: #27634a; text-decoration-color: #a5c6b1; text-underline-offset: 4px; transition: color .18s ease, background .18s ease, border-color .18s ease; }
a:hover { color: #174c34; text-decoration-color: currentColor; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.container { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }

.topbar {
  position: relative;
  z-index: 10;
  background: rgba(252, 250, 245, .96);
  border-bottom: 1px solid #e9e9dc;
}
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; gap: 14px; align-items: center; min-width: 0; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 16px;
  border: 1px solid #4f8869;
  background: linear-gradient(145deg, #3a7a56 0%, #1d4b35 74%);
  box-shadow: 0 7px 16px rgba(25, 77, 49, .17), inset 0 1px 0 rgba(255,255,255,.27);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  color: #f7dfa4;
}
.logo::after { content: ""; width: 7px; height: 7px; border-radius: 9px 0 9px 0; background: #f5d98b; position: absolute; right: 7px; top: 7px; transform: rotate(-17deg); }
.brand-name { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.brand-name strong { font-size: 16px; font-weight: 750; letter-spacing: -.35px; }
.brand-name small { font-size: 12px; font-weight: 500; color: var(--muted); }
.nav nav { display: flex; align-items: center; gap: 8px; }
.nav nav a {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #51665a;
}
.nav nav a:hover { color: var(--pine-dark); background: #eaf0e5; }
.nav nav a[aria-current="page"] { color: #224f37; border-color: #d7e5d6; background: #e9f0e6; }

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 330px;
  margin-top: 34px;
  padding: 58px clamp(30px, 6vw, 72px) 47px;
  border: 1px solid #36694e;
  border-radius: 28px;
  background:
    radial-gradient(circle at 89% 12%, rgba(232,192,109,.23) 0, transparent 24%),
    radial-gradient(circle at 98% 83%, rgba(98,152,96,.48) 0, transparent 31%),
    linear-gradient(116deg, #163c2d 0%, #24543a 61%, #386a45 100%);
  color: #fffdf5;
  box-shadow: 0 17px 35px rgba(24, 67, 43, .12);
}
.hero::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  right: -144px;
  bottom: -288px;
  border: 1px solid rgba(251, 228, 164, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 249, 209, .035), 0 0 0 95px rgba(255,249,209,.035), 0 0 0 157px rgba(255,249,209,.027);
}
.hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 170px;
  right: 35px;
  bottom: -66px;
  opacity: .23;
  border-radius: 50%;
  transform: rotate(-14deg);
  background: repeating-linear-gradient(0deg, transparent 0 16px, rgba(243,218,154,.40) 17px 18px, transparent 19px 35px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 74%);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 74%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 21px;
  padding: 6px 13px;
  border: 1px solid rgba(255,230,164,.31);
  border-radius: 100px;
  background: rgba(255,244,215,.08);
  color: #ffe2a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  max-width: 830px;
  margin: 0 0 19px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 67px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.lead { max-width: 690px; margin: 0; font-size: 16px; line-height: 1.8; color: #e3ecde; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 27px; }
.meta span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 100px;
  background: rgba(255,255,255,.075);
  font-size: 11px;
  font-weight: 600;
  color: #f2efdc;
  letter-spacing: .02em;
}

.layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 28px; margin: 32px 0 88px; }
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 24px;
  padding: 25px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffefb;
  box-shadow: 0 8px 30px rgba(28,60,42,.035);
}
.sidebar strong { display: block; padding: 0 13px 13px; color: #8a937b; font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.sidebar a {
  display: block;
  padding: 10px 13px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 580;
  line-height: 1.48;
  color: #5c6a5e;
}
.sidebar a:hover, .sidebar a:focus-visible { background: #eff4eb; color: #214c32; }

.paper {
  min-width: 0;
  padding: clamp(27px, 4.3vw, 59px);
  border: 1px solid #e5e6d9;
  border-radius: 22px;
  background: #fffefa;
  box-shadow: var(--shadow);
  counter-reset: legal-section;
}
.paper section { position: relative; padding: 0 0 36px; margin: 0 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 35px; }
.paper section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.paper section:target { border-bottom-color: #b4ccac; }
.paper section h2 {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 21px;
  font-size: clamp(20px,2.3vw,25px);
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: -.04em;
  color: #254634;
}
.paper section h2::before {
  counter-increment: legal-section;
  content: counter(legal-section, decimal-leading-zero);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -3px;
  border: 1px solid #dce9d7;
  border-radius: 10px;
  background: #eff5e9;
  color: #467151;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.paper h3 { font-size: 17px; letter-spacing: -.01em; }
.paper p, .paper li { margin: 0 0 18px; color: var(--body-ink); font-size: 14.5px; line-height: 1.9; overflow-wrap: anywhere; }
.paper p:last-child { margin-bottom: 0; }
.paper strong { color: #264c37; font-weight: 730; }
.paper a { font-weight: 650; }
.paper ul { padding-left: 22px; }
.card {
  position: relative;
  margin: 5px 0 24px;
  padding: 24px 26px;
  border: 1px solid #dfe8d6;
  border-left: 4px solid #a2b883;
  border-radius: 13px;
  background: linear-gradient(100deg,#f5f8ed 0%,#fcfcf7 100%);
}
.card address { color: #46584a; font-size: 14px; font-style: normal; line-height: 1.9; overflow-wrap: anywhere; }
.card address strong { font-size: 16px; }
.note { color: var(--muted) !important; font-size: 12px !important; }

.footer { border-top: 1px solid #e2e7dc; background: #f0f2e9; }
.footer-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 93px; padding: 21px 0; color: #667569; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 21px; }
.footer a { color: #436450; text-decoration: none; font-weight: 650; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .container { width: min(100% - 36px, 760px); }
  .layout { grid-template-columns: 1fr; margin: 24px 0 55px; }
  .sidebar { display: none; }
  .hero { margin-top: 22px; min-height: 0; padding: 43px 34px 39px; }
  .paper { padding: 35px; }
}
@media (max-width: 550px) {
  html { scroll-padding-top: 26px; }
  .container { width: calc(100% - 28px); }
  .nav { min-height: 75px; gap: 8px; }
  .brand { gap: 9px; }
  .logo { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; font-size: 22px; }
  .brand-name strong { font-size: 13px; }
  .brand-name small { font-size: 10px; }
  .nav nav { gap: 1px; }
  .nav nav a { font-size: 11px; padding: 8px 9px; }
  .hero { margin-top: 14px; padding: 34px 23px 31px; border-radius: 20px; }
  .hero::before { width: 250px; height: 250px; right: -119px; bottom: -172px; box-shadow: 0 0 0 27px rgba(255,249,209,.032), 0 0 0 64px rgba(255,249,209,.024); }
  .hero::after { opacity: .14; }
  .eyebrow { font-size: 10px; margin-bottom: 17px; }
  h1 { font-size: clamp(34px, 9vw, 43px); overflow-wrap: anywhere; }
  .lead { font-size: 14px; line-height: 1.7; }
  .meta { margin-top: 21px; gap: 7px; }
  .meta span { font-size: 10px; padding: 5px 9px; }
  .layout { margin-top: 17px; }
  .paper { padding: 27px 21px; border-radius: 17px; }
  .paper section { padding-bottom: 28px; margin-bottom: 31px; }
  .paper section h2 { font-size: 20px; gap: 10px; margin-bottom: 17px; }
  .paper section h2::before { width: 30px; height: 30px; font-size: 10px; border-radius: 8px; }
  .paper p,.paper li { font-size: 13.5px; line-height: 1.85; }
  .card { padding: 18px 15px; }
  .footer-line { padding: 24px 0; min-height: 0; }
}
@media (max-width: 350px) {
  .brand-name small { display: none; }
  .brand-name strong { font-size: 12px; }
  .nav nav a { padding: 8px 6px; }
  .paper { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}
@media print {
  body { background: white !important; }
  .topbar,.sidebar,.footer { display: none !important; }
  .container { width: 100%; }
  .hero { padding: 0; margin: 0 0 20px; min-height: 0; background: none; border: 0; box-shadow: none; color: black; }
  .hero::before,.hero::after { display: none; }
  .eyebrow,.lead,.meta span { color: black; }
  .meta span { border: none; padding: 0; }
  .layout { display: block; margin: 0; }
  .paper { border: 0; box-shadow: none; padding: 0; }
  .paper section { break-inside: avoid-page; }
}
