/*
Theme Name: Buildiary
Theme URI: https://buildiary.app
Author: SMH Global Services
Description: The Buildiary website: construction site management for home owners and builders. English, Urdu and Arabic.
Version: 2.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: buildiary
*/

/* Layout: a white header with menus, a light hero with a site photo and the app on a phone,
   photo cards, feature tabs, a dark band, and a navy footer. Poppins headings (the logo's
   letters), IBM Plex for text, Arabic and Urdu fonts for those pages. */
:root {
	--mb-blue: var(--wp--preset--color--blueprint, #1E3A5F);
	--mb-blue-2: var(--wp--preset--color--blueprint-2, #284B78);
	--mb-navy: #0F2238;
	--mb-amber: var(--wp--preset--color--amber, #F2B01E);
	--mb-amber-ink: #1B1405;
	--mb-ink: var(--wp--preset--color--ink, #14202B);
	--mb-muted: var(--wp--preset--color--muted, #5B6875);
	--mb-concrete: var(--wp--preset--color--concrete, #F2F5F8);
	--mb-sky: #EAF1F8;
	--mb-line: var(--wp--preset--color--line, #DCE2E8);
	--mb-on-blue: #E9F0F8;
	--mb-on-blue-2: #B9CBE0;
	--mb-display: var(--wp--preset--font-family--display);
	--mb-body: var(--wp--preset--font-family--body);
	--mb-gutter: max(16px, env(safe-area-inset-left, 0px));
	--mb-radius: 18px;
	--mb-shadow: 0 1px 2px rgba(15, 34, 56, .06), 0 14px 36px rgba(15, 34, 56, .12);
	--mb-shadow-lg: 0 2px 4px rgba(15, 34, 56, .06), 0 30px 70px rgba(15, 34, 56, .22);
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; color: var(--mb-ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lang-ar { font-family: var(--wp--preset--font-family--arabic); }
body.lang-ar :where(h1, h2, h3, h4, .mb-btn, .wp-block-button__link) { font-family: var(--wp--preset--font-family--arabic); font-weight: 700; }
body.lang-ur { font-family: var(--wp--preset--font-family--urdu); line-height: 2.1; }
body.lang-ur :where(h1, h2, h3, h4) { font-family: var(--wp--preset--font-family--urdu); font-weight: 700; line-height: 1.9; }
body.lang-ur :where(.mb-btn, .wp-block-button__link) { font-family: var(--wp--preset--font-family--urdu); font-weight: 600; }
body.lang-ur h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
body.lang-ur h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; color: var(--mb-navy); }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
body:is(.lang-ar, .lang-ur) :is(h1, h2, h3) { letter-spacing: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--mb-amber); outline-offset: 2px; border-radius: 6px; }
.mb-main { padding: 0 !important; }
.mb-main > .wp-block-post-content > * { margin-block: 0; }
.mb-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--mb-gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.mb-wrap > :first-child { margin-top: 0; }

/* ---- header: logo, menus (the Product menu is wide), language and currency, sign in, trial */
.mb-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.mb-head.mb-scrolled { border-bottom-color: var(--mb-line); box-shadow: 0 6px 20px rgba(15, 34, 56, .06); }
.mb-head-in { position: relative; display: flex; align-items: stretch; gap: 8px; min-height: 72px; }
.mb-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--mb-navy); text-decoration: none; flex: none; }
.mb-brand .bd-name { height: 26px; width: auto; display: block; }
.mb-nav { display: flex; align-items: stretch; gap: 2px; margin-inline-start: 18px; flex: 1; }
.mb-dd { display: flex; align-items: center; }
.mb-dd-btn, .mb-nav-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--mb-ink); font: 600 .95rem/1.2 var(--mb-body); padding: 10px 12px; border-radius: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
body.lang-ar :is(.mb-dd-btn, .mb-nav-link) { font-family: var(--wp--preset--font-family--arabic); }
body.lang-ur :is(.mb-dd-btn, .mb-nav-link) { font-family: var(--wp--preset--font-family--urdu); font-weight: 600; line-height: 1.8; padding-block: 4px; }
.mb-nav-link { align-self: center; }
.mb-dd-btn:hover, .mb-nav-link:hover, .mb-dd.open > .mb-dd-btn { background: var(--mb-concrete); }
.mb-dd-btn[data-current], .mb-nav-link[aria-current] { color: var(--mb-blue-2); box-shadow: inset 0 -2px 0 var(--mb-amber); border-radius: 10px 10px 0 0; }
.mb-chev { transition: transform .2s; opacity: .7; }
.mb-dd.open .mb-chev, .mb-pop-wrap.open .mb-chev { transform: rotate(180deg); }
.mb-mega { display: none; position: absolute; top: 100%; inset-inline: var(--mb-gutter); background: #fff; border: 1px solid var(--mb-line); border-radius: 0 0 20px 20px; box-shadow: var(--mb-shadow-lg); padding: 22px; z-index: 60; }
.mb-dd.open > .mb-mega { display: block; animation: mb-drop .16s ease-out; }
.mb-dd-sm { position: relative; }
.mb-dd-sm > .mb-mega { inset-inline: auto; inset-inline-start: 0; width: 340px; border-radius: 0 0 18px 18px; padding: 12px; }
@keyframes mb-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mb-mega-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; }
.mb-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-content: start; }
.mb-mega-list { display: flex; flex-direction: column; gap: 2px; }
.mb-mega-list > .mb-link { margin: 8px 12px 4px; }
.mb-mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; color: var(--mb-ink); text-decoration: none; }
.mb-mega-item:hover { background: var(--mb-concrete); }
.mb-mega-item b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.mb-mega-item small { display: block; color: var(--mb-muted); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
body.lang-ur .mb-mega-item :is(b, small) { line-height: 1.9; }
.mb-mega-item .mb-fi { width: 38px; height: 38px; border-radius: 10px; background-size: 20px; }
.mb-mega-side { background: var(--mb-sky); border-radius: 16px; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.mb-mega-side img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 12px; display: block; background: var(--mb-line); }
.mb-mega-side p { margin: 0; color: var(--mb-ink); font-weight: 500; }
.mb-link { color: var(--mb-blue-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mb-link::after { content: "→"; transition: transform .15s; }
body:is(.lang-ar, .lang-ur) .mb-link::after { content: "←"; }
.mb-link:hover::after { transform: translateX(3px); }
body:is(.lang-ar, .lang-ur) .mb-link:hover::after { transform: translateX(-3px); }

.mb-head-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.mb-pop-wrap { position: relative; }
.mb-region-btn, .mb-signin-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--mb-line); background: #fff; color: var(--mb-ink); font: 600 .9rem/1 var(--mb-body); height: 42px; padding: 0 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
body.lang-ar :is(.mb-region-btn, .mb-signin-btn) { font-family: var(--wp--preset--font-family--arabic); }
body.lang-ur :is(.mb-region-btn, .mb-signin-btn) { font-family: var(--wp--preset--font-family--urdu); }
.mb-signin-btn { border-color: transparent; }
.mb-region-btn:hover, .mb-signin-btn:hover, .mb-pop-wrap.open > button { background: var(--mb-concrete); }
.mb-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); display: block; flex: none; }
.mb-pop { display: none; position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 320px; background: #fff; border: 1px solid var(--mb-line); border-radius: 18px; box-shadow: var(--mb-shadow-lg); padding: 16px; z-index: 60; }
.mb-pop-wrap.open > .mb-pop { display: block; animation: mb-drop .16s ease-out; }
.mb-pop-h { margin: 0 0 8px; font: 600 .78rem/1.3 var(--mb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mb-muted); }
body:is(.lang-ar, .lang-ur) .mb-pop-h { letter-spacing: 0; text-transform: none; font-family: inherit; font-size: .9rem; }
.mb-pop-h:not(:first-child) { margin-top: 16px; }
.mb-pop-note { margin: 10px 0 0; color: var(--mb-muted); font-size: .85rem; line-height: 1.45; }
body.lang-ur .mb-pop-note { line-height: 1.9; }
.mb-pop-note a { color: var(--mb-blue-2); font-weight: 600; }
.mb-rg-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.mb-rg-langs a, .mb-langs a { color: var(--mb-ink); text-decoration: none; font-size: .92rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--mb-line); line-height: 1.3; font-family: var(--mb-body); }
:is(.mb-rg-langs, .mb-langs) a.lang-ar { font-family: var(--wp--preset--font-family--arabic); }
:is(.mb-rg-langs, .mb-langs) a.lang-ur { font-family: var(--wp--preset--font-family--urdu); line-height: 1.7; padding-block: 2px; }
.mb-rg-langs a[aria-current] { background: var(--mb-navy); border-color: var(--mb-navy); color: #fff; }
.mb-rg-curs { display: grid; gap: 4px; }
.mb-rg-curs button { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid transparent; background: none; padding: 8px 10px; border-radius: 12px; cursor: pointer; text-align: start; color: var(--mb-ink); font: inherit; }
.mb-rg-curs button:hover { background: var(--mb-concrete); }
.mb-rg-curs button[aria-pressed="true"] { border-color: var(--mb-blue-2); background: var(--mb-sky); }
.mb-rg-curs b { font: 700 .9rem/1.2 var(--mb-body); display: block; }
.mb-rg-curs small { color: var(--mb-muted); font-size: .82rem; display: block; line-height: 1.3; }
body.lang-ur .mb-rg-curs small { line-height: 1.8; }
.mb-ws label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.mb-ws-row { display: flex; align-items: center; border: 1.5px solid var(--mb-line); border-radius: 12px; overflow: hidden; background: #fff; }
.mb-ws-row:focus-within { border-color: var(--mb-blue-2); box-shadow: 0 0 0 3px rgba(40, 75, 120, .15); }
.mb-ws-row input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px; font: 500 1rem/1.2 var(--mb-body); color: var(--mb-ink); background: transparent; }
.mb-ws-row span { padding-inline-end: 12px; color: var(--mb-muted); font: 500 .92rem/1 var(--mb-body); white-space: nowrap; }
.mb-ws-row input[aria-invalid="true"] { color: #B42318; }
.mb-ws-err { color: #B42318; font-size: .85rem; margin: 6px 0 0; }
.mb-ws .mb-btn { margin-top: 12px; }
.mb-btn-block { width: 100%; }
.mb-nav-extra { display: none; }
.mb-menu { display: none; border: 1px solid var(--mb-line); background: #fff; color: var(--mb-ink); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; flex: none; }

@media (max-width: 1120px) {
	.mb-signin { display: none; }
}
@media (max-width: 1020px) {
	.mb-head-in { align-items: center; }
	.mb-nav { display: none; position: absolute; inset-inline: 0; top: 100%; max-height: calc(100vh - 72px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--mb-line); box-shadow: var(--mb-shadow-lg); flex-direction: column; align-items: stretch; padding: 8px var(--mb-gutter) 20px; margin: 0; gap: 0; }
	.mb-nav.open { display: flex; }
	.mb-dd { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--mb-line); }
	.mb-dd-btn, .mb-nav-link { justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
	.mb-nav-link { border-bottom: 1px solid var(--mb-line); align-self: stretch; }
	.mb-dd-btn[data-current], .mb-nav-link[aria-current] { box-shadow: none; }
	.mb-dd-btn:hover, .mb-nav-link:hover, .mb-dd.open > .mb-dd-btn { background: none; }
	.mb-mega, .mb-dd-sm > .mb-mega { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 12px; border-radius: 0; animation: none !important; }
	.mb-mega-in { grid-template-columns: 1fr; }
	.mb-mega-grid { grid-template-columns: 1fr; }
	.mb-mega-side { display: none; }
	.mb-mega-item { padding: 10px 4px; }
	.mb-nav-extra { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
	.mb-nav-signin summary { cursor: pointer; font-weight: 600; padding: 10px 0; color: var(--mb-blue-2); }
	.mb-nav-signin .mb-ws { padding-top: 8px; }
	.mb-menu { display: inline-flex; }
	.mb-signin { display: none; }
}
@media (max-width: 560px) {
	.mb-head-end .mb-head-cta { display: none; }
	.mb-region-txt, .mb-region-btn .mb-chev { display: none; }
	.mb-region-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.mb-pop { position: fixed; top: 80px; inset-inline: 12px; width: auto; }
	.mb-brand .bd-name { height: 22px; }
	.mb-brand svg:first-child { width: 32px; height: 32px; }
}

/* icons: line drawings, used by .mb-ic (headings) and .mb-fi (small squares) */
.mb-ic-stores, .mb-fi-stores { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E"); }
.mb-ic-money, .mb-fi-money { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='13' rx='1.5'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.mb-ic-build, .mb-fi-build { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.mb-ic-people, .mb-fi-people { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2.2'/%3E%3Cpath d='M5.5 16c.6-1.6 2-2.4 3.5-2.4s2.9.8 3.5 2.4M15 10h3M15 13h3'/%3E%3C/svg%3E"); }
.mb-ic-water, .mb-fi-water { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 01-12 0c0-4.5 6-11 6-11z'/%3E%3C/svg%3E"); }
.mb-ic-ask, .mb-fi-ask { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8z'/%3E%3C/svg%3E"); }
.mb-ic-lang, .mb-fi-lang { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
.mb-ic-shield, .mb-fi-shield { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.mb-ic-doc, .mb-fi-doc { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E"); }
.mb-ic-chart, .mb-fi-chart { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M6 16l4-5 3 3 5-7'/%3E%3Cpath d='M15 7h3v3'/%3E%3C/svg%3E"); }
.mb-ic-wallet, .mb-fi-wallet { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h15a1 1 0 011 1v11a1 1 0 01-1 1H4z'/%3E%3Cpath d='M4 7V5.5A1.5 1.5 0 015.5 4H16v3M20 11h-4a2 2 0 000 4h4'/%3E%3C/svg%3E"); }
.mb-ic-book, .mb-fi-book { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h11a2 2 0 012 2v16H8a2 2 0 01-2-2z'/%3E%3Cpath d='M6 19a2 2 0 012-2h11M15 3v14'/%3E%3C/svg%3E"); }
.mb-ic-check, .mb-fi-check { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E"); }
.mb-ic-share, .mb-fi-share { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.2 10.8l7.6-3.6M8.2 13.2l7.6 3.6'/%3E%3C/svg%3E"); }
.mb-ic-home, .mb-fi-home { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.mb-ic-hat, .mb-fi-hat { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M5 18a7 7 0 0114 0'/%3E%3Cpath d='M10 11V6.5a2 2 0 014 0V11'/%3E%3C/svg%3E"); }
.mb-ic-info, .mb-fi-info { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
.mb-ic-mail, .mb-fi-mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

.mb-ic::before, .mb-fi { background: var(--mb-blue) var(--ic) center / 24px no-repeat; }
.mb-ic::before { content: ""; display: block; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.mb-fi { display: inline-block; flex: none; width: 44px; height: 44px; border-radius: 12px; }
:is(.mb-ic-water, .mb-ic-ask, .mb-fi-water, .mb-fi-ask)::before, .mb-fi-water, .mb-fi-ask { background-color: var(--mb-blue-2); }

/* ---- buttons */
.mb-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--mb-amber); color: var(--mb-amber-ink) !important; text-decoration: none; font: 600 1rem/1.2 var(--mb-display); padding: 14px 24px; border-radius: 999px; border: 0; min-height: 48px; box-sizing: border-box; cursor: pointer; transition: filter .15s, transform .15s, box-shadow .15s; box-shadow: 0 6px 16px rgba(242, 176, 30, .28); }
.mb-btn:hover, .wp-block-button__link:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mb-btn-sm { padding: 10px 18px; min-height: 42px; font-size: .95rem; box-shadow: none; }
.mb-btn-lg { padding: 16px 30px; min-height: 56px; font-size: 1.06rem; }
.mb-btn-line, .is-style-outline .wp-block-button__link, .mb-btn-ghost .wp-block-button__link { background: transparent; color: currentColor !important; border: 1.5px solid currentColor; box-shadow: none; }
.mb-btn-line-dark { background: #fff; color: var(--mb-navy) !important; border: 1.5px solid var(--mb-line); box-shadow: none; }
.mb-btn-line-dark:hover { border-color: var(--mb-navy); }
.mb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mb-center-actions { display: flex; justify-content: center; margin-top: 36px; }

/* ---- sections */
.mb-section { padding: clamp(64px, 9vw, 112px) var(--mb-gutter) !important; margin-block: 0 !important; }
.mb-section > .mb-wrap { padding: 0; }
.mb-alt { background: var(--mb-concrete); }
.mb-eyebrow { font: 700 .8rem/1.3 var(--mb-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--mb-blue-2); margin-block: 0 .7rem !important; }
.mb-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--mb-amber); vertical-align: middle; margin-inline-end: 10px; position: relative; top: -2px; }
.mb-center.mb-eyebrow::before { display: none; }
body:is(.lang-ar, .lang-ur) .mb-eyebrow { font-family: inherit !important; letter-spacing: 0; text-transform: none; font-size: .98rem !important; font-weight: 700; }
.mb-section h2, .mb-pagehead h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; margin: 0 0 1rem; }
body.lang-ur .mb-section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.9; }
.mb-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--mb-muted); max-width: 62ch; line-height: 1.6; }
body.lang-ur .mb-lede { line-height: 2.1; }
.mb-center { text-align: center; }
.mb-center.mb-lede, .mb-center .mb-lede { margin-inline: auto; }
h2.mb-center { max-width: 22ch; margin-inline: auto !important; }

/* ---- hero: the words on one side; a site photo, the app on a phone and three live cards on the other */
.mb-h2 { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mb-sky) 0%, #F7FAFD 70%, #fff 100%); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px) !important; margin-block: 0 !important; }
.mb-h2::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(40, 75, 120, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 75, 120, .08) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 65%); }
.mb-h2-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mb-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--mb-line); border-radius: 999px; padding: 7px 14px; font: 600 .86rem/1.3 var(--mb-body); color: var(--mb-blue); margin: 0 0 22px; box-shadow: 0 2px 8px rgba(15, 34, 56, .05); }
body.lang-ur .mb-pill { line-height: 1.9; padding-block: 3px; }
.mb-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--mb-amber); box-shadow: 0 0 0 4px rgba(242, 176, 30, .22); }
.mb-h2 h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 22px; }
body.lang-ar .mb-h2 h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.25; }
body.lang-ur .mb-h2 h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.75; }
.mb-h2 .mb-lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); margin: 0; }
.mb-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--mb-ink); font-weight: 500; font-size: .95rem; }
.mb-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.mb-ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: #1C7148 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.mb-h2-visual { position: relative; min-height: 600px; }
.mb-h2-photo { position: absolute; margin: 0; inset-block: 0 40px; inset-inline-start: 18%; inset-inline-end: 0; border-radius: 28px; overflow: hidden; background: var(--mb-line); box-shadow: var(--mb-shadow-lg); }
.mb-h2-photo img, .mb-panel-photo img, .mb-who-card img, .mb-leaks-bg img, .mb-band-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-h2-visual .mb-phone { position: absolute; bottom: 0; inset-inline-start: 0; width: clamp(170px, 16vw, 215px); z-index: 2; }
.mb-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--mb-shadow); max-width: 270px; animation: mb-float 6s ease-in-out infinite; }
body:is(.lang-ar, .lang-ur) .mb-float { padding: 12px 12px 12px 16px; }
.mb-float b { display: block; font-size: .95rem; line-height: 1.3; color: var(--mb-navy); }
.mb-float span { display: block; font-size: .82rem; color: var(--mb-muted); line-height: 1.35; }
body.lang-ur .mb-float :is(b, span) { line-height: 1.9; }
.mb-float .mb-fi { width: 40px; height: 40px; border-radius: 12px; background-size: 22px; }
.mb-float-1 { top: 38%; inset-inline-end: -16px; }
.mb-float-2 { bottom: 84px; inset-inline-end: 4%; animation-delay: -2s; }
.mb-float-2 .mb-fi { background-color: #1C7148; }
.mb-float-3 { top: 36px; inset-inline-start: -8px; animation-delay: -4s; }
.mb-amt { white-space: nowrap; }
@keyframes mb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* phones: a screenshot in a dark frame */
.mb-phone { background: #0E1B2B; padding: 7px; border-radius: 34px; box-shadow: 0 24px 60px rgba(15, 34, 56, .35); }
.mb-phone img { display: block; width: 100%; height: auto; border-radius: 27px; background: #fff; aspect-ratio: 390 / 844; object-fit: cover; }

/* facts under the hero */
.mb-facts { padding: 8px 0 16px !important; margin-block: 0 !important; background: #fff; }
.mb-facts ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-block: 1px solid var(--mb-line); }
.mb-facts li { display: flex; flex-direction: column; gap: 4px; padding-inline: 18px; border-inline-start: 1px solid var(--mb-line); }
.mb-facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.mb-facts b { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--mb-display); color: var(--mb-navy); letter-spacing: -0.02em; }
.mb-facts span { color: var(--mb-muted); font-size: .95rem; line-height: 1.4; }
body.lang-ur .mb-facts span { line-height: 1.9; }
.mb-origin { text-align: center; color: var(--mb-muted); margin: 20px 0 0; font-weight: 500; }
.mb-origin::before, .mb-origin::after { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--mb-amber); vertical-align: middle; margin-inline: 12px; }

/* who it is for: photo cards */
.mb-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.mb-who-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mb-line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--mb-ink); transition: transform .2s, box-shadow .2s; }
.mb-who-card:hover { transform: translateY(-4px); box-shadow: var(--mb-shadow); }
.mb-who-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mb-line); }
.mb-who-card img { transition: transform .5s; }
.mb-who-card:hover img { transform: scale(1.04); }
.mb-who-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mb-who-body h3 { margin: 0; font-size: 1.15rem; }
.mb-who-body p { margin: 0; color: var(--mb-muted); font-size: .95rem; line-height: 1.55; flex: 1; }
body.lang-ur .mb-who-body p { line-height: 2; }

