/* maseh.sa — one stylesheet for every page. Arabic (RTL) is the base; English
   overrides sit under html[lang="en"]. Logical properties keep both directions
   working from the same rules. Fonts are self-hosted (see /fonts/OFL.txt). */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-500-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-600-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-700-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/fonts/ibm-plex-sans-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/fonts/ibm-plex-sans-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root{
  --bg:#F6F4F0; --ink:#0C1F3C; --gold:#E0B85A; --gold-ink:#7A5A16; --muted:#4D5A70;
  --line:#DDD8CE; --line-soft:#ECE8E0; --line-strong:#C9C3B7; --alt:#EEEAE2; --cta:#E7E3DA;
  --badge:#F3E8CC; --badge-line:#E5D19C; --hover:#1B3358; --white:#FFFFFF;
  --navy-2:#16294A; --navy-line:#263A5C; --navy-grid:#1D3255; --navy-btn:#3A4E70;
  --on-navy-muted:#AEB7C6; --on-navy-soft:#D5DAE2;
  --pad:clamp(20px,5vw,48px);
  --sans-ar:'IBM Plex Sans Arabic','IBM Plex Sans',system-ui,sans-serif;
  --sans-en:'IBM Plex Sans','IBM Plex Sans Arabic',system-ui,sans-serif;
  --latin:'IBM Plex Sans',system-ui,sans-serif;
  --arabic:'IBM Plex Sans Arabic',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  color-scheme:light;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);font-family:var(--sans-ar);-webkit-font-smoothing:antialiased}
html[lang="en"] body{font-family:var(--sans-en)}
main{flex:1}
main:focus{outline:none}
a{color:var(--ink);text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:4px}
a:hover{color:var(--gold-ink)}
::selection{background:var(--gold);color:var(--ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
.on-dark :focus-visible{outline-color:var(--gold)}
summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
img{max-width:100%}
.wrap{max-width:1200px;margin:0 auto;padding-inline:var(--pad)}
.latin{font-family:var(--latin)}
.mono{font-family:var(--mono)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;padding:12px 18px;border-radius:12px;background:var(--ink);color:var(--bg);font-weight:600;text-decoration:none}
.skip:focus{top:12px;color:var(--bg)}

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header{position:sticky;top:0;z-index:50;background:rgba(246,244,240,.94);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.bar{height:72px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--ink);text-decoration:none}
.brand:hover{color:var(--ink)}
.brand img{display:block;border-radius:9px}
.brand span{font-size:27px;font-weight:600;line-height:1;padding-bottom:4px}
html[lang="en"] .brand span{font-size:23px;letter-spacing:-.01em;padding-bottom:0}
.nav{display:flex;align-items:center;gap:4px;margin-inline-start:auto}
.nav a{position:relative;padding:10px 14px;border-radius:10px;font-size:16px;font-weight:500;color:var(--ink);text-decoration:none}
html[lang="en"] .nav a{font-size:15px}
.nav a:hover{background:var(--alt);color:var(--ink)}
.nav a[aria-current="page"]::after{content:"";position:absolute;inset-inline:14px;bottom:2px;height:2px;border-radius:2px;background:var(--gold)}
.tools{display:flex;align-items:center;gap:8px;margin-inline-start:12px}
.lang{display:inline-flex;align-items:center;height:40px;padding:0 16px;border:1px solid var(--line-strong);border-radius:999px;color:var(--ink);font:500 15px/1 var(--latin);text-decoration:none;white-space:nowrap}
.lang:lang(ar){font-family:var(--arabic)}
.lang:hover{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.lang .short{display:none}
.menu{display:none}
.menu summary{width:44px;height:44px;border-radius:12px;background:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.menu summary span:not(.sr-only){display:block;width:18px;height:2px;border-radius:2px;background:var(--bg);transition:transform .2s ease,opacity .2s ease}
.menu summary span:nth-child(3){background:var(--gold)}
.menu[open] summary span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu[open] summary span:nth-child(2){opacity:0}
.menu[open] summary span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.menu summary span{transition:none}}
.menu-panel{position:absolute;top:100%;inset-inline:0;display:flex;flex-direction:column;padding:8px var(--pad) 20px;background:var(--bg);border-block:1px solid var(--line);box-shadow:0 24px 40px -28px rgba(12,31,60,.35)}
.menu-panel .main-link{display:flex;align-items:center;min-height:52px;border-bottom:1px solid var(--cta);font-size:19px;font-weight:500;color:var(--ink);text-decoration:none}
html[lang="en"] .menu-panel .main-link{font-size:18px}
.menu-panel .main-link[aria-current="page"]{color:var(--gold-ink)}
.menu-panel .minor{display:flex;flex-wrap:wrap;gap:4px 20px;padding-top:14px}
.menu-panel .minor a{display:flex;align-items:center;min-height:44px;font-size:15px;color:var(--muted);text-decoration:none}
@media (max-width:879.98px){
  .nav{display:none}
  .tools{margin-inline-start:auto}
  .lang{height:44px;padding:0 14px}
  .lang .full{display:none}
  .lang .short{display:inline}
  .menu{display:block}
}

/* ── Shared type and controls ──────────────────────────────────────────── */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--gold-ink)}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--gold)}
html[lang="en"] .eyebrow{font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.h2{margin:0;font-size:clamp(32px,4.6vw,54px);line-height:1.35;font-weight:600;text-wrap:balance}
html[lang="en"] .h2{line-height:1.1;letter-spacing:-.025em}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;height:54px;padding:0 26px;border-radius:14px;background:var(--ink);color:var(--bg);font-size:17px;font-weight:600;text-decoration:none;white-space:nowrap}
.btn:hover{background:var(--hover);color:var(--bg)}
.btn-line{padding:0 24px;border:1.5px solid var(--ink);background:transparent;color:var(--ink)}
.btn-line:hover{background:var(--ink);color:var(--bg)}
.btn-line.latin{padding:0 22px;font:600 16px var(--latin)}
.band{background:var(--alt);border-block:1px solid var(--line)}
.navy{background:var(--ink);color:var(--bg)}
.sec{padding-block:clamp(64px,9vw,128px)}
.sec-head{display:flex;flex-direction:column;gap:16px;max-width:780px}

