/* Legal pages: terms.html, privacy.html, accessibility.html (built by _build/build_legal.py, after the Pink site's).
   A quiet reading page in the homepage's language: the white hero with the three documents as tabs, then the
   contents on the side and the text in one column, a grey "בקצרה" panel on top and the FAQ's grey panel at the end. */

.lg-hero { padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.lg-hero .ih-title { font-size: clamp(44px, 5.4vw, 80px); }
.lg-hero .ih-sub { max-width: 30em; }

/* the three documents, the current one black */
.lg-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 999px; background: var(--paper-2); }
.lg-switch a { padding: 9px 18px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink-2); text-decoration: none; }
.lg-switch a:hover { background: #fff; color: var(--ink); }
.lg-switch a[aria-current="page"] { background: #000; color: #fff; font-weight: 600; }
@media (max-width: 599px) { .lg-switch a { padding: 8px 12px; font-size: 15px; } }

.lg-grid { display: grid; gap: 40px; padding-top: 40px; padding-bottom: clamp(56px, 7vw, 96px); }

/* contents: on the side from 1000px, a fold under the summary below that */
.lg-toc { display: none; }
.lg-toc ol, .lg-toc-m ol { display: grid; gap: 2px; }
.lg-toc a, .lg-toc-m a { display: flex; gap: 10px; align-items: baseline; padding: 5px 12px; border-radius: 10px; font-size: 16px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.lg-toc a:hover, .lg-toc-m a:hover { background: var(--paper-2); color: var(--ink); }
.lg-toc a[aria-current="true"] { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.lg-toc .n, .lg-toc-m .n { flex: none; min-width: 1.5em; font-family: "Wix Madefor Text", var(--sans); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lg-toc-h { margin-bottom: 8px; padding-inline: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lg-toc-m { margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; }
.lg-toc-m summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.lg-toc-m summary::-webkit-details-marker { display: none; }
.lg-toc-m summary::after { content: "+"; content: "+" / ""; font-family: "Wix Madefor Text", var(--sans); font-size: 24px; font-weight: 400; line-height: 1; }
.lg-toc-m[open] summary::after { content: "−"; content: "−" / ""; }
.lg-toc-m ol { padding: 0 6px 10px; }

/* the text */
.lg-doc { min-width: 0; max-width: 72ch; font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.lg-doc a { color: var(--ink); text-underline-offset: 3px; }
.lg-doc [data-consent-open] { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } /* reopens the cookie bar */
.lg-doc b { color: var(--ink); font-weight: 700; }
.lg-summary { padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--paper-2); color: var(--ink); }
.lg-summary h2 { margin-bottom: 14px; font-family: var(--display); font-size: 26px; font-weight: 700; }
.lg-summary .ticks { gap: 10px; margin-bottom: 16px; font-weight: 500; line-height: 1.6; }
.lg-summary .fine { font-size: 15px; color: var(--ink-2); }
.lg-sec { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.lg-summary + .lg-toc-m + .lg-sec { border-top: 0; margin-top: 12px; }
.lg-sec h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.lg-sec h2 .n { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--paper-2); font-family: "Wix Madefor Text", var(--sans); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lg-sec p { margin-bottom: 14px; }
.lg-sec ul { display: grid; gap: 10px; margin-bottom: 14px; }
.lg-sec li { position: relative; padding-inline-start: 22px; }
.lg-sec li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: #000; }
.lg-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
@media (min-width: 1000px) {
  .lg-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-top: 56px; }
  .lg-toc { display: block; position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; }
  .lg-toc-m { display: none; }
  .lg-summary + .lg-toc-m + .lg-sec { margin-top: 0; }
}

/* contact: the FAQ's grey panel, its head only, with a white e-mail button beside the black WhatsApp one */
.lg-contact > .wrap { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.lg-contact .faq3-head { margin-bottom: 0; }
.btn-quiet { background: #fff; color: #000; border-color: #fff; }
.btn-quiet:hover { border-color: #000; }
