/* Privacy Policy and Terms of Use (lg-). Concept: the letterhead document, light; prints cleanly. */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
.calm { scroll-behavior: auto; }
.lg { position: relative; overflow-x: clip; padding: clamp(124px, 16vh, 164px) 0 calc(var(--section-y) + clamp(48px, 7vw, 104px)); background: var(--paper-soft); }
.lg-head { display: grid; gap: 14px; justify-items: start; max-width: 820px; margin-bottom: clamp(32px, 4vw, 56px); }
.lg-head .t-lead { max-width: 64ch; }
.lg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.lg-date { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; color: var(--ink-soft); }
.lg-date b { color: var(--navy); }
.lg-date .ic { color: var(--lime-strong); }
.lg-print { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 700; color: var(--navy); transition: background-color .2s, color .2s; }
.lg-print .ic { width: 16px; height: 16px; }
.lg-print:hover { background: var(--navy); color: #fff; }
.lg__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

/* table of contents: follows the section being read */
.lg-toc { position: sticky; top: 110px; }
.lg-toc__btn { display: none; }
.lg-toc__l { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.lg-toc__l a { display: flex; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: .9375rem; font-weight: 700; line-height: 1.35; color: var(--ink-soft); transition: background-color .2s, color .2s, box-shadow .2s; }
.lg-toc__l b { color: var(--ink-mute); }
.lg-toc__l a:hover { background: #fff; color: var(--navy); }
.lg-toc__l a[aria-current] { background: #fff; color: var(--navy); box-shadow: var(--shadow-1); }
.lg-toc__l a[aria-current] b { color: var(--lime-strong); }

/* the document */
.lg-doc { position: relative; padding: clamp(28px, 4vw, 56px) clamp(22px, 4.5vw, 64px); border-radius: 8px 8px 28px 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.lg-doc::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, var(--navy) 0 72%, var(--lime) 72%); }
.lg-doc__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 2px solid var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.lg-doc__head span:last-child { margin-inline-start: auto; color: var(--ink-mute); }
.lg-mark { display: flex; gap: 3px; }
.lg-mark i { width: 10px; height: 20px; border-radius: 2px; background: var(--navy); transform: skewX(-24deg); }
.lg-mark i:last-child { background: var(--lime); }
.lg-sec { padding-block: 28px 10px; scroll-margin-top: 110px; }
.lg-sec + .lg-sec { border-top: 1px solid var(--line); }
.lg-sec h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.3; color: var(--navy); }
.lg-sec h2 b { font-size: .875rem; color: var(--lime-strong); }
.lg-sec p, .lg-sec li { max-width: 72ch; font-size: 1rem; line-height: 1.75; color: var(--ink-body); }
.lg-sec p + p, .lg-sec ul + p, .lg-sec p + ul { margin-top: 14px; }
.lg-sec ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.lg-sec li { position: relative; padding-inline-start: 28px; }
.lg-sec li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 14px; height: 7px; border-radius: 2px; background: var(--lime); transform: skewX(-24deg); }
.lg-sec strong { color: var(--navy); }
.lg-ask { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.lg-next { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; margin-inline-start: calc(280px + clamp(28px, 4vw, 64px)); padding: 22px 26px; border-radius: 22px; color: #fff; background: radial-gradient(90% 140% at 100% 0%, #0D427C 0%, transparent 70%) var(--deep); transition: transform .4s var(--ease-out); }
.lg-next:hover { transform: translateY(-3px); }
.lg-next span { display: grid; font-size: 1.25rem; font-weight: 800; }
.lg-next b { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-glow); }
.lg-next i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--navy); }

@media (max-width: 900px) {
  .lg__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lg-next { margin-inline-start: 0; }
  /* phones and tablets: "On this page" is a sticky pill that opens the list */
  .lg-toc { top: 78px; z-index: 5; }
  .lg-toc__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-weight: 800; color: var(--navy); }
  .lg-toc__btn .ic { transition: rotate .3s; }
  .lg-toc.is-open .lg-toc__btn .ic { rotate: 180deg; }
  .lg-toc__l { display: none; margin-top: 6px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-3); }
  .lg-toc.is-open .lg-toc__l { display: grid; }
}
@media (max-width: 760px) {
  .lg { padding-top: 100px; }
  .lg-doc__head span:last-child { display: none; }
}
@media print {
  .hd, .tb, .ft, .sheet, .pre, .pt, .skip, .crumb, .lg-toc, .lg-print, .lg-next { display: none !important; }
  body, .lg { background: #fff; }
  .lg { padding: 0; }
  .lg__grid { display: block; }
  .lg-doc { box-shadow: none; padding: 0; }
  .js [data-reveal] .in, .js [data-reveal] .w > span { opacity: 1 !important; translate: none !important; transform: none !important; }
}