/* ── Home: hero ────────────────────────────────────────────────────────── */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(44px,6vw,80px);padding-block:clamp(40px,7vw,96px) clamp(56px,8vw,112px)}
.hero-copy{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hero h1{margin:0;font-size:clamp(50px,8.6vw,104px);line-height:1.2;font-weight:600;text-wrap:balance}
html[lang="en"] .hero h1{font-size:clamp(50px,8.2vw,100px);line-height:1.02;letter-spacing:-.03em}
.hero-copy>p{margin:0;max-width:32em;font-size:clamp(18px,1.7vw,21px);line-height:1.9;color:var(--muted);text-wrap:pretty}
html[lang="en"] .hero-copy>p{max-width:30em;line-height:1.6}
.free{align-self:flex-start;display:flex;align-items:center;gap:14px;padding-block:10px;padding-inline:10px 22px;border-radius:18px;background:var(--badge);border:1px solid var(--badge-line)}
.free b{flex-shrink:0;display:flex;align-items:center;height:46px;padding:0 18px;border-radius:12px;background:var(--ink);color:var(--gold);font-size:21px;font-weight:700;line-height:1}
.free span{font-size:17px;font-weight:600;line-height:1.6}
.free small{display:block;margin-top:2px;font-size:15px;font-weight:500;line-height:1.6;color:var(--muted)}
html[lang="en"] .free b{font-size:20px}
html[lang="en"] .free span{line-height:1.45}

/* Illustrative condition report */
.demo{flex:1 1 360px;min-width:0;max-width:500px;margin-inline:auto}
.demo-frame{position:relative;overflow:hidden;padding:clamp(36px,4.4vw,52px) clamp(18px,3vw,40px);border-radius:32px;background:var(--ink)}
.demo-frame .g{position:absolute;background:var(--navy-grid)}
.demo-frame .g1,.demo-frame .g2{top:0;bottom:0;width:1px}
.demo-frame .g1{inset-inline-start:33.33%}
.demo-frame .g2{inset-inline-start:66.66%}
.demo-frame .g3,.demo-frame .g4{inset-inline:0;height:1px}
.demo-frame .g3{top:33.33%}
.demo-frame .g4{top:66.66%}
.demo-frame .c{position:absolute;width:26px;height:26px;border:0 solid var(--gold)}
.demo-frame .c1{top:14px;inset-inline-start:14px;border-top-width:2px;border-inline-start-width:2px;border-start-start-radius:8px}
.demo-frame .c2{top:14px;inset-inline-end:14px;border-top-width:2px;border-inline-end-width:2px;border-start-end-radius:8px}
.demo-frame .c3{bottom:14px;inset-inline-start:14px;border-bottom-width:2px;border-inline-start-width:2px;border-end-start-radius:8px}
.demo-frame .c4{bottom:14px;inset-inline-end:14px;border-bottom-width:2px;border-inline-end-width:2px;border-end-end-radius:8px}
.report{position:relative;display:flex;flex-direction:column;gap:18px;padding:22px;border-radius:20px;background:var(--white);color:var(--ink);box-shadow:0 28px 56px -20px rgba(0,0,0,.55)}
.report-head{display:flex;align-items:center;gap:12px}
.report-head img{display:block;flex-shrink:0;border-radius:9px}
.stack{display:flex;flex-direction:column;gap:2px;min-width:0}
.report-title{font-size:16px;font-weight:600;line-height:1.4}
.report-code{font:500 12px/1.3 var(--mono);color:var(--muted)}
.status{margin-inline-start:auto;display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;background:var(--badge);font-size:13px;font-weight:600}
.status::before{content:"";width:6px;height:6px;border-radius:50%;background:#B8862B}
.report-item{display:flex;flex-direction:column;gap:6px;padding-top:16px;border-top:1px solid var(--line-soft)}
.label{font-size:13px;font-weight:500;color:var(--muted)}
.item-name{font-size:20px;font-weight:600;line-height:1.45}
.item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:14px;color:var(--muted)}
.item-meta .mono{font:400 13px var(--mono)}
.report-block{display:flex;flex-direction:column;gap:10px}
.row-between{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.count{font:600 13px var(--mono)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:8px;background:var(--bg);font-size:13px;font-weight:500}
.chip::before{content:"";width:5px;height:5px;background:var(--ink)}
.notes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.notes li{display:flex;gap:10px;font-size:15px;line-height:1.7}
.notes .n{flex-shrink:0;font:500 12px/2.1 var(--mono);color:var(--gold-ink)}
.report-foot{display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--line-soft)}
.avatar{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--ink);color:var(--gold);font-size:16px;font-weight:600}
.who-name{font-size:15px;font-weight:600}
.who-role{font-size:13px;color:var(--muted)}
.only{margin-inline-start:auto;font-size:12px;font-weight:500;color:var(--muted);text-align:end}
html[lang="en"] .report-title{line-height:1.3}
html[lang="en"] .item-name{line-height:1.3}
html[lang="en"] .notes li{line-height:1.55}
html[lang="en"] .notes .n{line-height:1.95}
html[lang="en"] .avatar{font-size:15px}

