@font-face{font-family:'Press Start 2P';src:url(/assets/fonts/ps2p.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Noto Kufi Arabic';src:url(/assets/fonts/kufi-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Noto Kufi Arabic';src:url(/assets/fonts/kufi-700.woff2) format('woff2');font-weight:700;font-display:swap}
:root{--ink:#0a0716;--bg:#110d22;--text:#efeaff;--muted:#a59ccf;--yellow:#ffd23f;--orange:#ff6b3d;--mint:#2bd9a5;--px:'Press Start 2P',monospace}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:#1c1726;font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Noto Sans Arabic',sans-serif;line-height:1.65}
html[dir=rtl] body{font-family:'Noto Kufi Arabic',system-ui,sans-serif}
.lg-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 22px;background:rgba(10,7,22,.92);border-bottom:3px solid var(--ink)}
.lg-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);font-family:var(--px);font-size:13px;direction:ltr}
.lg-logo img{height:28px;width:auto;image-rendering:pixelated}.lg-logo b{font-weight:normal}.lg-logo i{font-style:normal;color:var(--yellow)}
.lg-nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.lg-nav>a{color:var(--text);text-decoration:none;font-size:14px;padding:4px 0;border-bottom:2px solid transparent}
.lg-nav>a[aria-current]{border-color:var(--yellow);color:var(--yellow)}
.lg-langs{display:flex;gap:2px}.lg-langs a{color:var(--muted);text-decoration:none;font-size:13px;padding:3px 8px;border:2px solid #2e2758}
.lg-paper{max-width:820px;margin:28px auto 40px;background:#fffdf8;padding:38px 46px;border:3px solid var(--ink);box-shadow:10px 10px 0 #000}
.lg-paper h1{font-family:var(--px);font-size:22px;line-height:1.4;margin:0 0 8px}
html[dir=rtl] .lg-paper h1,html[dir=rtl] .lg-paper h2{font-family:'Noto Kufi Arabic',var(--px)}
.lg-upd{color:#6b6478;font-size:13px;margin:0 0 18px}
.lg-intro{font-size:16.5px;background:#f6f0ff;border:2px solid var(--ink);padding:14px 16px}
.lg-toc{columns:2;column-gap:28px;padding-inline-start:22px;margin:20px 0 26px;font-size:14px}
.lg-toc a{color:#3b2f7a}
.lg-paper section{margin:0 0 18px;scroll-margin-top:16px}
.lg-paper h2{display:flex;align-items:center;gap:10px;font-family:var(--px);font-size:12px;line-height:1.5;margin:0 0 8px;padding-bottom:6px;border-bottom:3px solid var(--ink)}
.lg-paper h2 span{display:inline-grid;place-items:center;min-width:28px;height:24px;background:var(--yellow);border:2px solid var(--ink);font-family:var(--px);font-size:9px}
.lg-paper p{margin:0 0 8px;font-size:15px}
.lg-note{color:#6b6478;border-inline-start:4px solid var(--orange);padding-inline-start:12px;margin-top:24px!important}
.lg-back{display:inline-block;margin-top:10px;font-family:var(--px);font-size:10px;color:var(--ink);background:var(--mint);border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);padding:10px 14px;text-decoration:none}
html[dir=rtl] .lg-back{font-family:'Noto Kufi Arabic',var(--px);font-size:13px}
.lg-foot{text-align:center;color:var(--muted);font-size:13px;padding:0 16px 30px}
@media (max-width:700px){.lg-paper{margin:14px 8px 28px;padding:22px 18px;box-shadow:6px 6px 0 #000}.lg-toc{columns:1}.lg-paper h1{font-size:17px}}
@media print{body{background:#fff}.lg-top,.lg-back,.lg-toc{display:none}.lg-paper{box-shadow:none;border:0;margin:0}}
.lg-foot{line-height:1.9}.lg-foot a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}.lg-foot a:hover{color:#fff}
.lg-foot .fdir{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 26px;max-width:900px;margin:0 auto 22px;text-align:start}
.lg-foot .fh{font-family:var(--px);font-size:9px;line-height:1.6;color:var(--yellow);margin:0 0 8px;text-transform:uppercase}
html[dir=rtl] .lg-foot .fh{font-family:'Noto Kufi Arabic',var(--px);font-size:12px;text-transform:none}
.lg-foot .fh a{color:inherit;text-decoration:none}
.lg-foot ul{list-style:none;margin:0;padding:0}
.lg-foot li{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.lg-foot li a{display:inline-block;padding:3px 0;text-decoration:none}
.lg-foot .ffind{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;margin:0 0 14px}
.lg-foot .ffind a{text-decoration:none;padding:4px 0}
.lg-foot .ffind a.ftb{font-family:var(--px);font-size:8px;text-transform:uppercase;color:var(--mint);border:3px solid var(--ink);background:#1c1540;padding:8px 10px;box-shadow:3px 3px 0 #000}
html[dir=rtl] .lg-foot .ffind a.ftb{font-family:'Noto Kufi Arabic',var(--px);font-size:12px;text-transform:none}
.lg-copy{margin:0}
@media (max-width:700px){.lg-foot .fdir{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lg-foot .fdir bdi{white-space:nowrap}
html[dir=rtl] .lg-foot .ffind a.ftb{font-family:'Noto Kufi Arabic',system-ui,sans-serif;font-size:13px}
/* TechBehemoths verified badge, arcade-cabinet style */
.ffind a.ftb.ftb{position:relative;display:inline-flex;align-items:center;gap:10px;padding:13px 16px 10px 12px;background:linear-gradient(#21174a,#120c2c);border:3px solid #0a0716;box-shadow:inset 0 0 0 2px #5b2fa0,4px 4px 0 #0a0716;color:#fff;text-decoration:none;text-transform:none;line-height:1;transition:transform .12s steps(2),box-shadow .12s steps(2)}
.ffind a.ftb.ftb::before{content:'';position:absolute;left:7px;right:7px;top:4px;height:2px;background:repeating-linear-gradient(90deg,#ff3d5a 0 4px,transparent 4px 6px,#ffd23f 6px 10px,transparent 10px 12px,#2bd9a5 12px 16px,transparent 16px 18px);animation:ftbLights 1.2s steps(3) infinite}
@keyframes ftbLights{to{background-position:18px 0}}
.ftb-i{width:22px;height:24px;flex:none;filter:drop-shadow(2px 2px 0 #0a0716)}
.ftb-t{display:flex;flex-direction:column;gap:6px;text-align:start}
.ftb-t small{font-family:'Press Start 2P',monospace;font-size:7px;line-height:1;color:#2bd9a5;letter-spacing:1px}
.ftb-t b{font-family:'Press Start 2P',monospace;font-weight:normal;font-size:10px;line-height:1;color:#ffd23f;text-shadow:2px 2px 0 #ff6b3d}
.ftb-s{position:absolute;top:-8px;right:-8px;font-size:13px;line-height:1;color:#ffd23f;text-shadow:1px 1px 0 #0a0716;animation:ftbStar 1.6s steps(2) infinite}
@keyframes ftbStar{50%{opacity:.25;transform:scale(.6) rotate(20deg)}}
.ffind a.ftb.ftb:hover,.ffind a.ftb.ftb:focus-visible{transform:translate(-2px,-2px);box-shadow:inset 0 0 0 2px #2bd9a5,6px 6px 0 #0a0716;color:#fff}
.ffind a.ftb.ftb:hover::before{animation-duration:.4s}
html[dir=rtl] .ftb-t small{font-family:'Noto Kufi Arabic',sans-serif;font-size:12px;letter-spacing:0}
html[dir=rtl] .ftb-s{right:auto;left:-8px}
@media (prefers-reduced-motion:reduce){.ffind a.ftb.ftb::before,.ftb-s{animation:none}}
.lg-foot .fh a{display:inline-block;padding:5px 0;margin:-5px 0}
.lg-toc a{display:inline-block;padding:4px 0;min-height:24px}
/* footer: clients line + row of arcade badges (Google, Clutch, Sortlist, TechBehemoths) */
.ftrust{margin:0 auto 18px;text-align:center;font-size:19px;line-height:1.5;color:inherit}
.ftrust .ffl{margin-inline-end:6px}
.lg-foot .ftrust a{color:var(--text);text-decoration:underline;text-decoration-color:#5a4c9c;text-underline-offset:3px;display:inline-block;padding:3px 0}
.lg-foot .ftrust a:hover{color:var(--yellow)}
.ffind{gap:16px 18px}
.ffind a.ftb.ftb{min-height:52px;box-sizing:border-box}
.ftb-t small bdi{font-family:inherit}.ftb-t small i{font-style:normal;color:var(--yellow);letter-spacing:1px;font-family:sans-serif;font-size:9px}
.ffind a.ftb.fg .ftb-t b{color:#ffd23f;text-shadow:2px 2px 0 #ff6b3d}
.ffind a.ftb.fc .ftb-t b{color:#2bd9a5;text-shadow:2px 2px 0 #12665a}.ffind a.ftb.fc .ftb-t small{color:#ffd23f}
.ffind a.ftb.fs .ftb-t b{color:#ff6fa5;text-shadow:2px 2px 0 #6b2a8f}.ffind a.ftb.fs .ftb-t small{color:#b9a8ff}
.ffind a.ftb.fg::before{animation-delay:-.3s}.ffind a.ftb.fc::before{animation-delay:-.6s}.ffind a.ftb.fs::before{animation-delay:-.9s}
.ffind .ftb.fc .ftb-s{color:#2bd9a5;animation-delay:-.4s}.ffind .ftb.fs .ftb-s{color:#ff6fa5;animation-delay:-.8s}.ffind .ftb.fg .ftb-s{animation-delay:-1.2s}
html[dir=rtl] .ftrust{font-size:15px}
@media (max-width:520px){.ffind{gap:14px 12px}.ffind a.ftb.ftb{padding:12px 12px 9px 10px;gap:8px}.ftb-t b{font-size:9px!important}}
.lg-foot .ftrust{font-size:14px;margin-bottom:14px}
.ftrust a,.ftrust span[dir]{white-space:nowrap}
