/* Legal reading layout, shared by all five policies. Keep the existing site
   shell and theme tokens; do not let legacy Webflow cards style legal prose. */
html:root body.has-site-header main .blog-post-wrapper {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 32px 0 80px;
}
html:root body.has-site-header main .back-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 44px;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--rl-ink-2) !important;
  font: 500 14px/1.5 var(--fp-font-body);
  text-decoration: none;
}
html:root body.has-site-header main .back-link:hover { color: var(--fp-accent-ink) !important; }
html:root body.has-site-header main a:focus-visible { outline: 2px solid var(--fp-accent-ink); outline-offset: 5px; }
/* Legal text must be immediately readable, even before legacy animation JS. */
html:root body.has-site-header main :is(h1,h2,h3,h4,.gsap_split_word) {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}
html:root body.has-site-header main :is(.article-wrapper, .policy-body) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
}
/* The title already identifies the document; the old duplicate badge adds noise. */
html:root body.has-site-header main .article-wrapper > .flex-between-center { display: none; }
html:root body.has-site-header main .policy-wrap {
  display: block;
  margin: 0 0 36px;
  padding: 0;
}
html:root body.has-site-header main .h1-article {
  margin: 0 0 16px;
  font-family: var(--fp-font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
  color: var(--rl-ink) !important;
}
html:root body.has-site-header main .policy-wrap > p {
  margin: 0;
  font: 400 14px/1.5 var(--fp-font-body);
  color: var(--rl-ink-3) !important;
}
html:root body.has-site-header main .policy-body {
  font: 400 16px/1.75 var(--fp-font-body);
  overflow-wrap: break-word;
  color: var(--rl-ink-2) !important;
}
html:root body.has-site-header main .policy-body :is(p, li, td, span) {
  font-size: inherit;
  line-height: inherit;
  color: inherit !important;
}
/* Use one-sided spacing: section gaps must not depend on the last paragraph
   or on the legacy CMS's section wrappers. */
html:root body.has-site-header main .policy-body :is(p,h2,h3,h4,ul,ol,section) { margin: 0; }
html:root body.has-site-header main .policy-body section { display: flow-root; }
html:root body.has-site-header main :is(.policy-body,.policy-body section) > * + * { margin-top: 18px; }
html:root body.has-site-header main .policy-body :is(h2,h3,h4) {
  font-family: var(--fp-font-display);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-wrap: pretty;
  color: var(--rl-ink) !important;
}
html:root body.has-site-header main .policy-body h2 { margin-top: 40px; font-size: 23px; }
html:root body.has-site-header main .policy-body h3 { margin-top: 28px; font-size: 19px; }
html:root body.has-site-header main .policy-body h4 { margin-top: 24px; font-size: 17px; }
html:root body.has-site-header main .policy-body :is(h2,h3,h4) + * { margin-top: 12px; }
html:root body.has-site-header main .policy-body p + :is(ul,ol) { margin-top: 10px; }
html:root body.has-site-header main .policy-body :is(ul,ol) { padding-left: 1.5em; }
html:root body.has-site-header main .policy-body li { margin: 0; padding-left: .25em; }
html:root body.has-site-header main .policy-body li + li { margin-top: 8px; }
html:root body.has-site-header main .policy-body li::marker { color: var(--rl-ink-3); }
html:root body.has-site-header main .policy-body a { text-decoration: underline; text-underline-offset: 3px; }
html:root body.has-site-header main .policy-body :is(strong,b) { color: var(--rl-ink) !important; }
html:root body.has-site-header main .policy-body table { width: 100%; border-collapse: collapse; }
html:root body.has-site-header main .policy-body :is(td,th) { padding: 12px; text-align: left; vertical-align: top; }
html:root body.has-site-header main :is(.policy-body,.policy-body section) > :first-child { margin-top: 0; }
html:root body.has-site-header main :is(.policy-body,.policy-body section) > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  html:root body.has-site-header main .blog-post-wrapper { padding-top: 20px; padding-bottom: 56px; }
  html:root body.has-site-header main .back-link { margin-bottom: 20px; }
  html:root body.has-site-header main .policy-wrap { margin-bottom: 28px; }
  html:root body.has-site-header main .policy-body h2 { font-size: 21px; }
  html:root body.has-site-header main .policy-body * + h2 { margin-top: 32px; }
}
