/* Sign-up pop-up (js/join.js). One question per screen.
   --acc, --tint and --deep change with the audience: blue for students, coral for employers, lilac for universities. */
.jn-lock {overflow:hidden}
.jn {position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:24px; box-sizing:border-box; --acc:#2A6FDB; --tint:#E9F1FB; --deep:#184980; --ring:rgba(42,111,219,.16)}
.jn[hidden], .jn [hidden] {display:none !important}
.jn[data-who="pick"] {--acc:#111216; --tint:#F3F2ED; --deep:#111216; --ring:rgba(17,18,22,.1)}
.jn[data-who="employer"] {--acc:#FF6B4A; --tint:#FBEDE8; --deep:#A3381F; --ring:rgba(255,107,74,.18)}
.jn[data-who="university"] {--acc:#8B84C0; --tint:#EDEBF8; --deep:#4A4580; --ring:rgba(139,132,192,.22)}

.jn-bg {position:absolute; inset:0; background:rgba(17,18,22,.44); -webkit-backdrop-filter:blur(12px) saturate(1.2); backdrop-filter:blur(12px) saturate(1.2); opacity:0; transition:opacity .35s ease}
.jn-on .jn-bg {opacity:1}
.jn-box {position:relative; display:flex; flex-direction:column; width:100%; max-width:760px; height:min(660px,100%); overflow:hidden; border-radius:14px; background:#FFFFFF; color:#111216; box-shadow:0 44px 110px -34px rgba(17,18,22,.55), 0 0 0 1px rgba(17,18,22,.06); opacity:0; transform:translate3d(0,20px,0) scale(.975); transition:opacity .28s ease, transform .55s cubic-bezier(.22,1,.36,1)}
.jn-on .jn-box {opacity:1; transform:none}

.jn-bar {flex:0 0 3px; background:rgba(17,18,22,.06)}
.jn-bar i {display:block; height:100%; background:var(--acc); transform-origin:0 50%; transform:scaleX(0); transition:transform .7s cubic-bezier(.22,1,.36,1), background-color .4s ease}
.jn-top {flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 14px 0 24px}
.jn-id {display:inline-flex; align-items:center; gap:12px; min-width:0; font-size:13.5px; font-weight:500; color:#5B5E66}
.jn-logo {flex:0 0 auto; width:43px; height:16px}
.jn-lab {padding-left:12px; border-left:1px solid rgba(17,18,22,.14); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.jn-x {flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:0; border-radius:9px; background:transparent; color:#5B5E66; cursor:pointer; transition:background-color .2s ease, color .2s ease}
.jn-x:hover {background:#F1F0EB; color:#111216}

/* steps slide through: the old one leaves upward, the next arrives from below (reversed going back) */
.jn-body {position:relative; flex:1 1 auto; min-height:0; margin:0}
.jn-step {position:absolute; inset:0; display:flex; overflow-y:auto; padding:20px 64px; box-sizing:border-box; transition:opacity .38s ease .1s, transform .6s cubic-bezier(.22,1,.36,1) .1s}
.jn-step-in {width:100%; max-width:580px; margin:auto; outline:none}
.jn-from-below {opacity:0; transform:translate3d(0,38px,0); transition:none}
.jn-from-above {opacity:0; transform:translate3d(0,-38px,0); transition:none}
.jn-to-above, .jn-to-below {opacity:0; pointer-events:none; transition:opacity .2s ease, transform .42s cubic-bezier(.4,0,.6,1)}
.jn-to-above {transform:translate3d(0,-38px,0)}
.jn-to-below {transform:translate3d(0,38px,0)}

.jn-k {margin:0 0 14px 0; font-size:15px; line-height:1.45; color:#5B5E66}
.jn-q {margin:0; font-size:clamp(26px,3.3vw,36px); line-height:1.12; text-wrap:balance; outline:none}
.jn-h {margin:12px 0 0 0; max-width:500px; font-size:15.5px; line-height:1.5; color:#5B5E66}

/* students: Dayo speaks first, in a message bubble */
.jn[data-who="student"] .jn-k {display:inline-block; margin-bottom:18px; padding:9px 13px; border-radius:10px 10px 10px 3px; background:var(--tint); color:var(--deep); font-weight:500}
/* universities: a section heading, a calmer question and labelled, boxed fields */
.jn[data-who="university"] .jn-k {margin-bottom:12px; font-size:11.5px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:#6A659E}
.jn[data-who="university"] .jn-q {font-size:clamp(23px,2.7vw,30px); line-height:1.16}

.jn-f {margin-top:28px}
.jn-l {display:block; margin:0 0 7px 0; font-size:13px; font-weight:500; color:#44474E}
.jn-in {display:block; width:100%; box-sizing:border-box; margin:0; padding:8px 0 12px 0; border:0; border-bottom:1.5px solid rgba(17,18,22,.2); border-radius:0; background:transparent; font:inherit; font-size:clamp(21px,2.4vw,27px); letter-spacing:-0.02em; color:#111216; outline:none; transition:border-color .25s ease, box-shadow .25s ease}
.jn-in::placeholder {color:#A6A8A3}
.jn-in:focus {border-bottom-color:var(--acc); box-shadow:0 1.5px 0 0 var(--acc)}
.jn-in:-webkit-autofill {-webkit-box-shadow:0 0 0 60px #FFFFFF inset; -webkit-text-fill-color:#111216}
.jn-in[aria-invalid="true"] {border-bottom-color:#C2412A}
textarea.jn-in {min-height:96px; resize:none; line-height:1.45}
.jn-in-sm, .jn[data-who="university"] .jn-in {padding:13px 14px; border:1px solid #CFCFC9; border-radius:8px; background:#FFFFFF; font-size:17px; letter-spacing:0}
.jn-in-sm:focus, .jn[data-who="university"] .jn-in:focus {border-color:var(--acc); box-shadow:0 0 0 4px var(--ring)}
.jn-in-sm[aria-invalid="true"], .jn[data-who="university"] .jn-in[aria-invalid="true"] {border-color:#C2412A}
.jn-fs {display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:26px}
.jn-fs .jn-f {margin-top:0}

.jn-opts {display:grid; gap:8px; max-width:460px; margin-top:24px}
.jn-opts-2 {grid-template-columns:1fr 1fr; max-width:none}
.jn-opts-2 .jn-opt {font-size:15px}
.jn-opt {display:flex; align-items:center; gap:12px; width:100%; min-height:46px; margin:0; padding:8px 12px; box-sizing:border-box; border:1px solid rgba(17,18,22,.15); border-radius:8px; background:#FFFFFF; font:inherit; font-size:15.5px; line-height:1.3; color:#111216; text-align:left; cursor:pointer; transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease}
.jn-opt:hover {background:var(--tint)}
.jn-opt:focus-visible, .jn-pick:focus-visible, .jn-x:focus-visible, .jn-back:focus-visible {outline:2px solid var(--acc); outline-offset:2px}
.jn-opt[aria-pressed="true"] {border-color:var(--acc); background:var(--tint); box-shadow:inset 0 0 0 1px var(--acc)}
.jn-key {flex:0 0 22px; display:inline-flex; align-items:center; justify-content:center; height:22px; border:1px solid rgba(17,18,22,.2); border-radius:5px; background:#FFFFFF; font-size:11px; font-weight:500; color:#5B5E66; transition:background-color .2s ease, color .2s ease, border-color .2s ease}
.jn-opt[aria-pressed="true"] .jn-key {border-color:var(--acc); background:var(--acc); color:#FFFFFF}
.jn-ot {flex:1 1 auto; min-width:0}
.jn-tk {flex:0 0 auto; display:inline-flex; color:var(--deep); opacity:0; transform:scale(.5); transition:opacity .2s ease, transform .35s cubic-bezier(.22,1,.36,1)}
.jn-opt[aria-pressed="true"] .jn-tk {opacity:1; transform:none}

.jn-picks {display:grid; gap:8px; margin-top:26px}
.jn-pick {display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:14px; width:100%; margin:0; padding:12px 12px 12px 18px; border:0; border-radius:10px; background:#F7F6F2; font:inherit; color:#111216; text-align:left; cursor:pointer; transition:transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease}
.jn-dot {width:9px; height:9px; border-radius:50%}
.jn-dot-student {background:#2A6FDB}
.jn-dot-employer {background:#FF6B4A}
.jn-dot-university {background:#8B84C0}
.jn-pt {font-size:clamp(18px,2vw,22px); line-height:1.15}
.jn-pn {font-size:13.5px; color:#7A7D85; white-space:nowrap}
.jn-pa {display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:9px; background:#111216; color:#FFFFFF; transition:background-color .3s ease}
.jn-pa svg {transition:transform .4s cubic-bezier(.7,0,.3,1)}
@media (hover:hover) {
.jn-pick:hover {transform:translate3d(6px,0,0)}
.jn-pick:hover .jn-pa {background:#2A6FDB}
.jn-pick:hover .jn-pa svg {transform:translate3d(3px,0,0)}
.jn-picks:has(.jn-pick:hover) .jn-pick:not(:hover) {opacity:.5}
}

.jn-err {min-height:20px; margin:10px 0 0 0; font-size:13.5px; line-height:1.45; color:#C2412A; opacity:0; transform:translate3d(0,-4px,0); transition:opacity .25s ease, transform .35s cubic-bezier(.22,1,.36,1)}
.jn-bad .jn-err {opacity:1; transform:none}
.jn-note {max-width:470px; margin:6px 0 0 0; font-size:12.5px; line-height:1.5; color:#7A7D85}
.jn-note a {color:inherit; text-decoration:underline; text-underline-offset:2px}
.jn-note a:hover {color:#111216}

.jn-foot {flex:0 0 auto; display:flex; align-items:center; gap:12px; min-height:46px; padding:14px 18px 18px 24px; border-top:1px solid rgba(17,18,22,.07)}
.jn-foot-bare {min-height:0; padding-top:0; border-top-color:transparent}
.jn-back {flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid rgba(17,18,22,.15); border-radius:9px; background:#FFFFFF; color:#111216; cursor:pointer; transition:background-color .2s ease}
.jn-back:hover {background:#F1F0EB}
.jn-count {font-size:13px; color:#7A7D85; font-variant-numeric:tabular-nums}
.jn-hint {margin-left:auto; font-size:12.5px; color:#7A7D85}
.jn-hint b {font-weight:500; color:#111216}
.jn-ok {min-height:46px; margin-left:4px; transition:opacity .2s ease}
.jn-hint[hidden] + .jn-ok {margin-left:auto}
.jn-ok.jn-wait {opacity:.55}

.jn-seal {display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; margin-bottom:24px; border-radius:14px; background:var(--acc); color:#FFFFFF}
.jn-seal path {stroke-dasharray:30; animation:jn-draw .7s cubic-bezier(.7,0,.3,1) .45s both}
@keyframes jn-draw {
from {stroke-dashoffset:30}
}
.jn-done .jn-h {margin-top:16px; font-size:17px; line-height:1.55}
.jn-done-a {margin-top:30px}

@media (hover:none) {
.jn-key, .jn-hint {display:none}
.jn-ok {margin-left:auto}
}
@media (max-width:640px) {
.jn {align-items:flex-start; padding:0}
.jn-box {max-width:none; height:var(--jn-vh,100dvh); border-radius:0; transform:translate3d(0,36px,0)}
.jn-top {padding:10px 8px 0 18px}
.jn-step {padding:8px 20px 20px 20px}
.jn-step-in {margin:4vh 0 auto 0}
.jn-q {font-size:27px}
.jn[data-who="university"] .jn-q {font-size:24px}
.jn-in {font-size:22px}
.jn-opts, .jn-opts-2 {grid-template-columns:1fr; gap:6px; max-width:none; margin-top:20px}
.jn-opt, .jn-opts-2 .jn-opt {min-height:44px; font-size:15.5px}
.jn-fs {grid-template-columns:1fr}
.jn-pick {grid-template-columns:auto minmax(0,1fr) auto; padding-left:16px}
.jn-pn {display:none}
.jn-foot {padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px)) 16px}
.jn-ok {flex:1 1 auto; margin-left:8px}
.jn-count {min-width:44px}
}
