/* The legal pages: the landing's colours and type, a reading column, tables that scroll inside themselves. */
:root {
  --navy: #0D2040; --teal: #0DB8B6; --teal-ink: #08807E; --paper: #FFFFFF;
  --ink-2: #44546C; --line: #DCE3EA; --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 17px/1.8 "IBM Plex Sans Arabic", system-ui, sans-serif; }
a { color: var(--teal-ink); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.ltr { direction: ltr; unicode-bidi: isolate; }

header.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: auto; height: 36px; }
.other { font-weight: 600; text-decoration: none; padding: 10px 4px; }

.doc { padding-top: 16px; padding-bottom: 64px; overflow-wrap: anywhere; }
.doc > p:first-child { margin: 0; color: var(--ink-2); font-size: 15px; }
.doc h1 { margin: 6px 0 28px; font-size: clamp(30px, 6vw, 42px); line-height: 1.2; }
.doc h2 { margin: 36px 0 10px; font-size: 22px; line-height: 1.35; }
.doc h3 { margin: 24px 0 8px; font-size: 18px; }
.doc p, .doc li { color: #24344E; }
.doc ul { padding-inline-start: 1.4em; }
.doc li { margin: 6px 0; }
.doc div:has(> table) { overflow-x: auto; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
[dir="rtl"] .doc th, [dir="rtl"] .doc td { padding: 8px 0 8px 10px; }

footer { background: var(--navy); color: #B7C3D4; font-size: 14px; padding: 32px 0 40px; line-height: 1.8; }
footer p { margin: 0; }
footer nav { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer a { color: #fff; }
