[data-part="Brand Logo"] {
    width: 144px !important;
    height: 78px !important;
    flex-shrink: 0;
}
.site-header [data-part="Brand Logo"] {
    width: 104px !important;
    height: 56px !important;
}
[data-part="Brand Logo"] img {
    object-fit: contain !important;
}
.fx-tdc27 .mobile-menu {
    top: calc(100% + 12px);
}
:is(#smart-static-priority, :root) .integration-brand {
    width: 76%;
    height: auto;
    aspect-ratio: 802 / 431;
    background: white;
    border-radius: 8px;
}
.fx-bdOkX .company-summary {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1.8fr) minmax(220px, 1fr);
    grid-template-areas: "erp intro finance" "teams api workflow";
    gap: 32px;
    align-items: stretch;
    min-height: 0;
}
.fx-bdOkX .company-summary-cards {
    display: contents;
}
.fx-bdOkX .company-summary-intro {
    grid-area: intro;
    align-self: center;
    min-width: 0;
    max-width: 100%;
    gap: 20px;
}
.company-summary-intro :is(h2, p) {
    text-align: center !important;
    overflow-wrap: break-word;
}
.company-summary-intro h2 {
    font-size: clamp(36px, 3.5vw, 52px);
    line-height: 1.15;
}
html[dir="rtl"] .company-summary-intro h2 {
    line-height: 1.5;
}
.fx-bdOkX .summary-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    order: initial;
    grid-column: auto;
    transform: none;
}
.fx-bdOkX .summary-erp {
    grid-area: erp;
}
.fx-bdOkX .summary-finance {
    grid-area: finance;
}
.fx-bdOkX .summary-workflow {
    grid-area: workflow;
}
.fx-bdOkX .summary-teams {
    grid-area: teams;
}
.fx-bdOkX .summary-api {
    grid-area: api;
    max-width: 300px;
    justify-self: center;
}
.company-summary .fx-cSJRf {
    width: 100%;
    height: 100%;
    min-height: 280px;
    padding: 26px;
    gap: 30px;
}
.company-summary .fx-n64wac {
    padding-bottom: 0;
    justify-content: space-between;
    gap: 16px;
}
.company-summary .fx-y7alld {
    flex: 0 0 40px;
    width: 40px;
}
.company-summary .fx-dpzfsj {
    min-width: 0;
}
.company-summary .fx-1s4gvy7 {
    gap: 12px;
}
@media (max-width: 1199.98px) {
    .fx-bdOkX .company-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "intro intro" "erp finance" "teams workflow" "api api";
        gap: 28px;
    }
    .fx-bdOkX .company-summary-intro {
        max-width: 700px;
        justify-self: center;
        margin-bottom: 12px;
    }
    .fx-bdOkX .summary-api {
        max-width: none;
    }
}
@media (max-width: 809.98px) {
    .site-header [data-part="Brand Logo"] {
        width: 84px !important;
        height: 46px !important;
    }
    .fx-bdOkX .company-summary {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "intro" "erp" "finance" "teams" "workflow" "api";
        gap: 24px;
    }
    .company-summary-intro h2 {
        font-size: clamp(30px, 7.5vw, 40px);
    }
    .company-summary .fx-cSJRf {
        min-height: 230px;
        padding: 24px;
        justify-content: space-between;
        gap: 26px;
    }
}

/* Header columns reserve room for the logo, links, demo button, and language. */
.site-header nav[data-part="Desktop"] > [data-part="Container"] {
    max-width: 1100px;
}
.site-header nav[data-part="Desktop"] .nav-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 12px;
    overflow: visible;
}
.site-header nav[data-part="Desktop"] .nav-panel > [data-part="Left"],
.site-header nav[data-part="Desktop"] .nav-panel > [data-part="Right"],
.site-header nav[data-part="Desktop"] .nav-links {
    width: auto;
    min-width: 0;
}
.site-header nav[data-part="Desktop"] .nav-links {
    flex-wrap: wrap;
    gap: 2px;
}
.site-header nav[data-part="Desktop"] .nav-links a {
    padding: 10px 12px;
}
.site-header [data-part="Nav Button"] {
    width: max-content;
    max-width: none;
    flex-shrink: 0;
}
.site-header [data-part="Nav Button"] > [data-part="Content"] {
    width: max-content;
}
.site-header [data-part="Nav Button"] p {
    white-space: nowrap;
    overflow-wrap: normal;
    text-align: center;
}
.site-header nav[data-part="Desktop"] .language-switch {
    margin: 0;
}