/* ── Home: categories ──────────────────────────────────────────────────── */
.cats{display:flex;flex-direction:column;gap:22px;padding-block:clamp(32px,4.5vw,52px)}
.cats h2{margin:0;font-size:16px;font-weight:600;color:var(--muted)}
.cats ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}
.cats li{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:18px;border-radius:20px;background:var(--white);border:1px solid var(--line)}
.cats .ic{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--bg)}
.cats .ic img{display:block}
.cats .name{font-size:clamp(19px,1.9vw,22px);font-weight:600;line-height:1.35}
html[lang="en"] .cats .name{letter-spacing:-.01em}
.cats li.more{background:transparent;border:1.5px dashed var(--line-strong)}
.cats li.more .ic{background:transparent;border:1px solid var(--line-strong)}
.cats li.more .name{font-weight:500;color:var(--muted)}

/* ── Home: who it's for ────────────────────────────────────────────────── */
.for{display:flex;flex-direction:column;gap:clamp(32px,4vw,56px)}
.anchor{scroll-margin-top:72px}
.aud{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:20px}
.card{display:flex;flex-direction:column;gap:18px;padding:clamp(28px,4vw,44px);border-radius:28px;background:var(--white);border:1px solid var(--line)}
.card.dark{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.tag{align-self:flex-start;padding:6px 14px;border-radius:999px;background:var(--alt);font-size:14px;font-weight:600}
.dark .tag{background:var(--navy-2);color:var(--gold)}
.card h3{margin:0;font-size:clamp(26px,3vw,34px);line-height:1.4;font-weight:600}
.card>p{margin:0;font-size:17px;line-height:1.9;color:var(--muted);text-wrap:pretty}
.dark>p{color:var(--on-navy-muted)}
html[lang="en"] .card h3{line-height:1.2;letter-spacing:-.015em}
html[lang="en"] .card>p{line-height:1.65}
.ticks{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;border-top:1px solid var(--line-soft)}
.ticks li{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid var(--line-soft);font-size:16px;line-height:1.75}
.ticks li:last-child{border-bottom:0}
.ticks li::before{content:"";flex-shrink:0;width:7px;height:7px;margin-top:11px;background:var(--ink)}
.dark .ticks,.dark .ticks li{border-color:var(--navy-line)}
.dark .ticks li::before{background:var(--gold)}
html[lang="en"] .ticks li{line-height:1.6}
html[lang="en"] .ticks li::before{margin-top:9px}

/* ── Home: how it works ────────────────────────────────────────────────── */
.how{display:flex;flex-direction:column;gap:clamp(36px,5vw,64px)}
.steps4{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:40px 28px}
.steps4 li{display:flex;flex-direction:column;gap:14px;padding-top:24px;border-top:2px solid var(--ink)}
.stepno{display:flex;align-items:center;gap:10px;font:500 14px var(--mono);color:var(--gold-ink)}
.stepno::before{content:"";width:10px;height:10px;background:var(--gold)}
.steps4 h3{margin:0;font-size:24px;line-height:1.45;font-weight:600}
.steps4 p{margin:0;font-size:17px;line-height:1.85;color:var(--muted);text-wrap:pretty}
html[lang="en"] .steps4 h3{line-height:1.25;letter-spacing:-.01em}
html[lang="en"] .steps4 p{line-height:1.6}

/* ── Navy band with two panels (home value note, delete page) ──────────── */
.value{display:flex;flex-direction:column;gap:clamp(36px,5vw,56px)}
.value-head{display:flex;flex-direction:column;gap:20px;max-width:860px}
.value-head h2{margin:0;font-size:clamp(34px,5.4vw,64px);line-height:1.35;font-weight:600;text-wrap:balance}
.value-head h2 span{color:var(--gold)}
.value-head p{margin:0;max-width:38em;font-size:clamp(17px,1.6vw,20px);line-height:1.9;color:var(--on-navy-muted);text-wrap:pretty}
html[lang="en"] .value-head{max-width:880px}
html[lang="en"] .value-head h2{line-height:1.08;letter-spacing:-.03em}
html[lang="en"] .value-head p{max-width:36em;line-height:1.6}
.value-head.compact h2{font-size:clamp(30px,4.2vw,48px)}
.panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
.panel{display:flex;flex-direction:column;gap:16px;padding:clamp(24px,3vw,36px);border:1px solid var(--navy-line);border-radius:24px}
.panel.fill{background:var(--navy-2)}
.panel h3{margin:0;font-size:18px;font-weight:600;color:var(--on-navy-muted)}
.panel.fill h3{color:var(--gold)}
.panel ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:17px;line-height:1.7}
.panel:not(.fill) ul{color:var(--on-navy-soft)}
.panel li{display:flex;align-items:center;gap:14px}
.panel li::before{content:"";flex-shrink:0;width:12px;height:2px;background:var(--on-navy-muted)}
.panel.fill li::before{width:9px;height:9px;background:var(--gold)}
.panel small{display:block;margin-top:2px;font-size:15px;line-height:1.7;color:var(--on-navy-muted)}
html[lang="en"] .panel ul{line-height:1.55}
.panels.long li{align-items:flex-start}
.panels.long li::before{margin-top:.8em}
.panels.long .fill li::before{margin-top:.55em}

