html { scroll-snap-type: none; scroll-padding-top: calc(var(--nav-height) + 1rem); }

.legal-page {
  padding-block: calc(var(--nav-height) + clamp(2.5rem, 5vw, 5rem)) clamp(4rem, 8vw, 7rem);
}
.legal-heading { border-bottom: 1px solid rgb(255 255 255 / 12%); padding-bottom: var(--m-xxxl); }
.legal-heading h1 { margin-bottom: 0; }
.legal-heading .date { margin-top: var(--m-s); color: var(--text-secondary); font-size: .9rem; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 65ch);
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-top: var(--m-xxxl);
}
.desktop-toc { position: sticky; align-self: start; top: calc(var(--nav-height) + 1rem); }
.toc h2, .toc summary { font-size: 1rem; font-weight: 700; }
.toc nav { display: grid; gap: .75rem; margin-top: 1rem; }
.toc a { font-size: .9rem; line-height: 1.45; color: var(--text-secondary); }
.toc a:hover, .toc a:focus-visible { color: var(--text-primary); text-decoration: underline; }
.mobile-toc { display: none; }
.legal-page article { line-height: 1.75; color: rgb(255 255 255 / 80%); overflow-wrap: break-word; }
.legal-page article h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.35; margin-top: 2.2rem; color: var(--text-primary); }
.legal-page article p + p, .legal-page article h2 + p, .legal-page article ul, .legal-page article ol { margin-top: .75rem; }
.legal-page article :is(ul, ol) { padding-inline-start: 1.5rem; }
.legal-page article li + li { margin-top: .5rem; }
.legal-page article a { color: var(--text-primary); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .legal-heading { padding-bottom: var(--m-xl); }
  .legal-layout { display: block; padding-top: 0; }
  .desktop-toc { display: none; }
  .mobile-toc { display: block; padding: var(--m-m) 0; margin-bottom: var(--m-xl); border-bottom: 1px solid rgb(255 255 255 / 12%); }
  .mobile-toc summary { cursor: pointer; }
}

.footer-bottom .language-error { flex-basis: 100%; }
html:lang(ar), html:lang(ur) { --font-ui: "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; }
html:lang(he) { --font-ui: Arial, sans-serif; }
