/* Legal page template: title block, sticky contents, 720px reading column.
   Used by Privacy and Terms. Light only. */
.ls .lg { width: min(100% - (var(--ls-gutter) * 2), var(--ls-max)); margin-inline: auto; padding: 72px 0 96px; }
.ls .lg-head { display: flex; align-items: flex-end; gap: 56px; padding-bottom: 56px; }
.ls .lg-head-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ls .lg-tile { flex: none; display: grid; place-items: center; width: 320px; height: 300px; }
.ls .lg-tile img { display: block; width: auto; height: auto; max-width: 260px; max-height: 260px; mix-blend-mode: multiply; }
.ls .lg-tile--sm img { max-width: 220px; max-height: 220px; }
.ls .lg-title { max-width: none; margin: 0; color: var(--ls-ink); font-size: 56px; font-weight: 800; line-height: 56px; letter-spacing: -0.045em; }
.ls .lg-chip { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--ls-sand); color: var(--ls-ink); font-size: 14px; font-weight: 700; line-height: 18px; }
.ls .lg-scope { max-width: 760px; margin: 0; color: var(--ls-soft); font-size: 17px; font-weight: 500; line-height: 27px; }
.ls .lg-intro { max-width: 760px; margin: 0; color: var(--ls-ink); font-size: 19px; font-weight: 500; line-height: 29px; }

.ls .lg-body { display: flex; align-items: flex-start; gap: 120px; }
.ls .lg-toc { flex: none; width: 280px; position: sticky; top: 100px; }
.ls .lg-toc summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); list-style: none; }
.ls .lg-toc summary::-webkit-details-marker { display: none; }
.ls .lg-toc nav { display: flex; flex-direction: column; }
.ls .lg-toc a { display: flex; align-items: center; min-height: 44px; padding: 10px 8px 10px 16px; border-left: 2px solid var(--ls-line-2); color: var(--ls-soft); font-size: 15px; font-weight: 600; line-height: 20px; text-decoration: none; }
.ls .lg-toc a:hover { color: var(--ls-ink); border-left-color: var(--ls-control); }
.ls .lg-toc a[aria-current="true"] { border-left-color: var(--ls-ink); color: var(--ls-ink); font-weight: 700; }
.ls .lg-toc a:focus-visible, .ls .lg-cross a:focus-visible, .ls .lg-read a:focus-visible, .ls .lg-toc summary:focus-visible { outline: 3px solid var(--ls-ink); outline-offset: 2px; }

.ls .lg-read { flex: 1 1 0; min-width: 0; max-width: 720px; }
.ls .lg-sec { display: flex; flex-direction: column; gap: 14px; padding: 40px 0 8px; border-top: 1px solid var(--ls-line-2); scroll-margin-top: 96px; }
.ls .lg-sec h2 { margin: 0; color: var(--ls-ink); font-size: 28px; font-weight: 800; line-height: 34px; letter-spacing: -0.025em; }
.ls .lg-sec p { margin: 0; color: var(--ls-soft); font-size: 16px; font-weight: 500; line-height: 26px; }
.ls .lg-sec ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ls .lg-sec li { position: relative; margin: 0; padding-left: 18px; color: var(--ls-soft); font-size: 16px; font-weight: 500; line-height: 26px; }
.ls .lg-sec li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--ls-ink); }
.ls .lg-sec ul.lg-steps { counter-reset: step; }
.ls .lg-sec ul.lg-steps li { counter-increment: step; padding-left: 36px; }
.ls .lg-sec ul.lg-steps li::before { content: counter(step); top: 2px; width: 22px; height: 22px; background: var(--ls-ink); color: var(--ls-paper); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.ls .lg code { font: inherit; font-weight: 700; color: var(--ls-ink); background: none; padding: 0; border: 0; }
.ls .lg-sec a { color: var(--ls-accent-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ls .lg-sec a:hover { color: var(--ls-ink); }
.ls .lg-cross { padding-top: 40px; border-top: 1px solid var(--ls-line-2); margin-top: 8px; }
.ls .lg-cross a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ls-accent-text); font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ls .lg-cross a:hover { color: var(--ls-ink); }

@media (max-width: 1100px) { .ls .lg-tile { width: 240px; height: 240px; } .ls .lg-tile img { max-width: 200px; max-height: 200px; } .ls .lg-tile--sm img { max-width: 170px; max-height: 170px; } .ls .lg-head { gap: 32px; } }
@media (max-width: 900px) {
  .ls .lg-head { flex-direction: column; align-items: stretch; gap: 28px; }
  .ls .lg-tile { width: 100%; height: 150px; justify-items: center; }
  .ls .lg-tile img { max-width: 150px; max-height: 150px; }
  .ls .lg-tile--sm img { max-width: 128px; max-height: 128px; }
  .ls .lg { padding: 40px 0 64px; }
  .ls .lg-title { font-size: 40px; line-height: 44px; }
  .ls .lg-body { flex-direction: column; gap: 32px; }
  .ls .lg-toc { position: static; width: 100%; border: 1px solid var(--ls-line-2); border-radius: 14px; background: var(--ls-paper); }
  .ls .lg-toc summary { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px; color: var(--ls-ink); font-size: 15px; font-weight: 700; cursor: pointer; }
  .ls .lg-toc summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
  .ls .lg-toc[open] summary::after { transform: rotate(-135deg); }
  .ls .lg-toc nav { padding: 0 18px 12px; }
  .ls .lg-sec h2 { font-size: 24px; line-height: 30px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
