/* Legal pages (Terms, Privacy, Copyright), option B picked by Deep on 24 Nov 2026: black header, fixed section list, one reading column.
   Sits on home-r5.css and site-pages.css: same Switzer, margins, hairlines and easing as the approved pages. */
.lgl { --grey: #55554f; --hl: rgba(1, 1, 1, .12); }
@media (prefers-reduced-motion: no-preference) { html:has(.lgl) { scroll-behavior: smooth; } }
.lgl :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.lgl ol, .lgl .st-rl { list-style: none; margin: 0; padding: 0; }

/* header */
.lh.mh { display: block; min-height: 0; padding: 0; clip-path: none; background: #010101; color: #fff; }
.lh-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gut); min-height: clamp(520px, 76svh, 760px); padding: calc(var(--hh) + 8px) var(--gm) clamp(40px, 4.4vw, 64px); }
.lgl .lh .st-bc { grid-column: 1 / -1; margin: 0; }
.lh .st-bc [aria-current], .lh .st-bc li + li::before { color: rgba(255, 255, 255, .66); }
.lh.mh h1 { grid-column: 1 / 7; grid-row: 3; align-self: end; max-width: none; margin: 0 0 -.08em -.04em; font-size: var(--fs-huge); line-height: 1; letter-spacing: -.05em; font-weight: 400; }
.lh-t { grid-column: 7 / -1; grid-row: 3; align-self: end; max-width: 40rem; }
.lh-l { margin: 0; font-size: var(--fs-l); line-height: 1.25; letter-spacing: -.02em; text-wrap: pretty; }
.lh-u { margin: 20px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
@media (prefers-reduced-motion: no-preference) {
  .lh.mh h1 { animation: lhUp 1s var(--ease) both; }
  .lh-t { animation: lhUp 1s var(--ease) .12s both; }
}
@keyframes lhUp { from { opacity: 0; transform: translate3d(0, 24px, 0); } }

/* section list and reading column */
.lw { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin-bottom: var(--sp-big); padding: var(--sp-big) var(--gm) 0; }
.lw:has(+ .st-rel) { margin-bottom: 0; }
.toc { grid-column: 1 / 4; position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: none; }
.toc a { position: relative; display: flex; align-items: center; min-height: 34px; padding: 4px 0 4px 18px; font-size: 15px; line-height: 1.3; color: var(--grey); transition: color .25s var(--ease); }
.toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #4DA1FF; opacity: 0; transform: scale(.4); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toc a:hover, .toc a.on { color: #010101; }
.toc a.on::before { opacity: 1; transform: none; }
.lb { grid-column: 5 / 11; min-width: 0; }
.lb section { scroll-margin-top: 104px; }
.lb section + section { margin-top: var(--sp-large); padding-top: 28px; border-top: 1px solid var(--hl); }
.lb h2 { margin: 0 0 22px; font-size: var(--fs-h4); line-height: 1.15; letter-spacing: -.035em; font-weight: 400; }
.li { max-width: 40rem; margin: 0 0 var(--sp-large); font-size: var(--fs-l); line-height: 1.25; letter-spacing: -.02em; text-wrap: pretty; }
.li a, .lc a { text-decoration: underline; text-underline-offset: 3px; }
.lc p { max-width: 40rem; margin: 0 0 1.1em; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.lc p:last-child { margin-bottom: 0; }
.lgl .fpush h2 { margin: 0; }
.lgl .st-rel > h2 { font-weight: 400; }
.lgl .rv { transform: translate3d(0, 14px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.lgl .rv.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .lgl .rv { opacity: 1; transform: none; transition: none; } }

/* phones and tablets: the section list becomes a button that follows you down the page */
.lp { display: none; position: fixed; z-index: 60; right: 10px; bottom: 16px; transform: translate3d(0, 12px, 0); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.lp.on { opacity: 1; visibility: visible; transform: none; }
.lp.on.scr { opacity: 0; visibility: hidden; transform: translate3d(0, 12px, 0); }
@media (prefers-reduced-motion: reduce) { .lp { transition: none; } .lp.on.scr { transform: none; } }
.lp-b { display: inline-flex; align-items: center; gap: 12px; max-width: min(340px, calc(100vw - 20px)); min-height: 44px; padding: 0 16px; border: 0; border-radius: 4px; background: #010101; color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.lp-b:focus-visible { outline-color: #010101; }
.lp-b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-b i { flex: none; width: 7px; height: 7px; margin-top: 3px; border-left: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg); transition: transform .25s var(--ease); }
.lp-b[aria-expanded="true"] i { margin-top: -3px; transform: rotate(225deg); }
.lp-p { position: absolute; right: 0; bottom: calc(100% + 8px); width: min(340px, calc(100vw - 20px)); max-height: calc(100svh - 96px); overflow-y: auto; padding: 8px 14px; border: 1px solid var(--hl); border-radius: 4px; background: #fff; transform: translate3d(0, 8px, 0); opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.lp-b[aria-expanded="true"] + .lp-p { opacity: 1; visibility: visible; transform: none; }
.lp-p a { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.25; color: var(--grey); }
.lp-p a:hover, .lp-p a.on { color: #010101; }

@media (max-width: 999px) {
  .lh-in { grid-template-rows: auto 1fr auto auto; }
  .lgl .lh .st-bc a { justify-content: flex-start; min-width: 0; }
  .lh.mh h1 { grid-column: 1 / -1; grid-row: 3; margin-bottom: 0; }
  .lh-t { grid-column: 1 / -1; grid-row: 4; margin-top: 24px; }
  .lh-l { font-size: 21px; line-height: 1.35; }
  .lw { display: block; }
  .toc { display: none; }
  .lp { display: block; }
  .li { font-size: 21px; line-height: 1.35; }
  .lc p { font-size: 17px; }
}
