/* AfsaneH global design system: all public routes inherit these tokens. */
body{font-family:var(--site-font,Vazirmatn,Tahoma,Arial,sans-serif)!important;font-size:var(--site-font-size,16px)!important;line-height:var(--site-line-height,1.9)!important}
.container{width:min(calc(100% - 36px),var(--container,1180px))!important}
.section,.page-hero{padding-block:var(--site-section-space,100px)!important}
.site-header{position:var(--site-header-position,sticky)!important;top:var(--site-header-top,0)!important;width:var(--site-header-width,100%)!important;margin-inline:auto;border-radius:var(--site-header-radius,0)!important;box-shadow:var(--site-header-shadow,none);z-index:100;background:color-mix(in srgb,var(--bg) 88%,transparent)!important;backdrop-filter:blur(18px);border-bottom:1px solid var(--line)!important}
.site-header .header-inner{height:var(--site-header-height,84px)!important}
.site-header:has(.header-inner){transition:box-shadow .25s,border-color .25s}
.site-header .nav-cta,.site-header .theme-toggle{border-radius:var(--site-button-radius,14px)!important}
.site-header .main-nav>a:hover{color:var(--primary-dark)!important}
.btn,.nav-cta,.theme-toggle,.faq-bot-toggle,.faq-bot-panel{border-radius:var(--site-button-radius,14px)!important}
.btn.primary,.contact-form button[type=submit],.nav-cta{background:var(--site-button-bg,var(--primary))!important;color:var(--site-button-color,#fff)!important;border:var(--site-button-border,1px solid transparent)!important}
.btn.primary:hover,.contact-form button[type=submit]:hover{filter:brightness(.96)}
.project-card,.post-card,.tool-card,.tool-detail,.timeline-card,.skills-panel,.contact-form,.profile-facts>div,.project-credits,.project-credit{border-radius:var(--radius,24px)!important;background:var(--site-card-bg,var(--surface))!important;border:var(--site-card-border,1px solid var(--line))!important;box-shadow:var(--site-card-shadow,var(--shadow))!important}
.project-card,.post-card,.tool-card,.tool-detail,.timeline-card,.skills-panel,.contact-form{overflow:hidden}
.site-footer{background:var(--site-footer-bg,var(--dark))!important;color:var(--site-footer-text,#fff)!important}
.site-footer p,.site-footer small,.site-footer span,.site-footer a:not(.brand){color:var(--site-footer-muted,rgba(255,255,255,.68))}
.site-footer .footer-brand strong{color:var(--site-footer-text,#fff)}
.hero,.page-hero{background:var(--site-hero-bg,var(--bg-soft))!important}
.hero:before{opacity:.38}
.hero .section-heading h1,.hero h1{font-size:calc(1em * var(--site-heading-scale,1))}
.section-heading h2,.page-hero h1,.tool-banner h2{font-size:calc(1em * var(--site-heading-scale,1))}
html[data-theme=dark] .site-header{background:color-mix(in srgb,var(--bg) 90%,transparent)!important}
html[data-theme=dark] .site-footer{color:var(--site-footer-text,#fff)!important}
html[data-theme=dark] .sd-not-used{display:none}
@media(max-width:760px){.container{width:min(calc(100% - 28px),var(--container,1180px))!important}.section,.page-hero{padding-block:clamp(52px,12vw,var(--site-section-space,100px))!important}}