/* ── Home: about and CTA ───────────────────────────────────────────────── */
.about{display:flex;flex-wrap:wrap;align-items:flex-start;gap:clamp(36px,5vw,72px)}
.about-copy{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:18px}
.about-copy p{margin:0;font-size:clamp(17px,1.6vw,19px);line-height:1.9;color:var(--muted);text-wrap:pretty}
.about-copy strong{font-weight:600;color:var(--ink)}
html[lang="en"] .about-copy p{line-height:1.65}
.facts{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;padding:clamp(24px,3.4vw,40px);border-radius:28px;background:var(--white);border:1px solid var(--line)}
.facts-head{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--line-soft)}
.facts-head img{display:block;border-radius:10px}
.facts-head span{font-size:18px;font-weight:600}
.facts dl{margin:0;display:flex;flex-direction:column}
.facts dl>div{display:flex;flex-wrap:wrap;gap:4px 24px;padding:18px 0;border-bottom:1px solid var(--line-soft)}
.facts dl>div:last-child{padding-bottom:0;border-bottom:0}
.facts dt{flex:0 0 150px;font-size:15px;font-weight:500;line-height:1.7;color:var(--muted)}
.facts dd{flex:1 1 220px;margin:0;font-size:17px;font-weight:600;line-height:1.7}
.facts dd.plain{font:400 16px/1.7 var(--latin)}
.facts dd.link{font:500 16px/1.7 var(--latin)}
.facts dd.num{font:500 17px/1.7 var(--mono)}
.facts dd .alt{display:block;font-size:15px;font-weight:500;color:var(--muted)}
.facts dd .alt:lang(ar){font-family:var(--arabic)}
.facts dd .alt:lang(en){font-family:var(--latin)}
html[lang="en"] .facts dt,html[lang="en"] .facts dd{line-height:1.6}
.cta-sec{padding-bottom:clamp(64px,9vw,112px)}
.cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px 48px;padding:clamp(32px,5vw,64px);border-radius:32px;background:var(--cta)}
.cta-copy{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:12px}
.cta h2{margin:0;font-size:clamp(28px,3.6vw,42px);line-height:1.35;font-weight:600}
.cta p{margin:0;font-size:17px;line-height:1.9;color:var(--muted)}
html[lang="en"] .cta h2{line-height:1.15;letter-spacing:-.02em}
html[lang="en"] .cta p{line-height:1.6}

