:root{color-scheme:light;font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f4f7fb;color:#182335;line-height:1.85}
a{color:#563b9d}
a:hover{color:#322065}
.dev-header{background:#1d2638;color:#fff;box-shadow:0 3px 14px rgba(16,25,42,.15)}
.dev-header-inner{max-width:1180px;margin:auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.dev-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:#fff;font-weight:800;font-size:1.05rem}
.dev-brand:hover{color:#fff}
.dev-brand img{width:46px;height:46px;object-fit:contain}
.dev-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dev-nav a{display:inline-flex;align-items:center;min-height:42px;padding:7px 12px;border-radius:10px;color:#eef2fa;text-decoration:none;font-weight:700;font-size:.9rem}
.dev-nav a:hover,.dev-nav a[aria-current="page"]{background:rgba(255,255,255,.13);color:#fff}
.dev-header :focus-visible,.dev-main :focus-visible,.dev-footer :focus-visible{outline:3px solid #c6a359;outline-offset:3px}
.dev-main{max-width:1180px;margin:0 auto;padding:26px 22px 70px}
.dev-breadcrumbs{font-size:.84rem;color:#66758a;margin:0 0 18px}
.dev-breadcrumbs a{color:#52627a}
.dev-hero{background:linear-gradient(120deg,#23344d,#6044a4);color:#fff;padding:38px 42px;border-radius:25px;margin-bottom:28px}
.dev-hero h1{font-size:clamp(1.55rem,2.4vw,2.4rem);line-height:1.5;margin:0 0 10px}
.dev-hero p{margin:0;max-width:840px;color:#f0eefb}
.dev-hero a{color:#fff}
.dev-profile-cover{display:block;width:min(100%,340px);height:136px;margin:0 0 18px;border-radius:15px;background:#f2f5f9;overflow:hidden}
.dev-profile-cover--dark{background:#24324a}
.dev-profile-cover img{display:block;width:100%;height:100%;object-fit:contain}
.dev-section{background:#fff;border:1px solid #e4eaf3;border-radius:22px;padding:28px;margin:24px 0}
.dev-section h2{font-size:1.25rem;line-height:1.5;margin:0 0 16px;color:#1d2b42}
.dev-section p{margin:0 0 14px}
.dev-section p:last-child{margin-bottom:0}
.dev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.dev-card{background:#fff;border:1px solid #e0e6ef;border-radius:18px;padding:22px;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(24,39,64,.05)}
.dev-card a.dev-card-media{display:block;align-self:stretch;height:150px;margin:-22px -22px 18px;border-radius:18px 18px 0 0;background:#f2f5f9;overflow:hidden}
.dev-card a.dev-card-media--dark{background:#24324a}
.dev-card-media img{display:block;width:100%;height:100%;object-fit:contain}
.dev-card h2{font-size:1.08rem;line-height:1.55;margin:0 0 8px;color:#1c2b43}
.dev-card p{margin:0 0 18px;color:#566477;font-size:.9rem;flex:1}
.dev-card a{font-weight:800;text-decoration:none;align-self:flex-start}
.dev-link-list{margin:0;padding:0 22px 0 0}
.dev-link-list li{padding:5px 0}
.dev-link-list a{font-weight:700}
.dev-note{color:#596779;font-size:.92rem}
.dev-source{display:inline-block;direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
.dev-footer{background:#1d2638;color:#d8e0ec;padding:25px 22px;text-align:center;font-size:.85rem}
.dev-footer a{color:#fff}
@media(max-width:850px){.dev-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.dev-header-inner{padding:12px 16px}.dev-brand{font-size:.95rem}.dev-brand img{width:40px;height:40px}.dev-nav{width:100%;gap:4px}.dev-nav a{font-size:.78rem;padding:6px 8px}.dev-main{padding:18px 14px 50px}.dev-hero{padding:25px 21px;border-radius:19px}.dev-section{padding:20px;border-radius:18px}.dev-grid{grid-template-columns:1fr;gap:12px}.dev-card{padding:19px}.dev-card a.dev-card-media{margin:-19px -19px 16px}}
