.policy-delivery {
  color: var(--firm-ink);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.policy-delivery p, .policy-delivery dd {
  margin: 0;
  color: var(--firm-body);
  line-height: 1.6;
}
.policy-breadcrumb { margin-top: 1rem; }
.policy-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: .75rem 0 clamp(2rem, 4vw, 3.5rem);
}
.policy-intro .firm-page-title { max-width: 17ch; margin: 0 0 1.15rem; }
.policy-intro section > p { max-width: 42rem; margin-bottom: .8rem; font-size: 1.08rem; }
.policy-intro .home-actions { margin-top: 1.2rem; }
.policy-example {
  background: var(--firm-sage);
  border-left: 3px solid #987337;
  padding: clamp(1.05rem, 2.35vw, 2rem);
}
.policy-example h2 { margin: 0 0 .65rem; font-size: clamp(1.22rem, 2.1vw, 1.68rem); line-height: 1.2; }
.policy-example table { width: 100%; margin-top: 1rem; border-collapse: collapse; text-align: left; }
.policy-example th, .policy-example td {
  padding: .6rem 0;
  border-top: 1px solid #bdcbbc;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.4;
}
.policy-example th:first-child { width: 38%; padding-right: .8rem; }
.policy-example thead th { color: var(--firm-green); font-size: .9rem; }
.policy-example tbody th { font-weight: 640; }
.policy-example > .firm-text-link { margin-top: .6rem; }
.policy-section { padding-block: clamp(1.8rem, 3.5vw, 3rem); border-top: 1px solid var(--firm-line); }
.policy-section h2 { margin: 0 0 1.1rem; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; }
.policy-options article {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.15rem clamp(.85rem, 2vw, 1.55rem);
  border-top: 1px solid var(--firm-line);
}
.policy-options article:last-child { border-bottom: 1px solid var(--firm-line); }
.policy-options h3 { margin: 0 0 .3rem; font-size: 1.25rem; line-height: 1.25; }
.policy-options header p { max-width: 31ch; }
.policy-recommended { background: var(--firm-sage); box-shadow: inset 3px 0 0 var(--firm-green); }
.policy-register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.policy-register p + p { margin-top: .7rem; }
.policy-register dl { display: grid; align-content: start; gap: .65rem; margin: 0; }
.policy-register dt { font-weight: 700; }
.policy-register dd { margin: .1rem 0 0; }
.policy-contact p { max-width: 48rem; }
.policy-contact .firm-button { margin-top: 1rem; }
.policy-delivery a:focus-visible { outline: 2px solid var(--firm-green); outline-offset: 3px; }
.governance-sample { scroll-margin-top: .75rem; }
.governance-sample .sample-intro { max-width: 70ch; font-size: 1.06rem; }
.governance-sample .sample-scenario { max-width: 83ch; margin-top: .65rem; }
.governance-sample .sample-meta { margin: .65rem 0 1.1rem; font-size: .92rem; }
.sample-formats { border-top: 1px solid var(--firm-line); }
.sample-formats > details { border-bottom: 1px solid var(--firm-line); }
.sample-formats > details > summary {
  display: grid;
  grid-template-columns: .65rem minmax(12rem, .85fr) minmax(0, 1.25fr);
  align-items: center;
  gap: .75rem;
  min-height: 3.5rem;
  padding: .65rem .75rem;
  color: var(--firm-ink);
  font-size: 1.12rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.sample-formats > details > summary::-webkit-details-marker { display: none; }
.sample-formats > details > summary::before {
  content: ""; width: .45rem; height: .45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.sample-formats > details[open] > summary::before { transform: rotate(45deg); }
.sample-formats > details > summary small { color: var(--firm-body); font-size: .95rem; font-weight: 450; }
.sample-formats > details > summary:hover, .sample-formats > details[open] > summary { background: var(--firm-sage); }
.sample-formats summary:focus-visible, .sample-yaml:focus-visible, .sample-matrix-wrap:focus-visible {
  outline: 2px solid var(--firm-green); outline-offset: -2px;
}
.sample-full-yaml summary { width: fit-content; padding: .6rem 0; color: var(--firm-green); cursor: pointer; font-weight: 620; }
.sample-content { padding: 1rem clamp(.5rem, 2vw, 1.6rem) 1.25rem; }
.sample-content h3, .sample-takeaways h3 { margin: 0 0 .6rem; font-size: 1.16rem; }
.sample-content > p, .sample-clause { max-width: 78ch; }
.sample-clause { margin: .7rem 0 0; padding-left: 1.4rem; }
.sample-clause li { margin: .55rem 0 0; padding-left: .15rem; line-height: 1.55; }
.sample-yaml {
  max-height: 26rem;
  margin: .55rem 0 0;
  padding: 1rem;
  overflow: auto;
  tab-size: 2;
  border-radius: .25rem;
  background: #15392d;
  color: #f3f5e9;
  font: 400 .94rem/1.55 ui-monospace, Consolas, monospace;
}
.sample-yaml code { color: inherit; background: none; font: inherit; }
.sample-matrix-wrap { overflow-x: auto; margin-top: .6rem; }
.sample-matrix { width: 100%; border-collapse: collapse; color: var(--firm-body); font-size: .91rem; }
.sample-matrix caption { text-align: left; font-weight: 650; padding: .4rem .25rem .55rem; }
.sample-matrix th, .sample-matrix td { text-align: left; vertical-align: top; padding: .5rem .32rem; line-height: 1.4; border-bottom: 1px solid var(--firm-line); }
.sample-matrix thead { background: var(--firm-sage); }
.sample-matrix .sample-followed-rule { background: #edf2e9; box-shadow: inset 3px 0 0 #94723f; }
.sample-matrix .sample-followed-rule > th { padding-left: .65rem; }
.sample-matrix code, .sample-matrix td { overflow-wrap: anywhere; }
.sample-matrix .sample-any { color: #58675e; }
.sample-takeaways { margin-top: 1rem; padding: 1.05rem 1.15rem; background: var(--firm-sage); border-left: 3px solid #987337; }
.sample-takeaways dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1.6rem; margin: .65rem 0 0; }
.sample-takeaways dt { font-weight: 680; }
.sample-takeaways dd { margin: .2rem 0 0; }
.governance-sample .sample-sources { margin: .65rem 0 0; font-size: .9rem; }
.sample-sources a { color: var(--firm-green); text-underline-offset: .18em; }
@media (max-width: 64rem) {
  .sample-matrix thead { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
  .sample-matrix, .sample-matrix tbody, .sample-matrix caption { display: block; }
  .sample-matrix tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1rem; padding: .75rem .25rem; border-top: 1px solid var(--firm-line); }
  .sample-matrix td, .sample-matrix th { display: block; padding: 0; border: none; }
  .sample-matrix th[scope="row"] { grid-column: 1 / -1; color: var(--firm-ink); }
  .sample-matrix td:not(.sample-any)::before { display: block; content: attr(data-label); color: var(--firm-body); font-size: .87rem; font-weight: 650; }
  .sample-matrix .sample-any { display: none; }
}
@media (max-width: 52rem) {
  .policy-intro, .policy-register { grid-template-columns: 1fr; gap: 1.25rem; }
  .policy-intro .firm-page-title { max-width: 20ch; }
  .sample-takeaways dl { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .policy-options article { grid-template-columns: 1fr; gap: .6rem; }
  .policy-options header p { max-width: none; }
  .sample-formats > details > summary { grid-template-columns: .65rem 1fr; gap: .15rem .65rem; }
  .sample-formats > details > summary::before { grid-row: span 2; }
  .sample-formats > details > summary small { grid-column: 2; }
  .sample-yaml { white-space: pre-wrap; overflow-wrap: anywhere; }
}