/* feature tabs */
.mb-tabs { margin-top: 36px; }
.mb-tablist { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--mb-line); border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; margin: 0 auto 40px; box-sizing: border-box; }
.mb-tablist button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 18px 8px 8px; border-radius: 999px; cursor: pointer; font: 600 .95rem/1.2 var(--mb-body); color: var(--mb-ink); }
body:is(.lang-ar, .lang-ur) .mb-tablist button { padding: 8px 8px 8px 18px; font-family: inherit; }
.mb-tablist .mb-fi { width: 32px; height: 32px; border-radius: 50%; background-size: 17px; background-color: var(--mb-sky); filter: none; }
.mb-tablist button[aria-selected="true"] { background: var(--mb-navy); color: #fff; }
.mb-tablist button[aria-selected="true"] .mb-fi { background-color: var(--mb-amber); }
.mb-tablist button:not([aria-selected="true"]) .mb-fi { background-color: var(--mb-blue); }
.mb-panel, .mb-feat-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.mb-panel[hidden] { display: none; }
.mb-panel-copy h3, .mb-feat-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; margin: 0 0 14px; }
.mb-panel-copy .mb-checks, .mb-feat-copy .mb-checks { margin: 22px 0 26px; }
.mb-panel-visual { position: relative; padding-bottom: 36px; padding-inline-end: 0; margin-top: 8px; }
.mb-panel-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--mb-line); width: 86%; margin-inline-start: auto; box-shadow: var(--mb-shadow); }
.mb-panel-visual .mb-phone { position: absolute; bottom: 0; inset-inline-start: 0; width: clamp(130px, 13vw, 170px); }
.mb-flip > :first-child { order: 2; }

