@font-face { font-family: StoreText; src: url(type-en-regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: StoreText; src: url(type-en-bold.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: StoreArabic; src: url(type-ar-regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: StoreArabic; src: url(type-ar-bold.woff) format("woff"); font-weight: 700; font-display: swap; }
/* Public storefront */
.studio, .studio-console {
    --accent: #3447ce;
    --accent-dark: #253198;
    --wash: #e9edff;
    --night: #18284a;
    --ink: #172535;
    --muted: #4b5b69;
    --line: #d8dfdf;
}
.studio.Jade, .reseller-console { --accent: #086552; --accent-dark: #054a3e; --wash: #ddf4e6; --night: #123c37; }
.studio.Plum, .platform-console { --accent: #7541a1; --accent-dark: #512979; --wash: #f2e7f8; --night: #302344; }
.store { margin: 0; background: #fafbf7; color: var(--ink); font: 16px/1.6 "Segoe UI", Tahoma, sans-serif; }
.store *, .studio-console * { box-sizing: border-box; }
.store h1, .store h2, .store h3, .store p, .store figure { margin: 0; }
.store a { color: var(--accent-dark); }
.store h1, .store h2, .store h3 { line-height: 1.12; text-wrap: balance; }
.store:lang(en) h1, .store:lang(en) h2, .studio-console:lang(en) h1 { letter-spacing: -.055em; }
.store:lang(ar) h1, .store:lang(ar) h2, .store:lang(ar) h3 { line-height: 1.42; }
.wrap { width: min(1210px, 92%); margin-inline: auto; }
.studio-skip { position: absolute; inset-inline-start: 1rem; top: -4em; z-index: 8; background: white; padding: .6em; }
.studio-skip:focus { top: .5em; }
.mast { border-bottom: 1px solid var(--line); }
.mast-row, .mast-nav, .mast-actions, .studio-actions, .store-foot .wrap { display: flex; align-items: center; gap: 1.3rem; }
.mast-row { min-height: 77px; justify-content: space-between; }
.store .logotype, .mast-nav a, .mast-actions a, .store-foot a { text-decoration: none; color: inherit; }
.logotype, .tenant-bar .brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 730; overflow-wrap: anywhere; }
.logotype { font-size: 1.22rem; }
.mark, .tenant-brandmark { display: inline-grid; place-items: center; padding-inline: .35em; min-width: 2.05em; height: 2.05em; border-radius: .65em .65em .65em .16em; background: var(--accent,#3447ce); color: white; line-height: 1; }
.mast-nav, .mast-actions, .store-foot a { font-size: .92rem; font-weight: 600; }
.mast-nav a:hover, .mast-actions a:hover, .store-foot a:hover { text-decoration: underline; }
.store .studio-btn, .studio-console .studio-btn { background: var(--accent); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; padding: .82rem 1.25rem; border-radius: 10px; font-weight: 680; text-decoration: none; }
.store .studio-btn:hover, .studio-console .studio-btn:hover { background: var(--accent-dark); }
.store .studio-btn.compact { padding: .55rem 1.05rem; }
.store-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,76px); align-items: center; padding-block: clamp(36px,6vw,88px); }
.kicker { display: flex; align-items: center; gap: .55rem; font-size: .77rem; font-weight: 750; text-transform: uppercase; color: var(--accent); }
:lang(en) .kicker { letter-spacing: .16em; }
.kicker i { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: currentColor; }
.store-hero h1 { margin-block: .25em; font-size: clamp(3.35rem,6.4vw,6.15rem); overflow-wrap: anywhere; }
.store .lead { max-width: 48ch; font-size: clamp(1.04rem,1.55vw,1.28rem); line-height: 1.65; color: var(--muted); }
.studio-actions { flex-wrap: wrap; margin-block-start: 1.75rem; }
.quiet-link { text-decoration-thickness: 1px; text-underline-offset: .3em; font-weight: 680; }
.art-panel { position: relative; isolation: isolate; aspect-ratio: 1.3; border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 60% 65%,white,var(--wash) 56%,#dbe0eb); }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(#778aab18 1px,transparent 1px),linear-gradient(90deg,#778aab18 1px,transparent 1px); background-size: 35px 35px; }
.hero-art { position: absolute; width: 100%; height: 93%; object-fit: contain; top: -1%; }
.art-caption { position: absolute; inset-inline: 5%; bottom: 4%; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #283748; font-size: .79rem; }
.art-caption strong { font: 600 .77rem/1.5 ui-monospace,Consolas,monospace; letter-spacing: .035em; }
.store-block { border-top: 1px solid var(--line); padding-block: clamp(36px,5.2vw,76px); }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 27px; }
.block-head h2, .ops-pair h2 { font-size: clamp(2rem,3.7vw,3.5rem); margin-top: .22em; }
.block-head > p { max-width: 30ch; color: var(--muted); }
.service-grid, .pay-grid, .desk-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.service-grid article, .pay-grid article, .ops-pair article { padding: clamp(21px,2.4vw,36px); border: 1px solid var(--line); border-radius: 18px; background: white; }
.glyph { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font: 600 1.3rem/1 monospace; color: var(--accent); background: var(--wash); }
.service-grid h3, .dev-notes h3, .tour-grid h3, .pay-grid h3 { font-size: clamp(1.2rem,1.8vw,1.52rem); }
.service-grid h3 { margin-block: 24px 8px; }
.service-grid p, .tour-grid p, .dev-notes p, .ops-pair p:not(.kicker), .pay-grid p { color: var(--muted); }
.tour-grid, .dev-split, .ops-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.tour-grid figure { background: white; border-radius: 19px; overflow: hidden; border: 1px solid var(--line); }
.tour-grid figure > a { display: grid; place-items: center; min-height: 190px; padding: 23px; background: var(--wash); }
.tour-grid figure + figure > a { background: #e1f1e9; }
.tour-grid img { width: 100%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 6px 8px #17253512); }
.tour-grid figcaption { padding: 20px 25px 26px; }
.tour-grid small { color: var(--muted); }
.tour-grid h3, .ops-pair h2, .pay-grid h3 { margin-block: 8px; }
.dev-split { align-items: start; gap: clamp(20px,5vw,70px); }
.dev-notes p, .dev-notes code { margin-block: 12px 20px; }
.dev-notes code { display: inline-block; background: var(--wash); color: var(--accent-dark); border-radius: 6px; padding: 5px 10px; overflow-wrap: anywhere; }
.code-desk { background: #172536; color: #e8f1ff; padding: clamp(18px,3vw,32px); border-radius: 18px; min-width: 0; }
.code-title { display: flex; align-items: center; justify-content: space-between; font: 700 .86rem monospace; color: #a7efe2; border-bottom: 1px solid #415466; padding-bottom: 14px; }
.code-desk p { font-size: .9rem; margin: 13px 0; color: #ccd7e6; }
.code-desk a { color: #b7f3e5; font-weight: 650; }
.code-examples details { border-top: 1px solid #415466; }
.code-examples summary, .work-menu summary { cursor: pointer; padding-block: .65rem; font-weight: 650; }
.code-examples pre { direction: ltr; text-align: left; overflow-x: auto; background: #101c2b; color: #dbebff; padding: 12px; border-radius: 8px; font: .85rem/1.7 Consolas,monospace; }
.ops-pair article { background: var(--wash); border-color: transparent; }
.ops-pair article + article { background: #e5eee7; }
.ops-pair a { display: inline-block; margin-top: 1rem; }
.store .public-prices { padding: clamp(16px,3vw,42px); }
.store .public-price-header h2 { font-size: clamp(1.8rem,3vw,2.75rem); }
.store-foot { color: #f5f7fb; background: #172535; padding-block: 33px; }
.store-foot .wrap { flex-wrap: wrap; }
.store-foot strong { margin-inline-end: auto; }
.store :focus-visible, .studio-console :focus-visible, .work-menu summary:focus-visible { outline: 3px solid #df840f; outline-offset: 3px; }
/* Separate operational workspaces */
.work-menu { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px,4vw,52px); }
.work-menu summary { color: #34465c; width: fit-content; font-size: .9rem; }
.work-menu .tenant-nav { padding: 0 0 14px; }
.tenant-reseller .tenant-brandmark { background: #086552; }
.studio-console .console-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; padding: clamp(22px,3.6vw,48px); border-radius: 20px; color: white; background: var(--night); margin-bottom: 20px; }
.console-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .35; background: repeating-radial-gradient(ellipse at 112% 150%,transparent 0 26px,#b0bfd4 27px,transparent 28px 48px); }
.console-hero .kicker { color: #c4e5e2; margin: 0 0 .45rem; }
.console-hero h1 { color: white; margin: 0; font-size: clamp(1.85rem,3.8vw,3.65rem); line-height: 1.24; }
.console-hero p:not(.kicker) { color: #e4e9f0; margin: .45rem 0 0; max-width: 50ch; }
.console-hero .studio-btn, .console-hero .button, .console-hero .secondary { background: white; color: var(--night); border-color: white; }
.console-hero .studio-btn:hover { color: white; }
.desk-grid { margin: 20px 0; }
.desk-tool, .studio-console .client-home-tool { position: relative; display: grid; gap: 7px; align-content: start; padding: 20px; padding-inline-end: 38px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; background: white; }
.desk-tool::after { content: "↗"; position: absolute; inset-inline-end: 15px; top: 16px; color: var(--accent); }
.desk-tool small, .studio-console .client-home-tool span { color: var(--muted); }
.desk-tool:hover, .studio-console .client-home-tool:hover { border-color: var(--accent); background: var(--wash); }
.customer-console .client-home-balance { background: var(--wash); border-radius: 16px; border: none; border-inline-start: 4px solid var(--accent); }
.customer-console .client-home-tools-heading { font-size: 1.3rem; margin-block: 1.3rem .75rem; }
.reseller-console .tenant-stats { border-radius: 14px; background: var(--wash); }
.platform-console .stat { border-top: 3px solid var(--accent); }
.platform-console .dark-card { background: var(--night); }
.store-editor { margin-block: 18px; }
.store-editor fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 18px; margin-block-end: 16px; border: 1px solid #cfd9df; border-radius: 10px; }
.store-editor legend { font-weight: 700; padding-inline: 8px; }
.store-editor .store-check { display: flex; gap: 8px; align-items: center; }
.store-editor .store-check input { width: auto; }
@media(max-width:820px) {
    .mast-nav { display: none; }
    .service-grid, .desk-grid, .pay-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .store-hero { gap: 20px; }
}
@media(max-width:650px) {
    .wrap { width: 90%; }
    .mast-row { min-height: 66px; flex-wrap: wrap; gap: 8px; padding-block: 9px; }
    .mast-actions { gap: 10px; }
    .store-hero, .tour-grid, .ops-pair, .dev-split, .store-editor fieldset { grid-template-columns: minmax(0,1fr); }
    .store-hero h1 { font-size: clamp(2.9rem,12vw,4rem); }
    .art-panel { aspect-ratio: 1.8; }
    .service-grid, .desk-grid, .pay-grid { grid-template-columns: minmax(0,1fr); }
    .block-head, .studio-console .console-hero { align-items: start; flex-direction: column; }
    .block-head { gap: .7rem; }
    .tour-grid figure > a { min-height: 135px; padding: 14px; }
    .store-foot .wrap { align-items: start; flex-direction: column; }
}
.reseller-wallet { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-block:0 18px; padding:20px 25px; border-radius:14px; background:#f0f7f4; border-inline-start:4px solid #086552; }
.reseller-wallet strong,.reseller-wallet small { display:block; }
.reseller-wallet strong { width:fit-content; font-size:1.9rem; color:#104535; }
.reseller-wallet a { color:#075c4e; font-weight:650; }
.customer-console .client-home-balance { color: #132b53; }
.customer-console .client-home-balance h2, .customer-console .client-home-amount span,
.customer-console .client-home-held { color: #33496e; }
.customer-console .client-home-wallet-actions a { color: #253198; }
.customer-console .client-home-wallet-actions .button { background: #3447ce; color: white; border-color: #3447ce; }
.customer-overview .work-menu .tenant-nav { flex-wrap: wrap; }
.store .how-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 25px 0 0; padding: 0; list-style: none; counter-reset: step; }
.how-steps li { counter-increment: step; padding: 16px 20px; border-top: 2px solid var(--accent); background: var(--wash); }
.how-steps li + li { border-inline-start: 1px solid #bcc8db; }
.how-steps li::before { content: counter(step,decimal-leading-zero); display: block; font: 700 .85rem/2 Consolas,monospace; color: var(--accent); }
.how-steps strong { display: block; }
.how-steps span { color: #455467; font-size: .92rem; }
@media(max-width:650px) {
    .mast-nav { display: flex; order: 3; width: 100%; gap: 1.2em; font-size: .85rem; }
    .mast-nav:empty { display: none; }
    .store .how-steps { grid-template-columns: minmax(0,1fr); }
    .how-steps li + li { border-inline-start: 0; }
}
@media(min-width:821px) {
    .store.Jade .hero-copy { grid-column: 2; grid-row: 1; }
    .store.Jade .art-panel { grid-column: 1; grid-row: 1; border-start-end-radius: 26%; }
    .store.Plum .store-hero { background: var(--night); color: white; border-radius: 24px; padding: clamp(27px,4vw,64px); margin-block: 34px; }
    .store.Plum .hero-copy .lead, .store.Plum .hero-copy a, .store.Plum .hero-copy .kicker { color: #f8eefb; }
}
.dev-notes details { border-top: 1px solid var(--line); }
.dev-notes summary { cursor: pointer; font-weight: 650; padding-block: 10px; }
.smpp-spec { display: grid; gap: 4px; margin: 0; }
.smpp-spec dt { font-weight: 650; }
.smpp-spec dd { margin: 0 0 8px; text-align: start; overflow-wrap: anywhere; font-family: Consolas,monospace; }
.store-logo { max-width: 6.6rem; max-height: 2.7rem; width: auto; height: auto; object-fit: contain; }

/* The three workspaces keep separate accents and a shared reading scale. */
.studio-console { font: 1.06rem/1.65 StoreText,"Segoe UI",sans-serif; }
:lang(ar) .studio-console { font-family: StoreArabic,StoreText,Tahoma,sans-serif; line-height:1.85; }
.customer-console { --accent:#4331aa; --accent-dark:#322578; --night:#211d44; --wash:#eeebfa; }
.studio-console .console-hero { background:linear-gradient(115deg,var(--night) 30%,var(--accent)); border-radius:22px; }
.studio-console .desk-tool, .studio-console .client-home-tool { box-shadow:0 3px 0 #dfe3e6; transition:transform .16s,border-color .16s; }
.studio-console .desk-tool:hover, .studio-console .client-home-tool:hover { transform:translateY(-2px); }
.studio-console .desk-tool small, .studio-console .client-home-tool span, .studio-console .stat small,
.studio-console .reseller-wallet small { font-size:.96rem; }
.studio-console .studio-btn { box-shadow:0 3px 1px #11162b48; min-height:44px; }
.studio-console .console-hero .studio-btn:hover { background:var(--wash); color:var(--night); }
@media(prefers-reduced-motion: reduce) { .studio-console .desk-tool,.studio-console .client-home-tool { transition:none; }.studio-console .desk-tool:hover,.studio-console .client-home-tool:hover { transform:none; } }