/* ── Inner pages ───────────────────────────────────────────────────────── */
.page-hero{display:flex;flex-direction:column;gap:18px;padding-block:clamp(40px,6vw,88px) clamp(32px,4vw,56px)}
.page-hero h1{margin:0;font-size:clamp(40px,6vw,72px);line-height:1.25;font-weight:600;text-wrap:balance}
.page-hero .lead{margin:0;max-width:40em;font-size:clamp(17px,1.6vw,20px);line-height:1.9;color:var(--muted);text-wrap:pretty}
.page-hero .meta{margin:0;font-size:15px;color:var(--muted)}
.page-hero .meta strong{font-weight:600;color:var(--ink)}
html[lang="en"] .page-hero h1{line-height:1.05;letter-spacing:-.03em}
html[lang="en"] .page-hero .lead{line-height:1.6}
.num{font-family:var(--mono);font-size:.94em;unicode-bidi:isolate}
.pb{padding-bottom:clamp(64px,9vw,112px)}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:20px}
.big-mail{font:600 clamp(22px,2.6vw,30px)/1.3 var(--latin);color:var(--ink);text-decoration-color:var(--gold);overflow-wrap:anywhere}
.dark .big-mail{color:var(--bg)}
.dark .big-mail:hover{color:var(--gold)}
.path{padding:3px 8px;border-radius:8px;background:var(--alt);font-weight:600;color:var(--ink);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.dark .path{background:var(--navy-2);color:var(--bg)}
.steps{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;counter-reset:s}
.steps li{display:flex;gap:16px;padding:16px 0;border-top:1px solid var(--line-soft);font-size:16px;line-height:1.8;counter-increment:s}
.steps li::before{content:counter(s,decimal-leading-zero);flex-shrink:0;min-width:24px;font:500 13px/2.2 var(--mono);color:var(--gold-ink)}
.dark .steps li{border-color:var(--navy-line)}
.dark .steps li::before{color:var(--gold)}
html[lang="en"] .steps li{line-height:1.65}
html[lang="en"] .steps li::before{line-height:2}
.callout{display:flex;flex-direction:column;gap:6px;padding:18px 22px;border-radius:18px;background:var(--badge);border:1px solid var(--badge-line);font-size:16px;line-height:1.8}
.callout strong{font-weight:600}
html[lang="en"] .callout{line-height:1.6}
.block{display:flex;flex-direction:column;gap:clamp(24px,3vw,36px)}
.h3{margin:0;font-size:clamp(24px,2.6vw,32px);line-height:1.4;font-weight:600}
html[lang="en"] .h3{line-height:1.2;letter-spacing:-.015em}
.faq{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:16px 0;font-size:18px;font-weight:600;line-height:1.6}
.faq summary::after{content:"";flex-shrink:0;width:11px;height:11px;margin-inline-end:4px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:translateY(-3px) rotate(45deg);transition:transform .2s ease}
.faq details[open] summary::after{transform:translateY(3px) rotate(225deg)}
@media (prefers-reduced-motion:reduce){.faq summary::after{transition:none}}
.faq summary:hover{color:var(--gold-ink)}
.faq .answer{max-width:46em;padding:0 0 22px;font-size:17px;line-height:1.9;color:var(--muted)}
.faq .answer p{margin:0}
html[lang="en"] .faq summary{line-height:1.4}
html[lang="en"] .faq .answer{line-height:1.65}
.links{display:flex;flex-wrap:wrap;gap:10px}
.links a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--line-strong);border-radius:999px;font-size:15px;font-weight:500;text-decoration:none}
.links a:hover{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.tips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}
.tips li{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:20px;background:var(--white);border:1px solid var(--line);font-size:16px;line-height:1.75}
.tips li::before{content:"";flex-shrink:0;width:7px;height:7px;margin-top:11px;background:var(--gold)}
html[lang="en"] .tips li{line-height:1.6}
html[lang="en"] .tips li::before{margin-top:9px}

