
/* Editorial rhythm and RTL alignment without adding a second font download. */
:root { color-scheme:light; --reading-size:clamp(.97rem,.93rem + .23vw,1.08rem); --reading-width:43rem; }
body { font-family:Vazirmatn,Tahoma,'Segoe UI',sans-serif; font-size:var(--reading-size); line-height:1.9; font-synthesis:none; }
body button,body input,body select,body textarea { font-family:inherit; }
main h1,main h2,main h3 { line-height:1.48; letter-spacing:normal; }
main h1 { font-weight:850; text-wrap:balance; }
main h2 { font-weight:780; }
main h3 { font-weight:730; }
main p, main li { overflow-wrap:break-word; }
main p { text-wrap:pretty; }
.header__inner { gap:.7rem; }
.header__inner .logo { min-width:0; flex-shrink:0; }
.header__inner .logo__text { line-height:1.38; gap:.1rem; }
.header__inner .logo__sub { color:var(--primary-dark); font-size:.72rem; font-weight:650; }
.nav a:not(.btn), .nav__more summary { font-weight:660; }
.home-page .hero.titi-front { text-align:start; }
.hero.titi-front h1 { max-inline-size:15ch; font-size:clamp(2rem,4.2vw,3.8rem); margin-block:.3rem .85rem; line-height:1.36; }
.hero.titi-front .titi-front__intro { max-inline-size:30rem; line-height:1.9; }
.hero.titi-front .titi-front__actions,.home-page .hero.titi-front .hero__actions.titi-front__links {
  justify-content:flex-start; align-items:center; text-align:start; gap:.6rem 1rem;
}
.hero.titi-front .titi-front__actions { margin-block-start:1.2rem; }
.home-page .hero.titi-front .hero__actions.titi-front__links { margin-block-start:.7rem; }
.titi-front__links a { display:inline-flex; min-height:40px; align-items:center; }
.titi-front__link-divider { color:#bcd3ec; align-self:center; font-size:.72rem; }
.titi-features a { align-content:start; text-align:start; gap:.22rem; }
.titi-features strong { font-weight:760; line-height:1.55; }
.titi-features span { line-height:1.7; }
.section__head,.page-hero .container { text-align:center; }
.section__head { margin-block-end:clamp(1.05rem,3vw,2.1rem); }
.section__head p,.page-hero .container > p { max-inline-size:39rem; margin-inline:auto; line-height:1.85; }
.article__hero,.article__body,.story-card,.tool-directory article,.contact__text,.home-slide,.home-topic { text-align:start; }
.article__body > p,.contact__text > p,.home-slide > p { max-inline-size:var(--reading-width); }
.contact__text > p,.home-slide > p { margin-block:.45rem .8rem; }
.home-topic > summary { line-height:1.65; }
.home-slide h2 { margin-block-end:.35rem; }
.logo__img.titi-symbol { display:block; width:48px; height:48px; flex:none; }
.titi-symbol svg { display:block; width:100%; height:100%; }
.titi-symbol .titi-book-lines { transform-box:view-box; transform-origin:48px 45px; }
@keyframes titi-book-unfold {
  0% { transform:scaleX(.18) scaleY(.88); }
  60% { transform:scaleX(1.026) scaleY(1.01); }
  100% { transform:scale(1); }
}
@media (prefers-reduced-motion:no-preference) {
 .home-page .titi-symbol .titi-book-lines { animation:titi-book-unfold .78s cubic-bezier(.22,.62,.31,1) .13s 1 both; }
}
@media (max-width:680px) {
  .titi-front__inner { padding-block:clamp(1.7rem,6.6vw,2.7rem); gap:1.2rem; }
  .hero.titi-front h1 { max-inline-size:16ch; }
  .titi-features { padding-block:1rem; }
  .topbar__links { gap:.65rem; }
  .header__inner .logo__sub { font-size:.67rem; }
}
@media (max-width:355px) {
 .logo__img.titi-symbol { width:42px;height:42px; }
 .hero.titi-front .titi-front__actions a { flex:1 1 auto; }
}
