/* JobMatch visual system — self-hosted, no fonts, images or UI frameworks. */
:root{--ink:#f5f8ff;--muted:#b3c4e3;--line:rgba(155,185,255,.22);--panel:rgba(21,35,65,.82);--accent:#8fd8ff;--violet:#b59aff;--ease:cubic-bezier(.2,.8,.2,1);color-scheme:dark}
html{scroll-behavior:smooth}
body{background:radial-gradient(ellipse 65% 50% at 9% -14%,rgba(70,91,200,.28),transparent 75%),radial-gradient(ellipse 55% 45% at 100% 8%,rgba(39,179,184,.14),transparent 78%),linear-gradient(145deg,#070e20 0%,#0d1730 52%,#111228 100%)!important;color:var(--ink)}
body::before{content:'';position:fixed;z-index:-1;inset:0;pointer-events:none;background-image:linear-gradient(rgba(140,183,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(140,183,255,.025) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,black,transparent 75%)}
::selection{background:#5b6fd6;color:white}
header{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body:has(.journey) header{border-bottom:1px solid rgba(149,179,255,.1);max-width:none;padding:20px max(24px,calc((100% - 1180px)/2))}
body:has(.journey) main{max-width:1180px}
body:has(.journey) nav strong{font-size:1.2rem;letter-spacing:-.035em}
.hero{position:relative;overflow:hidden;background:linear-gradient(112deg,rgba(38,73,160,.88),rgba(98,52,161,.76) 55%,rgba(18,117,145,.86))!important;border:1px solid rgba(193,217,255,.24);box-shadow:0 24px 68px rgba(3,6,23,.48),inset 0 1px rgba(255,255,255,.15)!important}
.hero::after{content:'';position:absolute;right:-18%;top:-55%;width:54%;aspect-ratio:1;border:1px solid rgba(210,236,255,.23);border-radius:50%;box-shadow:0 0 0 38px rgba(255,255,255,.025),0 0 0 95px rgba(255,255,255,.018);pointer-events:none}
.hero h1{position:relative;z-index:1;max-width:850px;text-wrap:balance;letter-spacing:-.052em}
.hero p{position:relative;z-index:1;max-width:690px;line-height:1.7;font-size:1.08rem;color:#eef4ff}
.hero .eyebrow,.eyebrow{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.16em;font-size:.76rem;font-weight:800;color:#dceeff}
.hero .eyebrow::before{content:'';width:7px;height:7px;background:#9bf6d1;border-radius:50%;box-shadow:0 0 0 4px rgba(155,246,209,.15)}
.hero .btn,.btn,button:not(.secondary){display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(105deg,#a7e1ff,#b4bbff)!important;color:#111b3f!important;font-weight:750;border:0;border-radius:12px;box-shadow:0 10px 26px rgba(6,14,43,.25),inset 0 1px rgba(255,255,255,.7);transition:transform .2s var(--ease),box-shadow .2s var(--ease),filter .2s var(--ease)}
.hero .btn:hover,.btn:hover,button:not(.secondary):hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(6,14,43,.35);filter:saturate(1.08)}
button,.btn,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a5edfc!important;outline-offset:3px}
.card,.metric,.panel{background:linear-gradient(155deg,rgba(31,47,83,.91),rgba(17,27,51,.92))!important;border:1px solid var(--line)!important;box-shadow:0 12px 34px rgba(3,8,25,.25),inset 0 1px rgba(238,246,255,.05)!important;transition:border-color .2s var(--ease),transform .22s var(--ease),box-shadow .22s var(--ease)}
.card:hover,.panel:hover{border-color:rgba(164,204,255,.36)!important;box-shadow:0 19px 44px rgba(3,8,25,.33)!important}
.journey{margin:52px 0 38px}.journey h2{font-size:clamp(28px,4vw,43px);letter-spacing:-.045em;margin:6px 0 12px}.journey>p{color:var(--muted);max-width:700px;line-height:1.7}
.journey-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:28px}
.journey-step{position:relative;min-height:210px;padding:25px 21px;border-radius:20px;background:linear-gradient(150deg,rgba(35,54,93,.8),rgba(16,28,52,.92));border:1px solid var(--line);box-shadow:0 10px 25px rgba(3,6,25,.22)}
.journey-step::after{content:'›';position:absolute;right:-15px;top:45%;z-index:2;color:#b4dfff;font-size:30px;text-shadow:0 0 10px #183456}
.journey-step:last-child::after{display:none}
.journey-index{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,rgba(134,207,255,.24),rgba(181,149,255,.24));color:#d5ecff;font-weight:800}
.journey-step h3{font-size:1.06rem;margin:22px 0 8px;letter-spacing:-.02em}.journey-step p{color:#bfcee6;font-size:.93rem;line-height:1.55;margin:0}
.journey-cta{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;margin-top:22px;padding:22px 24px;border:1px solid rgba(134,221,238,.25);border-radius:17px;background:linear-gradient(105deg,rgba(13,90,112,.24),rgba(93,57,153,.2))}
.journey-cta p{margin:0;color:#e7f1ff}.journey-cta a{white-space:nowrap}
body:has(.journey) main>.card{display:inline-block;vertical-align:top;width:calc(33.333% - 16px);min-height:148px;margin:8px;box-sizing:border-box}
.card h2{letter-spacing:-.025em}.card p{line-height:1.65;color:#cbd8ef}
body:has(#cv-upload) #cv-upload{border-color:rgba(127,211,248,.48)!important;background:linear-gradient(130deg,rgba(23,76,111,.58),rgba(34,32,77,.84))!important}
body:has(#cv-upload) #cv-upload label{font-weight:700;display:block;margin-bottom:12px}
body:has(#cv-upload) #cv-upload.is-next-step{outline:2px solid rgba(147,226,255,.62);outline-offset:3px;animation:rise-in .55s var(--ease) both}
body:has(#cv-upload) section{margin-top:30px}
body:has(#cv-upload) .job strong{display:inline-flex;width:max-content;max-width:100%;padding:8px 12px;border-radius:9px;color:#d8f1ff;background:rgba(39,123,168,.24);border:1px solid rgba(118,195,239,.24)}
body:has(#cv-upload) .hero .metric{backdrop-filter:blur(4px)}
body:has(.journey) footer{border-top:1px solid rgba(157,188,255,.14);margin-top:48px;color:var(--muted);line-height:2}
body:has(.journey) footer a{white-space:nowrap}
.journey-step,.journey-cta,.hero{animation:rise-in .6s var(--ease) both}.journey-step:nth-child(2){animation-delay:.08s}.journey-step:nth-child(3){animation-delay:.16s}.journey-step:nth-child(4){animation-delay:.24s}
@keyframes rise-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-step:nth-child(2)::after{display:none}body:has(.journey) main>.card{width:calc(50% - 16px)}}
@media(max-width:600px){.journey{margin-top:32px}.journey-grid{grid-template-columns:1fr;gap:11px}.journey-step{min-height:0;padding:19px 20px}.journey-step::after{display:none}.journey-step h3{margin-top:12px}.journey-cta{align-items:stretch;flex-direction:column}.journey-cta a{text-align:center}body:has(.journey) main>.card{display:block;width:auto;margin:12px 0}.hero::after{opacity:.45}body:has(.journey) header{padding:15px}body:has(.journey) nav{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero,.journey-step,.journey-cta{animation:none!important}*,*::before,*::after{transition:none!important}}
