/* REDCOWEB Typography & Readability System v2 — 2026-10-01 */
@font-face{font-family:"IRANSansX";src:url("/font/IRANSansX-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"IRANSansX";src:url("/font/IRANSansX-Medium.ttf") format("truetype");font-style:normal;font-weight:500;font-display:swap}

:root{
  --rw-typeface:"IRANSansX",Tahoma,"Segoe UI",Arial,sans-serif;
  --rw-readable-title:#30434b;
  --rw-readable-text:#42545c;
  --rw-readable-muted:#62737a;
  --rw-readable-soft:#718087;
  --rw-readable-max:72ch;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[dir="rtl"] body,
html[dir="rtl"] :where(button,input,textarea,select),
html[dir="rtl"] :where(.rw5-home,.rw5-inner-page,.reference-page,.rw-careers,.blog26-page,.rbiz,.rahkar-page,.rc-projects){
  font-family:var(--rw-typeface)!important
}
html[dir="rtl"] #main :where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,b,small,label,summary){font-family:inherit}
body{font-size:16px;line-height:1.82;color:var(--rw-readable-text);text-rendering:optimizeLegibility}
body.is-home .rw5-home,
body.rw5-inner-page{
  --text:var(--rw-readable-text);
  --muted:var(--rw-readable-muted);
  --rw5-text:var(--rw-readable-text);
  --rw5-muted:var(--rw-readable-muted)
}
#main :where(h1,h2,h3,h4){color:var(--rw-readable-title);text-wrap:balance}
#main :where(p,li){text-wrap:pretty}
html[dir="rtl"] #main :where(h1,h2,h3,h4,.rw-title,.career-title,.blog26-title){letter-spacing:0!important}

#main h1{
  font-size:clamp(32px,3.65vw,52px)!important;
  line-height:1.38!important;
  font-weight:700!important
}
#main :where(.rw-section-head h2,.section-head h2,.rw5-heading h2,.rw5-ai-copy h2,.rw5-final h2,.career-head h2,.ai-section-head h2,.ai-demo-copy h2,.ai-architecture h2,.ai-principles h2,.ai-cta h2,.rahkar-section h2,.rc-section-heading h2,.rbiz-section-head h2){
  font-size:clamp(24px,2.35vw,36px)!important;
  line-height:1.5!important;
  font-weight:700!important;
  letter-spacing:0!important
}
#main :where(.rw5-hero-copy>p,.rw-lead,.inner-hero p,.ai-hero-copy>p,.ai-detail-copy>p,.career-lead,.blog26-copy>p,.rahkar-hero p,.rbiz-hero-copy>p,.rc-projects-hero p){
  font-size:clamp(15px,.35vw + 14px,17px)!important;
  line-height:1.95!important;
  color:var(--rw-readable-muted)!important;
  max-width:var(--rw-readable-max)
}

.reference-page :where(.rw-service-card p,.rw-step p,.rw-feature p,.rw-industry-copy p,.rw-project-copy p,.rw-case-block p,.rw-story p,.rw-value p,.rw-timeline p,.rw-client-logo p,.rw-testimonial p,.rw-featured-copy p,.rw-article-copy p,.rw-contact-card p,.rw-contact-card a,.rw-faq p,.rw-cta-box p){
  font-size:15px!important;
  line-height:1.9!important;
  color:var(--rw-readable-muted)!important
}
.rw5-home :where(.rw-card-copy p,.rw-service-card p,.rw-platform-card p,.rw-project-copy p,.rw-why-grid p,.rw-article-card p,.rw5-service-card p,.rw5-process-step p,.rw5-project-copy p,.rw5-article p,.rw5-faq details p){
  font-size:14.5px!important;
  line-height:1.9!important;
  color:var(--rw-readable-muted)!important
}
.reference-page :where(.rw-link,.rw-tech-strip span,.rw-bullet-list li,.rw-project-copy small,.rw-metric span,.rw-stat-card span,.rw-testimonial b,.rw-testimonial small,.rw-featured-copy small,.rw-article-copy small,.rw-article-meta,.rw-article-aside a,.rw-article-aside span){
  font-size:12.5px!important
}
.reference-page .rw-section-head p,
.rw5-home :where(.rw-heading p,.rw5-heading p,.rw5-ai-copy p,.rw5-final p){
  font-size:15px!important;
  line-height:1.95!important;
  color:var(--rw-readable-muted)!important
}
.reference-page .rw-prose{font-size:16px!important;line-height:2!important;color:var(--rw-readable-text)!important}
.reference-page .rw-prose h2{font-size:clamp(22px,2vw,30px)!important;line-height:1.65!important}
.reference-page .rw-prose h3{font-size:clamp(18px,1.4vw,22px)!important;line-height:1.7!important}

