/* MEPMate homepage: brand colours only (navy + blue from the logo, teal as the single accent).
   Preview layer over home-v2.css (2026-11-20). Loaded with ?brand=1 until approved. */

/* 1. palette: warm variables -> brand */
body.m2{
  --m-cream:#F2F7FF;      /* section backgrounds (was cream)      */
  --m-cream-d:#E3EDFD;    /* blobs on those sections              */
  --m-sun:#02BFA0;        /* accent (was yellow)                  */
  --m-peach:#E8F0FE;      /* heading pills (was peach)            */
  --m-brown:#1B3A6B;      /* tag / eyebrow text (was brown)       */
  --m-orange:#1D5EEA;     /* highlighted words (was orange)       */
}

/* 2. headings & small accents */
body.m2 .m2-tpill em{background:linear-gradient(90deg,#1D5EEA,#02BFA0);-webkit-background-clip:text;background-clip:text;color:transparent}
body.m2 .m2-eyebrow b{color:#02BFA0}
body.m2 .m2-tag{background:#EEF4FF;color:#1B3A6B}
body.m2 .m2-tag.loc{background:#F1F5F9;color:#334155}

/* hand-drawn scribbles / sparkles in the SVGs (inline stroke attributes) */
body.m2 svg path[stroke="#FFC93C"],body.m2 svg path[stroke="#E07A3A"]{stroke:#02BFA0}

/* 3. Verified hiring section */
body.m2 .m2-v-card{background:#fff;border:1px solid #DCE7FB;box-shadow:0 6px 18px rgba(29,94,234,.06)}

/* 4. How it works note */
body.m2 .m2-hiw-note{background:#F0F7FF;border-color:#CFE0FB}
body.m2 .m2-hiw-badge{background:#1D5EEA;color:#fff}
body.m2 .m2-hiw-note p{color:#1E3A5F}

/* 5. final CTA */
body.m2 .m2-cta{background:linear-gradient(135deg,#E8F0FE 0%,#EEF6FF 50%,#E6FAF6 100%)}
body.m2 .m2-cta .m2-pill{background:#fff;color:#1B3A6B}

/* 6. live job cards: New badge + highlight in teal */
body.m2 .m2-new-badge{background:#02BFA0;box-shadow:0 6px 14px rgba(2,191,160,.3)}
body.m2 .m2-job-new{border-color:#9FE6D8}

/* 7. inline-styled colour chips (hero icons, job-card initials, review avatars) -> blue / teal family */
body.m2 [style*="#FFF3D6"]{background:#E6FAF6!important;color:#007A66!important}
body.m2 [style*="#FDECEC"]{background:#EEF4FF!important;color:#1D5EEA!important}
body.m2 [style*="#F1ECFD"]{background:#E6FAF6!important;color:#007A66!important}
body.m2 [style*="#E6F4FD"]{background:#EEF4FF!important;color:#1B3A6B!important}
body.m2 [style*="color:#F59E0B"],body.m2 [style*="color:#EAB308"],body.m2 [style*="color:#6366F1"],body.m2 [style*="color:#D64545"],body.m2 [style*="color:#B7791F"]{color:#1D5EEA!important}
body.m2 [style*="background:#F59E0B"],body.m2 [style*="background:#EAB308"],body.m2 [style*="background:#6366F1"]{background:#1D5EEA!important}
body.m2 [style*="#9333EA"]{background:linear-gradient(135deg,#1D5EEA,#1B3A6B)!important}
body.m2 [style*="#E11D48"]{background:linear-gradient(135deg,#02BFA0,#007A66)!important}
body.m2 [style*="#D97706"]{background:linear-gradient(135deg,#3B82F6,#1D5EEA)!important}

/* 8. hero photo badges (inline --c colour per discipline) */
body.m2 [style*="--c:#F59E0B"]{--c:#02BFA0!important}
body.m2 [style*="--c:#EAB308"]{--c:#1D5EEA!important}
body.m2 [style*="--c:#6366F1"]{--c:#1B3A6B!important}

/* 9. decorative avatars in Verified hiring + Save/Apply popup sparkles */
body.m2 [style*="#F7B7C5"]{background:#DCE7FB!important;color:#1D5EEA!important}
body.m2 [style*="#FFC93C"]{background:#CFF5EC!important;color:#007A66!important}
body.m2 [style*="#FFD9B8"]{background:#E3EDFD!important;color:#1B3A6B!important}
body.m2 .m2m-fl{color:#02BFA0!important}
body.m2 .m2m-fl.f1{color:#1D5EEA!important}
