/* For Employers page (em2-*). Loaded after rootz-pages.css. */
:root { --em-ease: cubic-bezier(.22, 1, .36, 1); --em-skew: -12deg; }
.em2-h1 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: var(--rz-ink); }
.em2-h1 em, .em2-h2 em { font-style: normal; color: var(--rz-red); }
.em2-h2 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 54px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--rz-ink); }
.em2-lead, .em2-p { margin: 0 0 26px; max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--rz-muted); }
.em2-center { text-align: center; }
.em2-center .em2-p { margin-left: auto; margin-right: auto; }
.em2-center .pg-eyebrow { justify-content: center; }

/* slanted photos */
.em2-sk { position: absolute; margin: 0; overflow: hidden; border-radius: 30px; transform: skewX(var(--em-skew)); box-shadow: 0 30px 60px -30px rgba(22,22,22,.45); background: linear-gradient(135deg, #f7d9d9, #e9ecf5); }
.em2-sk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: skewX(12deg) scale(1.28); }
.em2-slash { position: absolute; background: linear-gradient(180deg, #ff3b3b, var(--rz-red)); border-radius: 18px; transform: skewX(var(--em-skew)); }

/* hero */
.em2-hero { background: linear-gradient(180deg, #fff, var(--rz-blush)); overflow: hidden; }
.em2-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.em2-trio { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 34px 0 0; padding: 0; list-style: none; }
.em2-trio li { display: flex; align-items: center; gap: 10px; padding: 0 20px; border-left: 1px solid rgba(22,22,22,.14); font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--rz-ink); max-width: 190px; }
.em2-trio li:first-child { padding-left: 0; border-left: 0; }
.em2-trio .pg-ic { width: 42px; height: 42px; flex: none; }
.em2-hero-v { position: relative; aspect-ratio: 1.15 / 1; }
.em2-hero-v .sg { left: 2%; top: 4%; width: 62%; height: 70%; z-index: 1; }
.em2-hero-v .vn { right: 0; top: 22%; width: 60%; height: 72%; z-index: 2; border-radius: 30px 60px 30px 30px; border: 6px solid #fff; }
.em2-slash.a { right: 8%; top: -8%; width: 14%; height: 36%; z-index: 0; }
.em2-slash.b { left: 40%; bottom: -6%; width: 20%; height: 18%; z-index: 3; opacity: .95; }
.em2-pill { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px -10px rgba(22,22,22,.4); font-size: 14px; font-weight: 600; color: var(--rz-ink); }
.em2-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--rz-red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.em2-pill.p-sg { left: 34%; top: 2%; }
.em2-pill.p-vn { right: 18%; bottom: 14%; }

/* how we help */
.em2-help { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.em2-help-v { position: relative; aspect-ratio: 1.9 / 1; }
.em2-sk.wide { left: 6%; top: 0; width: 92%; height: 100%; }
.em2-slash.c { left: 0; bottom: 6%; width: 9%; height: 52%; z-index: 0; }
.em2-mug { position: absolute; right: 22%; top: 38%; display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 14px; background: var(--rz-red); transform: skewX(12deg); box-shadow: 0 14px 28px -10px rgba(225,0,0,.6); }
.em2-mug svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* process */
.em2-flow { position: relative; padding: clamp(32px, 4vw, 60px) clamp(18px, 3vw, 48px) clamp(34px, 4vw, 56px); border-radius: 36px; background: linear-gradient(180deg, #fdf1f1, #fff6f6); overflow: hidden; }
.em2-flow::before { content: ""; position: absolute; left: 16px; top: 16px; width: 150px; height: 120px; background-image: radial-gradient(rgba(225,0,0,.25) 1.4px, transparent 1.5px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%); mask-image: linear-gradient(135deg, #000, transparent 75%); }
.em2-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(24px, 3vw, 44px); }
.em2-wave { position: absolute; left: 0; right: 0; top: 14px; width: 100%; height: 110px; pointer-events: none; }
.em2-wave path { fill: none; stroke: rgba(225,0,0,.45); stroke-width: 2; vector-effect: non-scaling-stroke; }
.em2-s { position: relative; text-align: center; padding: 0 6px; }
.em2-s .pg-ic { width: 78px; height: 78px; margin: 0 auto 12px; border-radius: 50%; background: #fff; box-shadow: 0 14px 30px -12px rgba(225,0,0,.35); transition: transform .5s var(--em-ease), background .3s; }
.em2-s .pg-ic svg { width: 36px; height: 36px; }
.em2-s:hover .pg-ic { transform: translateY(-6px); background: var(--rz-red); }
.em2-s:hover .pg-ic svg { stroke: #fff; }
.em2-s.s2 .pg-ic { transform: translateY(18px); } .em2-s.s2:hover .pg-ic { transform: translateY(12px); }
.em2-s.s2 > b, .em2-s.s2 h3, .em2-s.s2 p { transform: translateY(18px); }
.em2-s.s3 .pg-ic { transform: translateY(-4px); } .em2-s.s3:hover .pg-ic { transform: translateY(-10px); }
.em2-s.s4 .pg-ic { transform: translateY(-6px); } .em2-s.s4:hover .pg-ic { transform: translateY(-12px); }
.em2-s b { display: block; font-size: 24px; font-weight: 700; color: var(--rz-red); }
.em2-s h3 { margin: 4px 0 8px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.01em; color: var(--rz-ink); }
.em2-s p { margin: 0 auto; max-width: 230px; font-size: 15px; line-height: 1.55; color: var(--rz-muted); }

/* details */
.em2-need { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: clamp(26px, 3vw, 44px) 0 0; padding: 0; list-style: none; }
.em2-need li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 12px 22px; text-align: center; border-radius: 22px; background: #fff; border: 1px solid rgba(22,22,22,.08); box-shadow: 0 12px 30px -22px rgba(22,22,22,.3); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--rz-ink); transition: transform .5s var(--em-ease), box-shadow .5s, border-color .4s; }
.em2-need li:hover { transform: translateY(-6px); border-color: rgba(225,0,0,.35); box-shadow: 0 26px 44px -26px rgba(225,0,0,.4); }
.em2-need small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--rz-muted); }
.em2-need .pg-ic { width: 52px; height: 52px; }

/* cta */
.em2-cta { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); padding: clamp(20px, 2.4vw, 34px) clamp(22px, 3vw, 44px); border-radius: 30px; background: linear-gradient(100deg, #c40000, var(--rz-red) 50%, #f03030); color: #fff; }
.em2-cta-i { display: flex; flex: none; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 22px; background: rgba(255,255,255,.18); }
.em2-cta-i svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.em2-cta-t { flex: 1; padding-left: clamp(16px, 2.4vw, 34px); border-left: 1px solid rgba(255,255,255,.4); }
.em2-cta-t h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.02em; color: #fff !important; }
.em2-cta-t p { margin: 0; font-size: clamp(14px, 1.2vw, 17px); color: rgba(255,255,255,.92) !important; }
.em2-cta .rz-btn { background: #fff; color: var(--rz-red); border-color: #fff; }

@media (max-width: 991px) {
    .em2-hero-grid, .em2-help { grid-template-columns: 1fr; }
    .em2-hero-v { max-width: 560px; }
    .em2-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .em2-wave { display: none; }
    .em2-s.s2 .pg-ic, .em2-s.s2 > b, .em2-s.s2 h3, .em2-s.s2 p { transform: none; }
    .em2-need { grid-template-columns: repeat(3, 1fr); }
    .em2-cta { flex-wrap: wrap; }
    .em2-cta-i { order: 1; }
    .em2-cta-t { border-left: 0; padding-left: 0; flex-basis: 100%; order: 2; }
    .em2-cta .pg-ctas { order: 3; }
}
@media (max-width: 575px) {
    .em2-trio li { max-width: none; border-left: 0; padding: 0 16px 0 0; }
    .em2-steps { grid-template-columns: 1fr; }
    .em2-need { grid-template-columns: repeat(2, 1fr); }
    .em2-pill { font-size: 12px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) { .em2-s .pg-ic, .em2-need li { transition-duration: .01ms !important; } }

/* icons sit exactly on the wave: --wy is measured from the curve by rootz-pages.js */
.em2-s .pg-ic, .em2-s.s2 .pg-ic, .em2-s.s3 .pg-ic, .em2-s.s4 .pg-ic { transform: translateY(var(--wy, 0px)); }
.em2-s:hover .pg-ic, .em2-s.s2:hover .pg-ic, .em2-s.s3:hover .pg-ic, .em2-s.s4:hover .pg-ic { transform: translateY(calc(var(--wy, 0px) - 6px)); }
.em2-s > b, .em2-s h3, .em2-s p, .em2-s.s2 > b, .em2-s.s2 h3, .em2-s.s2 p { transform: translateY(var(--wy, 0px)); }
@media (max-width: 991px) { .em2-s .pg-ic, .em2-s > b, .em2-s h3, .em2-s p { transform: none !important; } }

/* responsive fix: keep the hero artwork clear of the feature row on tablet */
@media (max-width: 991px) { .em2-hero-v { margin: 36px auto 0; } .em2-trio li { max-width: none; } }
@media (max-width: 991px) { .em2-hero-v { width: 100%; } }
