/* Business preface: shared article typography, with scoped interface states. */
.service-preface {
  margin-block: 0 40px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #cbd2c4;
  border-top: 3px solid #475b46;
  background: #f1f2e9;
  color: #29392e;
  font-size: calc(16px * var(--site-text-scale, 1));
  line-height: 1.9;
}
.service-preface-kicker {margin: 0 0 12px; color: #4d604a; font-weight: 600; letter-spacing: .12em}
.service-preface h2 {margin: 0 0 20px; font-size: calc(clamp(24px, 2.4vw, 32px) * var(--site-text-scale, 1)); font-weight: 600; line-height: 1.5; letter-spacing: .02em}
.service-preface-lead {max-width: 850px; margin: 0 0 30px}
.service-preface-principles {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 30px}
.service-preface-principles > div {border-top: 1px solid #bcc7b7; padding-top: 18px; min-width: 0}
.service-preface-principles h3 {font-size: calc(18px * var(--site-text-scale, 1)); line-height: 1.65; margin: 0 0 10px; font-weight: 600}
.service-preface-principles p {margin: 0; color: #43523f}
.service-preface-actions, .service-preface-finish, .service-preface-toolbar {display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px}
.service-preface-length {color: #4d5b49; font-size: calc(14px * var(--site-text-scale, 1))}
:is(.service-preface, .service-preface-reader) .preface-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border: 1px solid transparent;
  border-radius: 2px; font-size: calc(16px * var(--site-text-scale, 1));
  line-height: 1.6; text-align: center; white-space: normal; overflow-wrap: anywhere;
  transition: background-color .16s ease, color .16s ease;
}
:is(.service-preface, .service-preface-reader) .preface-primary,
:is(.service-preface, .service-preface-reader) .preface-primary:visited {background: #2e4638; color: #fff; border-color: #2e4638}
:is(.service-preface, .service-preface-reader) .preface-primary:is(:hover, :focus-visible) {background: #20382b; color: #fff; border-color: #20382b}
:is(.service-preface, .service-preface-reader) .preface-primary:active {background: #162b20; color: #fff; border-color: #162b20}
:is(.service-preface, .service-preface-reader) .preface-secondary,
:is(.service-preface, .service-preface-reader) .preface-secondary:visited {background: transparent; color: #304a39; text-decoration: underline; text-underline-offset: .25em}
:is(.service-preface, .service-preface-reader) .preface-secondary:is(:hover, :focus-visible) {background: #e1e6d9; color: #213d2b}
:is(.service-preface, .service-preface-reader) .preface-secondary:active {background: #d2dccb; color: #1c3625}
:is(.service-preface, .service-preface-reader) .preface-action:disabled {background: #e0e5d9; color: #475440; border-color: #aebba6; cursor: wait}
:is(.service-preface, .service-preface-reader, .service-preface-hint) :is(a, button):focus-visible {outline: 2px solid #704a26; outline-offset: 4px}
.service-preface-full {padding-top: 36px; margin-top: 30px; border-top: 1px solid #c0cab9; overflow-wrap: anywhere}
.service-preface-full[hidden] {display: none}
.service-preface-full-title {max-width: 720px; margin: 0 auto 24px; font-size: calc(24px * var(--site-text-scale, 1)); line-height: 1.6}
.service-preface-outline {display: block; position: static; z-index: auto; margin: 0 auto 36px; max-width: 720px; padding: 18px 22px; background: #e7ebdf; color: #293e2e; box-shadow: none; font-size: calc(16px * var(--site-text-scale, 1))}
.service-preface-outline strong {display: block}
.service-preface-outline ol {margin: 8px 0 0; padding-left: 1.4em}
.service-preface-outline a {display: flex; align-items: center; min-height: 44px; padding: 5px 0; text-decoration: underline; text-underline-offset: .25em}
.service-preface-body {margin: 0 auto 36px; color: #303e33; max-width: 720px; font-family: inherit; font-size: calc(19px * var(--site-text-scale, 1)); line-height: 2.1}
.service-preface-body :is(h2, h4) {font-size: calc(24px * var(--site-text-scale, 1)); line-height: 1.7; margin: 2em 0 1em; font-weight: 600}
.service-preface-body :is(p, h2, h4), #service-index {scroll-margin-top: 120px}
.service-preface-finish {max-width: 720px; margin: 28px auto 0; padding-top: 24px; border-top: 1px solid #c0cab9}
.service-preface-reader {--serif: var(--sans)}
.service-preface-reader .page-title {font-size: calc(clamp(28px, 3vw, 40px) * var(--site-text-scale, 1)); font-weight: 600; line-height: 1.6; letter-spacing: .02em}
.service-preface-reader .page-lead {font-size: calc(17px * var(--site-text-scale, 1)); color: #4c5949}
.service-preface-reader .service-preface-toolbar {margin-bottom: 28px}
.service-preface-hint {padding: 16px 20px; margin-block: 16px 28px; border-left: 3px solid #708167; background: #e9ede2; color: #384b37; font-size: calc(16px * var(--site-text-scale, 1)); line-height: 1.9}
.service-preface-hint p {margin: 0}
.service-preface-hint a {display: inline-block; min-height: 44px; padding-block: 7px; color: #304a39; text-decoration: underline; text-underline-offset: .25em}
.service-preface-hint a:visited {color: #304a39}
.service-preface-hint a:is(:hover, :focus-visible) {color: #203c29; background: #dce4d4}
.service-preface-hint a:active {color: #162d1f; background: #cedbc5}
.service-chapter-content > .service-preface-hint {width: 100%; margin-top: 0}
@media (max-width: 760px) {
  .service-preface {padding: 24px 20px; margin-bottom: 28px}
  .service-preface-principles {grid-template-columns: minmax(0, 1fr); gap: 20px}
  .service-preface-actions {gap: 10px 14px}
  .service-preface-actions .preface-primary {flex-basis: 100%}
  .service-preface-length {flex-basis: 100%; text-align: center}
  .service-preface-body {font-size: calc(18px * var(--site-text-scale, 1)); line-height: 2}
  .service-preface-outline {padding: 16px}
  .service-preface-finish {align-items: stretch}
}
@media (prefers-reduced-motion: reduce) {
  :is(.service-preface, .service-preface-reader) .preface-action {transition: none}
}
