:root {
  --page: #edf2ef;
  --surface: #ffffff;
  --ink: #11251d;
  --muted: #556b61;
  --line: #d2ded8;
  --green: #197a52;
  --green-dark: #105d3d;
  --hero: #0d3024;
  --white: #f7faf8;
  --sans: "Avenir Next", Avenir, "Segoe UI", Tahoma, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #e1ad43; outline-offset: 3px; }

.shell { width: min(100% - 40px, 980px); margin: 0 auto; }
.topbar { background: var(--hero); color: var(--white); }
.topbar-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}
.brand:hover { color: #e1ad43; }
.topnav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.topnav a { color: rgba(247, 250, 248, 0.76); text-decoration: none; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--white); }

main { padding: 58px 0 72px; }
.document {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px 56px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(17, 37, 29, 0.08);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--ink); }
h1 {
  max-width: 19ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 54px);
  line-height: 1.08;
}
.meta { margin: 18px 0 34px; color: var(--muted); font-size: 14px; }
h2 {
  margin: 42px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}
h3 { margin: 26px 0 10px; font-size: 17px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 18px; padding-left: 24px; }
li { margin: 7px 0; }
.notice {
  margin: 26px 0;
  border-left: 4px solid #d49a32;
  padding: 16px 18px;
  background: #fff7e6;
  color: #5d4720;
}
.details {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 8px 24px;
  margin: 18px 0;
}
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.table-wrap { margin: 20px 0; overflow-x: auto; }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: #e8efeb; }
code { overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 980px); }
  .topbar-inner { display: block; padding: 16px 0; }
  .topnav { margin-top: 10px; gap: 10px 16px; }
  main { padding: 24px 0 44px; }
  .document { padding: 28px 20px; }
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 10px; }
}

@media print {
  body { background: #fff; }
  .topbar, footer { display: none; }
  main { padding: 0; }
  .shell { width: 100%; }
  .document { border: 0; padding: 0; box-shadow: none; }
  a { color: inherit; }
}
