/* The plans and the plan and payment windows, shared by the home and the Workforce page (commerce.js builds them).
   Their colours come from the page: the HR teal by default, the Workforce page sets its amber on body. */
:root { --pr-accent: var(--teal, #0aa6c2); --pr-soft: var(--teal-soft, #6fd6e8); --pr-on: #fff; }
/* ---------- the plans ---------- */
.pr { position: relative; padding: 12vh clamp(16px, 5vw, 80px) 14vh; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--pr-accent) 14%, transparent), transparent 60%), var(--ink); overflow: hidden; }
.pr .sec-head p { color: rgba(255,255,255,.66); }
.pr-bill { position: relative; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-inline-size: 100%; margin-block-end: 36px; padding: 5px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--pr-soft) 25%, transparent); background: rgba(255,255,255,.03); }
.pr-bill button { position: relative; z-index: 1; min-inline-size: 0; padding: 10px 26px; border: 0; background: none; color: rgba(255,255,255,.7); font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; transition: color .3s; }
.pr-bill button[aria-selected="true"] { color: var(--pr-on); }
.pr-bill small { margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(240,192,90,.18); color: #f0c05a; font: 600 12px var(--latin); }
.pr-bill small:empty { display: none; }
.pr-bill button[aria-selected="true"] small { background: rgba(255,255,255,.22); color: var(--pr-on); }
.pr-bill i { position: absolute; inset-block: 5px; inset-inline-start: 5px; inline-size: calc(50% - 5px); border-radius: 999px; background: var(--pr-accent); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--pr-accent) 80%, transparent); transition: translate .45s cubic-bezier(.2,.8,.2,1); }
.pr-bill[data-bill="y"] i { translate: -100% 0; }
[dir="ltr"] .pr-bill[data-bill="y"] i { translate: 100% 0; }
.pr-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 24px; border-radius: 24px; background: linear-gradient(180deg, #111b20, #0b1216); border: 1px solid color-mix(in srgb, var(--pr-soft) 16%, transparent); isolation: isolate; transition: translate .4s, border-color .4s, box-shadow .4s; }
.pr-card:hover { translate: 0 -6px; border-color: color-mix(in srgb, var(--pr-soft) 50%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--pr-accent) 50%, transparent); }
.pr-card__beam, .pr-card__badge { display: none; }
.pr-card.is-top { border-color: transparent; background: linear-gradient(180deg, #12242b, #0b1418); translate: 0 -14px; box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--pr-accent) 70%, transparent); }
.pr-card.is-top:hover { translate: 0 -20px; }
/* a beam of light runs round the chosen plan's frame */
.pr-card.is-top .pr-card__beam { display: block; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), transparent 0 62%, color-mix(in srgb, var(--pr-soft) 20%, transparent) 72%, var(--pr-soft) 86%, #fff 90%, transparent 94%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: pr-beam 4.5s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes pr-beam { to { --a: 360deg; } }
.pr-card.is-top .pr-card__badge { display: inline-block; position: absolute; inset-block-start: -13px; inset-inline-start: 24px; padding: 4px 14px; border-radius: 999px; background: var(--pr-accent); color: var(--pr-on); font-size: 13px; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--pr-accent) 90%, transparent); }
.pr-card h3 { font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); }
.pr-card__aud { font-size: 14px; color: var(--pr-soft); }
.pr-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-block-size: 64px; padding-block: 14px 16px; border-block-end: 1px solid rgba(255,255,255,.08); }
.pr-card__price b { display: inline-flex; align-items: baseline; gap: 6px; font: 600 clamp(34px, 3.2vw, 48px)/1 var(--latin); letter-spacing: -.02em; }
.pr-card__price .riyal { inline-size: .62em; block-size: .62em; opacity: .85; }
.pr-card__price em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.6); }
.pr-card__price.is-word b { font: 400 clamp(24px, 2.2vw, 32px)/1.2 var(--font); letter-spacing: 0; }
.pr-card ul { list-style: none; display: grid; gap: 10px; margin-block-end: 10px; }
.pr-card li { position: relative; padding-inline-start: 26px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.84); }
.pr-card li::before, .pr-card li::after { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 5px; inline-size: 16px; block-size: 16px; border-radius: 50%; }
.pr-card li::before { background: color-mix(in srgb, var(--pr-accent) 18%, transparent); }
.pr-card li::after { background: var(--pr-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pr-card__go { margin-block-start: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--pr-soft) 40%, transparent); color: #fff; font-size: 16px; transition: background .3s, border-color .3s; }
.pr-card__go:hover { background: color-mix(in srgb, var(--pr-accent) 14%, transparent); border-color: var(--pr-soft); }
.pr-card.is-top .pr-card__go { background: var(--pr-accent); border-color: var(--pr-accent); color: var(--pr-on); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--pr-accent) 90%, transparent); }
.pr-card.is-top .pr-card__go:hover { filter: brightness(1.1); }
.pr-pay { display: flex; align-items: center; gap: 8px; margin-block-start: 26px; font-size: 14px; color: rgba(255,255,255,.55); }
.pr-pay svg { inline-size: 15px; block-size: 15px; }
.pr-roll { display: inline-block; animation: pr-roll .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pr-roll { from { opacity: 0; translate: 0 .5em; filter: blur(4px); } }
@media (max-width: 900px) { .pr-grid { grid-template-columns: 1fr; max-inline-size: 520px; } .pr-card.is-top { translate: none; } .pr-card.is-top:hover { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .pr-card.is-top .pr-card__beam { animation: none; --a: 200deg; } .pr-roll { animation: none; } }


/* ---------- a plan's window and the payment's result ---------- */
.cm-amt { display: inline-flex; align-items: baseline; gap: .22em; }
.cm-win { margin: auto; inset: 0; inline-size: min(520px, calc(100vw - 32px)); max-block-size: calc(100vh - 32px); padding: 0; border: 1px solid color-mix(in srgb, var(--pr-soft) 30%, transparent); border-radius: 24px; background: linear-gradient(180deg, #111b20, #0a1115); color: #fff; overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.cm-win::backdrop { background: rgba(3,6,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cm-win[open] { animation: cm-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes cm-in { from { opacity: 0; translate: 0 16px; scale: .98; } }
.cm-close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; }
.cm-close svg { inline-size: 18px; block-size: 18px; }
.cm-close:hover { border-color: var(--pr-accent); }
.cm-box { display: grid; gap: 18px; padding: 30px clamp(18px, 4vw, 32px) 26px; }
.cm-head { display: grid; gap: 6px; padding-inline-end: 40px; }
.cm-head small { font-size: 14px; color: var(--pr-soft); }
.cm-head h2 { font-weight: 400; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; }
.cm-head p { margin-block-start: 4px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.72); }
.cm-sum { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: 14.5px; }
.cm-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cm-sum dt { color: rgba(255,255,255,.62); }
.cm-sum dd { font-family: var(--latin); }
.cm-sum .is-total { padding-block-start: 8px; border-block-start: 1px solid rgba(255,255,255,.1); font-size: 17px; }
.cm-sum .is-total dt { color: #fff; }
.cm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm-fld { display: grid; align-content: start; gap: 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.cm-fld.is-wide { grid-column: 1 / -1; }
.cm-fld input, .cm-fld textarea { inline-size: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .2s, background .2s; }
.cm-fld input[dir="ltr"] { font-family: var(--latin); }
[dir="rtl"] .cm-fld input[dir="ltr"] { text-align: right; }
.cm-fld textarea { min-block-size: 49px; max-block-size: 180px; resize: vertical; field-sizing: content; line-height: 1.5; }
.cm-fld input:focus, .cm-fld textarea:focus { border-color: var(--pr-accent); background: color-mix(in srgb, var(--pr-accent) 6%, transparent); }
.cm-fld.is-bad input, .cm-fld.is-bad textarea { border-color: #e0654f; }
.cm-err { font-style: normal; font-size: 13px; color: #ff9b86; }
.cm-err:empty { display: none; }
.cm-trap { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.cm-status { grid-column: 1 / -1; font-size: 14px; color: #ffb4a3; }
.cm-status:empty { display: none; }
.cm-send { grid-column: 1 / -1; margin-block-start: 6px; padding: 15px 20px; border: 0; border-radius: 14px; background: var(--pr-accent); color: var(--pr-on); font: inherit; font-size: 17px; cursor: pointer; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--pr-accent) 90%, transparent); transition: filter .2s, translate .2s; }
.cm-send:hover { filter: brightness(1.1); translate: 0 -1px; }
.cm-send:disabled { opacity: .7; cursor: progress; }
.cm-form .pr-pay { grid-column: 1 / -1; justify-content: center; margin-block-start: 0; }
.cm-done { display: grid; justify-items: center; gap: 12px; padding-block: 10px; text-align: center; }
.cm-done h2 { font-weight: 400; font-size: clamp(24px, 3vw, 32px); padding-inline: 40px; }
.cm-done p { color: rgba(255,255,255,.75); line-height: 1.9; }
.cm-done .cm-sum { inline-size: 100%; text-align: start; }
.cm-mark { inline-size: 56px; block-size: 56px; border-radius: 50%; border: 3px solid #16a36a; background: #16a36a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 26px no-repeat; }
.cm-result[data-state='checking'] .cm-mark, .cm-result[data-state='pending'] .cm-mark { background: none; border-color: rgba(255,255,255,.2); border-block-start-color: var(--pr-accent); animation: cm-spin 1s linear infinite; }
.cm-result[data-state='pending'] .cm-mark { border-block-start-color: #f2b632; }
.cm-result[data-state='failed'] .cm-mark { background: none; border-color: #e0654f; }
@keyframes cm-spin { to { rotate: 360deg; } }
@media (max-width: 640px) { .cm-form { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cm-win[open] { animation: none; } }

/* ---------- the footer's app badges (shown once the owner sets the store links) ---------- */
/* The stores' own download badges (owner, 2026-11-17): each store's artwork as it is, at its own proportions, with no
   frame of ours around it — Apple's badge (at least 40px tall on the web, with clear space, which the row's gap gives)
   and Google's generic web badge, which carries its own clear space inside the image, so it is set taller for the two
   to read the same size. Nothing is redrawn, recoloured or re-lettered. */
/* The two read the same size because the arithmetic says so, not by eye (owner, 2026-11-21: «على نفس المسار
   والقياسات ومتقاربه»). Apple's badge is black edge to edge, so 44px tall is 44px of artwork. Google's PNG is
   646x250 with its own clear space inside: the badge itself occupies 564x168, i.e. 41px of transparent padding on
   every side. For its artwork to stand 44px tall the image must be 44 x 250/168 = 65.5px, and the padding then
   renders at 41 x 65.5/250 = 10.7px, which the negative margin takes back. What is left on both sides is the row's
   own gap, so the pair sits at the start of the column, on one line, with one even space between them. */
.ft-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 18px; }
.ft-apps a { display: inline-flex; border-radius: 8px; transition: box-shadow .25s, translate .25s; }
.ft-apps a:hover { box-shadow: 0 10px 24px rgba(0,0,0,.35); translate: 0 -2px; }
.ft-apps img { display: block; inline-size: auto; }
.ft-apps a[data-app="ios"] img { block-size: 44px; }
.ft-apps a[data-app="android"] img { block-size: 65.5px; margin: -10.7px; }

/* the plan button's arrow, pointing forward in each language (the Workforce page has no arrow rule of its own) */
.pr-card__go .arr { flex: none; inline-size: 16px; block-size: 16px; transform: none; }
[dir="rtl"] .pr-card__go .arr { transform: scaleX(-1); }

/* ---------- the plans in a window, from a platform card ---------- */
.cm-win--form { inline-size: min(860px, calc(100vw - 32px)); }
.cm-win--plans { inline-size: min(1180px, calc(100vw - 32px)); }
.cm-win--plans .cm-box { gap: 14px; padding-block: 26px 22px; }
.cm-win--plans .cm-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.cm-plans .pr-card { gap: 10px; padding: 24px 22px 20px; }
.cm-plans .pr-card__price { min-block-size: 56px; padding-block: 10px 12px; }
.cm-plans .pr-card ul { gap: 7px; }
.cm-plans .pr-pay { margin-block-start: 16px; }
.cm-plans { padding: 0; background: none; overflow: visible; }
.cm-plans .pr-bill { margin-block-end: 16px; }
.cm-plans .pr-grid { padding-block-start: 16px; }
.cm-plans .pr-card.is-top { translate: none; }
.cm-plans .pr-card.is-top:hover { translate: 0 -6px; }
@media (max-width: 900px) { .cm-plans .pr-grid { max-inline-size: none; } }
@media (min-width: 600px) and (max-width: 900px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-inline-size: none; } }

/* the payment result's next steps, and its marks (lucide check and x) */
.cm-next { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; inline-size: 100%; margin-block-start: 6px; }
.cm-next .cm-send, .cm-done > .cm-send { flex: 1 1 180px; display: inline-flex; justify-content: center; text-decoration: none; }
.cm-send--line { background: none; border: 1px solid rgba(255,255,255,.3); box-shadow: none; color: #fff; }
.cm-send--line:hover { border-color: var(--pr-soft); background: color-mix(in srgb, var(--pr-accent) 10%, transparent); }
.cm-result[data-state='failed'] .cm-mark { border-color: #e0654f; background: #e0654f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 24px no-repeat; }
.cm-result[data-state='missing'] .cm-mark { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E") center / 26px no-repeat; }
.cm-result[data-state='pending'] .cm-mark { animation: none; border-color: #f2b632; background: none; }
.cm-result[data-state='checking'] .cm-mark { animation: cm-spin 1s linear infinite; }

/* ---------- a row of buttons of one size (commerce.js equalRow; owner) ---------- */
[data-equal] { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
[data-equal] > * { box-sizing: border-box; inline-size: var(--eq-w, auto); justify-content: center; white-space: nowrap; }
[data-equal].eq-measure > * { inline-size: auto; }
[data-equal].eq-stack { flex-direction: column; align-items: stretch; inline-size: min(100%, max(var(--eq-w, 0px), 320px)); margin-inline: auto; }
[data-equal].eq-stack > * { inline-size: 100%; white-space: normal; text-align: center; }
@media (max-width: 420px) { .pr-bill button { padding-inline: 12px; font-size: 14px; } .pr-bill small { margin-inline-start: 4px; padding-inline: 6px; } }
.cm-brief { display: grid; gap: 6px; margin-block-start: 10px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--pr-accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--pr-soft) 25%, transparent); list-style: none; font-size: 14px; color: rgba(255,255,255,.85); }

/* ---------- the site's menu, on phones: a sheet from the bar's end with this page's parts, the platforms, customer
   sign-in and the bar's own button (commerce.js builds it from the page) ---------- */
.bar__menu { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; inline-size: 40px; block-size: 40px; padding: 0; border-radius: 999px; font: inherit; font-size: 14px; line-height: 1; white-space: nowrap; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; }
.bar__menu svg { flex: none; inline-size: 20px; block-size: 20px; }
.bar__menu span { display: none; }
.bar__menu:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.bar__menu:focus-visible { outline: 2px solid var(--pr-soft); outline-offset: 2px; }
/* a computer too: these pages are long, and the menu is the way to any part of one. With room, the button says what it is */
@media (min-width: 1321px) { [dir="rtl"] .bar__menu { inline-size: auto; padding: 0 14px 0 16px; } [dir="rtl"] .bar__menu span { display: inline; } }
@media (min-width: 1521px) { [dir="ltr"] .bar__menu { inline-size: auto; padding: 0 16px 0 14px; } [dir="ltr"] .bar__menu span { display: inline; } }
/* what the bar itself already shows on a computer is not repeated in the menu */
@media (min-width: 861px) { .cm-menu .cm-menu__group--bar { display: none; } }
/* the logo never gives way; on a narrow computer screen the bar's spacing and link size do (every page, both languages) */
.bar .bar__logo { flex: none; }
/* one size and spacing for the bar's links on every page (the pages had 15 or 17 px and their own medium steps); the
   stepped rules below for narrower screens still win, being more specific */
.bar .bar__links { gap: 28px; font-size: 15px; }
:where([dir="rtl"]) .bar .bar__links { font-size: 17px; }
@media (min-width: 1041px) and (max-width: 1180px) { :where([dir="rtl"]) .bar .bar__links { gap: 16px; font-size: 17px; } }
@media (min-width: 861px) and (max-width: 1040px) { html .bar { gap: 12px; padding-inline: 16px; } html .bar .bar__links { gap: 12px; font-size: 14px; } html .bar .bar__logo img { block-size: 30px; } html .bar .bar__end { gap: 8px; } html .bar .bar__cta { padding-inline: 14px; } }
/* English words are longer: the same steps come sooner, and under 981px the links move into the menu */
@media (min-width: 1041px) and (max-width: 1180px) { html[dir="ltr"] .bar { gap: 12px; padding-inline: 16px; } html[dir="ltr"] .bar .bar__links { gap: 12px; font-size: 14px; } html[dir="ltr"] .bar .bar__logo img { block-size: 30px; } html[dir="ltr"] .bar .bar__end { gap: 8px; } html[dir="ltr"] .bar .bar__cta { padding-inline: 14px; } }
@media (min-width: 1181px) and (max-width: 1320px) { html[dir="ltr"] .bar .bar__links { gap: 16px; font-size: 14px; } }
@media (min-width: 861px) and (max-width: 980px) { html[dir="ltr"] .bar .bar__links { display: none; } html[dir="ltr"] .cm-menu .cm-menu__group--bar { display: grid; } }
/* phones: one size of bar on every page; the smallest screens in English give a little more */
@media (max-width: 460px) { html .bar { gap: 10px; } html .bar .bar__logo img { block-size: 28px; } html .bar .bar__end { gap: 8px; } html .bar .bar__cta { font-size: 13px; padding: 9px 14px; } }
@media (max-width: 420px) { html[dir="ltr"] .bar { gap: 8px; } html[dir="ltr"] .bar .bar__logo img { block-size: 26px; } html[dir="ltr"] .bar .bar__end { gap: 6px; } html[dir="ltr"] .bar .bar__cta { padding-inline: 12px; } }
@media (max-width: 375px) { html[dir="ltr"] .bar { padding-inline: 12px; } html[dir="ltr"] .bar .bar__logo img { block-size: 22px; } html[dir="ltr"] .bar .bar__cta { font-size: 12px; } }
/* customer sign-in beside the bar's button, on a computer: a small list of the two systems */
.bar__sign { position: relative; flex: none; }
.bar__sign summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; block-size: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .25s, border-color .25s; }
.bar__sign summary::-webkit-details-marker { display: none; }
.bar__sign summary:hover, .bar__sign[open] summary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
.bar__sign summary:focus-visible { outline: 2px solid var(--pr-soft); outline-offset: 2px; }
.bar__sign svg { flex: none; inline-size: 18px; block-size: 18px; }
.bar__sign-list { position: absolute; z-index: 2; inset-block-start: calc(100% + 12px); inset-inline-end: 0; display: grid; gap: 2px; min-inline-size: 230px; padding: 8px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--pr-soft) 28%, transparent); background: linear-gradient(180deg, #111b20, #0a1115); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.bar__sign[open] .bar__sign-list { animation: cm-in .28s cubic-bezier(.2,.8,.2,1); }
.bar__sign-list a { display: flex; align-items: center; min-block-size: 44px; padding: 6px 14px; border-radius: 10px; font-size: 16px; color: rgba(255,255,255,.86); white-space: nowrap; }
.bar__sign-list a:hover, .bar__sign-list a:focus-visible { background: rgba(255,255,255,.07); color: #fff; outline: none; }
.bar:has(.bar__sign[open]) { z-index: 62; }   /* the open list sits over the page's own floating parts */
@media (max-width: 860px) { .bar__sign { display: none; } }
@media (min-width: 861px) and (max-width: 1180px) { .bar__sign summary { inline-size: 40px; padding: 0; justify-content: center; } .bar__sign summary span { display: none; } }
@media (min-width: 1181px) and (max-width: 1520px) { [dir="ltr"] .bar__sign summary { inline-size: 40px; padding: 0; justify-content: center; } [dir="ltr"] .bar__sign summary span { display: none; } }
.cm-menu { position: fixed; inset-block: 0; inset-inline: auto 0; margin: 0; inline-size: min(340px, 88vw); block-size: 100vh; block-size: 100dvh; max-block-size: none; padding: 0; border: 0; border-inline-start: 1px solid color-mix(in srgb, var(--pr-soft) 28%, transparent); background: linear-gradient(180deg, #111b20, #0a1115); color: #fff; overflow: auto; overscroll-behavior: contain; box-shadow: 0 0 80px rgba(0,0,0,.7); }
.cm-menu::backdrop { background: rgba(3,6,8,.66); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
[dir="rtl"] .cm-menu[open] { animation: cm-menu-rtl .34s cubic-bezier(.2,.8,.2,1); }
[dir="ltr"] .cm-menu[open] { animation: cm-menu-ltr .34s cubic-bezier(.2,.8,.2,1); }
@keyframes cm-menu-rtl { from { translate: -100% 0; } }
@keyframes cm-menu-ltr { from { translate: 100% 0; } }
.cm-menu__box { display: grid; gap: 22px; padding: 66px 14px calc(24px + env(safe-area-inset-bottom)); }
.cm-menu__group { display: grid; gap: 2px; }
.cm-menu__group b { padding: 0 12px 6px; font-weight: 400; font-size: 13px; color: var(--pr-soft); }
.cm-menu__row { position: relative; display: flex; align-items: center; min-block-size: 46px; padding: 6px 12px; border-radius: 12px; font-size: 17px; line-height: 1.4; color: rgba(255,255,255,.86); }
.cm-menu__row:hover, .cm-menu__row:focus-visible { background: rgba(255,255,255,.06); color: #fff; outline: none; }
.cm-menu__row[aria-current] { background: color-mix(in srgb, var(--pr-accent) 16%, transparent); color: #fff; }
.cm-menu__row[aria-current]::after { content: ''; margin-inline-start: auto; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--pr-soft); box-shadow: 0 0 10px var(--pr-accent); }
.cm-menu__cta { display: grid; place-items: center; min-block-size: 50px; margin-inline: 4px; border-radius: 999px; background: #fff; color: #0a1115; font-size: 16px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .cm-menu[open], .bar__sign[open] .bar__sign-list { animation: none; } }

/* phones: the floating WhatsApp button and store seal step aside while reading down (commerce.js sets html.cm-tuck) */
@media (max-width: 860px) {
  html .wa-float { transition: transform .35s cubic-bezier(.2,.8,.3,1), opacity .35s; }
  html.cm-tuck .wa-float { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
  html body > .sbc-seal-frame { transition: transform .35s cubic-bezier(.2,.8,.3,1), opacity .35s !important; }
  html.cm-tuck body > .sbc-seal-frame { transform: translate3d(0, calc(100% + 40px), 0) !important; opacity: 0 !important; pointer-events: none !important; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  html .wa-float, html body > .sbc-seal-frame { transition: opacity .2s !important; }
}

/* the bar shows the page you are on: its link in the page's colour, a short glowing line under it (owner 2026-11-10) */
html .bar .bar__links a[aria-current="page"] { position: relative; }
html .bar .bar__links a[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 18%; inset-block-end: -9px; block-size: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; transition: opacity .3s; }
/* the line waits with the words: it is drawn once the bar's font is in (commerce.js sets html.bar-font), so it never shrinks under them */
html:not(.bar-font) .bar .bar__links a[aria-current="page"]::after { opacity: 0; }

/* the bar's own copy of the site's fonts, drawn only once they have arrived (font-display: block), so its links never
   jump from a stand-in font to the real one on a first visit; the same files, so nothing more is downloaded (owner 2026-11-11) */
@font-face { font-family: 'MASAR Bar'; src: url('/fonts/al-mohanad.woff2') format('woff2'), url('/fonts/al-mohanad.ttf') format('truetype'); font-display: block; }
@font-face { font-family: 'MASAR Bar Latin'; src: url('/fonts/quicksand-latin.woff2') format('woff2-variations'), url('/fonts/quicksand-latin.woff2') format('woff2'); font-weight: 300 700; font-display: block; }
html .bar { font-family: 'MASAR Bar', 'MASAR Bar Latin', Tahoma, sans-serif; }

/* the bar in three columns: the logo's column and the flag's column are equal and wide enough for the widest logo, so the
   links sit in the very middle of the screen and stay in the same place on every page, whatever the page's logo (owner 2026-11-11) */
html .bar { display: grid; grid-template-columns: minmax(var(--logo-slot, 150px), 1fr) auto minmax(var(--logo-slot, 150px), 1fr); align-items: center; }
html .bar .bar__logo { grid-column: 1; justify-self: start; }
html .bar .bar__links { grid-column: 2; }
html .bar .bar__end { grid-column: 3; justify-self: end; }
@media (min-width: 861px) and (max-width: 1040px) { html .bar { --logo-slot: 116px; } }
@media (max-width: 860px) { html .bar { grid-template-columns: 1fr auto; } html .bar .bar__end { grid-column: 2; } }

/* the Business Center's seal: pinned to the screen like WhatsApp, the same distance from the bottom and the side, on every page */
body > .sbc-seal-frame { position: fixed !important; inset: auto auto 22px 22px !important; bottom: 22px !important; left: 22px !important; top: auto !important; right: auto !important; margin: 0 !important; z-index: 59 !important;
  transform: translate3d(0, 0, 0) !important; will-change: transform; backface-visibility: hidden; contain: layout paint; }   /* its own layer: no shake while scrolling */
@media (max-width: 640px) { body > .sbc-seal-frame { bottom: 16px !important; left: 16px !important; } }

/* the registration numbers in the footer's last line: each authority's mark beside its number, the same size as the line's
   other words, no boxes, no backgrounds */
.cm-ids { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 24px; }
.cm-ids__row { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cm-ids__row img { display: block; inline-size: 22px; block-size: 22px; object-fit: contain; }
.cm-ids__row span { display: inline-flex; align-items: baseline; gap: 6px; }
.cm-ids__row small { font-size: inherit; color: inherit; }
.cm-ids__row bdi { font-family: 'Quicksand', sans-serif; font-size: inherit; font-weight: 600; color: rgba(255,255,255,.82); font-variant-numeric: tabular-nums; }

/* the footer's last line: privacy and terms on one side, the rights in the middle, the registration numbers on the other side;
   drawn a little inward from the screen's edges (owner 2026-11-11) */
html .ft-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; padding-inline: clamp(0px, 4vw, 72px); }
html .ft-bottom > small:first-child { grid-column: 2; grid-row: 1; text-align: center; font-size: 1em; }   /* the same size as the line's other words */
html .ft-bottom .ft-legal { grid-column: 1; grid-row: 1; justify-self: start; }
html .ft-bottom .cm-ids { grid-column: 3; grid-row: 1; justify-self: end; }
html .ft-bottom .ft-ids { display: none !important; }
@media (max-width: 1320px) {
  html .ft-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-inline: 0; }
  html .ft-bottom > small:first-child, html .ft-bottom .ft-legal, html .ft-bottom .cm-ids { grid-column: 1; grid-row: auto; justify-self: center; }
  html .ft-bottom .cm-ids { justify-content: center; flex-wrap: wrap; }
}

/* the payment marks under «Pay»: one height, no frames or backgrounds (owner 2026-11-11) */
.cm-form .pr-pay--marks { gap: 22px; flex-wrap: wrap; }
.pr-pay--marks img { display: block; block-size: 18px; inline-size: auto; }
.pr-pay--marks .pr-pay__mastercard { block-size: 22px; }
.pr-pay--marks .pr-pay__apple-pay { block-size: 30px; margin-inline: -6px; }
/* ---------- security and trust, above the footer on every page (owner 2026-11-11): each check's issuer logo, its result, and a link to check it live ---------- */
.tr { position: relative; padding: 56px clamp(16px, 5vw, 80px) 52px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--pr-accent) 12%, transparent), transparent 60%), #05080a; border-block-start: 1px solid rgba(255,255,255,.06); }
.tr__head { text-align: center; margin-block-end: 30px; }
.tr__head small { font-size: 14px; color: var(--pr-soft); }
.tr__head h2 { margin: 10px 0 0; font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; color: #fff; }
.tr__head h2 em { font-style: normal; color: var(--pr-soft); }
.tr__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-inline-size: 1180px; margin: 0 auto; padding: 0; list-style: none; }
.tr__item { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); transition: border-color .3s, background .3s; }
.tr__item:hover { border-color: color-mix(in srgb, var(--pr-soft) 35%, transparent); background: rgba(255,255,255,.04); }
.tr__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; block-size: 52px; margin-block-end: 10px; }
.tr__logo { display: flex; align-items: center; gap: 8px; block-size: 34px; min-inline-size: 0; }
.tr__logo img { display: block; block-size: 100%; inline-size: auto; max-inline-size: 170px; object-fit: contain; }
.tr__logo--qualys img { block-size: 30px; }
.tr__logo--moz img:first-child { block-size: 30px; } .tr__logo--moz img:last-child { block-size: 22px; }
.tr__logo--dmarc { block-size: 46px; }
.tr__grade { flex: none; display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 50%; font: 700 19px Quicksand, sans-serif; color: #fff; background: radial-gradient(circle, color-mix(in srgb, var(--pr-accent) 35%, transparent), transparent 70%); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pr-soft) 70%, transparent), 0 0 22px color-mix(in srgb, var(--pr-accent) 32%, transparent); }
.tr__grade svg { inline-size: 22px; block-size: 22px; color: var(--pr-soft); }
.tr__item b { font-weight: 400; font-size: 16px; color: #fff; }
.tr__item > span { font-size: 13px; color: rgba(255,255,255,.62); }
.tr__item a { align-self: flex-start; margin-block-start: 4px; font-size: 13px; color: var(--pr-soft); text-decoration: none; }
.tr__item a:hover, .tr__item a:focus-visible { text-decoration: underline; }
@media (max-width: 1100px) { .tr__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tr__list { grid-template-columns: 1fr; } }
html .ft-bottom .cm-pay { grid-column: 2; grid-row: 2; justify-self: center; display: flex; align-items: center; gap: 18px; margin: 0; opacity: .85; }
html .ft-bottom .cm-pay img { block-size: 14px; }
html .ft-bottom .cm-pay .pr-pay__mastercard { block-size: 17px; }
html .ft-bottom .cm-pay .pr-pay__apple-pay { block-size: 24px; margin-inline: -5px; }
@media (max-width: 1320px) {
  html .ft-bottom > small:first-child { order: 0; } html .ft-bottom .cm-pay { grid-column: 1; grid-row: auto; order: 1; }
  html .ft-bottom .ft-legal, html .ft-bottom .cm-ids { order: 2; }
}

/* yearly: the price before the discount (monthly × 12), struck through, on its own line above the price (owner 2026-11-11) */
.pr-card__was { flex: 0 0 100%; display: flex; align-items: center; gap: 4px; min-block-size: 1.4em; margin-block-end: 2px; font: 500 17px/1.2 var(--latin); color: rgba(255,255,255,.5); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--pr-soft) 80%, transparent); text-decoration-thickness: 1.5px; }
.pr-card__was .riyal { inline-size: .8em; block-size: .8em; }
.cm-plans .pr-pay--marks { justify-content: center; gap: 22px; }

/* free months with yearly billing: a small pill under the price (owner 2026-11-11) */
.pr-card__gift { flex: 0 0 100%; display: flex; margin-block-start: 8px; }
.pr-card__gift.is-off { visibility: hidden; }
.pr-card__free { padding: 4px 12px; border-radius: 999px; font-size: 14px; line-height: 1.5; color: var(--pr-on); background: var(--pr-accent); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--pr-accent) 90%, transparent); }
/* a per-worker plan's lower price above its threshold (owner 2026-11-11) */
.pr-card__tier { flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-block-start: 6px; font-size: 14px; color: rgba(255,255,255,.72); }
.pr-card__tier .riyal { inline-size: .9em; block-size: .9em; }
/* the SBC card carries the centre's own seal, which opens the certificate with a fresh link each time (owner 2026-11-11) */
.tr__seal { position: relative; margin-block-start: 6px; block-size: 44px; }
/* its details open upward over the card, not inside it, so the row keeps its size and «view» lands under the pointer */
.tr__seal .sbc-seal-frame { position: absolute; inset-block-end: 0; inset-inline-start: 0; z-index: 30; display: block; max-inline-size: none !important; }
.tr__item:has(.tr__seal) { position: relative; z-index: 2; }
.pr-pay--marks .pr-pay__stc-pay { block-size: 20px; }
html .ft-bottom .cm-pay .pr-pay__stc-pay { block-size: 16px; }

/* footer: the rights and the version stand apart, no dashes between them */
.ft-gap { display: inline-block; inline-size: 1.25em; }
/* Samsung Pay's mark is a two-line wordmark: a little taller so it reads like the others */
.pr-pay--marks .pr-pay__samsung-pay { block-size: 26px; }
html .ft-bottom .cm-pay .pr-pay__samsung-pay { block-size: 21px; }
