/* Shared by the three legal pages. They are one document type with three
   contents, so they get one stylesheet rather than three copies that drift. */
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:"Plex Arabic";src:url("/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");font-weight:700;font-display:swap}

:root{
  --blue:#005CD4; --blue-deep:#00347A; --blue-soft:#E1ECFF;
  --ink:#0B1728; --ink-soft:#2A3B51; --muted:#5C6E86;
  --paper:#F4F7FD; --surface:#fff; --line:#DCE6F5;
  --pad:clamp(20px,5vw,40px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:"Plex Arabic",system-ui,-apple-system,"Segoe UI",sans-serif;
  line-height:1.7;-webkit-font-smoothing:antialiased;font-variant-numeric:lining-nums;
}
img{max-width:100%;display:block}
a{color:var(--blue)}

header{
  position:sticky;top:0;z-index:20;
  background:rgba(244,247,253,.88);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top);
}
header .wrap{display:flex;align-items:center;gap:10px;height:60px}
header img{width:34px;height:34px;border-radius:9px}
header b{font-size:16px}
header .spacer{flex:1}
/* Tap target: the link measured 23.8px tall, which is not a finger. The
   header row is 60px and centres its children, so the taller hit area
   costs nothing visually. */
header a{font-size:14px;text-decoration:none;font-weight:600;
  display:inline-flex;align-items:center;min-height:44px}

.wrap{max-width:780px;margin-inline:auto;padding-inline:var(--pad)}

/* The title block carries the brand blue so the page is recognisably part of
   the app even though it is a plain document. */
.hero{background:linear-gradient(160deg,var(--blue),var(--blue-deep));color:#fff;padding:44px 0 40px}
.hero h1{margin:0 0 6px;font-size:clamp(26px,6vw,38px);line-height:1.25;letter-spacing:-.01em}
.hero p{margin:0;opacity:.82;font-size:15px}

main{padding:36px 0 72px}
article{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,5vw,40px);margin-bottom:22px}
article h2{margin:0 0 4px;font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--blue);font-weight:700}
article h3{margin:26px 0 8px;font-size:19px;line-height:1.35}
article h3:first-of-type{margin-top:14px}
article p{margin:0 0 12px;color:var(--ink-soft);font-size:16px}
article p:last-child{margin-bottom:0}

/* The Arabic half is the same document, so it gets the same styling with the
   direction flipped rather than a different look. */
[dir="rtl"]{text-align:right}

.sep{display:flex;align-items:center;gap:14px;margin:30px 0;color:var(--muted);font-size:13px}
.sep::before,.sep::after{content:"";flex:1;height:1px;background:var(--line)}

footer{border-top:1px solid var(--line);padding:26px 0 40px;color:var(--muted);font-size:13px;text-align:center}
/* Same reason as the header link: 19.5px tall was the whole target. The
   padding is vertical only, so the middot separators keep their rhythm
   and only the hit area grows. Prose links inside <article> are left
   alone — a 44px box mid-sentence would break the line spacing. */
footer a{text-decoration:none;display:inline-block;padding-block:11px}
