/* Shared geometry and typography across the public site. */
body{font-family:"Vazirmatn",Tahoma,sans-serif}
/* Product section links follow the centered, underlined industry tabs. */
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav){top:0;transition:top .35s ease}
html body:has(.site-header.sticky-drop.is-visible) :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav){top:64px}
@media(max-width:720px){html body:has(.site-header.sticky-drop.is-visible) :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav){top:120px}}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) .container{display:flex;justify-content:center;align-items:stretch;gap:clamp(16px,2vw,34px);overflow-x:auto;scrollbar-width:none}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) .container::-webkit-scrollbar{display:none}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px 4px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:500;line-height:1.5;text-align:center;white-space:nowrap}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a:hover,
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a.active{color:var(--ink)}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a.active{font-weight:650}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a.active:after{content:"";position:absolute;bottom:0;left:50%;width:34px;height:2px;background:var(--accent);transform:translateX(-50%)}
html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
@media(max-width:720px){html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) .container{justify-content:flex-start;gap:20px;scroll-padding-inline:18px}html body :is(.hesab-page-nav,.identity-page-nav,.product-landing-page-nav) a{min-height:48px;padding:9px 2px;font-size:12px}}
.knowledge-filter-shell{padding-top:18px}
.knowledge-filter-shell .filterbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:min(100%,760px);margin-inline:auto;border-bottom:1px solid var(--line)}
html[lang="en"] .knowledge-filter-shell .filterbar{width:min(100%,920px)}
.knowledge-filter-shell .filterbar button{position:relative;min-height:44px;padding:8px 6px 10px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:14px;font-weight:500;line-height:1.5;text-align:center;cursor:pointer;transition:color .2s}
.knowledge-filter-shell .filterbar button:hover,.knowledge-filter-shell .filterbar button.active{background:transparent;color:var(--ink)}
.knowledge-filter-shell .filterbar button.active{font-weight:650}
.knowledge-filter-shell .filterbar button.active:after{content:"";position:absolute;bottom:-1px;left:50%;width:34px;height:2px;background:var(--accent);transform:translateX(-50%)}
.knowledge-filter-shell .filterbar button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.knowledge-filter-shell+.knowledge-category-section{padding-top:22px}
.knowledge-page-content .article-card[hidden],.knowledge-page-content .knowledge-category-section[hidden]{display:none!important}
.knowledge-card-grid .article-read-more{border-radius:0}
.knowledge-show-all{display:block;min-width:180px;margin:30px auto 0;padding:10px 20px;border:1px solid var(--accent);border-radius:0;background:transparent;color:var(--accent);font-size:14px;font-weight:700;line-height:1.6;text-align:center;cursor:pointer;transition:background-color .2s,color .2s}
.knowledge-show-all:hover{background:var(--accent);color:#fff}
.knowledge-show-all:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.knowledge-show-all[hidden]{display:none!important}
@media(max-width:720px){.knowledge-filter-shell{padding-top:22px}.knowledge-filter-shell .filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-filter-shell .filterbar button{min-height:47px;padding:9px 6px;font-size:12px}.knowledge-filter-shell+.knowledge-category-section{padding-top:25px}}
.knowledge-code-examples{margin-block:42px;border-block:1px solid var(--line);padding-block:4px 28px}
.knowledge-code-examples>h2{margin-top:34px}
.knowledge-code-sample{margin:26px 0 0;border:1px solid var(--line);background:#f7f8f6}
.knowledge-code-sample figcaption{padding:15px 18px;font-size:15px;font-weight:700;color:var(--ink)}
.knowledge-code-sample pre{box-sizing:border-box;max-width:100%;margin:0;padding:19px 20px;overflow-x:auto;background:#17231f;color:#f0f5f1;text-align:left;direction:ltr;line-height:1.7;tab-size:2}
.knowledge-code-sample code{font:13px/1.7 Consolas,"Courier New",monospace;white-space:pre}
.knowledge-code-sample>p{margin:0;padding:12px 18px 16px;font-size:14px;line-height:1.9}
@media(max-width:720px){.knowledge-code-examples{margin-block:30px}.knowledge-code-sample pre{padding:15px}.knowledge-code-sample code{font-size:12px}}
.home-product-controls{display:none}
html body.products-page .page-hero p{white-space:normal}
html body.about-page .page-hero p{max-width:960px;white-space:normal;line-height:1.9}
@media(max-width:720px){html body.about-page .page-hero p{font-size:15px}}
html body .site-header .nav-shell.container{width:min(1420px,calc(100% - 56px));position:relative}
body:not(.home) main h1{font-size:clamp(32px,3.1vw,44px)!important;line-height:1.4;letter-spacing:0;font-weight:700}
body:not(.home) main .section-head h2,
body:not(.home) main .knowledge-heading h2,
body:not(.home) main .hesab-section-heading h2,
body:not(.home) main .identity-section-heading h2,
body:not(.home) main .product-landing-section-heading h2,
body:not(.home) main .hesab-faq-grid>h2,
body:not(.home) main .identity-faq-grid>h2,
body:not(.home) main .product-landing-faq-grid>h2{font-size:clamp(24px,2.1vw,30px)!important;line-height:1.55;letter-spacing:0;font-weight:700}
body:not(.home) main .section,
body:not(.home) main .hesab-section,
body:not(.home) main .identity-section,
body:not(.home) main .product-landing-section{padding-block:72px}
body:not(.home) main .page-hero{padding-block:80px 64px}
body:not(.home) main .section-head,
body:not(.home) main .knowledge-heading,
body:not(.home) main .hesab-section-heading,
body:not(.home) main .identity-section-heading,
body:not(.home) main .product-landing-section-heading{margin-bottom:32px}
body.hesab-page .hesab-hero h1 span,
body.identity-page .identity-hero h1 span,
body.product-landing-page .product-landing-hero h1 span{font-size:clamp(21px,2vw,26px);line-height:1.7;font-weight:600}
body.hesab-page .hesab-cta .container{flex-direction:column;align-items:center;text-align:center;gap:24px}
body.hesab-page .hesab-cta p{margin-inline:auto;text-align:center;text-align-last:center}

/* Approved card geometry: square by default; only colored top edges are rounded. */
html body .product-card,
html body .home-product-card,
html body .article-card,
html body .cap-card,
html body .proof-card,
html body .wide-card,
html body .contact-card,
html body .case-card,
html body .signal-card,
html body .service-item,
html body .step,
html body .review-service-card,
html body .review-workflow li,
html body .product-media-panel,
html body .hesab-card,
html body .hesab-overview,
html body .hesab-overview li,
html body .hesab-checklist,
html body .identity-card,
html body .identity-overview,
html body .identity-overview li,
html body .identity-checklist,
html body .product-landing-card,
html body .product-landing-overview,
html body .product-landing-overview li,
html body .product-landing-checklist{border-radius:0!important}

html body.products-page .product-card,
html body.products-page .product-top,
html body .knowledge-card-grid .image-article-card{border-radius:20px 20px 0 0!important;overflow:hidden}
html body.products-page .product-glyph{border-radius:0!important}

/* Product cards stay neutral and square; a short title mark carries the catalog color. */
html body.hesab-page{--product-card-accent:var(--product-accounting)}
html body.identity-page{--product-card-accent:var(--product-identity)}
html body.product-landing-page{--product-card-accent:var(--product-color,var(--product-text-speech))}
html body.hesab-page .hesab-overview,
html body.hesab-page #capabilities .hesab-card,
html body.identity-page .identity-overview,
html body.identity-page #capabilities .identity-card,
html body.product-landing-page .product-landing-overview,
html body.product-landing-page #capabilities .product-landing-card{border:1px solid var(--line)!important;border-radius:0!important}
html body.hesab-page .hesab-overview-top strong::before,
html body.hesab-page #capabilities .hesab-card h3::before,
html body.identity-page .identity-overview-top strong::before,
html body.identity-page #capabilities .identity-card h3::before,
html body.product-landing-page .product-landing-overview-top strong::before,
html body.product-landing-page #capabilities .product-landing-card h3::before{content:"";display:inline-block;width:22px;height:4px;margin-inline-end:10px;background:var(--product-card-accent);vertical-align:middle}
html body.home .products-home .home-product-card{overflow:hidden}
html body.home .products-home .home-product-card::before{border-radius:0;clip-path:none!important}
html body.home .products-home .home-product-card::after{display:none}

/* Product names echo the matching catalog cover; all other card text stays neutral. */
html body.home .products-home .home-product-card[data-product="accounting"]{--home-product-cover:#80ad9d;--home-product-ink:#247a5b}
html body.home .products-home .home-product-card[data-product="identity"]{--home-product-cover:#b9b3dc;--home-product-ink:#6554b7}
html body.home .products-home .home-product-card[data-product="aivan"]{--home-product-cover:#9abbd2;--home-product-ink:#2e78a5}
html body.home .products-home .home-product-card[data-product="speech-text"]{--home-product-cover:#e7aa8d;--home-product-ink:#b85a31}
html body.home .products-home .home-product-card[data-product="text-speech"]{--home-product-cover:#dfb4bf;--home-product-ink:#b64d73}
html body.home .products-home .home-product-card[data-product="access"]{--home-product-cover:#d96561;--home-product-ink:#c73635}
html body.home .products-home .home-product-card[data-product="commerce"]{--home-product-cover:#b8d1c7;--home-product-ink:#2b8068}
html body.home .products-home .home-product-card[data-product="custom-system"]{--home-product-cover:#f1d47b;--home-product-ink:#987100}
html body.home .products-home .home-product-card[data-product] .product-body h3{color:var(--home-product-ink)}
html body[data-theme="dark"].home .products-home .home-product-card[data-product] .product-body h3{color:var(--home-product-cover)}

@media(min-width:1101px){
  html body .site-header .nav-primary{position:absolute;top:50%;left:50%;right:auto;width:max-content;flex:none;margin:0;transform:translate(-50%,-50%);justify-content:center}
}

/* Mobile layouts share readable type and compact, unclipped content. */
@media(max-width:720px){
  html body .site-header,
  html body.home .site-header,
  html body .page-header .site-header,
  html body .site-header.sticky-drop,
  html body .page-header{height:120px!important}
  html body .site-header .nav-shell.container{height:50px!important}
  html body .site-header .nav-primary,
  html body .site-header.sticky-drop .nav-primary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,31px);position:absolute!important;top:51px!important;left:15px!important;right:15px!important;width:calc(100% - 30px)!important;height:62px!important;margin:0!important;padding:0!important;transform:none!important;gap:0;align-items:stretch;justify-content:stretch;background:#fff;color:#182522;border:1px solid var(--line);border-radius:0;box-shadow:none;clip-path:none}
  html body .site-header .nav-primary>:nth-child(-n+3){border-bottom:1px solid var(--line)!important}
  html body .site-header .nav-primary>:not(:nth-child(3n)){border-inline-end:1px solid var(--line)!important}
  html body .site-header .nav-primary>.has-menu{display:block;height:auto!important;min-width:0}
  html body .site-header .nav-primary .nav-link,
  html body .site-header.sticky-drop .nav-primary .nav-link{display:flex!important;align-items:center;justify-content:center;height:30px!important;padding:3px 3px!important;font-size:11px;line-height:1.35;text-align:center!important;border:0;border-radius:0;background:transparent;white-space:normal;color:#182522}
  html body .site-header .nav-primary .nav-link:hover,
  html body .site-header .nav-primary .nav-link:focus-visible{background:#e3ede5;color:#175841}
  html body .site-header .nav-primary .mega{display:none!important}
  html body .site-header .mobile-toggle{display:none!important}
  html body.menu-open .site-header .nav-primary .nav-link{text-align:center}
  html[dir] body main h1{font-size:28px!important;line-height:1.55;text-align:center!important;white-space:normal}
  html[dir] body main h2{font-size:23px!important;line-height:1.65;text-align:center!important;letter-spacing:0}
  html body.identity-page main h1,
  html body.hesab-page main h1,
  html body.product-landing-page main h1,
  html body.product-detail-page main h1,
  html body.products-page main h1{font-size:clamp(20px,6vw,24px)!important;line-height:1.55;text-wrap:balance}
  html body.identity-page main h1 span,
  html body.hesab-page main h1 span,
  html body.product-landing-page main h1 span{font-size:16px!important;line-height:1.7;margin-top:8px}
  html body.identity-page main h2,
  html body.hesab-page main h2,
  html body.product-landing-page main h2,
  html body.product-detail-page main h2,
  html body.products-page main h2{font-size:19px!important;line-height:1.55;text-wrap:balance}
  html body.identity-page main .identity-section-heading h2,
  html body.identity-page main .identity-faq-grid>h2,
  html body.identity-page main .identity-cta h2,
  html body.hesab-page main .hesab-section-heading h2,
  html body.hesab-page main .hesab-faq-grid>h2,
  html body.hesab-page main .hesab-cta h2,
  html body.product-landing-page main .product-landing-section-heading h2,
  html body.product-landing-page main .product-landing-faq-grid>h2,
  html body.product-landing-page main .product-landing-cta h2{font-size:19px!important;line-height:1.55;text-wrap:balance}
  html body.identity-page main h3,
  html body.hesab-page main h3,
  html body.product-landing-page main h3,
  html body.product-detail-page main h3,
  html body.products-page main h3{font-size:17px!important;line-height:1.6;text-wrap:balance}
  html body.identity-page main .identity-overview li h2,
  html body.hesab-page main .hesab-overview li h2,
  html body.product-landing-page main .product-landing-overview li h2{font-size:15px!important;line-height:1.55;text-align:start!important;text-wrap:normal}
  html body.identity-page main .identity-overview-top strong,
  html body.hesab-page main .hesab-overview-top strong,
  html body.product-landing-page main .product-landing-overview-top strong{font-size:17px;line-height:1.6}
  html[dir] body main .section-head h2,
  html[dir] body.home main section .section-head h2,
  html[dir] body.home main section .section-head p,
  html[dir] body.home main section .section-head .eyebrow{margin-inline:auto!important;text-align:center!important;max-width:100%!important}
  html[dir] body main .section-head,
  html[dir] body main .knowledge-heading,
  html[dir] body main [class$="section-heading"]{text-align:center!important}
  html[dir] body main .section-head p,
  html[dir] body main .section-head .eyebrow,
  html[dir] body main [class$="section-heading"] p{margin-inline:auto;text-align:center!important;white-space:normal}
  html[dir] body main .btn{font-size:13px;line-height:1.7;padding:11px 16px;white-space:normal;max-width:100%;text-align:center}
  html[dir] body main .closing h2{font-size:22px!important;line-height:1.8}
  html[dir] body main .closing .closing-grid{gap:20px}
  html[dir] body main .section{padding-block:44px}
  html body.home .hero.hero-cinematic{min-height:0}
  html body.home .hero-cinematic .hero-grid{min-height:0;grid-template-rows:auto auto auto;padding:120px 0 0;gap:0}
  html body.home .hero-cinematic .hero-copy{min-height:60px;padding:14px 18px;width:100%;height:auto}
  html[dir] body.home main .hero-cinematic .hero-copy h1{font-size:18px!important;line-height:1.65;margin:0}
  html body.home .hero-film-backdrop{width:100%;height:auto;aspect-ratio:16/9;min-height:0}
  html body.home .hero-film-backdrop .hero-film{object-fit:contain;object-position:center}
  html body.home .hero-cinematic .hero-footer{min-height:0;height:auto;padding:16px 15px}
  html body.home .hero-cinematic .hero-footer .hero-actions{gap:10px;flex-wrap:wrap;justify-content:center}
  html body.home .knowledge-grid,
  html body .knowledge-card-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  html body.home .knowledge-grid .article-card{grid-column:auto;height:auto;min-height:260px;padding:24px;min-width:0}
  html body.home .knowledge-grid .article-card h3{font-size:19px;line-height:1.7;margin-block:16px}
  html body.home .knowledge-grid .article-card p{font-size:14px;line-height:1.9}
  html body .knowledge-card-grid .image-article-card{height:auto;min-height:400px;grid-template-rows:181px auto auto;max-width:none;min-width:0}
  html body .knowledge-card-grid .article-copy{padding:12px 22px 8px}
  html body .knowledge-card-grid .article-copy h3{min-height:0;font-size:17px;line-height:1.7;margin-bottom:8px}
  html body.home .home-product-carousel{direction:ltr;overflow-x:auto;overflow-y:hidden;mask-image:none;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain}
  html body.home .home-product-track{animation:none;transform:none;width:max-content}
  html body.home .home-product-group{gap:16px;padding-inline-end:0}
  html body.home .home-product-group[aria-hidden="true"]{display:none}
  /* On phones the industry bar follows the current photo instead of clipping tabs. */
  html body.home .sectors .sector-tabs{display:flex;justify-content:center;align-items:center;overflow:visible;width:100%;margin-bottom:16px;border-bottom:1px solid var(--line)}
  html body.home .sectors .sector-tabs .sector-tab{display:none}
  html body.home .sectors .sector-tabs .sector-tab.active{display:flex;justify-content:center;align-items:center;flex:0 1 auto;width:auto;max-width:100%;gap:9px;padding:10px 16px;white-space:normal;text-align:center;font-size:14px;line-height:1.7}
  html body.home .home-product-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px;direction:ltr}
  .home-product-arrow{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line);background:var(--white);color:var(--ink);font-family:Arial,sans-serif;font-size:27px;line-height:1;cursor:pointer;border-radius:50%}
  .home-product-dots{display:flex;align-items:center;gap:2px}
  .home-product-dot{display:grid;place-items:center;width:18px;height:32px;padding:0;border:0;background:transparent;cursor:pointer}
  .home-product-dot::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.35;transition:width .2s,opacity .2s,background .2s}
  .home-product-dot.is-active::before{width:16px;border-radius:4px;background:var(--accent);opacity:1}
  .home-product-controls button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  html body.home .products-home .home-product-card{flex:0 0 calc(100vw - 60px);width:calc(100vw - 60px);min-width:0;height:auto;min-height:330px;scroll-snap-align:start;scroll-snap-stop:always}
  html body.home .products-home .home-product-card .product-body{display:flex;flex:1;flex-direction:column;padding:10px 22px 22px;min-width:0}
  html body.home .products-home .home-product-card .product-body h3{font-size:19px;line-height:1.65}
  html body.home .products-home .home-product-card .product-body p{font-size:14px;line-height:1.9;min-height:0;margin-block:14px 20px}
  html body.home .products-home .home-product-card .text-link{margin-top:auto;font-size:14px}
  html body .footer{padding:34px 0 20px}
  html body .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}
  html body .footer-grid>div:first-child{grid-column:1/-1}
  html body .footer .brand-copy{display:block!important}
  html body .footer .brand-copy strong{font-size:15px}
  html body .footer .brand-copy small{font-size:10px}
  html body .footer-grid>div:first-child p{font-size:13px;line-height:1.9;margin-block:12px 0}
  html body .footer h4{font-size:14px;margin:0 0 8px}
  html body .footer-grid a:not(.brand){font-size:13px;line-height:1.8;padding-block:4px;overflow-wrap:break-word}
  html body .footer-bottom{margin-top:24px;padding-top:16px;gap:10px;flex-wrap:wrap;font-size:11px}
}
@media(max-width:720px){
  html body .site-header .nav-shell.container{width:calc(100% - 30px)}
  body:not(.home) main .section,
  body:not(.home) main .hesab-section,
  body:not(.home) main .identity-section,
  body:not(.home) main .product-landing-section{padding-block:44px}
  body:not(.home) main .page-hero{padding-block:48px}
  body:not(.home) main .section-head,
  body:not(.home) main .knowledge-heading,
  body:not(.home) main .hesab-section-heading,
  body:not(.home) main .identity-section-heading,
  body:not(.home) main .product-landing-section-heading{margin-bottom:24px}
}

/* Keep English reading edges on the left; preserve intentional centered blocks. */
html[dir="ltr"] body main{direction:ltr;text-align:left}
html[dir="ltr"] body main .page-hero,
html[dir="ltr"] body main .section-head,
html[dir="ltr"] body main .section-head>div,
html[dir="ltr"] body main .section-head h2,
html[dir="ltr"] body main .section-head p,
html[dir="ltr"] body main .section-head .eyebrow,
html[dir="ltr"] body main .hesab-section-heading,
html[dir="ltr"] body main .identity-section-heading,
html[dir="ltr"] body main .product-landing-section-heading,
html[dir="ltr"] body main .knowledge-heading{ text-align:left!important }
html[dir="ltr"] body main .section-head p,
html[dir="ltr"] body main .hesab-section-heading p,
html[dir="ltr"] body main .identity-section-heading p,
html[dir="ltr"] body main .product-landing-section-heading p{margin-inline-start:0!important;margin-inline-end:auto!important;text-align:left!important}
html[dir="ltr"] body.home main .capabilities .section-head,
html[dir="ltr"] body.home main .capabilities .section-head h2,
html[dir="ltr"] body.home main .aivan-editorial .section-head,
html[dir="ltr"] body.home main .aivan-editorial .section-head h2,
html[dir="ltr"] body.home main .aivan-editorial .section-head p{text-align:center!important}
html[dir="ltr"] body.home main .aivan-editorial .section-head p{margin-inline:auto!important}
html[dir="ltr"] body main .review-service-card p,
html[dir="ltr"] body main .review-workflow p,
html[dir="ltr"] body main .article-body p,
html[dir="ltr"] body main .article-copy p,
html[dir="ltr"] body main .hesab-card p,
html[dir="ltr"] body main .hesab-faq details p,
html[dir="ltr"] body main .identity-card p,
html[dir="ltr"] body main .identity-faq details p,
html[dir="ltr"] body main .product-landing-card p,
html[dir="ltr"] body main .product-landing-faq details p{text-align:left;text-align-last:left}
html[dir="ltr"] body.product-landing-page main>section:not(.product-landing-cta) p{text-align:left;text-align-last:left}
html[dir="ltr"] body.product-landing-page main .tts-audio-placeholder p{text-align:center;text-align-last:center}
html[dir="ltr"] body.home main .home-product-card,
html[dir="ltr"] body.home main .home-product-card .product-body,
html[dir="ltr"] body.home main .home-product-card .product-body small,
html[dir="ltr"] body.home main .home-product-card .product-body h3,
html[dir="ltr"] body.home main .home-product-card .product-body p,
html[dir="ltr"] body.home main .home-product-card .text-link{direction:ltr;text-align:left!important}
html[dir="ltr"] body.home main .home-product-card .product-top{justify-content:flex-start}
html[dir="ltr"] body.home main .collaboration-flow,
html[dir="ltr"] body.home main .hero-actions{direction:ltr}

/* Final contact actions form one centered group in both languages. */
html[dir] body main .closing .closing-grid,
html[dir] body main>section.statement:last-child .statement-grid,
html[dir] body main .hesab-cta .container,
html[dir] body main .identity-cta .container,
html[dir] body main .product-landing-cta .container{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:20px!important;text-align:center!important}
html[dir] body main .closing .closing-grid>*,
html[dir] body main>section.statement:last-child .statement-grid>*,
html[dir] body main .hesab-cta .container>*,
html[dir] body main .identity-cta .container>*,
html[dir] body main .product-landing-cta .container>*{margin-inline:auto!important;text-align:center!important}
html[dir] body main .closing .closing-grid h2,
html[dir] body main>section.statement:last-child .statement-grid h2,
html[dir] body main .hesab-cta h2,
html[dir] body main .identity-cta h2,
html[dir] body main .product-landing-cta h2,
html[dir] body main .hesab-cta p,
html[dir] body main .identity-cta p,
html[dir] body main .product-landing-cta p{max-width:min(100%,960px)!important;text-align:center!important;text-align-last:center!important}
html[dir] body main .closing .btn,
html[dir] body main>section.statement:last-child .btn,
html[dir] body main .hesab-cta .btn,
html[dir] body main .identity-cta .btn,
html[dir] body main .product-landing-cta .btn{align-self:center!important;justify-self:center!important;margin-inline:auto!important}

/* Separate the two rows of the six-service table. */
@media(min-width:1101px){
  html body .service-list>.service-item:nth-child(-n+3){border-bottom:1px solid var(--line)}
}
@media(max-width:720px){
  html[dir="ltr"] body main .section-head,
  html[dir="ltr"] body main .section-head>div,
  html[dir="ltr"] body main .section-head h2,
  html[dir="ltr"] body main .section-head p,
  html[dir="ltr"] body main .section-head .eyebrow,
  html[dir="ltr"] body main .hesab-section-heading,
  html[dir="ltr"] body main .identity-section-heading,
  html[dir="ltr"] body main .product-landing-section-heading,
  html[dir="ltr"] body main .knowledge-heading{text-align:center!important}
  html[dir="ltr"] body main .section-head p,
  html[dir="ltr"] body main .hesab-section-heading p,
  html[dir="ltr"] body main .identity-section-heading p,
  html[dir="ltr"] body main .product-landing-section-heading p{margin-inline:auto!important;text-align:center!important}
}

/* Four contextual cards use the same proportions as the knowledge index. */
.knowledge-related-section{background:var(--surface-greige);padding-block:76px}
.knowledge-related-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:30px}
.knowledge-related-heading h2{margin:0;font-size:clamp(25px,2.3vw,34px);line-height:1.5;text-align:start}
.knowledge-related-heading>a{flex:none;color:var(--accent);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.knowledge-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.knowledge-related-grid .image-article-card{width:100%;max-width:none;height:400px;min-height:400px;display:grid;grid-template-rows:181px minmax(0,1fr) 48px;align-content:stretch}
.knowledge-related-grid .article-copy{min-height:0;padding:10px 24px 0;overflow:hidden}
.knowledge-related-grid .article-copy h3{min-height:0;margin:0 0 9px;line-height:1.5}
.knowledge-related-grid .article-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.55;text-align:justify;text-align-last:start;text-justify:inter-word}
.knowledge-related-grid .article-read-more{align-self:end;justify-self:start;margin:0 24px 12px}
@media(min-width:721px) and (max-width:1100px){.knowledge-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  html body .knowledge-related-grid{grid-template-columns:minmax(0,1fr)}
  html body .knowledge-related-grid .image-article-card{height:auto;min-height:400px;grid-template-rows:181px auto 52px}
  html body .knowledge-related-grid .article-copy{padding:14px 24px 8px;overflow:visible}
  html body .knowledge-related-grid .article-copy p{display:block;overflow:visible;-webkit-line-clamp:unset}
  .knowledge-related-grid .article-read-more{margin-inline:24px}
  .knowledge-related-section{padding-block:48px}
  .knowledge-related-heading{flex-direction:column;align-items:center;gap:8px;text-align:center}
  .knowledge-related-heading h2{text-align:center}
}

/* Home knowledge previews follow the same quiet, readable hierarchy as the index. */
html body.home .knowledge-grid .article-card,
html body.home .knowledge .article-card:first-child,
html body.home .knowledge-grid .article-card:nth-child(2),
html body.home .knowledge-grid .article-card:nth-child(3){height:276px;min-height:276px;padding:26px 28px 24px;background:var(--white);border:1px solid var(--line);border-radius:0!important;box-shadow:none;text-align:start}
html body.home .knowledge-grid .article-card>div{width:100%;min-width:0}
html body.home .knowledge-grid .article-card small{display:block;color:var(--accent);font-size:12px;line-height:1.6;font-weight:700}
html body.home .knowledge-grid .article-card h3{margin:18px 0 12px;font-size:clamp(18px,1.45vw,21px);line-height:1.65;text-align:start}
html body.home .knowledge-grid .article-card h3::before{content:"";display:inline-block;width:20px;height:3px;margin-inline-end:9px;background:var(--accent);vertical-align:middle}
html body.home .knowledge-grid .article-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.85;text-align:justify;text-align-last:start;text-justify:inter-word}
html[dir="ltr"] body.home .knowledge-grid .article-card p{text-align:left}
html body.home .knowledge-grid .article-card b{align-self:flex-start;margin-top:16px;padding:8px 13px;color:#fff;background:var(--accent);border-radius:4px;font-size:13px;line-height:1.45;font-weight:700}
html body.home .knowledge-grid .article-card:hover{border-color:var(--line);background:var(--white);box-shadow:0 7px 18px rgba(24,37,34,.07);transform:translateY(-2px)}
html body[data-theme="dark"].home .knowledge-grid .article-card,
html body[data-theme="dark"].home .knowledge .article-card:first-child,
html body[data-theme="dark"].home .knowledge-grid .article-card:nth-child(2),
html body[data-theme="dark"].home .knowledge-grid .article-card:nth-child(3){background:#202a26;border-color:rgba(220,232,225,.18)}
html body[data-theme="dark"].home .knowledge-grid .article-card h3{color:#edf2ef}
html body[data-theme="dark"].home .knowledge-grid .article-card small{color:#9cc9b7}
html body[data-theme="dark"].home .knowledge-grid .article-card b{color:#13241d;background:#9cc9b7}
@media(max-width:720px){
  html body.home .knowledge-grid .article-card,
  html body.home .knowledge .article-card:first-child,
  html body.home .knowledge-grid .article-card:nth-child(2),
  html body.home .knowledge-grid .article-card:nth-child(3){height:auto;min-height:260px;padding:24px}
  html body.home .knowledge-grid .article-card h3{font-size:19px;line-height:1.7}
}

/* Legacy enterprise-AI guide uses the same full-image treatment as newer articles. */
html body .article-ai-cover-section{padding-block:48px 0}
html body .article-ai-cover{max-width:850px;margin-inline:auto;margin-block:0;padding:14px;border-radius:0}
html body .article-ai-cover img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0}
/* The knowledge index and every article share the calm greige hero. */
html body main .page-hero.knowledge-hero,
html body[data-theme="dark"] main .page-hero.knowledge-hero{background:var(--surface-greige)}
@media(max-width:720px){
  html body .article-ai-cover-section{padding-block:28px 0}
  html body .article-ai-cover{padding:8px}
}
