/* Styles are confined to the standalone legal documents. The original shared
   header keeps its own geometry, logo and navigation styles. */
html:has(#root > .lp-page)::-webkit-scrollbar { width: 10px; }
html:has(#root > .lp-page)::-webkit-scrollbar-track { background: #f7f9fd; }
html:has(#root > .lp-page)::-webkit-scrollbar-thumb { background: linear-gradient(#4054c7, #0f7f91); border-radius: 8px; }
html[data-public-theme="dark"]:has(#root > .lp-page)::-webkit-scrollbar-track { background: #0c1727; }
.lp-page header.site-shared-header .site-header-cta { background-image: linear-gradient(105deg, #4054c7, #0f7f91) !important; }
.lp-page {
  --lp-bg: #f7f9fd;
  --lp-surface: #fff;
  --lp-soft: #edf3fa;
  --lp-ink: #15263d;
  --lp-copy: #43556d;
  --lp-line: #d4dfed;
  --lp-accent: #3554c7;
  --lp-cyan: #086f82;
  --lp-focus: #3554c7;
  min-height: 100vh;
  padding-top: 96px;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font: 16px/1.8 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-public-theme="light"] .lp-page { color-scheme: light; }
html[data-public-theme="dark"] .lp-page {
  color-scheme: dark;
  --lp-bg: #0c1727;
  --lp-surface: #111e31;
  --lp-soft: #172a41;
  --lp-ink: #f2f6fc;
  --lp-copy: #bccbdd;
  --lp-line: #314761;
  --lp-accent: #a3b5ff;
  --lp-cyan: #81d4e2;
  --lp-focus: #a3b5ff;
}
.lp-shell { width: calc(100% - 48px); max-width: 1160px; margin-inline: auto; }
.lp-main *, .lp-footer * { box-sizing: border-box; }
.lp-main { outline: none; }
.lp-main h1, .lp-main h2, .lp-main p, .lp-footer p { margin: 0; }
.lp-main a, .lp-footer a { color: var(--lp-accent); text-decoration: none; }
.lp-main a:hover, .lp-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-main :focus-visible, .lp-footer :focus-visible, .lp-skip:focus-visible {
  outline: 3px solid var(--lp-focus);
  outline-offset: 4px;
  border-radius: 3px;
}
.lp-skip { position: fixed; top: -100px; left: 24px; z-index: 999; padding: 14px 20px; background: var(--lp-surface); color: var(--lp-ink); font-weight: 650; border-radius: 7px; text-decoration: none; }
.lp-skip:focus { top: 14px; }
.lp-hero { padding: 38px 0 48px; background: var(--lp-surface); border-bottom: 1px solid var(--lp-line); }
.lp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 36px; list-style: none; color: var(--lp-copy); font-size: 12px; }
.lp-breadcrumb li { display: inline-flex; align-items: center; gap: 12px; }
.lp-breadcrumb a { color: var(--lp-copy); min-height: 28px; display: inline-flex; align-items: center; }
.lp-eyebrow { color: var(--lp-accent); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: 1.7px; margin-bottom: 17px !important; }
.lp-title-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 860px; }
.lp-main h1 { color: var(--lp-ink); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.16; letter-spacing: -1.9px; font-weight: 750; scroll-margin-top: 125px; }
.lp-document-icon { display: grid; place-items: center; width: 62px; height: 62px; flex: 0 0 62px; border: 1px solid var(--lp-line); border-radius: 15px; background: var(--lp-soft); color: var(--lp-accent); }
.lp-document-icon svg { display: block; }
.lp-description { max-width: 790px; color: var(--lp-copy); font-size: 17px; line-height: 1.85; margin-top: 23px !important; }
.lp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; color: var(--lp-copy); font-size: 12px; line-height: 1.6; }
.lp-reading-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 66px; align-items: start; padding-block: 56px 74px; }
.lp-index { position: sticky; top: 125px; }
.lp-index-desktop { border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-surface); padding: 22px 18px 16px; max-height: calc(100dvh - 150px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--lp-line) transparent; }
.lp-index h2 { color: var(--lp-ink); font-size: 14px; font-weight: 750; line-height: 1.4; margin-bottom: 15px; padding-inline: 7px; }
.lp-index ol { list-style: none; padding: 0; margin: 0; }
.lp-index a { display: flex; align-items: flex-start; gap: 11px; min-height: 44px; padding: 10px 7px; border-radius: 6px; color: var(--lp-copy); font-size: 12px; font-weight: 550; line-height: 1.65; }
.lp-index a:hover { background: var(--lp-soft); color: var(--lp-accent); text-decoration: none; }
.lp-index-number { color: var(--lp-accent); font-size: 10px; font-weight: 750; line-height: 1.95; flex: 0 0 17px; padding-top: 1px; }
.lp-index-mobile { display: none; }
.lp-article { min-width: 0; }
.lp-introduction { border-left: 3px solid var(--lp-accent); padding-left: 23px; margin: 0 0 44px; }
.lp-article p, .lp-article li { color: var(--lp-copy); font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.lp-introduction p + p { margin-top: 16px; }
.lp-section { scroll-margin-top: 125px; border-top: 1px solid var(--lp-line); padding-top: 30px; margin-top: 36px; }
.lp-section h2 { display: flex; align-items: baseline; gap: 15px; color: var(--lp-ink); font-size: 23px; line-height: 1.4; font-weight: 750; letter-spacing: -.55px; margin-bottom: 18px; }
.lp-section-number { flex: 0 0 25px; color: var(--lp-accent); font-size: 12px; font-weight: 750; letter-spacing: .4px; }
.lp-section p + p { margin-top: 15px; }
.lp-section ul { margin: 16px 0 0; padding-left: 23px; }
.lp-section li { padding-left: 4px; }
.lp-section li + li { margin-top: 9px; }
.lp-section li::marker { color: var(--lp-accent); }
.lp-article p a, .lp-article li a { text-decoration: underline; text-underline-offset: 3px; font-weight: 550; }
.lp-document-end { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px 25px; border-top: 1px solid var(--lp-line); margin-top: 40px; padding-top: 25px; }
.lp-document-end a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; }
.lp-document-end a.lp-back-top { color: var(--lp-copy); font-size: 12px; font-weight: 550; }
.lp-footer { background: var(--lp-surface); border-top: 1px solid var(--lp-line); padding-block: 30px 18px; }
.lp-footer-content { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.lp-footer-brand > a { display: inline-flex; min-height: 36px; align-items: center; font-size: 17px; font-weight: 750; color: var(--lp-ink); letter-spacing: -.4px; }
.lp-footer-brand p { color: var(--lp-copy); font-size: 11px; line-height: 1.8; margin-top: 6px; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.lp-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--lp-copy); }
.lp-footer nav a[aria-current="page"] { color: var(--lp-accent); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.lp-footer-credit { border-top: 1px solid var(--lp-line); margin-top: 24px; padding-top: 16px; color: var(--lp-copy); font-size: 11px; }
@media (max-width: 1020px) {
  .lp-reading-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 34px; }
  .lp-index-desktop { padding-inline: 13px; }
}
@media (max-width: 800px) {
  .lp-reading-layout { display: block; padding-block: 34px 52px; }
  .lp-index { position: static; margin-bottom: 32px; }
  .lp-index-desktop { display: none; }
  .lp-index-mobile { display: block; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-surface); }
  .lp-index-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; min-height: 56px; padding: 15px 19px; cursor: pointer; color: var(--lp-ink); font-size: 13px; font-weight: 700; }
  .lp-index-mobile summary::-webkit-details-marker { display: none; }
  .lp-index-mobile summary svg { flex-shrink: 0; color: var(--lp-accent); }
  .lp-index-mobile[open] summary svg { transform: rotate(180deg); }
  .lp-index-mobile[open] summary { border-bottom: 1px solid var(--lp-line); }
  .lp-index-mobile nav { padding: 10px 12px 15px; }
  .lp-index-mobile a { font-size: 13px; padding: 10px 7px; }
}
@media (max-width: 767px) {
  .lp-page { padding-top: 80px; }
  .lp-main h1, .lp-section { scroll-margin-top: 103px; }
  .lp-hero { padding-block: 26px 33px; }
  .lp-breadcrumb ol { margin-bottom: 27px; }
  .lp-meta { margin-top: 23px; }
}
@media (max-width: 560px) {
  .lp-shell { width: calc(100% - 36px); }
  .lp-title-row { gap: 16px; align-items: flex-start; }
  .lp-main h1 { font-size: 34px; letter-spacing: -1.25px; }
  .lp-document-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 10px; }
  .lp-document-icon svg { width: 24px; height: 24px; }
  .lp-eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .lp-description { font-size: 15px; margin-top: 20px !important; }
  .lp-meta { align-items: flex-start; flex-direction: column; gap: 6px; font-size: 11px; }
  .lp-meta-divider { display: none; }
  .lp-introduction { padding-left: 17px; margin-bottom: 33px; }
  .lp-article p, .lp-article li { font-size: 14px; line-height: 1.9; }
  .lp-section { padding-top: 24px; margin-top: 28px; }
  .lp-section h2 { font-size: 20px; line-height: 1.45; gap: 10px; letter-spacing: -.3px; margin-bottom: 15px; }
  .lp-section-number { font-size: 10px; flex-basis: 20px; }
  .lp-section ul { padding-left: 21px; }
  .lp-document-end { display: grid; justify-content: start; gap: 5px; padding-top: 18px; margin-top: 29px; }
  .lp-document-end a { font-size: 12px; }
  .lp-footer-content { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lp-footer nav { gap: 27px; }
  .lp-footer-credit { margin-top: 18px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-main *, .lp-footer * { scroll-behavior: auto !important; }
}
