/* Long-form legal/content pages (Privacy, and Terms if it's ever written).
   Everything else on the site is either a hero or a dashboard row — nothing
   is styled for a wall of paragraphs and lists, so this exists on its own. */

.legal { padding: 64px 0 96px; }
.legal-in { max-width: 720px; margin-inline: auto; display: grid; gap: 4px; }
.legal-in h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
:root[lang="ar"] .legal-in h1 { letter-spacing: 0; }
.legal-updated { color: var(--faint); font-size: 13px; font-family: var(--mono); margin-bottom: 18px; }

.legal-in p { max-width: none; margin: 0 0 6px; line-height: 1.7; color: var(--muted); }
.legal-in h2 {
  font-size: 19px; font-weight: 750; letter-spacing: -.01em;
  margin: 36px 0 4px; color: var(--fg);
}
.legal-in ul { margin: 8px 0 6px; padding-inline-start: 22px; display: grid; gap: 10px; }
.legal-in li { color: var(--muted); line-height: 1.65; }
.legal-in li b { color: var(--fg); font-weight: 650; }
.legal-in a { color: var(--accent-t); text-decoration: underline; text-underline-offset: 2px; }

/* Pricing tables. Scroll sideways inside their own box on a phone rather
   than squeezing four columns, so the page body never scrolls horizontally. */
.price-scroll { overflow-x: auto; margin: 10px 0 8px; }
.price-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 11px 12px; text-align: start; border-bottom: 1px solid var(--line); }
.price-table th { font-weight: 650; color: var(--fg); background: var(--concrete); }
.price-table td { color: var(--muted); }
.price-table td:first-child { color: var(--fg); font-weight: 600; }

/* Phone numbers and similar values inside Arabic text. A dir="ltr" attribute
   alone was not enough: the number still rendered with its digit groups
   reversed and the "+" at the end. Its own inline-block with an explicit
   direction lays it out left to right regardless of the surrounding page. */
.ltr-num { display: inline-block; direction: ltr; unicode-bidi: isolate; }
