/* Software Suite (light, product accent via --p) and the /services/ section (site's black and cyan identity). */
.sx-light { color-scheme: light; }
.sx-light body { background: #fff; color: #212529; -webkit-user-select: text; user-select: text; --p: #0d6efd; --pd: #0b5ed7; --pt: #e7f1ff; }
.sx-light body::after { display: none; }
.sx-light main h1, .sx-light main h2, .sx-light main h3 { font-family: "Inter", sans-serif; background: none; -webkit-text-fill-color: currentColor; color: #212529; letter-spacing: -.02em; line-height: 1.2; }
main h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 16px; }
main h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); margin-bottom: 14px; }
main h3 { font-size: 1.02rem; }
.sx-w { max-width: 1140px; margin: auto; padding: 0 20px; }
.sx-narrow { max-width: 780px; }
.sx-crumbs { padding: 88px 20px 0; max-width: 1140px; margin: auto; font-size: .84rem; }
.sx-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sx-crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.sx-crumbs a { color: inherit; }
.sx-hero { padding: 40px 0 64px; background: linear-gradient(180deg, var(--pt), #fff 72%); }
.sx-logo { display: block; height: 72px; width: auto; max-width: 100%; margin-bottom: 20px; }
.sx-lead { font-size: 1.06rem; color: #5a646e; max-width: 720px; margin-bottom: 22px; }
.sx-s { padding: 64px 0; }
.sx-alt { background: #F8F9FA; }
.sx-cta { background: var(--pd); text-align: center; }
.sx-light .sx-cta h2 { color: #fff; -webkit-text-fill-color: #fff; }
.sx-cta .sx-btn { background: #fff; color: #212529; }
.sx-badge { display: inline-block; background: var(--pt); color: var(--pd); font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.sx-act { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-btn { display: inline-flex; justify-content: center; align-items: center; background: var(--pd); color: #fff; font: 700 .94rem "Inter", sans-serif; padding: 13px 24px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.sx-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(33, 37, 41, .16); }
.sx-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.sx-o { background: #fff; color: var(--pd); border-color: var(--pd); }
:focus-visible { outline: 3px solid var(--p, #00c3ff); outline-offset: 2px; }
.sx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 22px; margin-top: 26px; }
.sx-card { background: #fff; border: 1px solid #E9ECEF; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(33, 37, 41, .05); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sx-card-h { display: flex; gap: 14px; align-items: center; width: 100%; flex-wrap: wrap; }
.sx-card-h div { flex: 1; min-width: 130px; }
.sx-card-h p { color: #6C757D; font-size: .85rem; }
.sx-card-h .sx-badge { margin: 0; }
.sx-list { list-style: none; display: grid; gap: 8px; margin: 8px 0 14px; }
.sx-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; }
.sx-list i { color: var(--p, var(--cyan)); margin-top: 3px; }
.sx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 20px; }
.sx-tile { background: #fff; border: 1px solid #E9ECEF; border-radius: 14px; padding: 22px; }
.sx-light .sx-tile h3 { margin-bottom: 8px; color: var(--pd); -webkit-text-fill-color: var(--pd); }
.sx-note { margin-top: 20px; font-size: .88rem; color: #6C757D; }
.sx-gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 22px; }
.sx-zoom { display: block; width: 100%; padding: 0; background: none; border: 1px solid #E9ECEF; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.sx-zoom img { display: block; width: 100%; height: auto; }
figcaption { font-size: .86rem; color: #6C757D; margin-top: 8px; }
dialog.sx-lb { border: 0; padding: 0; background: transparent; max-width: 96vw; margin: auto; }
dialog.sx-lb::backdrop { background: rgba(0, 0, 0, .82); }
dialog.sx-lb img { display: block; max-width: 96vw; max-height: 92vh; }
.sx-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.sx-steps { margin: 0 0 40px; padding-inline-start: 22px; display: grid; gap: 8px; }
.sx-faq details { border-bottom: 1px solid #E9ECEF; padding: 14px 0; }
.sx-faq summary { font-weight: 600; cursor: pointer; }
.sx-faq p { margin-top: 8px; color: #6C757D; }
.sx-rel { display: flex; flex-wrap: wrap; gap: 14px; }
.sx-rel a { display: flex; gap: 10px; align-items: center; font-weight: 700; color: #212529; text-decoration: none; border: 1px solid #E9ECEF; border-radius: 12px; padding: 10px 18px; }
.sx-form { display: grid; gap: 14px; }
.sx-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.sx-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sx-status { font-weight: 600; }
.sx-status.ok { color: #0F766E; }
.sx-status.bad { color: #B42332; }
.sd-hero { padding: 40px 0 56px; background: var(--black); }
.sd-ic { font-size: 2.2rem; color: var(--cyan); display: block; margin-bottom: 14px; }
.sd-hero .sx-lead { color: var(--text-secondary); }
.sd-s { padding: 56px 0 90px; background: var(--deep); }
.sd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.sd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; color: inherit; transition: var(--t-slow); }
.sd-card:hover { transform: translateY(-4px); border-color: var(--border-cyan); }
.sd-card i { color: var(--cyan); font-size: 1.6rem; display: block; margin-bottom: 10px; }
.sd-card p { color: var(--text-muted); font-size: .9rem; }
.sd-n { float: inline-end; color: var(--text-dim); font-family: "Orbitron", sans-serif; }
.sd-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 36px; }
.sd-2 a { color: var(--cyan); }
.sd-btn { display: inline-block; background: var(--cyan); color: #000; font-weight: 700; padding: 13px 26px; border-radius: 8px; text-decoration: none; }
[lang="ar"] main h1, [lang="ar"] main h2, [lang="ar"] main h3 { font-family: "Cairo", sans-serif !important; letter-spacing: 0; }

/* Detailed product and service layouts (second pass). */
.sx-sh { margin-bottom: 24px; }
.sx-sh .sx-lead { margin-bottom: 0; }
.sx-hgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.sx-panel { background: #fff; border: 1px solid #E9ECEF; border-radius: 18px; padding: 26px; box-shadow: 0 18px 44px rgba(33, 37, 41, .09); }
.sx-panel-t { font-weight: 800; color: #212529; margin-bottom: 10px; }
.sx-panel ul { list-style: none; display: grid; gap: 2px; }
.sx-panel li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #F1F3F5; font-size: .84rem; font-weight: 600; color: #495057; }
.sx-panel li i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--pt); color: var(--pd); flex: none; }
.sx-panel-s { margin-top: 14px; font-size: .85rem; color: #6C757D; }
.sx-panel-s b { display: block; color: var(--pd); }
.sx-eco { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sx-eco a { background: #fff; border: 1px solid #E9ECEF; border-radius: 16px; padding: 20px; text-decoration: none; color: #212529; display: grid; gap: 4px; justify-items: start; box-shadow: 0 10px 26px rgba(33, 37, 41, .07); transition: transform .18s; }
.sx-eco a:hover { transform: translateY(-3px); }
.sx-eco small { color: #6C757D; }
.sx-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 44px; }
.sx-p { color: #495057; margin-bottom: 14px; }
.sx-cmp { border: 1px solid #E9ECEF; border-radius: 14px; overflow: hidden; background: #fff; }
.sx-cmp-h, .sx-cmp-r { display: grid; grid-template-columns: 1fr 1fr; }
.sx-cmp-h span { padding: 12px 16px; font-weight: 700; font-size: .84rem; background: var(--pt); color: var(--pd); }
.sx-cmp-r span { padding: 14px 16px; font-size: .9rem; border-top: 1px solid #F1F3F5; }
.sx-cmp-r span:first-child { color: #6C757D; }
.sx-cmp-r span:last-child { font-weight: 600; }
.sx-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.sx-mod { border: 1px solid #E9ECEF; border-radius: 16px; padding: 24px; background: #fff; }
.sx-mod > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--pt); color: var(--pd); font-size: 1.2rem; margin-bottom: 12px; }
.sx-light .sx-mod h3 { margin-bottom: 6px; }
.sx-mod > p { color: #6C757D; font-size: .9rem; }
.sx-flow { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.sx-flow li { counter-increment: s; background: #fff; border: 1px solid #E9ECEF; border-radius: 14px; padding: 22px; }
.sx-flow li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pd); color: #fff; font-weight: 800; margin-bottom: 12px; }
.sx-light .sx-flow h3 { margin-bottom: 6px; }
.sx-flow p, .sx-tile p { color: #6C757D; font-size: .92rem; }
.sx-gap { height: 36px; }
.sx-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.sx-links a { display: flex; gap: 14px; align-items: center; border: 1px solid #E9ECEF; border-radius: 14px; padding: 18px; text-decoration: none; color: #495057; font-size: .92rem; }
.sx-links b { display: block; color: #212529; }
.sx-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.sx-fit > div { background: #fff; border: 1px solid #E9ECEF; border-top: 3px solid var(--p); border-radius: 14px; padding: 22px; }
.sx-fit p { color: #495057; font-size: .92rem; margin: 6px 0 10px; }
.sx-fit small { color: #6C757D; }
.sx-need { border: 1px solid #E9ECEF; border-radius: 14px; overflow: hidden; }
.sx-need a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; text-decoration: none; color: #212529; border-top: 1px solid #F1F3F5; }
.sx-need a:first-child { border-top: 0; }
.sx-need a:hover { background: #F8F9FA; }
.sx-need b { color: var(--pd); flex: none; }
.sx-dark main h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.25; }
.sx-dark main h2 { font-family: "Orbitron", sans-serif; background: none; -webkit-text-fill-color: currentColor; color: #fff; letter-spacing: 1px; line-height: 1.3; }
.sx-dark main h3 { font-family: "Inter", sans-serif; background: none; -webkit-text-fill-color: currentColor; color: #fff; letter-spacing: -.01em; line-height: 1.3; }
.sx-dark .sx-lead { color: var(--text-secondary); }
.sx-dark .sx-crumbs { color: var(--text-secondary); }
.sd-s .sx-sh h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.sd-s { padding: 72px 0; }
.sd-alt { background: var(--black); }
.sd-kick { display: inline-flex; gap: 8px; align-items: center; color: var(--cyan); font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.sd-o { background: transparent; color: var(--cyan); border: 1px solid var(--border-cyan); }
.sd-counts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--text-secondary); font-size: .9rem; }
.sd-counts li::before { content: "•"; color: var(--cyan); margin-inline-end: 8px; }
.sd-rows { display: grid; gap: 16px; }
.sd-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 22px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: var(--t-slow); }
.sd-row:hover { border-color: var(--border-cyan); }
.sd-ico i { display: block; color: var(--cyan); font-size: 1.8rem; }
.sd-ico span { color: var(--text-muted); font-size: .8rem; font-weight: 700; }
.sd-row h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sd-row h3 a { color: inherit; -webkit-text-fill-color: currentColor; text-decoration: none; }
.sd-row p { color: var(--text-secondary); font-size: .93rem; }
.sd-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sd-chips a { display: block; font-size: .78rem; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 99px; padding: 5px 12px; text-decoration: none; }
.sd-chips a:hover { color: var(--cyan); border-color: var(--border-cyan); }
.sd-need { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.sd-need-h, .sd-need a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 240px); gap: 16px; padding: 14px 20px; }
.sd-need-h { color: var(--text-muted); font-size: .8rem; font-weight: 700; background: var(--surface); }
.sd-need a { color: var(--text-primary); text-decoration: none; border-top: 1px solid var(--border); }
.sd-need a:hover { background: rgba(0, 195, 255, .06); }
.sd-need b { color: var(--cyan); font-weight: 600; }
.sd-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.sd-svc article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.sd-svc h3 { font-size: 1.02rem; margin-bottom: 6px; }
.sd-svc p, .sd-ben p { color: var(--text-secondary); font-size: .92rem; }
.sd-svc a { display: inline-block; margin-top: 10px; color: var(--cyan); font-size: .86rem; }
.sd-ben { margin-bottom: 16px; }
.sd-ben h3 { font-size: 1rem; margin-bottom: 2px; }
.sx-dark .sx-flow li { background: var(--surface); border-color: var(--border); }
.sx-dark .sx-flow li::before { background: var(--cyan); color: #000; }
.sx-dark .sx-flow h3 { margin-bottom: 6px; font-size: 1rem; }
.sx-dark .sx-flow p { color: var(--text-secondary); }
.sx-dark .sx-faq details { border-color: var(--border); }
.sx-dark .sx-faq summary { color: #fff; }
.sx-dark .sx-faq p { color: var(--text-secondary); }
.sd-suite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.sd-suite-i { display: flex; flex-wrap: wrap; gap: 14px; }
.sd-suite-i a { display: grid; justify-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: .84rem; font-weight: 600; }
.sd-pn { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px 40px; }
.sd-pn a { color: var(--text-primary); text-decoration: none; font-weight: 600; }
.sd-pn small { display: block; color: var(--text-muted); font-weight: 400; }
.sd-cta { background: linear-gradient(180deg, var(--deep), #03162a); text-align: center; }
.sd-cta .sx-lead { margin-inline: auto; }
@media (max-width: 860px) {
  .sx-hgrid, .sd-suite { grid-template-columns: minmax(0, 1fr); }
  .sd-row { grid-template-columns: minmax(0, 1fr); }
  .sx-cmp-r span { font-size: .84rem; padding: 12px; }
}

/* Layout refinements: no card left alone on the last row. */
.sx-tiles:has(> :nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
@media (min-width: 1040px) {
  .sd-svc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sd-svc > :last-child:nth-child(3n + 1) { grid-column: 2; }
}
@media (min-width: 720px) and (max-width: 1039px) {
  .sd-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-svc > :last-child:nth-child(2n + 1) { grid-column: 1 / -1; }
}

/* Light header on Software Suite pages, matching their light design. The rest of the site keeps the dark header. */
.sx-light .main-header { background: rgba(255, 255, 255, .94); border-bottom-color: #E9ECEF; }
.sx-light .main-header.scrolled { background: #fff; border-bottom-color: #DEE2E6; box-shadow: 0 4px 18px rgba(33, 37, 41, .08); }
.sx-light .logo img { filter: invert(1) hue-rotate(180deg); }
.sx-light .logo img:hover { filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 6px rgba(13, 110, 253, .35)); }
.sx-light .nav > ul > li > a { color: #495057; }
.sx-light .nav > ul > li > a:hover, .sx-light .nav > ul > li:hover > a, .sx-light .nav > ul > li.is-open > a { color: #212529; background: #F1F3F5; }
.sx-light .nav > ul > li > a.is-current { color: var(--pd); }
.sx-light .nav-panel { background: #fff; border-color: #E9ECEF; box-shadow: 0 24px 60px rgba(33, 37, 41, .14); }
.sx-light .nav-card:hover { background: var(--pt); }
.sx-light .nav-ic { background: var(--pt); color: var(--pd); }
.sx-light .nav-tt { color: #212529; }
.sx-light .nav-ds { color: #6C757D; }
.sx-light .nav-foot { border-top-color: #E9ECEF; }
.sx-light .nav-foot a { color: #495057; }
.sx-light .nav-foot a:hover { color: #212529; }
.sx-light .nav-foot .nav-more { color: var(--pd); }
.sx-light .nav-status { border-color: var(--pd); color: var(--pd); }
.sx-light .nav-list a { color: #495057; }
.sx-light .nav-list a:hover { color: #212529; background: var(--pt); }
.sx-light .nav-list a i { color: var(--pd); }
.sx-light .main-header .nav-soon-badge { background: var(--pt); border-color: transparent; color: var(--pd); }
.sx-light .nav-cta, .sx-light .nav-cta:hover { background: var(--pd); color: #fff; }
.sx-light .nav-cta:hover { filter: brightness(.92); }
.sx-light .main-header .eq-lang-btn, .sx-light .main-header .eq-auth-btn { border-color: #CED4DA; color: #495057; }
.sx-light .main-header .eq-lang-btn:hover, .sx-light .main-header .eq-auth-btn:hover { border-color: var(--pd); color: #212529; }
.sx-light .hamburger div { background: #343A40; }
.sx-light .nav a:focus-visible, .sx-light .nav-cta:focus-visible, .sx-light .hamburger:focus-visible, .sx-light .mobile-nav a:focus-visible, .sx-light .mobile-nav summary:focus-visible, .sx-light .main-header .eq-lang-btn:focus-visible, .sx-light .main-header .eq-auth-btn:focus-visible { outline-color: var(--pd); }
.sx-light .eq-auth-dropdown { background: #fff; border-color: #E9ECEF; border-top-color: var(--pd); box-shadow: 0 24px 60px rgba(33, 37, 41, .14); }
.sx-light .eq-auth-dd-header { border-bottom-color: #E9ECEF; }
.sx-light .eq-auth-dd-name { color: #212529; }
.sx-light .eq-auth-dd-email { color: #6C757D; }
.sx-light .eq-auth-dd-item { color: #495057 !important; }
.sx-light .eq-auth-dd-item:hover { background: var(--pt) !important; color: #212529 !important; }
.sx-light .eq-auth-dd-item i { color: var(--pd); }
.sx-light .eq-auth-dd-signout, .sx-light .eq-auth-dd-signout:hover { color: #B42332 !important; border-top-color: #E9ECEF; }
.sx-light .eq-auth-dd-signout i { color: #B42332 !important; }
.sx-light .mobile-nav { background: #fff; }
.sx-light .m-link, .sx-light .m-group > summary { color: #212529; border-bottom-color: #E9ECEF; }
.sx-light .m-group > summary .nav-chevron { color: #6C757D; }
.sx-light .m-group[open] > summary { color: var(--pd); }
.sx-light .m-sub { border-bottom-color: #E9ECEF; }
.sx-light .m-sub a { color: #495057; }
.sx-light .m-sub a:hover, .sx-light .m-sub a:active { color: #212529; background: #F1F3F5; }
.sx-light .m-sub a > i { color: var(--pd); }
.sx-light .m-cta { background: var(--pd); color: #fff; }

/* Jordan and Gulf sections, customization and in-page navigation. */
.sx-toc { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid #E9ECEF; }
.sx-toc ul { display: flex; gap: 4px; max-width: 1140px; margin: auto; padding: 8px 20px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sx-toc ul::-webkit-scrollbar { display: none; }
.sx-toc a { display: block; padding: 7px 13px; border-radius: 99px; color: #495057; font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sx-toc a:hover { background: var(--pt); color: var(--pd); }
main section[id] { scroll-margin-top: 132px; }
.sx-cc { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px; background: var(--pt); color: var(--pd); font-size: .78rem; font-weight: 800; }
.sx-rg-jo { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; padding: 22px; background: #fff; border: 1px solid #E9ECEF; border-inline-start: 4px solid var(--pd); border-radius: 14px; }
.sx-rg-jo .sx-cc { margin: 0; }
.sx-rg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.sx-rg article { padding: 22px; background: #fff; border: 1px solid #E9ECEF; border-radius: 14px; }
.sx-light .sx-rg h3, .sx-light .sx-rg-jo h3 { margin-bottom: 6px; }
.sx-rg p, .sx-rg-jo p { color: #5a646e; font-size: .92rem; }
.sx-ccs, .sd-ccs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; list-style: none; }
.sx-ccs li { padding: 6px 14px; background: #fff; border: 1px solid #E9ECEF; border-radius: 99px; color: #495057; font-size: .86rem; font-weight: 600; }
.sd-ccs li { padding: 6px 14px; border: 1px solid var(--border-cyan); border-radius: 99px; color: var(--text-secondary); font-size: .84rem; }
@media (min-width: 1040px) {
  .sx-mods:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sx-mods:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .sx-mods:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2) { grid-column: span 3; }
}

/* SaaS-style demo form: split layout with one clean card. */
.dm { padding: 44px 0 72px; background: linear-gradient(180deg, var(--pt), #fff 62%); }
.dm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; grid-template-areas: "intro card" "more card"; gap: 0 56px; align-items: start; }
.dm-intro { grid-area: intro; }
.dm-card { grid-area: card; padding: 32px; background: #fff; border: 1px solid #EAECF0; border-radius: 20px; box-shadow: 0 24px 56px rgba(16, 24, 40, .1); }
.dm-more { grid-area: more; }
.dm-intro h1, .dm-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.sx-light .dm-more h3, .sx-light .dm-t { color: #101828; font-size: 1.15rem; }
.dm-t { margin-bottom: 18px; }
.dm-more h3 { margin: 8px 0 14px; }
.dm-steps { list-style: none; counter-reset: d; display: grid; gap: 16px; }
.dm-steps li { counter-increment: d; position: relative; padding-inline-start: 46px; min-height: 34px; }
.dm-steps li::before { content: counter(d); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pt); color: var(--pd); font-size: .86rem; font-weight: 800; }
.dm-steps b { display: block; color: #101828; font-size: .96rem; }
.dm-steps span { color: #5a646e; font-size: .9rem; }
.dm-points { display: grid; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #EAECF0; list-style: none; }
.dm-points li { display: flex; gap: 9px; align-items: center; color: #344054; font-size: .92rem; font-weight: 600; }
.dm-points i { color: var(--pd); }
.sx-form { gap: 16px; }
.sx-form[hidden] { display: none; }
.dm-card .sx-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dm-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 4px; background: #F2F4F7; border: 0; border-radius: 12px; }
.dm-seg input, .dm-pick input { position: absolute; opacity: 0; }
.dm-seg span { display: block; padding: 9px 6px; border-radius: 9px; color: #475467; font-size: .84rem; font-weight: 600; text-align: center; cursor: pointer; transition: background .15s, color .15s; }
.dm-seg input:checked + span { background: #fff; color: #101828; box-shadow: 0 1px 3px rgba(16, 24, 40, .14); }
.dm-seg input:focus-visible + span, .dm-pick input:focus-visible + span { outline: 2px solid var(--pd); outline-offset: 2px; }
.dm-pick { border: 0; }
.dm-pick legend, .sx-f label { display: block; margin-bottom: 7px; color: #344054; font-size: .875rem; font-weight: 600; }
.dm-pick > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dm-pick label { display: block; }
.dm-pick span { display: grid; align-content: start; height: 100%; justify-items: center; gap: 6px; padding: 12px 4px; border: 1px solid #D0D5DD; border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.dm-pick span:hover { border-color: #98A2B3; }
.dm-pick img { display: block; width: 36px; height: 36px; }
.dm-pick span > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #475467; color: #fff; }
.dm-pick b { color: #344054; font-size: .76rem; line-height: 1.25; text-align: center; }
.dm-pick input:checked + span { background: var(--pt, #F2F4F7); border-color: var(--pd, #475467); box-shadow: 0 0 0 1px var(--pd, #475467); }
.sx-f input, .sx-f select, .sx-f textarea { width: 100%; min-height: 46px; padding: 11px 14px; background: #fff; border: 1px solid #D0D5DD; border-radius: 10px; color: #101828; font: inherit; font-size: .95rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: border-color .15s, box-shadow .15s; user-select: text; -webkit-user-select: text; }
.sx-f textarea { resize: vertical; }
.sx-f ::placeholder { color: #98A2B3; opacity: 1; }
.sx-f input:focus, .sx-f select:focus, .sx-f textarea:focus { border-color: var(--pd); box-shadow: 0 0 0 4px var(--pt); outline: 0; }
.sx-f select { appearance: none; -webkit-appearance: none; padding-inline-end: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.500l5 5 5-5' stroke='%23667085' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
[dir="rtl"] .sx-f select { background-position: left 13px center; }
.sx-f [aria-invalid="true"], .sx-f [aria-invalid="true"]:focus { border-color: #D92D20; box-shadow: 0 0 0 4px #FEE4E2; }
.sx-err { margin-top: 5px; color: #B42318; font-size: .8rem; line-height: 1.35; }
.sx-err:empty { display: none; }
.dm-phone { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.dm-phone select, .dm-phone input { direction: ltr !important; text-align: left !important; }
.dm-phone select { padding: 11px 26px 11px 12px; border-right: 0; border-radius: 10px 0 0 10px; background-position: right 10px center; }
[dir="rtl"] .dm-phone select { padding: 11px 26px 11px 12px; background-position: right 10px center; }
.dm-phone input { border-radius: 0 10px 10px 0; }
.dm-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; background: var(--pd); border: 0; border-radius: 10px; color: #fff; font: 700 1rem "Inter", sans-serif; cursor: pointer; transition: filter .15s, box-shadow .15s; }
[lang="ar"] .dm-submit { font-family: "Cairo", sans-serif; }
.dm-submit:hover { filter: brightness(.93); box-shadow: 0 10px 22px rgba(16, 24, 40, .16); }
.dm-submit:disabled { opacity: .7; cursor: progress; }
.dm-submit.is-busy i { display: none; }
.dm-submit.is-busy::after { content: ""; width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: dm-spin .7s linear infinite; }
@keyframes dm-spin { to { transform: rotate(360deg); } }
.sx-status:empty { display: none; }
.dm-agree { color: #667085; font-size: .8rem; text-align: center; }
.dm-agree a { color: inherit; text-decoration: underline; }
.dm-done { padding: 26px 8px; text-align: center; }
.dm-done[hidden] { display: none; }
.dm-done > i { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: #D1FADF; color: #067647; font-size: 1.9rem; }
.sx-light .dm-done h3 { color: #101828; font-size: 1.3rem; margin-bottom: 8px; }
.dm-done h3:focus { outline: 0; }
.dm-done p { margin-bottom: 20px; color: #5a646e; }
@media (max-width: 960px) {
  .dm-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "card" "more"; }
  .dm-card { margin-bottom: 30px; }
}
@media (max-width: 560px) {
  .dm { padding-top: 28px; }
  .dm-card .sx-grid2 { grid-template-columns: minmax(0, 1fr); }
  .sx-light .wa-float-tip { display: none; }
  .dm-card { padding: 22px 16px; }
  .dm-pick > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dm-seg span { font-size: .78rem; padding-inline: 2px; }
}
