/* 8CH: one type and spacing system for the site and the app. Loaded last, so it wins over the older layers. */
:root{
  --font:"IBM Plex Sans Arabic",system-ui,"Segoe UI",Tahoma,Arial,sans-serif;
  --display:var(--font);
  --t-page:clamp(28px,3.4vw,42px);
  --t-card:1.15rem;
}
html{font-family:var(--font);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--font);line-height:1.6}
button,input,select,textarea,summary,label,option{font-family:inherit}

/* Arabic letters must never be tracked: spacing breaks the joins */
h1,h2,h3,h4,h5,p,a,span,li,small,b,strong,em,label,button,input,textarea,select,summary,.btn{letter-spacing:0!important}

/* page titles: same size, weight and spacing on every inner page */
.ptitle,.ab-head h1,.sh h2,.shx h2{font-family:var(--font);font-size:var(--t-page);font-weight:600!important;line-height:1.2;color:var(--ink)}
.ptitle{margin-bottom:24px}
.ab-head h1{margin-bottom:16px}
.sh h2::before,.shx h2 .bar{display:none}
.sh h2{gap:0}
.sh p,.shx p,.ab-head p{font-size:1.05rem;line-height:1.8;color:var(--tx3);font-weight:400}
.ab-head p{font-weight:400}

/* card titles and body text */
.box h3,.ab-card h3,.cnt-card h3,.pol-sec h3{font-size:var(--t-card);font-weight:600;line-height:1.35;color:var(--ink)}
.pol-b p,.pol-b li{font-weight:400}
.prose p,.prose li{line-height:1.9}

@media(max-width:640px){
  :root{--t-page:clamp(26px,7vw,32px);--t-card:1.08rem}
  .ptitle{margin-bottom:18px}
  .ptitle svg{width:26px;height:26px}
}

/* touch targets and legibility: nothing under 12px, tap areas near 44px */
.lpx-fin button{position:relative}
.lpx-fin button::after{content:"";position:absolute;inset:-8px}
.cm-lbl,.cm-cue,.cm-rail,.cm-idx em{font-size:12px}
.cm-add{min-height:44px}
.pimg .badge,.card .cimg .pimg .badge{font-size:.75rem}
.cprice s{font-size:.78rem}
.crumbs a{display:inline-block;padding:11px 4px;margin:-11px -4px}
.foot a{display:inline-block;padding:10px 0}
.foot a.foot-box{padding:12px 16px}
@media(max-width:640px){
  .fx2-b p,.fx2:not(.big) .fx2-b p{font-size:.78rem}
}
/* paragraphs with links: more room between lines and a taller tap area on the links */
.pol-b p,.pol-b li,.muted.mt2{line-height:2.05}
.pol-b a,.muted.mt2 a,.faq a{padding:6px 2px}
/* short pages (login, empty states): the page body was forced to full screen height, leaving a big gap before the footer on phones */
@media(max-width:640px){main#app{min-height:56vh;padding-bottom:28px}}