/* Match the existing CAW legal reading surface; scope all rules to these pages. */
.staff-legal {
  margin: 0;
  background: #f7f4ef;
  color: #222831;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.staff-document {
  box-sizing: border-box;
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px 88px;
  color: #222831;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.staff-document h1,
.staff-document h2 {
  color: #102033;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.15;
  text-wrap: balance;
}

.staff-document h1 {
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  margin: 0 0 2rem;
}

.staff-document h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.staff-document p { margin: 0; text-wrap: pretty; }
.staff-document p + p { margin-top: 1rem; }
.staff-document a { color: #1f3a5f; font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.staff-document a:hover { color: #102033; }
.staff-document a:focus-visible { outline: 3px solid #1f3a5f; outline-offset: 4px; }
.staff-document .staff-brand-link { display: inline-block; margin-bottom: 36px; }

.staff-document-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 40px;
}

.staff-disclosure { margin-top: 2rem; border-top: 1px solid #e5e7eb; }
.staff-disclosure blockquote { margin: 0; }
.staff-page-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }

@media (max-width: 640px) {
  .staff-document { padding: 48px 18px 64px; }
  .staff-document-content { padding: 28px 22px; }
}