/* One partner strip is shared by every page; the original ticker drives motion. */
.shared-partner-strip {
    width: 100%;
    padding-block: 56px 24px;
    overflow: hidden;
}
.shared-partner-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.shared-partner-heading::before,
.shared-partner-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dde5ed;
}
.shared-partner-heading p {
    flex: 0 1 auto;
    max-width: min(85%, 800px);
    margin: 0;
    padding: 10px 20px;
    border: 1px solid #dde5ed;
    border-radius: 32px;
    background: #edf1f5;
    color: #202020;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
.shared-partner-ticker {
    direction: ltr;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.shared-partner-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    margin: 0;
    padding: 10px 0;
    list-style: none;
}
.shared-partner-item {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}
.shared-partner-image {
    display: block;
    width: clamp(64px, calc(52px * var(--partner-ratio)), 180px);
    height: 56px;
    overflow: hidden;
}
.shared-partner-upload {
    display: block;
    width: auto;
    max-width: 180px;
    height: 56px;
    object-fit: contain;
}
.shared-partner-placeholder {
    max-width: 180px;
    white-space: normal;
    text-align: center;
}
.company-signature-logo {
    width: 80px !important;
    height: 44px !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.company-signature-logo img {
    object-fit: contain !important;
    border-radius: 0 !important;
}
@media (max-width: 809px) {
    .shared-partner-strip { padding-block: 36px 24px; }
    .shared-partner-track { gap: 32px; }
    .shared-partner-image { width: clamp(52px, calc(44px * var(--partner-ratio)), 150px); height: 48px; }
    .shared-partner-upload { max-width: 150px; height: 48px; }
}

/* Directional text follows Arabic; centered styles retain their alignment. */
:is(#smart-static-priority,html[dir="rtl"]) .sg-blog-text-01 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-comparison-text-01 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-features-text-02 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-security-text-01 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-shared-text-16 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-shared-text-17 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-shared-text-20 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-shared-text-29 {
    --fx-text-alignment:right;
}
:is(#smart-static-priority,html[dir="rtl"]) .sg-shared-text-54 {
    --fx-text-alignment:right;
}
html[dir="rtl"] .fx-BUMAA .fx-styles-preset-p5vncl:not(.rich-text-wrapper),
html[dir="rtl"] .fx-BUMAA .fx-styles-preset-p5vncl.rich-text-wrapper h2 {
    --fx-text-alignment:right;
}
@media (max-width:1199px) and (min-width:810px) {
html[dir="rtl"] .fx-BUMAA .fx-styles-preset-p5vncl:not(.rich-text-wrapper),
html[dir="rtl"] .fx-BUMAA .fx-styles-preset-p5vncl.rich-text-wrapper h2 {
    --fx-text-alignment:right;
}
}
@media (max-width:809px) and (min-width:0) {
html[dir="rtl"] .fx-BUMAA .fx-styles-preset-p5vncl:not(.rich-text-wrapper),
html[dir="rtl"] .fx-BUMAA .fx-styles-preset-p5vncl.rich-text-wrapper h2 {
    --fx-text-alignment:right;
}
}

/* Keep the comparison heading close to the homepage partner strip. */
.fx-bdOkX .shared-partner-strip + [data-part="Comparison"] {
    padding-top: 64px;
}
@media (max-width: 809px) {
    .fx-bdOkX .shared-partner-strip + [data-part="Comparison"] {
        padding-top: 40px;
    }
}

/* Primary menu items share one layout across desktop and the cloned mobile menu. */
.navigation-item {
    flex: none;
    width: auto;
    height: auto;
    position: relative;
}
.site-header .nav-links a[aria-current="page"] {
    background: #edf1f5;
    border-radius: 28px;
}
.article-body table {
    border-collapse: collapse;
    max-width: 100%;
}
.article-body th,
.article-body td {
    border: 1px solid #d5dee3;
    padding: 10px 14px;
}
.article-body {
    overflow-x: auto;
}


/* Arabic call-to-action arrows point in the reading direction. */
html[dir="rtl"] a[data-highlight] [data-part="Icon"] img,
html[dir="rtl"] a [data-part="Icon"] img[src*="RXZaWpPO8xqy7UXViVlRYw1NH14"],
html[dir="rtl"] .site-header a [data-part="Icon"] svg {
    transform: scaleX(-1);
}

/* The accounting artwork replaces the original tall shield in its existing card. */
#features img[src*="accounting-advanced"] {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* Mirror only the comparison dial artwork in Arabic, in both scroll states. */
html[dir="rtl"] [data-comparison] :is(.fx-1at2t1b, .fx-171nu64) img {
    transform: scaleX(-1);
}

/* Both comparison states use flexible label columns on narrow screens. */
@media (max-width: 809.98px) {
    .fx-bdOkX [data-comparison] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .fx-bdOkX [data-comparison] :is(.fx-19e2aql, .fx-146rly4) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
        gap: 6px;
        inset-inline: 0;
        height: 80px;
    }
    .fx-bdOkX [data-comparison] :is(.fx-1jccbc3, .fx-b4qyba, .fx-itxcxi, .fx-bfhhjn) {
        width: 100%;
        min-width: 0;
        padding: 0 4px 12px;
        justify-content: center;
        box-sizing: border-box;
    }
    .fx-bdOkX [data-comparison] :is(.fx-1hju70, .fx-1s06pl5, .fx-ub8o0f, .fx-jjjuji) {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }
    .fx-bdOkX [data-comparison] :is(.fx-1jccbc3, .fx-b4qyba, .fx-itxcxi, .fx-bfhhjn) p {
        font-size: clamp(12px, 3.5vw, 16px);
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }
    .fx-bdOkX [data-comparison] :is(.fx-qhqole, .fx-ofa02r, .fx-1at2t1b, .fx-171nu64) {
        width: 64px;
    }
    .fx-bdOkX [data-comparison] :is(.fx-yfig7u, .fx-1n0rlr) {
        padding-top: 79px;
        height: auto;
    }
    .fx-bdOkX [data-comparison] :is(.fx-qk3g14, .fx-1mnqj84, .fx-78u9z1, .fx-11eo6ss) {
        flex: none;
        height: auto;
    }

    [data-steps] .fx-CWsCN {
        cursor: pointer;
        touch-action: manipulation;
        transition: background-color 180ms ease, color 180ms ease;
    }
    [data-steps] .step-current::after {
        content: "";
        position: absolute;
        inset-inline-start: 8px;
        inset-block-end: 3px;
        width: calc(100% - 16px);
        height: 3px;
        border-radius: 3px;
        background: #528ff4;
        transform: scaleX(0);
        transform-origin: left;
        animation: mobile-step-progress 7s linear forwards paused;
        pointer-events: none;
    }
    html[dir="rtl"] [data-steps] .step-current::after {
        transform-origin: right;
    }
    [data-steps].steps-playing .step-current::after {
        animation-play-state: running;
    }
}
@keyframes mobile-step-progress {
    to { transform: scaleX(1); }
}

/* Arabic About message: readable paragraphs above the original corner decoration. */
html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] .fx-1fb81rf {
    padding: clamp(20px, 4vw, 50px);
    padding-bottom: 200px;
    gap: 24px;
}
html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] :is(.fx-1bld8n1, .fx-1g0n3ek, .fx-kwskvw) {
    width: 100%;
    min-width: 0;
    align-items: stretch;
}
html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] .fx-1g0n3ek {
    gap: 16px;
}
html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] :is(h3, h4, p) {
    width: 100%;
    max-width: none;
    text-align: right;
    text-wrap: wrap;
    white-space: normal;
    overflow-wrap: break-word;
    margin: 0;
    line-height: 1.75;
}
html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] .fx-1fb81rf > .responsive-variant {
    display: contents;
}
html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] .fx-1bopt51 {
    position: absolute;
    height: 220px;
    bottom: -40px;
    right: -50px;
    left: auto;
    pointer-events: none;
}
@media (max-width: 809.98px) {
    html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] .fx-1fb81rf {
        padding-bottom: 140px;
    }
    html[dir="rtl"] .fx-qVir2 [data-part="Our Story"] .fx-1bopt51 {
        height: 150px;
        bottom: -30px;
    }
}
