/* For Candidates page (cn2-*). Loaded after rootz-pages.css. */
:root { --cn-ease: cubic-bezier(.22, 1, .36, 1); --cn-skew: -12deg; }
.cn2-h1 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 78px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: var(--rz-ink); }
.cn2-h2 { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--rz-ink); }
.cn2-h1 em, .cn2-h2 em { font-style: normal; color: var(--rz-red); }
.cn2-lead { margin: 0 0 28px; max-width: 520px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; color: var(--rz-muted); }

/* slanted photos */
.cn2-sk { position: absolute; margin: 0; overflow: hidden; transform: skewX(var(--cn-skew)); background: linear-gradient(135deg, #f7d9d9, #e9ecf5); }
.cn2-sk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: skewX(12deg) scale(1.3); }

/* hero */
.cn2-hero { background: linear-gradient(180deg, #fff, #fdf6f6); overflow: hidden; padding-bottom: clamp(24px, 3vw, 48px) !important; }
.cn2-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cn2-hero-v { position: relative; aspect-ratio: 1.3 / 1; }
.cn2-sk.hero { left: 14%; top: 2%; width: 84%; height: 94%; border-radius: 30px 80px 30px 30px; box-shadow: 0 30px 60px -30px rgba(22,22,22,.5); z-index: 2; }
.cn2-ring { position: absolute; left: 6%; top: -2%; width: 74%; height: 96%; border: 2px solid var(--rz-red); border-radius: 60px 0 0 60px; border-right: 0; transform: skewX(var(--cn-skew)); z-index: 1; }
.cn2-glow { position: absolute; left: 0; top: 24%; width: 40%; height: 70%; background: rgba(225,0,0,.07); border-radius: 50px; transform: skewX(var(--cn-skew)); z-index: 0; }
.cn2-feat { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(24px, 3vw, 44px) 0 0; padding: clamp(18px, 2vw, 28px) clamp(16px, 2vw, 32px); list-style: none; border-radius: 26px; background: #fff; box-shadow: 0 22px 50px -32px rgba(22,22,22,.35); border: 1px solid rgba(22,22,22,.06); }
.cn2-feat li { display: flex; align-items: center; gap: 14px; padding: 0 clamp(10px, 1.6vw, 24px); border-left: 1px solid rgba(22,22,22,.1); }
.cn2-feat li:first-child { border-left: 0; padding-left: 0; }
.cn2-feat .pg-ic { width: 52px; height: 52px; flex: none; background: transparent; }
.cn2-feat .pg-ic svg { width: 40px; height: 40px; }
.cn2-feat b { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--rz-ink); }
.cn2-feat span { display: block; font-size: 13px; line-height: 1.45; color: var(--rz-muted); }

/* journey */
.cn2-j { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cn2-j-v { position: relative; aspect-ratio: .95 / 1; }
.cn2-sk.side { left: 14%; top: 4%; width: 74%; height: 92%; border-radius: 30px 30px 60px 30px; box-shadow: 0 30px 60px -30px rgba(22,22,22,.5); z-index: 1; }
.cn2-slash { position: absolute; left: 4%; top: 6%; width: 22%; height: 26%; border: 0; border-top: 14px solid var(--rz-red); border-left: 14px solid var(--rz-red); border-radius: 36px 0 0 0; transform: skewX(var(--cn-skew)); z-index: 0; }
.cn2-mug { position: absolute; left: 22%; bottom: 14%; display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; border-radius: 18px; background: var(--rz-red); transform: skewX(12deg); box-shadow: 0 16px 30px -10px rgba(225,0,0,.6); }
.cn2-mug svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cn2-j-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 44px); }
.cn2-j-head p { margin: 0; max-width: 240px; padding-left: 24px; border-left: 1px solid rgba(22,22,22,.16); font-size: 14.5px; line-height: 1.55; color: var(--rz-muted); }
.cn2-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cn2-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; border-top: 2px solid rgba(225,0,0,.3); }
.cn2-s { position: relative; text-align: center; }
.cn2-s .pg-ic { position: relative; width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; background: #fdeaea; box-shadow: 0 0 0 6px #fff; transition: transform .5s var(--cn-ease), background .3s; }
.cn2-s .pg-ic svg { width: 32px; height: 32px; }
.cn2-s:hover .pg-ic { transform: translateY(-6px); background: var(--rz-red); }
.cn2-s:hover .pg-ic svg { stroke: #fff; }
.cn2-s b { display: block; font-size: 20px; font-weight: 700; color: var(--rz-red); }
.cn2-s h3 { margin: 4px 0 8px; font-size: clamp(16px, 1.35vw, 20px); font-weight: 700; line-height: 1.25; color: var(--rz-ink); }
.cn2-s p { margin: 0 auto; max-width: 170px; font-size: 14px; line-height: 1.5; color: var(--rz-muted); }
.cn2-j-n { margin: clamp(22px, 2.6vw, 36px) 0 0; font-size: 13.5px; color: var(--rz-muted); }

/* market + faq */
.cn2-m { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.cn2-where { padding: clamp(22px, 2.6vw, 38px); border-radius: 30px; background: linear-gradient(180deg, #fdf1f1, #fff8f8); border: 1px solid rgba(225,0,0,.08); }
.cn2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(18px, 2vw, 28px); }
.cn2-mc { position: relative; display: block; border-radius: 20px; background: #fff; border: 1.5px solid transparent; box-shadow: 0 14px 30px -20px rgba(22,22,22,.4); overflow: hidden; text-decoration: none; transition: transform .5s var(--cn-ease), border-color .3s, box-shadow .5s; }
.cn2-mc:hover, .cn2-mc:focus-visible { transform: translateY(-6px); border-color: var(--rz-red); box-shadow: 0 26px 44px -24px rgba(225,0,0,.45); }
.cn2-mi { display: flex; aspect-ratio: 1.35 / 1; overflow: hidden; background: linear-gradient(135deg, #f7d9d9, #e9ecf5); }
.cn2-mi img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cn-ease); }
.cn2-mi.two img { flex: 1 1 0; width: auto; min-width: 0; }
.cn2-sk.hero img { object-position: 50% 18%; transform: skewX(12deg) scale(1.12); }
.cn2-mc:hover .cn2-mi img { transform: scale(1.08); }
.cn2-ml { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 15px; font-weight: 700; color: var(--rz-ink); }
.cn2-ml svg { width: 18px; height: 18px; fill: none; stroke: var(--rz-red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cn2-priv { margin: 18px 0 0; font-size: 13px; color: var(--rz-muted); }
.cn2-faq .pg-faq { margin-top: 18px; gap: 10px; }
.cn2-faq .pg-faq details { border-radius: 16px; }

/* cta */
.cn2-cta { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: center; border-radius: 30px; overflow: hidden; background: linear-gradient(100deg, #8d0000, var(--rz-red) 55%, #f03030); color: #fff; min-height: 190px; }
.cn2-cta-v { position: relative; align-self: stretch; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.cn2-cta-v img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cn2-cta-t { padding: clamp(22px, 2.6vw, 38px) clamp(22px, 3vw, 48px) clamp(22px, 2.6vw, 38px) 0; }
.cn2-cta-t h2 { margin: 0 0 8px; font-size: clamp(24px, 2.8vw, 42px); font-weight: 700; letter-spacing: -.025em; color: #fff !important; }
.cn2-cta-t p { margin: 0 0 20px; font-size: clamp(14px, 1.2vw, 18px); color: rgba(255,255,255,.92) !important; }
.cn2-cta .rz-btn { background: #fff; color: var(--rz-red); border-color: #fff; }

@media (max-width: 991px) {
    .cn2-hero-grid, .cn2-j, .cn2-m { grid-template-columns: 1fr; }
    .cn2-hero-v { max-width: 560px; }
    .cn2-j-v { max-width: 380px; }
    .cn2-feat { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .cn2-feat li:nth-child(3) { border-left: 0; padding-left: 0; }
    .cn2-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .cn2-steps::before { display: none; }
    .cn2-cta { grid-template-columns: 1fr; }
    .cn2-cta-v { height: 160px; clip-path: none; }
    .cn2-cta-t { padding: 22px; }
}
@media (max-width: 575px) {
    .cn2-feat { grid-template-columns: 1fr; }
    .cn2-feat li { border-left: 0; padding-left: 0; }
    .cn2-cards { grid-template-columns: 1fr; }
    .cn2-mi { aspect-ratio: 2.2 / 1; }
}
@media (prefers-reduced-motion: reduce) { .cn2-mc, .cn2-mi img, .cn2-s .pg-ic { transition-duration: .01ms !important; } }

/* responsive fix: centre the journey photo on tablet */
@media (max-width: 991px) { .cn2-j-v { margin: 0 auto; } .cn2-hero-v { margin: 20px auto 0; } }
@media (max-width: 991px) { .cn2-hero-v, .cn2-j-v { width: 100%; } }
