@font-face {
  font-family: Inter;
  src: url("/assets/Inter-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/assets/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: PlexArabic;
  src: url("/assets/PlexSansArabic-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: PlexArabic;
  src: url("/assets/PlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0f1b3d;
  --gold: #f2c14e;
  --periwinkle: #9db6ff;
  --background: #edf0f7;
  --surface: #fff;
  --text: #0f1b3d;
  --muted: #4f5c78;
  --line: #dce3f1;
  --link: #284282;
  --tint: #eef2fc;
  --accent: #795307;
  --primary: #1b2a5e;
  --on-primary: #fff;
  --shadow: 0 12px 36px -24px #172b665c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; }
}
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --background: #0b1226;
    --surface: #141f3b;
    --text: #f4f6ff;
    --muted: #b6c3e1;
    --line: #2c3c62;
    --link: #b5c7ff;
    --tint: #1d2a4d;
    --accent: #f2c14e;
    --primary: #b5c7ff;
    --on-primary: #0f1b3d;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --background: #0b1226;
  --surface: #141f3b;
  --text: #f4f6ff;
  --muted: #b6c3e1;
  --line: #2c3c62;
  --link: #b5c7ff;
  --tint: #1d2a4d;
  --accent: #f2c14e;
  --primary: #b5c7ff;
  --on-primary: #0f1b3d;
  --shadow: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.7 Inter, system-ui, sans-serif;
}
html[lang="ar"] body { font-family: PlexArabic, Inter, system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.28; }
a { color: var(--link); }
button { color: inherit; font: inherit; cursor: pointer; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; transform: translateY(-160%); z-index: 5; padding: 8px 14px; border-radius: 10px; background: var(--surface); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 2; background: var(--surface); border-block-end: 1px solid var(--line); }
.header-inner {
  width: min(100% - 36px, 740px);
  min-height: 66px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--text); text-decoration: none; font: 700 23px/1 Outfit, sans-serif; }
html[lang="ar"] .brand { font-family: PlexArabic, sans-serif; }
.brand img, .footer img { border-radius: 9px; }
.audiences { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--tint); }
.audiences a { display: grid; place-content: center; padding: 3px 15px; min-height: 38px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.audiences a[aria-current="page"] { background: var(--primary); color: var(--on-primary); }
.controls { display: flex; align-items: center; justify-self: end; }
.lang, .icon-button, .share { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font-size: 13px; font-weight: 700; }
.lang { padding: 0 8px; }
.icon-button { display: grid; place-items: center; width: 44px; }
.lang:hover, .icon-button:hover, .share:hover { background: var(--tint); }

.hub, .document { width: min(100% - 32px, 700px); margin-inline: auto; }
.hub-hero { padding: clamp(36px, 6vw, 58px) 8px 24px; text-align: center; }
.hero-icon { display: block; border-radius: 20px; margin: 0 auto 15px; box-shadow: 0 10px 24px -10px #0f1b3d94; }
.hub h1 { font-size: clamp(34px, 7vw, 54px); font-family: Outfit, Inter, sans-serif; font-weight: 700; letter-spacing: -.035em; }
html[lang="ar"] .hub h1 { font-family: PlexArabic, sans-serif; letter-spacing: 0; }
.hub-hero p { max-width: 500px; margin: 9px auto 0; color: var(--muted); }
.share { display: inline-flex; align-items: center; gap: 6px; padding-inline: 10px; margin-top: 8px; color: var(--link); }
.share svg { width: 16px; height: 16px; }

.card, .document .section { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.card { margin-bottom: 12px; }
.card summary { display: flex; align-items: center; gap: 12px; padding: 13px 17px; list-style: none; cursor: pointer; }
.card summary::-webkit-details-marker { display: none; }
.card summary h2 { font-size: 18px; }
.section-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.blue { background: #dfe8ff; color: #284282; }
.gold { background: #fae7b6; color: #684800; }
.green { background: #d9eee6; color: #165640; }
.chevron { width: 9px; height: 9px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-start: auto; margin-inline-end: 6px; }
.card[open] .chevron { transform: rotate(225deg); }
.card-content { margin-inline: 17px; padding-block: 0 18px; border-block-start: 1px solid var(--line); }
.stack { display: grid; align-items: start; justify-items: start; gap: 10px; padding-top: 14px; color: var(--muted); }
.stack .primary { width: 100%; }
.tabs { display: flex; border-block-end: 1px solid var(--line); }
.tabs button { flex: 1; min-height: 51px; padding: 8px; border: 0; border-block-end: 3px solid transparent; background: transparent; font-weight: 700; color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--link); border-block-end-color: var(--link); }
.platform { padding-top: 14px; text-align: center; }
.primary {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 16px;
  text-align: center;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
}
.primary:hover { filter: brightness(1.13); }
.primary.secondary { background: var(--tint); color: var(--link); }
.note { margin-top: 9px; font-size: 13px; color: var(--muted); }
.text-link, .audience-link { font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
.audience-link { display: block; width: fit-content; margin: 20px auto 0; }

.document { overflow-wrap: anywhere; }
.document .page-hero { padding: clamp(32px, 7vw, 58px) 0 25px; }
.document .page-hero h1 { font-size: clamp(34px, 6vw, 50px); }
.document .page-hero p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.document .section { padding: clamp(16px, 4vw, 28px); margin-bottom: 13px; }
.document h2 { font-size: clamp(19px, 3.4vw, 24px); }
.document h3 { font-size: 17px; }
.document .prose, .document .section-head, .document .quote { margin-top: 10px; }
.document .prose > * + * { margin-top: 12px; }
.document ul, .document ol { padding-inline-start: 25px; }
.document li + li { margin-top: 7px; }
.eyebrow, .k, .num { font-size: 13px; color: var(--accent); font-weight: 700; }
.section-head .eyebrow, .page-hero .eyebrow { margin-bottom: 8px; }
.flow, .pillars, .values, .not-list, .contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 10px;
  margin-top: 14px;
}
.flow-arrow { display: none; }
:is(.flow-node, .pillar, .value, .not, .contact-card a) { padding: 12px; border-radius: 12px; background: var(--tint); }
:is(.flow-node, .pillar, .value, .not) p { margin-top: 6px; }
.flow-node.mid .ico { display: block; width: fit-content; border-radius: 8px; background: var(--navy); }
.not .x { display: none; }
.contact-card a { display: grid; gap: 4px; }
.cta :is(p, a) { margin-top: 8px; }
.cta a { display: inline-block; margin-inline-end: 12px; }

.footer { width: min(100% - 32px, 700px); display: grid; justify-items: center; gap: 10px; margin: 28px auto 0; padding: 18px 0 24px; color: var(--muted); text-align: center; font-size: 13px; }
.footer nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.footer a { display: inline-block; padding-block: 4px; text-underline-offset: 3px; }

@media (max-width: 405px) {
  .header-inner { width: calc(100% - 20px); grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px; }
  .brand { gap: 4px; font-size: 17px; }
  .brand img { width: 26px; height: 26px; }
  .audiences { justify-self: center; }
  .audiences a { padding-inline: 5px; font-size: 12px; }
  .lang { padding-inline: 4px; }
  .icon-button { width: 35px; }
}
