:root {
  color-scheme: light;
  --background: #f7f9f7;
  --surface: #ffffff;
  --surface-muted: #eef3ee;
  --text: #111612;
  --muted: #626c65;
  --border: #d4dad5;
  --primary: #245b2a;
  --primary-pressed: #19431e;
  --primary-soft: #ddeedb;
  --hero: #123f25;
  --warning: #8a5b10;
  --warning-soft: #fff7df;
  --shadow: 0 18px 60px rgba(18, 63, 37, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--primary-pressed);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #88b889;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.preview-banner {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e9d49c;
  background: var(--warning-soft);
  color: #5b3a08;
  font-size: 0.875rem;
  font-weight: 750;
  text-align: center;
}

.site-header {
  border-bottom: 1px solid rgba(212, 218, 213, 0.72);
  background: rgba(247, 249, 247, 0.94);
}

.header-inner,
.hero-inner,
.page-grid,
.site-footer {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--primary);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.header-label {
  color: var(--muted);
  font-size: 0.875rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero);
  color: white;
}

.hero::after {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  inset: -16rem -8rem auto auto;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.018);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #b9d5bc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-summary {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  color: #dbe8dd;
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  line-height: 1.55;
}

.effective-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ecf5ed;
  font-size: 0.875rem;
  font-weight: 650;
}

.page-grid {
  display: grid;
  gap: 3rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.toc {
  align-self: start;
}

.toc-title {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.18rem;
  list-style: none;
  counter-reset: policy;
}

.toc li {
  counter-increment: policy;
}

.toc a {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.35rem;
  padding: 0.48rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a::before {
  color: #91a195;
  content: counter(policy, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
}

.toc a:hover {
  color: var(--primary);
}

.policy {
  min-width: 0;
}

.summary-panel {
  margin-bottom: 3.5rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  border: 1px solid #cdd8cf;
  border-radius: 1.25rem;
  background: var(--primary-soft);
}

.summary-panel h2 {
  margin-bottom: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
}

.summary-panel p:last-child {
  margin-bottom: 0;
}

.policy-section {
  scroll-margin-top: 1.5rem;
  padding-block: 0.3rem 3.2rem;
  border-bottom: 1px solid var(--border);
}

.policy-section + .policy-section {
  padding-top: 3rem;
}

.policy-section:last-child {
  border-bottom: 0;
}

.section-number {
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  line-height: 1.35;
}

.policy p,
.policy li,
.fact dd {
  max-width: 70ch;
}

.policy ul {
  padding-left: 1.35rem;
}

.policy li + li {
  margin-top: 0.6rem;
}

.facts {
  display: grid;
  margin: 1.5rem 0 0;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--border);
}

.fact {
  padding: 1rem 1.1rem;
  background: var(--surface);
}

.fact dt {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  font-weight: 630;
}

.purpose-list,
.provider-list {
  display: grid;
  margin-top: 1.5rem;
  gap: 1.15rem;
}

.purpose,
.provider {
  padding-left: 1rem;
  border-left: 3px solid var(--primary-soft);
}

.purpose p,
.provider p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-box {
  margin-top: 1.4rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface-muted);
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

::selection {
  background: var(--primary-soft);
  color: var(--text);
}

@media (min-width: 52rem) {
  .page-grid {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 5rem;
  }

  .toc {
    position: sticky;
    top: 1.5rem;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 34rem) {
  .header-label {
    display: none;
  }

  .hero-inner {
    padding-top: 3rem;
  }

  .page-grid {
    gap: 2.4rem;
  }

  .toc {
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--border);
  }
}

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

@media print {
  body {
    background: white;
    font-size: 10.5pt;
  }

  .preview-banner,
  .site-header,
  .toc {
    display: none;
  }

  .hero {
    background: white;
    color: black;
  }

  .hero-inner {
    padding-block: 1.5rem;
  }

  .hero-summary,
  .effective-date {
    color: black;
  }

  .page-grid {
    display: block;
    width: 100%;
    padding-block: 1rem;
  }

  .policy-section {
    break-inside: avoid;
  }
}