/* the dark band about the usual losses on a site */
.mb-leaks { position: relative; overflow: hidden; background: var(--mb-navy); color: var(--mb-on-blue); padding: clamp(72px, 10vw, 128px) 0 !important; margin-block: 0 !important; }
.mb-leaks-bg, .mb-band-bg { position: absolute; inset: 0; margin: 0; }
.mb-leaks-bg img { opacity: .22; filter: grayscale(.3); }
.mb-leaks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--mb-navy) 30%, rgba(15, 34, 56, .6)); pointer-events: none; }
body:is(.lang-ar, .lang-ur) .mb-leaks::after { background: linear-gradient(-90deg, var(--mb-navy) 30%, rgba(15, 34, 56, .6)); }
.mb-leaks > .mb-wrap { position: relative; z-index: 1; }
.mb-leaks h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 20ch; margin: 0 0 16px; }
.mb-leaks .mb-eyebrow { color: var(--mb-amber); }
.mb-leaks .mb-lede { color: var(--mb-on-blue-2); }
.mb-leak-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; counter-reset: leak; }
.mb-leak { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px; backdrop-filter: blur(6px); counter-increment: leak; }
.mb-leak::before { content: "0" counter(leak); display: block; font: 700 .85rem/1 var(--mb-display); color: var(--mb-amber); margin-bottom: 18px; letter-spacing: .08em; }
.mb-leak-p { color: #fff; font: 700 1.12rem/1.3 var(--mb-display); margin: 0 0 10px; }
body:is(.lang-ar, .lang-ur) .mb-leak-p { font-family: inherit; line-height: 1.8; }
.mb-leak p:last-child { margin: 0; color: var(--mb-on-blue-2); font-size: .95rem; line-height: 1.55; }
body.lang-ur .mb-leak p:last-child { line-height: 2; }

/* the twelve tools */
.mb-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.mb-tool { border: 1px solid var(--mb-line); border-radius: 20px; padding: 22px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.mb-tool:hover { border-color: transparent; box-shadow: var(--mb-shadow); transform: translateY(-2px); }
.mb-tool h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.mb-tool p { margin: 0; color: var(--mb-muted); font-size: .92rem; line-height: 1.5; }
body.lang-ur .mb-tool p { line-height: 2; }

/* the currency gallery */
.mb-curchips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 28px 0 44px; }
.mb-curchips button, .mb-seg-cur button { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--mb-line); background: #fff; border-radius: 999px; padding: 9px 16px; font: 700 .92rem/1 var(--mb-body); color: var(--mb-ink); cursor: pointer; }
.mb-curchips button[aria-pressed="true"] { border-color: var(--mb-navy); background: var(--mb-navy); color: #fff; }
.mb-phones2 { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: clamp(16px, 4vw, 48px); align-items: start; }
.mb-phones2 figure { margin: 0; }
.mb-phones2 figure:nth-child(2) { transform: translateY(-24px); }
.mb-phones2 figcaption { text-align: center; color: var(--mb-muted); font-size: .92rem; margin-top: 16px; }
.mb-phones2 img { transition: opacity .25s; }

/* the closing photo band */
.mb-band { position: relative; overflow: hidden; background: var(--mb-navy); color: #fff; padding: clamp(80px, 11vw, 140px) 0 !important; margin-block: 0 !important; text-align: center; }
.mb-band-bg img { opacity: .55; }
.mb-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 34, 56, .55), rgba(15, 34, 56, .85)); }
.mb-band > .mb-wrap { position: relative; z-index: 1; }
.mb-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; margin: 0 auto 14px; }
body.lang-ur .mb-band h2 { line-height: 1.8; }
.mb-band p { color: var(--mb-on-blue); font-size: 1.15rem; margin: 0; }
.mb-band .mb-actions { justify-content: center; }
.mb-band .mb-btn-line { color: #fff !important; }

/* ---- cards */
.mb-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px !important; margin-top: 32px !important; }
.mb-cards > * { margin-block: 0 !important; }
.mb-card { background: #fff; border: 1px solid var(--mb-line); border-radius: 20px; padding: 26px !important; transition: box-shadow .2s, transform .2s; }
.mb-card:hover { box-shadow: var(--mb-shadow); }
.mb-alt .mb-card { border-color: transparent; }
.mb-card h3, .mb-steps h3 { margin: 0 0 .5rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.mb-card p { margin: 0; color: var(--mb-muted); }
.mb-card ul { margin: .8rem 0 0; padding-inline-start: 1.1rem; color: var(--mb-muted); }

/* steps: a real sequence, so numbered */
.mb-steps { counter-reset: step; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px !important; margin-top: 36px !important; }
.mb-steps > * { margin: 0 !important; counter-increment: step; position: relative; padding: 28px !important; border-radius: 20px; background: #fff; border: 1px solid var(--mb-line); }
.mb-alt .mb-steps > * { border-color: transparent; }
.mb-steps > *::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mb-amber); color: var(--mb-amber-ink); font: 700 1.05rem/1 var(--mb-display); margin-bottom: 16px; }
.mb-steps h3 { margin: 0 0 .4rem; }
.mb-steps p { margin: 0; color: var(--mb-muted); }

/* list of points with a check */
.mb-checks { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.mb-checks li { position: relative; padding-inline-start: 32px; }
.mb-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--mb-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1405' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat; }
body.lang-ur .mb-checks li::before { top: .75em; }

/* ---- pricing */
.mb-pricing { margin-top: 32px; }
.mb-toggles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px; }
.mb-seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--mb-line); border-radius: 999px; padding: 4px; gap: 4px; }
.mb-seg button { border: 0; background: transparent; color: var(--mb-ink); font: 600 .92rem/1 var(--mb-body); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.mb-seg-cur button { border: 0; padding: 8px 12px; }
body.lang-ar .mb-seg button { font-family: var(--wp--preset--font-family--arabic); }
body.lang-ur .mb-seg button:not([data-set-cur]) { font-family: var(--wp--preset--font-family--urdu); line-height: 1.6; padding-block: 4px; }
.mb-seg button[aria-pressed="true"] { background: var(--mb-navy); color: #fff; }
.mb-seg em { font-style: normal; font-size: .78rem; color: #1C7148; margin-inline-start: 4px; }
.mb-seg button[aria-pressed="true"] em { color: var(--mb-amber); }
.mb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 22px; max-width: 860px; margin: 0 auto; }
.mb-plan { position: relative; background: #fff; border: 1.5px solid var(--mb-line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.mb-plan-builder { border-color: var(--mb-navy); box-shadow: var(--mb-shadow); }
.mb-plan-tag { position: absolute; top: -13px; inset-inline-start: 26px; background: var(--mb-navy); color: #fff; font: 600 .78rem/1 var(--mb-body); padding: 7px 12px; border-radius: 999px; }
.mb-plan h3 { margin: 0; font-size: 1.5rem; }
.mb-plan p { margin: 0; color: var(--mb-muted); font-size: .95rem; }
.mb-price b { font: 800 2.4rem/1.1 var(--mb-display); color: var(--mb-navy); letter-spacing: -0.02em; }
.mb-price small { color: var(--mb-muted); }
.mb-plan ul { margin: 0; flex: 1; color: var(--mb-ink); }
.mb-plan .mb-btn { width: 100%; }
.mb-pricing .mb-note { text-align: center; color: var(--mb-muted); font-size: .92rem; margin-top: 22px; }
.mb-center-buttons { justify-content: center; margin-top: 32px !important; }

/* questions */
.mb-faq { max-width: 840px; margin-inline: auto !important; margin-top: 28px !important; }
.mb-faq .wp-block-details { background: #fff; border: 1px solid var(--mb-line); border-radius: 16px; padding: 18px 22px; margin-block: 0 0 10px !important; }
.mb-alt .mb-faq .wp-block-details { border-color: transparent; }
.mb-faq summary { cursor: pointer; font: 600 1.06rem/1.4 var(--mb-display); color: var(--mb-navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
body:is(.lang-ar, .lang-ur) .mb-faq summary { font-family: inherit; }
.mb-faq summary::-webkit-details-marker { display: none; }
.mb-faq summary::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mb-sky); font: 500 1.2rem/1 var(--mb-body); color: var(--mb-blue); }
.mb-faq details[open] summary::after { content: "−"; background: var(--mb-amber); color: var(--mb-amber-ink); }
.mb-faq details p { color: var(--mb-muted); margin: .8rem 0 0; }

/* the closing band on inner pages */
.mb-cta { background: var(--mb-navy); color: #fff; text-align: center; padding: clamp(56px, 8vw, 96px) var(--mb-gutter) !important; margin-block: 0 !important; position: relative; overflow: hidden; }
.mb-cta::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(ellipse at 20% 0%, rgba(242, 176, 30, .25), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(40, 75, 120, .9), transparent 60%); pointer-events: none; }
.mb-cta > * { position: relative; }
.mb-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.mb-cta p { color: var(--mb-on-blue-2); font-size: 1.1rem; }
.mb-cta .wp-block-buttons { justify-content: center; }

/* page heads for inner pages */
.mb-pagehead { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mb-sky), #F7FAFD); padding: clamp(56px, 8vw, 96px) var(--mb-gutter) clamp(40px, 6vw, 64px) !important; margin-block: 0 !important; }
.mb-pagehead::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(40, 75, 120, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 75, 120, .08) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 60%); }
.mb-pagehead > * { position: relative; }
.mb-pagehead h1 { margin: .2rem 0 .8rem; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; }
body.lang-ur .mb-pagehead h1 { line-height: 1.8; font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* the features page: photo and phone beside each feature */
.mb-feat .mb-ic::before { margin-bottom: 18px; }

/* contact */
.mb-contact .mb-card a { font-weight: 600; overflow-wrap: anywhere; }

/* legal text */
.mb-plain { padding: clamp(40px, 6vw, 72px) var(--mb-gutter) !important; }
.mb-plain h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.mb-plain p, .mb-plain li { color: #2A3642; }

/* ---- footer */
.mb-foot { background: var(--mb-navy); color: var(--mb-on-blue-2); padding: 64px 0 28px; margin-top: 0; }
.mb-foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mb-foot-brand p { max-width: 52ch; font-size: .98rem; margin: 14px 0 0; }
.mb-foot-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-foot-cta .mb-btn-line { color: #fff !important; border-color: rgba(255, 255, 255, .4); }
.mb-foot-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .mb-foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .mb-foot-in { grid-template-columns: 1fr; } }
.mb-foot .mb-brand { color: #fff; }
.mb-foot h2 { color: #fff; font: 600 .98rem/1.2 var(--mb-display); margin: 0 0 14px; }
body:is(.lang-ar, .lang-ur) .mb-foot h2 { font-family: inherit; }
.mb-foot-in > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mb-foot a { color: var(--mb-on-blue); text-decoration: none; overflow-wrap: anywhere; }
.mb-foot-in a { font-size: .94rem; }
.mb-foot a:hover { color: var(--mb-amber); }
.mb-foot-pay { margin: 8px 0 0; font-size: .88rem; line-height: 1.5; }
body.lang-ur .mb-foot-pay { line-height: 2; }
.mb-foot-flags { display: flex; gap: 6px; margin-bottom: 8px; }
.mb-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.mb-langs { display: inline-flex; gap: 4px; }
.mb-foot .mb-langs a { color: var(--mb-on-blue-2); border-color: rgba(255, 255, 255, .18); font-size: .85rem; padding: 5px 12px; }
.mb-foot .mb-langs a[aria-current] { background: #fff; color: var(--mb-navy); border-color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* the maker: SMH Global Services */
.mb-maker { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-size: .85rem; }
.mb-maker img { height: 36px; width: auto; display: block; }
.mb-maker-block { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 20px 22px; margin-top: 28px; border: 1px solid var(--mb-line); border-radius: 16px; background: #fff; }
.mb-maker-block .mb-maker img { height: 48px; }
.mb-maker-block p { margin: 0; color: var(--mb-muted); }

/* ---- guides and the pages for owners and builders */
.mb-crumbs { font-size: .9rem; color: var(--mb-muted); margin-bottom: 1.2rem; }
.mb-crumbs a { color: var(--mb-blue-2); text-decoration: none; }
.mb-crumbs a:hover { text-decoration: underline; }
.mb-crumbs span[aria-hidden] { margin-inline: 6px; color: var(--mb-line); }
.mb-article { font-size: 1.06rem; line-height: 1.7; }
body.lang-ur .mb-article { line-height: 2.1; }
.mb-article > h2 { margin: 2.6rem 0 .8rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.mb-article > h2:first-child { margin-top: 0; }
.mb-article > h3 { margin: 1.8rem 0 .4rem; font-size: 1.15rem; color: var(--mb-blue); }
.mb-article p, .mb-article li { color: #2A3642; }
.mb-article ul, .mb-article ol { padding-inline-start: 1.3rem; display: grid; gap: 6px; }
.mb-article li::marker { color: var(--mb-blue-2); }
.mb-table { margin: 1.4rem 0; border: 1px solid var(--mb-line); border-radius: 14px; overflow: hidden; }
.mb-table table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.mb-table th, .mb-table td { text-align: start; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--mb-line); }
.mb-table thead th { background: var(--mb-navy); color: #fff; font-weight: 600; }
.mb-table tbody tr:nth-child(even) { background: var(--mb-concrete); }
.mb-table tbody tr:last-child > * { border-bottom: 0; }
.mb-table tbody th { font-weight: 600; color: var(--mb-ink); }
@media (max-width: 640px) {
	/* each row becomes a small card, each value with its column's name */
	.mb-table { border: 0; border-radius: 0; overflow: visible; }
	.mb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.mb-table table, .mb-table tbody, .mb-table tr, .mb-table th, .mb-table td { display: block; width: auto; }
	.mb-table tr { border: 1px solid var(--mb-line); border-radius: 12px; margin-bottom: 10px; padding: 6px 0; background: #fff !important; }
	.mb-table th, .mb-table td { border: 0; padding: 6px 14px; }
	.mb-table td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 600; color: var(--mb-blue-2); }
	.mb-table tbody tr > :first-child { font-weight: 700; color: var(--mb-ink); }
}
.mb-more { margin-top: .9rem !important; }
.mb-more a, .mb-guide h3 a { color: var(--mb-blue); font-weight: 600; text-decoration: none; }
.mb-more a::after { content: " →"; }
body:is(.lang-ar, .lang-ur) .mb-more a::after { content: " ←"; }
.mb-more a:hover, .mb-guide h3 a:hover { text-decoration: underline; }
.mb-guide { display: flex; flex-direction: column; }
.mb-guide .mb-more { margin-top: auto !important; padding-top: .9rem; }
/* page heads: the introduction starts where the heading starts */
.mb-pagehead:not(.mb-narrow) > .mb-lede { margin-inline-start: max(0px, calc((100% - 1200px) / 2)) !important; margin-inline-end: auto !important; }
.mb-narrow .mb-lede { max-width: 780px; }
.mb-narrow h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ---- smaller screens */
@media (max-width: 1080px) {
	.mb-who, .mb-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mb-leak-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.mb-h2-in, .mb-panel, .mb-feat-in { grid-template-columns: 1fr; }
	.mb-flip > :first-child { order: 0; }
	.mb-h2-visual { min-height: 0; aspect-ratio: 1 / .95; max-width: 560px; width: 100%; margin: 8px auto 0; }
	.mb-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
	.mb-facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.mb-panel-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
	.mb-h2-photo { inset-inline-start: 12%; inset-block-end: 28px; border-radius: 22px; }
	.mb-h2-visual .mb-phone { width: 40%; max-width: 170px; border-radius: 26px; padding: 5px; }
	.mb-h2-visual .mb-phone img { border-radius: 21px; }
	.mb-float { padding: 8px 12px 8px 8px; gap: 8px; max-width: 220px; border-radius: 12px; }
	.mb-float .mb-fi { width: 32px; height: 32px; background-size: 18px; border-radius: 9px; }
	.mb-float b { font-size: .82rem; }
	.mb-float span { font-size: .72rem; }
	.mb-float-1 { top: 12px; inset-inline-end: 8px; }
	.mb-float-2 { bottom: 44px; inset-inline-end: 8px; }
	.mb-float-3 { display: none; }
	.mb-who, .mb-tools, .mb-leak-grid { grid-template-columns: 1fr; }
	.mb-panel-photo { aspect-ratio: 1 / 1; }
	.mb-panel-visual .mb-phone { width: 38%; border-radius: 26px; padding: 5px; }
	.mb-panel-visual .mb-phone img { border-radius: 21px; }
	.mb-tools { gap: 12px; }
	.mb-tool { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
	.mb-tool .mb-fi { grid-row: span 2; }
	.mb-tool h3 { margin: 0 0 4px; }
	.mb-tablist { border-radius: 20px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
	.mb-tablist button { padding: 8px; font-size: .88rem; }
	.mb-phones2 { grid-template-columns: repeat(3, 70%); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 4px 12px; margin-inline: calc(var(--mb-gutter) * -1); padding-inline: var(--mb-gutter); }
	.mb-phones2 figure { scroll-snap-align: center; }
	.mb-phones2 figure:nth-child(2) { transform: none; }
	.mb-facts li { padding-inline: 12px; }
	.mb-origin::before, .mb-origin::after { width: 16px; margin-inline: 8px; }
	.mb-foot-top { flex-direction: column; align-items: flex-start; }
}