/* ── Legal documents ───────────────────────────────────────────────────── */
.doc{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
@media (min-width:960px){.doc{grid-template-columns:240px minmax(0,1fr);gap:64px}}
.toc{align-self:start}
@media (min-width:960px){.toc{position:sticky;top:96px}}
.toc h2{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--gold-ink)}
html[lang="en"] .toc h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-top:1px solid var(--line)}
.toc a{display:flex;align-items:center;min-height:42px;padding-block:6px;border-bottom:1px solid var(--line-soft);font-size:15px;line-height:1.5;color:var(--muted);text-decoration:none}
.toc a:hover{color:var(--ink)}
.toc .side-link{margin-top:20px;font-size:15px}
.prose{max-width:760px;font-size:17px;line-height:1.95}
html[lang="en"] .prose{line-height:1.7}
.prose>:first-child{margin-top:0}
.prose h2{margin:44px 0 14px;padding-top:28px;border-top:1px solid var(--line);font-size:clamp(22px,2.4vw,27px);line-height:1.5;font-weight:600;scroll-margin-top:96px}
html[lang="en"] .prose h2{line-height:1.3;letter-spacing:-.01em}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 16px;padding-inline-start:1.4em}
.prose li{margin-bottom:10px;padding-inline-start:.2em}
.prose li::marker{color:var(--gold-ink);font-weight:600}
.prose strong{font-weight:600}
.prose .callout{margin:0 0 20px}
.table-wrap{overflow-x:auto;margin:6px 0 22px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.prose table{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.75}
@media (max-width:520px){.prose th,.prose td{padding:12px 14px}}
html[lang="en"] .prose table{line-height:1.55}
.prose th,.prose td{padding:14px 18px;border-bottom:1px solid var(--line-soft);text-align:start;vertical-align:top}
.prose th{background:var(--alt);font-size:14px;font-weight:600}
.prose tr:last-child td{border-bottom:0}
.prose td:first-child{font-weight:500;width:42%}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.lost{display:flex;flex-direction:column;align-items:center;gap:20px;padding-block:clamp(64px,10vw,140px);text-align:center}
.lost .btns{justify-content:center;margin-top:12px}
.lost .code{font:500 15px var(--mono);color:var(--gold-ink)}
.lost h1{margin:0;font-size:clamp(36px,5vw,60px);line-height:1.3;font-weight:600}
.lost p{margin:0;max-width:36em;font-size:18px;line-height:1.9;color:var(--muted)}
.lost .en{font-family:var(--sans-en)}
.lost h1.en{line-height:1.1;letter-spacing:-.025em}
.lost p.en{line-height:1.6}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer{background:var(--ink);color:var(--bg)}
.foot{padding-block:clamp(48px,7vw,80px) 32px}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:40px 32px}
.foot-brand{grid-column:1/-1;max-width:420px;display:flex;flex-direction:column;gap:16px}
.foot-brand a{display:flex;align-items:center;gap:12px;color:var(--bg);text-decoration:none}
.foot-brand img{display:block;border-radius:10px;box-shadow:0 0 0 1px var(--navy-line)}
.foot-brand a span{font-size:30px;font-weight:600;line-height:1;padding-bottom:4px}
.foot-brand p{margin:0;font-size:16px;line-height:1.85;color:var(--on-navy-muted)}
html[lang="en"] .foot-brand a span{font-size:26px;letter-spacing:-.01em;padding-bottom:0}
html[lang="en"] .foot-brand p{line-height:1.65}
.foot-col{display:flex;flex-direction:column;gap:4px}
.foot-col h2{margin:0 0 8px;font-size:14px;font-weight:600;color:var(--gold)}
.foot-col a{display:flex;align-items:center;min-height:40px;font-size:16px;color:var(--bg);text-decoration:none}
.foot-col a:hover{color:var(--gold)}
.foot-col a.latin{font:400 15px var(--latin)}
.foot-col a[dir="ltr"]{justify-content:flex-end}
html[lang="en"] .foot-col h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
html[lang="en"] .foot-col a{font-size:15px}
.legal-id{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:22px 36px;margin:48px 0 0;padding:clamp(20px,3vw,28px);border:1px solid var(--navy-line);border-radius:20px}
@media (min-width:960px){.legal-id{grid-template-columns:1fr .8fr 1.5fr .9fr}}
.legal-id>div{display:flex;flex-direction:column;gap:6px}
.legal-id dt{font-size:13px;font-weight:600;color:var(--gold)}
.legal-id dd{margin:0;font-size:17px;font-weight:600;line-height:1.7;color:var(--bg)}
.legal-id dd.alt{font-size:15px;font-weight:500;line-height:1.6;color:var(--on-navy-muted)}
.legal-id dd.alt:lang(en){font-family:var(--latin);font-weight:400}
.legal-id dd.alt:lang(ar){font-family:var(--arabic)}
.legal-id dd.num{font:500 19px/1.6 var(--mono)}
.legal-id dd.addr{font:400 15px/1.7 var(--latin)}
.legal-id dd.mail{font:400 15px/1.7 var(--latin)}
.legal-id dd a{color:var(--bg)}
.legal-id dd a:hover{color:var(--gold)}
html[lang="en"] .legal-id dt{font-size:12px;letter-spacing:.06em;text-transform:uppercase}
html[lang="en"] .legal-id dd{line-height:1.5}
.foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;margin-top:24px;padding-top:24px;border-top:1px solid var(--navy-line)}
.foot-bottom span{font-size:14px;line-height:1.7;color:var(--on-navy-muted)}
.lang-dark{display:inline-flex;align-items:center;height:44px;padding:0 18px;border:1px solid var(--navy-btn);border-radius:999px;color:var(--bg);font:500 15px/1 var(--latin);text-decoration:none}
.lang-dark:lang(ar){font-family:var(--arabic)}
.lang-dark:hover{border-color:var(--gold);color:var(--gold)}
