/* Legal pages (privacy, terms, data deletion): the landing page's tokens and fonts,
   a readable single column, Arabic (RTL, default) and English. */
:root {
  --ink: #101318; --muted: #5a6573; --paper: #f6f5f0; --card: #fbfaf6;
  --line: rgba(16,19,24,.14); --brand: #2177D3; --brand-ink: #ffffff;
  --font-en: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: Tajawal, Inter, ui-sans-serif, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--font-en); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--font-ar); font-size: 17px; }
.hidden { display: none !important; }
a { color: var(--brand); }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(246,245,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.top .grow { flex: 1; }
.lang { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lang:focus-visible, a:focus-visible { outline: 3px solid rgba(33,119,211,.4); outline-offset: 2px; }
main { max-width: 780px; margin: 0 auto; padding: 36px 20px 56px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.lead { font-size: 18px; color: #2a3340; }
h2 { font-size: 21px; margin: 36px 0 8px; padding-top: 4px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, li { color: #222a33; }
ul, ol { padding-inline-start: 22px; }
li { margin: 4px 0; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.box p:first-child { margin-top: 0; } .box p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; background: rgba(16,19,24,.03); }
.mail { display: inline-block; background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 12px; }
.toc { columns: 2; column-gap: 28px; font-size: 15px; }
@media (max-width: 640px) { .toc { columns: 1; } }
footer { border-top: 1px solid var(--line); padding: 24px 20px 40px; text-align: center; color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
footer a { color: var(--ink); text-decoration: none; font-weight: 600; }
bdi { unicode-bidi: isolate; }
