/* ===== Metbaber Public Site — shared header/footer + homepage styles =====
   Type scale (consistent across the public site):
   --ph-fs-2xs 11px | --ph-fs-xs 12px | --ph-fs-sm 13px | --ph-fs-base 15px
   --ph-fs-md 16px | --ph-fs-lg 18px | --ph-fs-xl 22px
*/
:root{--ph-red:#cc0000;--ph-dark:#151515;--ph-cream:#faf6f1;--ph-border:#e8e1da;--ph-muted:#746e68;--ph-green:#159968;
  --ph-fs-2xs:11px;--ph-fs-xs:12px;--ph-fs-sm:13px;--ph-fs-base:15px;--ph-fs-md:16px;--ph-fs-lg:18px;--ph-fs-xl:22px}

*{box-sizing:border-box}
.mb-public-home{margin:0;background:#fff;color:var(--ph-dark);font-family:'Source Serif 4',Georgia,serif;font-size:var(--ph-fs-base);line-height:1.6;overflow-x:hidden}
.mb-public-home a{text-decoration:none}
.mb-public-container{width:min(1180px,calc(100% - 40px));margin:auto}

/* ---------- Brand / logo ---------- */
.mb-public-brand{display:inline-flex;align-items:center;color:#171717}
.mb-brand-logo{display:block;height:50px;width:auto;flex:none}
.mb-brand-logo-footer{height:50px;filter:brightness(0) invert(1)}

/* ---------- Nav ---------- */
.mb-public-nav{position:fixed;z-index:100;top:0;left:0;right:0;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid transparent;transition:.2s}
.mb-public-nav.scrolled{border-color:var(--ph-border);box-shadow:0 8px 30px rgba(20,15,10,.05)}
.mb-public-nav-inner{height:80px;width:min(1240px,calc(100% - 40px));margin:auto;display:flex;align-items:center;gap:34px}
.mb-public-links{display:flex;gap:28px;margin-left:24px}
.mb-public-links a{color:#6f6963;font-size:var(--ph-fs-sm);font-weight:600}
.mb-public-links a:hover{color:#111}
.mb-public-actions{margin-left:auto;display:flex;align-items:center;gap:18px}
.mb-public-login{font-size:var(--ph-fs-sm);color:#302c29;font-weight:700}
.mb-public-cta{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:10px;background:var(--ph-red);color:#fff!important;font-size:var(--ph-fs-sm);font-weight:700;box-shadow:0 8px 18px rgba(204,0,0,.15)}
.mb-public-cta:hover{background:#a90000}
.mb-public-menu{display:none;margin-left:auto;width:40px;height:40px;border:1px solid var(--ph-border);background:#fff;border-radius:10px}
.mb-public-mobile-nav{display:none}

/* ---------- Hero ---------- */
.mb-hero{min-height:750px;background:linear-gradient(135deg,#fbf8f4 0%,#fff 55%,#fff8f7 100%);position:relative;overflow:hidden;padding:155px 0 80px}
.mb-hero-grid{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:65px;position:relative;z-index:2}
.mb-hero-copy{max-width:610px}
.mb-eyebrow,.mb-section-kicker{font-size:var(--ph-fs-2xs);letter-spacing:.14em;font-weight:800;color:#8b837c}
.mb-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e8e0d8;border-radius:999px;background:#fff;flex-wrap:wrap;row-gap:4px}
.mb-eyebrow span{width:6px;height:6px;background:var(--ph-red);border-radius:50%}
.mb-hero h1{font-size:clamp(44px,5.6vw,74px);line-height:1.02;letter-spacing:-.045em;margin:22px 0 24px;max-width:700px}
.mb-hero h1 em,.mb-section-heading h2 em,.mb-centered-heading h2 em,.mb-why h2 em{font-style:normal;color:var(--ph-red)}
.mb-hero-copy>p{max-width:560px;color:#716b65;font-size:var(--ph-fs-md);line-height:1.75}
.mb-hero-actions{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.mb-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:15px 20px;border-radius:11px;font-size:var(--ph-fs-sm);font-weight:800}
.mb-btn-primary{background:var(--ph-red);color:#fff;box-shadow:0 12px 25px rgba(204,0,0,.18)}
.mb-btn-light{background:#fff;color:#26211e;border:1px solid #e5ddd6}
.mb-hero-trust{display:flex;gap:20px;flex-wrap:wrap;margin-top:30px;color:#8c857e;font-size:var(--ph-fs-xs)}
.mb-hero-trust i{color:var(--ph-green);margin-right:6px}
.mb-hero-glow{position:absolute;border-radius:50%;filter:blur(2px)}
.mb-hero-glow-one{width:500px;height:500px;right:-250px;top:80px;background:rgba(204,0,0,.045)}
.mb-hero-glow-two{width:300px;height:300px;left:-180px;bottom:-150px;background:rgba(21,153,104,.05)}

/* ---------- Hero dashboard mock ---------- */
.mb-hero-visual{position:relative;min-height:500px;display:grid;place-items:center}
.mb-dashboard-mock{width:min(100%,500px);border:1px solid #e8e0d9;border-radius:24px;background:#fff;box-shadow:0 35px 90px rgba(40,30,20,.13);overflow:hidden;transform:rotate(1deg)}
.mb-mock-head{height:58px;border-bottom:1px solid #eee8e2;padding:0 20px;display:flex;align-items:center;justify-content:space-between}
.mb-mock-brand{font-size:var(--ph-fs-sm);font-weight:800;color:var(--ph-dark)}
.mb-mock-avatar{width:30px;height:30px;border-radius:50%;background:#f5e6e4;color:var(--ph-red);display:grid;place-items:center;font-size:var(--ph-fs-2xs);font-weight:800}
.mb-mock-body{padding:26px}
.mb-mock-kicker{font-size:var(--ph-fs-2xs);letter-spacing:.14em;color:#aaa29a;font-weight:800}
.mb-mock-body h3{font-size:22px;letter-spacing:-.03em;margin:8px 0 22px}
.mb-mock-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mb-mock-stats div{padding:13px;border:1px solid #eee8e2;border-radius:11px;background:#fcfbfa}
.mb-mock-stats small,.mb-mock-task small{display:block;font-size:var(--ph-fs-2xs);color:#9b948d;margin-bottom:6px}
.mb-mock-stats strong{font-size:var(--ph-fs-lg)}
.mb-mock-stats i{font-size:var(--ph-fs-2xs);font-style:normal;color:#8e8881}
.mb-mock-task{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px;border:1px solid #eee8e2;border-radius:11px}
.mb-task-icon{width:32px;height:32px;border-radius:8px;background:#fff0ef;color:var(--ph-red);display:grid;place-items:center;font-size:var(--ph-fs-xs)}
.mb-mock-task>div{flex:1}
.mb-mock-task strong{display:block;font-size:var(--ph-fs-xs)}
.mb-mock-task>b{font-size:var(--ph-fs-xs);color:var(--ph-green)}
.mb-float-card{position:absolute;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #eee5dd;padding:12px 16px;border-radius:13px;box-shadow:0 15px 35px rgba(35,25,18,.12);font-size:var(--ph-fs-xs)}
.mb-float-card strong,.mb-float-card small{display:block}
.mb-float-card small{color:#9b948d;font-size:var(--ph-fs-2xs);margin-top:3px}
.mb-mini-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#fff0ef;color:var(--ph-red)}
.mb-mini-icon.green{background:#eaf8f2;color:var(--ph-green)}
.mb-float-top{top:45px;left:0}
.mb-float-bottom{bottom:55px;right:-5px}

/* ---------- Sections (generic) ---------- */
.mb-section{padding:110px 0}
.mb-services{background:#fff}
.mb-section-heading{display:grid;grid-template-columns:1fr .7fr;gap:60px;align-items:end;margin-bottom:46px}
.mb-section-heading h2,.mb-centered-heading h2,.mb-why h2{font-size:clamp(34px,3.6vw,48px);line-height:1.05;letter-spacing:-.035em;margin:12px 0 0}
.mb-section-heading>p,.mb-centered-heading>p,.mb-lead{font-size:var(--ph-fs-md);line-height:1.75;color:var(--ph-muted);margin:0}

/* ---------- Services grid ---------- */
.mb-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mb-service-card{position:relative;min-height:275px;padding:28px;border:1px solid var(--ph-border);border-radius:17px;color:#1a1817;background:#fff;transition:.2s;overflow:hidden}
.mb-service-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(35,25,18,.08);border-color:#d9cec4}
.mb-service-number{position:absolute;top:22px;right:24px;font-size:var(--ph-fs-2xs);color:#aaa29a;font-weight:800}
.mb-service-icon{width:44px;height:44px;border-radius:12px;background:#fff0ef;color:var(--ph-red);display:grid;place-items:center;margin-bottom:50px;font-size:var(--ph-fs-md)}
.mb-service-card h3{font-size:var(--ph-fs-xl);letter-spacing:-.025em;margin:0 0 8px}
.mb-service-card p{font-size:var(--ph-fs-sm);line-height:1.7;color:#7d7670;max-width:300px}
.mb-service-link{position:absolute;bottom:24px;font-size:var(--ph-fs-xs);font-weight:800}
.mb-service-link i{margin-left:6px}
.mb-directory-heading-cta{display:inline-flex;align-items:center;gap:6px;margin-left:6px;color:var(--ph-red);font-weight:800;font-size:.95em;white-space:nowrap}
.mb-directory-heading-cta i{font-size:.8em}
.mb-service-card.featured{border-color:var(--ph-red);box-shadow:0 0 0 1px var(--ph-red)}
.mb-service-card.featured::before{content:'Most Popular';position:absolute;top:22px;left:28px;font-size:var(--ph-fs-2xs);font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--ph-red)}
.mb-service-card.featured .mb-service-icon{background:var(--ph-red);color:#fff}
.mb-service-card-dark{background:#191919;color:#fff;border-color:#191919}
.mb-service-card-dark .mb-service-number{color:#777}
.mb-service-card-dark .mb-service-icon{background:#2a2221}
.mb-service-card-dark p{color:#9e9892}
.mb-service-card-dark .mb-service-link{color:#fff}

/* ---------- Business Directory ---------- */
.mb-directory{background:#fff}
.mb-directory-toolbar{display:flex;gap:12px;margin-bottom:30px;flex-wrap:wrap;align-items:center}
.mb-directory-searchbox{flex:1;min-width:220px;display:flex;align-items:center;gap:10px;padding:13px 16px;border:1px solid var(--ph-border);border-radius:11px;background:#fcfbfa}
.mb-directory-searchbox i{color:#aaa29a;font-size:var(--ph-fs-sm)}
.mb-directory-searchbox input{border:0;outline:0;background:transparent;width:100%;font-size:var(--ph-fs-sm);font-family:inherit;color:var(--ph-dark)}
.mb-directory-searchbox input::placeholder{color:#aaa29a}
.mb-directory-select{padding:13px 16px;border:1px solid var(--ph-border);border-radius:11px;background:#fcfbfa;font-size:var(--ph-fs-sm);color:#4e4843;font-family:inherit}
.mb-directory-shared-note{margin:-10px 0 25px;font-size:var(--ph-fs-sm);color:#7d7670}
.mb-directory-shared-note i{color:var(--ph-red);margin-right:6px}
.mb-directory-shared-note a{color:var(--ph-red);font-weight:700}

.mb-empty-state{text-align:center;padding:60px 20px;color:#8b847d;font-size:var(--ph-fs-base);border:1px dashed var(--ph-border);border-radius:17px}
.mb-empty-icon{display:block;font-size:32px;margin-bottom:14px;color:#c9c1b8}

.mb-directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mb-directory-card{border:1px solid var(--ph-border);border-radius:17px;overflow:hidden;background:#fff;transition:.2s;display:flex;flex-direction:column}
.mb-directory-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(35,25,18,.08);border-color:#d9cec4}
.mb-directory-media{position:relative;height:150px;background:var(--ph-cream)}
.mb-directory-media img{width:100%;height:100%;object-fit:cover;display:block}
.mb-directory-media-fallback{width:100%;height:100%;display:grid;place-items:center;color:#c9c1b8;font-size:28px}
.mb-directory-badge{position:absolute;top:12px;left:12px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);font-size:var(--ph-fs-2xs);font-weight:800;color:var(--ph-dark)}
.mb-directory-body{padding:18px 20px 6px;flex:1}
.mb-directory-body h3{font-size:var(--ph-fs-lg);letter-spacing:-.02em;margin:0 0 8px}
.mb-directory-location{display:flex;align-items:center;gap:6px;font-size:var(--ph-fs-xs);color:#8b847d;margin:0 0 8px}
.mb-directory-location i{color:var(--ph-red)}
.mb-directory-desc{font-size:var(--ph-fs-sm);line-height:1.7;color:#7d7670;margin:0}
.mb-directory-actions{display:flex;border-top:1px solid var(--ph-border);margin-top:16px}
.mb-directory-action{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:14px 8px;font-size:var(--ph-fs-xs);font-weight:700;color:#4e4843;border-right:1px solid var(--ph-border);border-top:0;border-bottom:0;border-left:0;background:none;cursor:pointer;font-family:inherit}
.mb-directory-action:last-child{border-right:0}
.mb-directory-action:hover{color:var(--ph-red);background:#fcfbfa}
.mb-directory-action.is-disabled{opacity:.4;pointer-events:none}
.mb-directory-action i{font-size:var(--ph-fs-sm)}

.mb-directory-pagination{display:flex;justify-content:center;gap:8px;margin-top:36px}
.mb-directory-page{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--ph-border);border-radius:9px;font-size:var(--ph-fs-sm);font-weight:700;color:#4e4843}
.mb-directory-page:hover{border-color:#d9cec4}
.mb-directory-page.is-active{background:var(--ph-red);border-color:var(--ph-red);color:#fff}

.mb-directory-footer-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:50px;padding:26px 30px;border:1px solid var(--ph-border);border-radius:17px;background:var(--ph-cream);flex-wrap:wrap}
.mb-directory-footer-cta p{margin:0;font-size:var(--ph-fs-base);color:#4e4843;font-weight:600}

/* ---------- How it works ---------- */
.mb-how{background:var(--ph-cream)}
.mb-centered-heading{text-align:center;max-width:650px;margin:0 auto 55px}
.mb-centered-heading>p{margin-top:17px}
.mb-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.mb-step{position:relative;text-align:center;padding:20px 45px}
.mb-step:not(:last-child):after{content:"";position:absolute;right:0;top:58px;width:1px;height:120px;background:#ddd3ca}
.mb-step>span{display:block;font-size:var(--ph-fs-2xs);color:#aaa098;font-weight:800;margin-bottom:18px}
.mb-step>i{width:56px;height:56px;border-radius:16px;background:#fff;color:var(--ph-red);display:grid;place-items:center;margin:auto;box-shadow:0 10px 25px rgba(35,25,18,.07);font-size:var(--ph-fs-md)}
.mb-step h3{font-size:var(--ph-fs-lg);margin:18px 0 8px}
.mb-step p{font-size:var(--ph-fs-sm);color:#7e766e;line-height:1.7;margin:0}

/* ---------- Why Metbaber ---------- */
.mb-why{background:#fff}
.mb-why-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.mb-lead{margin-top:20px;max-width:520px}
.mb-feature-list{margin-top:35px;display:grid;gap:20px}
.mb-feature-list>div{display:flex;gap:14px}
.mb-feature-list>div>i{width:36px;height:36px;border-radius:9px;background:#fff0ef;color:var(--ph-red);display:grid;place-items:center;font-size:var(--ph-fs-sm);flex:none}
.mb-feature-list strong,.mb-feature-list small{display:block}
.mb-feature-list strong{font-size:var(--ph-fs-base)}
.mb-feature-list small{font-size:var(--ph-fs-xs);color:#8b847d;margin-top:4px;line-height:1.6}
.mb-why-panel{background:#181818;color:#fff;border-radius:23px;padding:28px;min-height:380px;box-shadow:0 25px 70px rgba(20,15,10,.14)}
.mb-why-panel-top{display:flex;justify-content:space-between;color:#85807b;font-size:var(--ph-fs-2xs);letter-spacing:.12em;font-weight:800}
.mb-ecosystem{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:60px}
.mb-ecosystem span{padding:13px;border:1px solid #302e2c;border-radius:10px;font-size:var(--ph-fs-xs);color:#ddd7d1}
.mb-ecosystem i{color:#ff5d57;margin-right:7px}
.mb-why-quote{margin-top:40px;padding-top:20px;border-top:1px solid #302e2c}
.mb-why-quote i{color:#ff5d57}
.mb-why-quote p{font-size:var(--ph-fs-xl);line-height:1.4;letter-spacing:-.02em;max-width:360px}

/* ---------- CTA band ---------- */
.mb-cta{padding:40px 0;background:var(--ph-red);color:#fff}
.mb-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:30px 0;flex-wrap:wrap}
.mb-cta .mb-section-kicker{color:rgba(255,255,255,.55)}
.mb-cta h2{font-size:clamp(28px,3.4vw,44px);letter-spacing:-.03em;margin:10px 0}
.mb-cta p{margin:0;color:rgba(255,255,255,.75);font-size:var(--ph-fs-base)}
.mb-btn-white{background:#fff;color:#1b1816;white-space:nowrap}

/* ---------- Footer ---------- */
.mb-public-footer{background:#151515;color:#fff;padding:60px 0 22px}
.mb-public-footer .mb-public-brand{color:#fff}
.mb-public-footer p{color:#a7a19b;font-size:var(--ph-fs-sm);max-width:280px;line-height:1.7}
.mb-footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1.2fr 1fr;gap:40px;padding-bottom:50px}
.mb-footer-brand{display:flex!important;flex-direction:column!important;gap:16px!important}
.mb-footer-grid>div:not(.mb-footer-brand){display:flex;flex-direction:column;gap:12px}
.mb-footer-grid strong{font-size:var(--ph-fs-xs);letter-spacing:.04em;color:#fff;margin-bottom:4px}
.mb-footer-grid a:not(.mb-public-brand){font-size:var(--ph-fs-sm);color:#a7a19b}
.mb-footer-grid a:not(.mb-public-brand):hover{color:#fff}
.mb-footer-socials{display:flex;gap:8px;margin-top:4px}
.mb-footer-socials a{width:32px;height:32px;border:1px solid #302e2c;border-radius:8px;display:grid;place-items:center;color:#8b857f!important;font-size:var(--ph-fs-xs)}
.mb-footer-socials a:hover{color:#fff!important;border-color:#555!important}

.mb-back-to-top{position:fixed;right:24px;bottom:24px;width:46px;height:46px;border:none;border-radius:50%;background:var(--mb-red,#C8251E);color:#fff;font-size:16px;display:grid;place-items:center;box-shadow:0 6px 16px rgba(0,0,0,.22);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility .25s ease;z-index:60}
.mb-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.mb-back-to-top:hover{background:var(--mb-red-dark,#9E1B16)}

.mb-float-telegram{position:fixed;right:24px;bottom:82px;width:46px;height:46px;border-radius:50%;background:#229ED9;color:#fff;display:grid;place-items:center;font-size:20px;box-shadow:0 6px 16px rgba(0,0,0,.22);z-index:60;transition:transform .2s ease}
.mb-float-telegram:hover{transform:scale(1.08);color:#fff}

@media (max-width:640px){
  .mb-back-to-top{right:16px;bottom:16px;width:42px;height:42px}
  .mb-float-telegram{right:16px;bottom:70px;width:42px;height:42px;font-size:18px}
}
.mb-footer-bottom{padding-top:22px;border-top:1px solid #2a2826;display:flex;justify-content:space-between;color:#847e79;font-size:var(--ph-fs-xs)}

/* ---------- FAQ ---------- */
.mb-faq{background:#faf6f1}
.mb-faq-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mb-faq-list details{background:#fff;border:1px solid var(--ph-border);border-radius:13px;padding:0 20px}
.mb-faq-list summary{list-style:none;cursor:pointer;padding:18px 26px 18px 0;font-size:var(--ph-fs-base);font-weight:800;position:relative}
.mb-faq-list summary::-webkit-details-marker{display:none}
.mb-faq-list summary:after{content:'+';position:absolute;right:0;top:14px;font-size:20px;color:#aaa}
.mb-faq-list details[open] summary:after{content:'−'}
.mb-faq-list details p{font-size:var(--ph-fs-sm);line-height:1.8;color:#77706a;margin:0 0 18px}
.mb-faq-list a,.mb-legal a{color:var(--ph-red);font-weight:700}

/* ---------- Inner pages (faq/how-it-works/terms) ---------- */
.mb-inner-page{padding-top:160px;min-height:70vh}
.mb-steps-page{grid-template-columns:repeat(4,1fr)}
.mb-steps-page .mb-step{padding:20px 25px}
.mb-legal{max-width:900px}
.mb-legal h1{font-size:clamp(40px,5.4vw,64px);letter-spacing:-.04em;line-height:1.05;margin:14px 0}
.mb-legal h1 em{font-style:normal;color:var(--ph-red)}
.mb-legal-updated{color:#958d85;font-size:var(--ph-fs-xs);margin-bottom:45px}
.mb-legal h2{font-size:var(--ph-fs-lg);margin:32px 0 10px;letter-spacing:-.01em}
.mb-legal p{font-size:var(--ph-fs-sm);line-height:1.85;color:#716b65}
.mb-legal h2:first-of-type{margin-top:0}

/* ---------- Tablet (two-column layouts, roomier than phone) ---------- */
@media(max-width:1024px) and (min-width:681px){
  .mb-hero-grid{gap:36px}
  .mb-hero-copy{max-width:none}
  .mb-service-grid{grid-template-columns:repeat(2,1fr)}
  .mb-directory-grid{grid-template-columns:repeat(2,1fr)}
  .mb-audience-grid{grid-template-columns:1fr;gap:18px}
  .mb-audience-connector{margin:auto;transform:rotate(90deg)}
  .mb-why-grid{grid-template-columns:1fr;gap:40px}
  .mb-why-panel{min-height:auto}
  .mb-grow-grid{grid-template-columns:1fr 1fr}
  .mb-testimonial-grid{grid-template-columns:1fr 1fr}
  .mb-testimonial-grid .mb-testimonial-card:last-child{grid-column:1/-1}
  .mb-footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  .mb-footer-grid>div:first-child{grid-column:1/-1}
  .mb-steps{grid-template-columns:1fr;gap:30px}
  .mb-step{padding:0 10px}
  .mb-step:not(:last-child):after{display:none}
}

/* ---------- Mobile ---------- */
@media(max-width:680px){
  .mb-public-container{width:min(100% - 30px,1180px)}
  .mb-public-nav-inner{height:64px;width:calc(100% - 30px)}
  .mb-brand-logo{height:50px}
  .mb-public-links,.mb-public-actions{display:none}
  .mb-public-menu{display:block;width:44px;height:44px}
  .mb-public-nav.is-open .mb-public-menu{background:#f7f4f0}
  .mb-public-mobile-nav{padding:10px 15px 18px;border-top:1px solid var(--ph-border);background:#fff}
  .mb-public-nav.is-open .mb-public-mobile-nav{display:grid;gap:4px}
  .mb-public-mobile-nav>a{padding:12px 5px;color:#4e4843;font-size:var(--ph-fs-sm);font-weight:700}
  .mb-public-mobile-actions{display:flex;gap:8px;margin-top:8px}
  .mb-public-mobile-actions>a{flex:1;text-align:center;padding:12px;border:1px solid var(--ph-border);border-radius:9px;color:#28231f;font-size:var(--ph-fs-xs);font-weight:800}
  .mb-public-mobile-actions .mb-public-cta{border:0}
  .mb-hero{min-height:auto;padding:110px 0 60px}
  .mb-hero-grid{grid-template-columns:1fr;gap:30px}
  .mb-hero h1{font-size:42px}
  .mb-hero-copy>p{font-size:var(--ph-fs-base)}
  .mb-hero-trust{gap:10px;flex-direction:column}
  .mb-hero-visual{min-height:370px}
  .mb-dashboard-mock{transform:none}
  .mb-mock-body{padding:19px}
  .mb-mock-body h3{font-size:18px}
  .mb-mock-stats strong{font-size:var(--ph-fs-base)}
  .mb-float-top{left:-8px;top:10px}
  .mb-float-bottom{right:-8px;bottom:15px}
  .mb-section{padding:72px 0}
  .mb-section-heading{grid-template-columns:1fr;gap:16px;align-items:start}
  .mb-section-heading h2,.mb-centered-heading h2,.mb-why h2{font-size:32px}
  .mb-service-grid{grid-template-columns:1fr}
  .mb-service-card{min-height:235px}
  .mb-service-icon{margin-bottom:45px}
  .mb-directory-toolbar{flex-direction:column;align-items:stretch}
  .mb-directory-select{width:100%}
  .mb-directory-grid{grid-template-columns:1fr}
  .mb-directory-action{padding:13px 4px;font-size:10px;gap:4px;flex-direction:column}
  .mb-directory-action i{font-size:var(--ph-fs-sm)}
  .mb-directory-footer-cta{flex-direction:column;text-align:center}
  .mb-steps{grid-template-columns:1fr;gap:35px}
  .mb-step{padding:0 10px}
  .mb-step:not(:last-child):after{display:none}
  .mb-why-grid{grid-template-columns:1fr;gap:40px}
  .mb-why-panel{min-height:auto}
  .mb-ecosystem{margin-top:35px}
  .mb-cta-inner{padding:25px 0}
  .mb-footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  .mb-footer-grid>div:first-child{grid-column:1/-1}
  .mb-footer-bottom{flex-direction:column;gap:8px}
  .mb-faq-list{grid-template-columns:1fr}
  .mb-directory-pagination{gap:6px}
  .mb-directory-page{width:42px;height:42px}
  .mb-steps-page{grid-template-columns:1fr}
  .mb-inner-page{padding-top:120px}
}

/* ---------- Small phones (fine-tuning under ~420px) ---------- */
@media(max-width:420px){
  .mb-public-container{width:calc(100% - 24px)}
  .mb-eyebrow{flex-direction:column;align-items:flex-start;border-radius:16px;gap:2px;padding:10px 14px}
  .mb-eyebrow-am{margin-left:0;padding-left:0;border-left:0}
  .mb-hero{padding:100px 0 48px}
  .mb-hero h1{font-size:34px}
  .mb-hero-actions{flex-direction:column;align-items:stretch}
  .mb-hero-actions .mb-btn{width:100%}
  .mb-hero-visual{min-height:330px}
  .mb-dashboard-mock{width:100%}
  .mb-mock-stats{gap:6px}
  .mb-mock-stats div{padding:10px 8px}
  .mb-mock-stats strong{font-size:var(--ph-fs-sm)}
  .mb-float-card{padding:10px 12px;font-size:11px}
  .mb-section{padding:56px 0}
  .mb-section-heading h2,.mb-centered-heading h2,.mb-why h2{font-size:28px}
  .mb-service-card{padding:22px}
  .mb-refer-stats{grid-template-columns:1fr}
  .mb-directory-action{font-size:9px}
  .mb-cta-actions{flex-direction:column}
  .mb-cta-actions>a{width:100%}
  .mb-testimonial-card{padding:24px}
}

/* =========================================================
   HERO ENTRANCE — plays automatically on load, no JS/preloader
   dependency, so content is visible from first paint.
   ========================================================= */

.mb-hero-copy > * {
    animation: mbHeroReveal .8s cubic-bezier(.22, 1, .36, 1) both;
}

.mb-hero-copy > :nth-child(1) { animation-delay: .05s; }
.mb-hero-copy > :nth-child(2) { animation-delay: .12s; }
.mb-hero-copy > :nth-child(3) { animation-delay: .19s; }
.mb-hero-copy > :nth-child(4) { animation-delay: .26s; }
.mb-hero-copy > :nth-child(5) { animation-delay: .33s; }

.mb-dashboard-mock {
    animation:
        mbDashboardIn .9s .15s cubic-bezier(.16, 1, .3, 1) both,
        mbDashboardFloat 6s 1s ease-in-out infinite;
}

.mb-float-top {
    animation:
        mbFloatIn .7s .4s cubic-bezier(.22, 1, .36, 1) both,
        mbFloatTop 4s 1.1s ease-in-out infinite;
}

.mb-float-bottom {
    animation:
        mbFloatIn .7s .5s cubic-bezier(.22, 1, .36, 1) both,
        mbFloatBottom 4.5s 1.2s ease-in-out infinite;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.mb-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.22, 1, .36, 1);
}

.mb-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   CARD MICRO INTERACTION
   ========================================================= */

.mb-service-card,
.mb-directory-card {
    will-change: transform;
}

.mb-service-card:hover,
.mb-directory-card:hover {
    transform: translateY(-7px);
}

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes mbHeroReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mbDashboardIn {
    from {
        opacity: 0;
        transform: translateX(50px) rotate(5deg) scale(.94);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(1deg) scale(1);
    }
}

@keyframes mbDashboardFloat {
    0%, 100% {
        transform: rotate(1deg) translateY(0);
    }
    50% {
        transform: rotate(1deg) translateY(-10px);
    }
}

@keyframes mbFloatIn {
    from {
        opacity: 0;
        transform: scale(.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes mbFloatTop {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes mbFloatBottom {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   NEW HOMEPAGE SECTIONS — balanced worker/client positioning
   ========================================================= */

/* ---------- Bilingual supporting lines (Amharic as secondary language) ---------- */
.mb-eyebrow-am{font-style:normal;margin-left:8px;padding-left:8px;border-left:1px solid #e8e0d8;color:#a39b92;font-weight:700}
.mb-am-line{display:block;margin-top:6px;color:#9b948d;font-size:var(--ph-fs-xs);line-height:1.6}
.mb-am-line-light{color:rgba(255,255,255,.65)}

/* ---------- Two primary paths ---------- */
.mb-paths{background:#fff;padding:0 0 90px}
.mb-paths-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mb-path-card{display:flex;align-items:center;gap:18px;padding:26px 28px;border:1px solid var(--ph-border);border-radius:17px;background:#fcfbfa;transition:.2s}
.mb-path-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(35,25,18,.08);border-color:#d9cec4}
.mb-path-icon{width:50px;height:50px;flex:none;border-radius:13px;background:#fff0ef;color:var(--ph-red);display:grid;place-items:center;font-size:var(--ph-fs-lg)}
.mb-path-card-dark{background:#181818;border-color:#181818}
.mb-path-card-dark .mb-path-icon{background:#2a2221}
.mb-path-body{flex:1}
.mb-path-kicker{display:block;font-size:var(--ph-fs-2xs);letter-spacing:.1em;font-weight:800;color:#aaa29a;margin-bottom:4px}
.mb-path-card-dark .mb-path-kicker{color:#8b857f}
.mb-path-body h3{font-size:var(--ph-fs-md);margin:0;letter-spacing:-.01em}
.mb-path-card-dark h3{color:#fff}
.mb-path-cta{flex:none;font-size:var(--ph-fs-xs);font-weight:800;color:var(--ph-red);white-space:nowrap}
.mb-path-card-dark .mb-path-cta{color:#fff}
.mb-path-cta i{margin-left:6px}

/* ---------- Refer & earn ---------- */
.mb-refer{background:var(--ph-cream);padding:70px 0}
.mb-refer-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}
.mb-refer-kicker{color:var(--ph-red)}
.mb-refer-copy h2{font-size:clamp(28px,3.2vw,40px);letter-spacing:-.03em;margin:12px 0 14px}
.mb-refer-copy>p{color:var(--ph-muted);font-size:var(--ph-fs-md);line-height:1.75;margin:0 0 24px;max-width:480px}
.mb-refer-stats{display:grid;gap:14px}
.mb-refer-stat{padding:22px 26px;background:#fff;border:1px solid var(--ph-border);border-radius:15px}
.mb-refer-stat strong{display:block;font-size:32px;letter-spacing:-.02em;color:var(--ph-red)}
.mb-refer-stat span{font-size:var(--ph-fs-xs);color:#8b847d}

/* ---------- Two-sided audience section ---------- */
.mb-audiences{background:var(--ph-cream)}
.mb-audience-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:22px;align-items:center}
.mb-audience-card{background:#fff;border:1px solid var(--ph-border);border-radius:19px;padding:34px}
.mb-audience-icon{width:52px;height:52px;border-radius:14px;background:#fff0ef;color:var(--ph-red);display:grid;place-items:center;font-size:var(--ph-fs-lg);margin-bottom:20px}
.mb-audience-card h3{font-size:var(--ph-fs-xl);letter-spacing:-.02em;margin:0 0 10px}
.mb-audience-card>p{font-size:var(--ph-fs-sm);line-height:1.75;color:#7d7670;margin:0 0 22px}
.mb-audience-flow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 0;margin-bottom:22px;border-top:1px solid var(--ph-border);border-bottom:1px solid var(--ph-border)}
.mb-audience-flow span{font-size:var(--ph-fs-xs);font-weight:800;color:var(--ph-dark)}
.mb-audience-flow i{font-size:10px;color:#c9c1b8}
.mb-audience-cta{display:inline-flex;align-items:center;gap:8px;font-size:var(--ph-fs-xs);font-weight:800;color:var(--ph-red)}
.mb-audience-connector{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--ph-border);color:#c9c1b8;font-size:var(--ph-fs-sm)}

/* ---------- Promotional slider ---------- */
.mb-slider{background:#fff;padding:70px 0}
.mb-slider-viewport{position:relative;min-height:230px;border:1px solid var(--ph-border);border-radius:20px;background:linear-gradient(135deg,#fbf8f4 0%,#fff 60%);overflow:hidden}
.mb-slide{position:absolute;inset:0;padding:44px 50px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;opacity:0;visibility:hidden;transform:translateX(24px);transition:opacity .45s ease,transform .45s ease,visibility .45s}
.mb-slide.is-active{opacity:1;visibility:visible;transform:translateX(0);position:relative}
.mb-slide-kicker{font-size:var(--ph-fs-2xs);letter-spacing:.14em;font-weight:800;color:var(--ph-red)}
.mb-slide h3{font-size:clamp(22px,2.6vw,30px);letter-spacing:-.02em;margin:0;max-width:520px}
.mb-slide p{font-size:var(--ph-fs-sm);color:#7d7670;line-height:1.7;margin:0;max-width:480px}
.mb-slider-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:22px}
.mb-slider-arrow{width:38px;height:38px;border-radius:50%;border:1px solid var(--ph-border);background:#fff;color:var(--ph-dark);display:grid;place-items:center;cursor:pointer}
.mb-slider-arrow:hover{border-color:#d9cec4;color:var(--ph-red)}
.mb-slider-dots{display:flex;gap:8px}
.mb-slider-dot{width:8px;height:8px;border-radius:50%;background:#e5ddd3;border:0;cursor:pointer;padding:0}
.mb-slider-dot.is-active{background:var(--ph-red);width:22px;border-radius:99px;transition:width .25s ease}

/* ---------- More ways to grow ---------- */
.mb-more-grow{background:#fff}
.mb-grow-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mb-grow-card{padding:32px;border:1px solid var(--ph-border);border-radius:17px;background:#fcfbfa}
.mb-grow-card h3{font-size:var(--ph-fs-xl);letter-spacing:-.02em;margin:0 0 8px}
.mb-grow-card>p{font-size:var(--ph-fs-sm);color:#7d7670;margin:0 0 18px}
.mb-grow-card .mb-service-link{position:static;color:var(--ph-red)}

/* ---------- Trust stats ---------- */
.mb-trust{background:var(--ph-cream)}
.mb-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mb-trust-stat{text-align:center;padding:34px 20px;background:#fff;border:1px solid var(--ph-border);border-radius:17px}
.mb-trust-stat strong{display:block;font-size:clamp(30px,3.4vw,40px);letter-spacing:-.03em;color:var(--ph-red)}
.mb-trust-stat span{display:block;font-size:var(--ph-fs-base);font-weight:800;margin-top:6px}
.mb-trust-stat small{display:block;font-size:var(--ph-fs-xs);color:#8b847d;margin-top:4px}

/* ---------- Testimonials ---------- */
.mb-testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mb-testimonial-card{background:#fff;border:1px solid var(--ph-border);border-radius:19px;padding:30px}
.mb-testimonial-stars{color:var(--ph-red);font-size:15px;letter-spacing:2px;margin-bottom:14px}
.mb-testimonial-quote{font-size:var(--ph-fs-md);line-height:1.7;color:var(--ph-dark);margin:0 0 20px}
.mb-testimonial-author{display:flex;flex-direction:column;font-size:var(--ph-fs-sm)}
.mb-testimonial-author strong{font-weight:800}
.mb-testimonial-author span{color:#8b847d;font-size:var(--ph-fs-xs);margin-top:2px}
.mb-testimonial-author span i{margin-right:5px;color:#4285F4}

/* ---------- CTA band: dual buttons ---------- */
.mb-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.mb-btn-outline-white{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
.mb-btn-outline-white:hover{border-color:#fff}

@media(max-width:680px){
  .mb-paths-grid{grid-template-columns:1fr}
  .mb-path-card{flex-wrap:wrap}
  .mb-refer-inner{grid-template-columns:1fr;gap:30px}
  .mb-refer-stats{grid-template-columns:1fr 1fr}
  .mb-audience-grid{grid-template-columns:1fr}
  .mb-audience-connector{margin:auto;transform:rotate(90deg)}
  .mb-slide{padding:30px 26px}
  .mb-slider-viewport{min-height:300px}
  .mb-grow-grid{grid-template-columns:1fr}
  .mb-trust-grid{grid-template-columns:1fr}
  .mb-testimonial-grid{grid-template-columns:1fr}
  .mb-cta-inner{align-items:flex-start}
  .mb-cta-actions{width:100%}
  .mb-cta-actions>a{flex:1}
}

