.policy {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) calc(100% - 6rem), #dff1e7 100%);
}

.policy__intro {
  padding-block: calc(var(--nav-offset) + clamp(1.9rem, 5vw, 4.25rem)) clamp(2.2rem, 4.5vw, 3.6rem);
  background:
    radial-gradient(ellipse 52% 72% at 10% 8%, rgba(255, 250, 224, .58) 0%, transparent 64%),
    linear-gradient(180deg, #b8e3f4 0%, #d4eee8 62%, var(--cream) 100%);
}

.policy__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.5rem, .95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.policy__kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .7rem;
  color: #164f3b;
  font: 600 .78rem/1.2 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.policy__kicker img {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}

.policy__intro p {
  max-width: 54ch;
  margin-top: .75rem;
  color: #204439;
  font-size: clamp(1rem, 1.75vw, 1.14rem);
}

/* Spruce-framed quick digest card matching the homepage dispatch board */
.policy__digest {
  border: 2px solid #284b3d;
  border-radius: 6px;
  background: #fcfdf7;
  box-shadow: 0 5px 0 #1f3c3022, 0 14px 28px #14302812;
  overflow: clip;
}

.policy__digest-head,
.policy__nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid #c6dacb;
  background: #e7f3ec;
  color: #164f3b;
  font: 600 .74rem/1.2 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.policy__pins {
  display: inline-flex;
  gap: .36rem;
}

.policy__pins i {
  width: 7px;
  height: 7px;
  border: 1px solid #325e4d;
  border-radius: 1px;
  background: #b7d7c2;
}

.policy__digest-list {
  display: grid;
  margin: 0;
  padding: .45rem 1rem .6rem;
}

.policy__digest-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .9rem;
  padding-block: .52rem;
}

.policy__digest-list > div + div {
  border-top: 1px solid #e1ece3;
}

.policy__digest-list dt {
  color: #36574c;
  font-size: .88rem;
  font-weight: 600;
}

.policy__digest-list dd {
  margin: 0;
  color: #0e382e;
  font: 600 .8rem/1.3 var(--font-mono);
  text-align: right;
}

.policy__layout {
  display: grid;
  grid-template-columns: minmax(13.5rem, .86fr) minmax(0, 2.55fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(1.25rem, 3.5vw, 2.75rem) clamp(3.5rem, 8vw, 6.25rem);
}

.policy__sidebar {
  position: sticky;
  top: calc(var(--nav-offset) + 1rem);
  display: grid;
  gap: 1rem;
}

.policy__layout > .policy__nav {
  position: sticky;
  top: calc(var(--nav-offset) + 1rem);
}

.policy__nav,
.policy__toc {
  display: grid;
  border: 2px solid #284b3d;
  border-radius: 6px;
  background: #fcfdf7;
  box-shadow: 0 4px 0 #1f3c301c;
  overflow: clip;
}

.policy__nav a,
.policy__toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem .95rem;
  border-left: 4px solid transparent;
  color: #214237;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}

.policy__nav a + a,
.policy__toc a + a {
  border-top: 1px solid #e3eee5;
}

.policy__nav a:hover,
.policy__nav a[aria-current="page"],
.policy__toc a:hover {
  border-left-color: var(--green);
  color: #0b4f3a;
  background: #e7f3ec;
}

.policy__toc a {
  font-size: .9rem;
  font-weight: 600;
}

.policy__toc-num {
  color: #326451;
  font: 600 .75rem/1 var(--font-mono);
}

.policy__content {
  counter-reset: policy-sec;
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.policy__content section {
  counter-increment: policy-sec;
  scroll-margin-top: calc(var(--nav-offset) + 1.25rem);
  padding: clamp(1.25rem, 2.8vw, 1.9rem);
  border: 1.5px solid #b8d1c2;
  border-radius: 6px;
  background: #fcfdf7;
  box-shadow: 0 4px 0 #1f3c3012;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.policy__content section:hover {
  border-color: #284b3d;
  box-shadow: 0 5px 0 #1f3c301c;
  transform: translateY(-1px);
}

.policy__content section h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin-bottom: .75rem;
  color: #11342c;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
}

.policy__content section h2::before {
  content: counter(policy-sec, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding-inline: .35rem;
  border: 1.5px solid #284b3d;
  border-radius: 4px;
  background: #e7f3ec;
  color: #164f3b;
  font: 600 .84rem/1 var(--font-mono);
  box-shadow: 0 2px 0 #1f3c3018;
}

.policy__content section p {
  max-width: 68ch;
  color: #264338;
  overflow-wrap: anywhere;
}

.policy__content section p + p {
  margin-top: .65rem;
}

.policy__content section a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: .22em;
}

.policy__content section a:hover {
  text-decoration-thickness: 2px;
}

.policy__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .95rem;
  padding-top: .85rem;
  border-top: 1px dashed #cadccd;
}

.policy__fact {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border: 1px solid #bfd7c8;
  border-radius: 4px;
  background: #eff7f1;
  color: #154d39;
  font: 600 .78rem/1.3 var(--font-mono);
}

.policy__next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid #284b3d;
  border-radius: 6px;
  background: #e7f3ec;
  box-shadow: 0 4px 0 #1f3c301c;
}

.policy__next h2 {
  color: #11342c;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  font-weight: 800;
}

.policy__next p {
  margin-top: .25rem;
  color: #2b4c40;
  font-size: .95rem;
}

.policy__next-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.policy__next-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .95rem;
  border: 1.5px solid #284b3d;
  border-radius: 5px;
  background: #fcfdf7;
  color: #0e4a38;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 0 #1f3c3018;
  transition: background-color .15s ease, transform .12s ease;
}

.policy__next-link:hover {
  background: #dff0e5;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .policy__content section:hover,
  .policy__next-link:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .policy__intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .policy__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .policy__sidebar,
  .policy__layout > .policy__nav {
    position: static;
  }
  .policy__toc {
    display: none;
  }
  .policy__next-links {
    width: 100%;
  }
}