.rw-careers .career-title{max-width:850px!important}
.rw-careers .career-lead,
.rw-careers :where(.career-head p,.role-card p,.career-form>p,.process-card>p){color:var(--rw-readable-muted)!important}
.rw-careers .career-head h2{font-size:clamp(24px,2.35vw,36px)!important}
.rw-careers .role-card h3{font-size:20px!important;line-height:1.55!important}
.rw-careers .role-card p{font-size:14.5px!important;line-height:1.85!important}
.blog26-page :where(p,.blog26-card p,.blog26-copy p){color:var(--rw-readable-muted)}
.blog26-page :where(.blog26-card p,.blog26-article p){font-size:14.5px!important;line-height:1.9!important}
.rahkar-page :where(p,small){color:var(--rw-readable-muted)}
.rahkar-page :where(.rahkar-card p,.rahkar-benefit p,.rahkar-step small){font-size:14px!important;line-height:1.85!important}
.rbiz :where(.rbiz-hero-copy p,.rbiz-project-copy p,.rbiz-service-card p){font-size:15px!important;line-height:1.9!important}
.rc-projects :where(.rc-card-body p,.rc-service-card p){font-size:14.5px!important;line-height:1.85!important}

.site-header .main-nav a{font-size:14px!important;line-height:1.4}
:where(.button,.button-sm,.rw-btn,.rw5-btn,.rahkar-primary,.rahkar-cta-button,.career-submit){font-size:14px!important}
:where(input,textarea,select){font-size:15px!important;line-height:1.6}
:where(input,textarea,select)::placeholder{color:#89969b;opacity:1}

body.rw5-inner-page #main :where(.rw-card,.rw-form,.rw-contact-card,.rw-step,.ai-solution-card,.ai-chat-card,.ai-principle-grid article) :where(h2,h3,h4,strong){
  color:var(--rw-readable-title)!important
}
body.rw5-inner-page #main :where(.rw-card,.rw-form,.rw-contact-card,.rw-step,.ai-solution-card,.ai-chat-card,.ai-principle-grid article) :where(p,li,small){
  color:var(--rw-readable-muted)!important
}
:where(.dark-section,.performance-section,.rw-section.dark) :where(h1,h2,h3,h4,strong){color:#f6f9f9!important}
:where(.dark-section,.performance-section,.rw-section.dark) :where(p,li,small){color:#d6dfe1!important}

:where(.section,.rw-section,.career-section){padding-block:clamp(64px,7vw,96px)}
:where(.section-head,.rw-section-head){margin-bottom:clamp(26px,3.5vw,44px)}
:where(.rw-card,.feature-card,.role-card){overflow-wrap:anywhere}

@media(max-width:900px){
  #main h1{font-size:clamp(30px,6vw,42px)!important}
  #main :where(.rw-section-head h2,.section-head h2,.rw5-heading h2,.rw5-ai-copy h2,.rw5-final h2,.career-head h2,.ai-section-head h2,.ai-demo-copy h2,.ai-architecture h2,.ai-principles h2,.ai-cta h2,.rahkar-section h2,.rc-section-heading h2,.rbiz-section-head h2){font-size:clamp(23px,4.4vw,32px)!important}
}
@media(max-width:640px){
  body{font-size:15.5px;line-height:1.86}
  #main h1{font-size:clamp(29px,8vw,36px)!important;line-height:1.45!important}
  #main :where(.rw-section-head h2,.section-head h2,.rw5-heading h2,.rw5-ai-copy h2,.rw5-final h2,.career-head h2,.ai-section-head h2,.ai-demo-copy h2,.ai-architecture h2,.ai-principles h2,.ai-cta h2,.rahkar-section h2,.rc-section-heading h2,.rbiz-section-head h2){font-size:clamp(22px,6vw,28px)!important;line-height:1.55!important}
  #main :where(.rw5-hero-copy>p,.rw-lead,.inner-hero p,.ai-hero-copy>p,.ai-detail-copy>p,.career-lead,.blog26-copy>p,.rahkar-hero p,.rbiz-hero-copy>p,.rc-projects-hero p){font-size:15px!important;line-height:1.95!important}
  .reference-page :where(.rw-service-card p,.rw-step p,.rw-feature p,.rw-industry-copy p,.rw-project-copy p,.rw-case-block p,.rw-story p,.rw-value p,.rw-timeline p,.rw-client-logo p,.rw-testimonial p,.rw-featured-copy p,.rw-article-copy p,.rw-contact-card p,.rw-contact-card a,.rw-faq p,.rw-cta-box p),
  .rw5-home :where(.rw-card-copy p,.rw-service-card p,.rw-platform-card p,.rw-project-copy p,.rw-why-grid p,.rw-article-card p,.rw5-service-card p,.rw5-process-step p,.rw5-project-copy p,.rw5-article p,.rw5-faq details p){font-size:14px!important}
  :where(.section,.rw-section,.career-section){padding-block:52px}
  .site-header .main-nav a{font-size:13.5px!important}
}
@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}
