/* Public privacy policy and terms of use — each platform's own identity, RTL (Arabic) first, LTR for English. */
.lp-tj {
  --ink: #0F1E3D;
  --mut: #5D6A85;
  --line: #DCE3EE;
  --soft: #F3F6FB;
  --p: #2457A6;
  --grad: linear-gradient(155deg, #0E2149 0%, #163A7C 48%, #2C68B9 100%);
}
.lp-px {
  --ink: #0B1B47;
  --mut: #56638A;
  --line: #DAE2F2;
  --soft: #F2F6FE;
  --p: #1B5BF5;
  --grad: linear-gradient(150deg, #0A1E66 0%, #1543C9 52%, #179FE3 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.lp {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
.lp-en { line-height: 1.7; }
.lp a { color: var(--p); }
.lp-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar */
.lp-top { background: var(--grad); color: #fff; }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lp-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lp-id img { width: 36px; height: 36px; border-radius: 10px; background: #fff; object-fit: contain; padding: 3px; flex: none; }
.lp-px .lp-id img { object-fit: cover; padding: 0; }
.lp-id b { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.lp-lang { display: flex; gap: 4px; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 3px; flex: none; }
.lp-lang a { color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; line-height: 1.6; }
.lp-lang a[aria-current] { background: #fff; color: var(--ink); }
.lp-lang a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- heading */
.lp-main { padding-top: 36px; padding-bottom: 56px; }
.lp-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.lp h1 { font-family: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.2rem); line-height: 1.35; margin: 0 0 8px; }
.lp-en h1 { font-family: "IBM Plex Sans Arabic", "Segoe UI", sans-serif; font-weight: 700; }
.lp-lead { color: var(--mut); font-size: 1.05rem; margin: 0 0 6px; }
.lp-date { color: var(--mut); font-size: .85rem; margin: 0; }

/* ---------- contents + text */
.lp-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.lp-toc { position: sticky; top: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: .9rem; }
.lp-toc b { display: block; margin-bottom: 6px; }
.lp-toc ol { margin: 0; padding-inline-start: 20px; }
.lp-toc li { margin: 3px 0; }
.lp-toc a { color: var(--ink); text-decoration: none; }
.lp-toc a:hover { color: var(--p); text-decoration: underline; }

.lp-doc section { scroll-margin-top: 16px; padding-bottom: 8px; }
.lp-doc section + section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }
.lp h2 { display: flex; align-items: baseline; gap: 10px; font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; line-height: 1.5; }
.lp-n { display: inline-grid; place-items: center; flex: none; min-width: 28px; height: 28px; border-radius: 8px; background: var(--soft); color: var(--p); font-size: .85rem; font-weight: 700; line-height: 1; }
.lp-doc p { margin: 0 0 10px; }
.lp-doc ul { margin: 0 0 12px; padding-inline-start: 22px; }
.lp-doc li { margin: 4px 0; }
.lp-doc li::marker { color: var(--p); }

.lp-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; }
.lp-wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.lp-wa:hover { background: var(--soft); }

/* ---------- footer */
.lp-foot { border-top: 1px solid var(--line); background: var(--soft); color: var(--mut); font-size: .85rem; }
.lp-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; padding-bottom: 16px; }

/* ---------- phones */
@media (max-width: 820px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lp-toc { position: static; }
  .lp-main { padding-top: 24px; }
}
@media (max-width: 420px) {
  .lp-wrap { padding-left: 16px; padding-right: 16px; }
  .lp-id b { font-size: .95rem; }
  .lp-lang a { padding: 4px 9px; }
}

@media print {
  .lp-top, .lp-toc, .lp-foot { display: none; }
  .lp-grid { display: block; }
}
