/* ---------- Design tokens ---------- */
/* Palette and fonts (Poppins headings, Nunito body) taken from the afriknack.co.ke landing page. */
:root{
  /* AfriKnack brand palette — same codes as the afriknack.co.ke landing page */
  --orange:#F77507; --gold:#D4820C; --teal:#4A7B80; --sand:#D3C9A8; --cream:#F6F1E2; --ink:#1D3436;
  --brand-600:#F77507;
  --brand-700:#C25E00;   /* darker orange for text links / pressed states (readable on white) */
  --brand-50:#FDEBD9;
  --ink-900:#1D3436;
  --ink-700:#3B5658;
  --ink-500:#6B7F80;
  --ink-300:#A9B8B8;
  --line:#E4DCC2;
  --bg:#F6F1E2;
  --card:#ffffff;
  --warn:#D4820C;
  --warn-bg:#FBEED9;
  --danger:#B3261E;
  --danger-bg:#FDECEA;
  --info:#4A7B80;
  --info-bg:#E6EFEF;
  --success:#1A7F4F;
  --success-bg:#E8F5EE;
  --radius:18px;
  --shadow:0 1px 2px rgba(29,52,54,.07), 0 6px 18px rgba(29,52,54,.07);
  --maxw:1120px;
  --serif:'Poppins','Segoe UI',Arial,sans-serif;
  --font:'Nunito','Segoe UI',system-ui,-apple-system,sans-serif;
}

*{box-sizing:border-box; min-width:0}
html{-webkit-text-size-adjust:100%}
html, body{overflow-x:hidden; max-width:100%}
body{
  margin:0; font-family:var(--font); color:var(--ink-900); background:var(--bg);
  line-height:1.55; font-size:16px; overflow-wrap:break-word; word-break:break-word;
  padding-top:60px; /* matches the fixed header's height so content never starts underneath it */
}
img{max-width:100%; display:block}
a{color:var(--brand-700); text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.2; margin:0 0 .5em; font-weight:700}
h1{font-size:1.85rem}
h2{font-size:1.4rem}
h3{font-size:1.15rem}
p{margin:0 0 1em}
.container{max-width:var(--maxw); margin:0 auto; padding:0 16px; width:100%}

/* ---------- Header / nav ---------- */
/* Fixed, not sticky: the header stays pinned to the viewport top no matter
   how far the page scrolls, on every screen size — body's padding-top above
   reserves exactly its height so nothing renders underneath it on load. */
.site-header{background:var(--card); border-bottom:1px solid var(--line); position:fixed; top:0; left:0; right:0; width:100%; z-index:40}
.header-inner{display:flex; align-items:center; justify-content:space-between; height:60px; gap:12px}
.brand{font-weight:800; font-size:1.15rem; color:var(--ink-900); display:flex; align-items:center; gap:8px}
.brand span{color:var(--brand-600)}
.brand-mark{height:30px; width:auto; display:block; flex-shrink:0}
.nav-toggle{display:inline-flex; background:none; border:1px solid var(--line); border-radius:8px; font-size:1.3rem; padding:4px 10px; cursor:pointer}
.site-nav{
  display:none; position:absolute; top:60px; left:0; right:0; background:var(--card);
  border-bottom:1px solid var(--line); flex-direction:column; padding:8px 16px 16px; gap:2px;
  box-shadow:var(--shadow);
}
.site-nav.open{display:flex}
.site-nav a{padding:10px 4px; color:var(--ink-700); border-bottom:1px solid var(--line)}
.site-nav a:last-child{border-bottom:none}
.site-nav .nav-user{padding:10px 4px; color:var(--ink-500); font-size:.9rem}
.nav-badge-link{position:relative}
.nav-account{position:relative}
.nav-account summary{list-style:none; cursor:pointer}
.nav-account summary::-webkit-details-marker{display:none}
.nav-account summary::after{content:" \25BE"; font-size:.75em}
.nav-account-menu{display:flex; flex-direction:column; padding-left:12px}
.nav-account-menu a{border-bottom:1px solid var(--line)}
.nav-account-menu a:last-child{border-bottom:none}
.badge{
  display:inline-block; background:var(--danger); color:#fff; font-size:.7rem; font-weight:700;
  padding:1px 6px; border-radius:20px; margin-left:6px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block; padding:10px 18px; border-radius:8px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer; text-align:center; text-decoration:none;
}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--brand-600); color:#fff}
.btn-primary:hover{background:var(--brand-700)}
.btn-outline{background:transparent; border-color:var(--brand-600); color:var(--brand-700)}
.btn-outline:hover{background:var(--brand-50)}
.btn-danger{background:var(--danger); color:#fff}
.btn-ghost{background:transparent; color:var(--ink-700); border-color:var(--line)}
.btn-sm{padding:6px 12px; font-size:.85rem}
.btn-block{display:block; width:100%}
.btn[disabled]{opacity:.55; cursor:not-allowed}
.btn-row{display:flex; gap:10px; flex-wrap:wrap}

/* ---------- OAuth (Google/LinkedIn) buttons ---------- */
.oauth-divider{display:flex; align-items:center; gap:12px; margin:16px 0; color:var(--ink-500); font-size:.82rem}
.oauth-divider::before, .oauth-divider::after{content:""; flex:1; height:1px; background:var(--line)}
.btn-oauth{
  display:flex; align-items:center; justify-content:center; gap:10px; background:#fff; color:var(--ink-900);
  border:1px solid var(--line); font-weight:600;
}
.btn-oauth:hover{background:var(--bg); text-decoration:none}
.oauth-icon{
  display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:4px;
  font-weight:800; font-size:.78rem; flex-shrink:0;
}
.btn-oauth-google .oauth-icon{background:#fff; color:#4285f4; border:1px solid var(--line)}
.btn-oauth-linkedin .oauth-icon{background:#0a66c2; color:#fff}

/* ---------- Layout helpers ---------- */
.main-content{padding:24px 16px 60px}
.grid{display:grid; gap:16px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
@media(min-width:720px){
  .grid-2{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
}
.stack{display:flex; flex-direction:column; gap:14px}
.row{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.between{justify-content:space-between}
.muted{color:var(--ink-500)}
.small{font-size:.85rem}
.center{text-align:center}
.mt-0{margin-top:0} .mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:24px}
.mb-0{margin-bottom:0} .mb-1{margin-bottom:8px} .mb-2{margin-bottom:16px} .mb-3{margin-bottom:24px}

/* ---------- Cards ---------- */
.card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow);
}
.card + .card{margin-top:14px}
.card-flat{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px}

/* ---------- Forms ---------- */
label{display:block; font-weight:600; font-size:.88rem; margin-bottom:6px; color:var(--ink-700)}
.field{margin-bottom:16px}
.hint{font-size:.8rem; color:var(--ink-500); margin-top:4px}
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=search], select, textarea{
  width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:8px; font-size:1rem;
  font-family:var(--font); background:#fff; color:var(--ink-900);
}
textarea{resize:vertical; min-height:110px}
input:focus, select:focus, textarea:focus{outline:2px solid var(--brand-600); outline-offset:1px}
.form-row{display:grid; gap:14px; grid-template-columns:1fr}
@media(min-width:640px){ .form-row-2{grid-template-columns:1fr 1fr} .form-row-3{grid-template-columns:repeat(3,1fr)} }
.checkbox-row{display:flex; align-items:flex-start; gap:8px; font-weight:400; color:var(--ink-700)}
.checkbox-row input{width:auto; margin-top:4px}
.checkbox-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px 16px; margin-top:6px}

/* ---------- Password show/hide toggle (auto-applied by JS to every password field) ---------- */
.password-field{position:relative}
.password-field input{padding-right:56px}
.password-toggle{
  position:absolute; top:50%; right:6px; transform:translateY(-50%); background:none; border:none;
  color:var(--brand-700); font-size:.78rem; font-weight:700; cursor:pointer; padding:6px 8px; border-radius:6px;
}
.password-toggle:hover{background:var(--brand-50)}
.password-toggle:focus-visible{outline:2px solid var(--brand-600); outline-offset:1px}

/* ---------- Pills / badges ---------- */
.pill{
  display:inline-block; padding:3px 10px; border-radius:20px; font-size:.78rem; font-weight:700;
  background:#eee; color:#555;
}
.pill-muted{background:#eef1ef; color:var(--ink-500)}
.pill-info{background:var(--info-bg); color:var(--info)}
.pill-warn{background:var(--warn-bg); color:var(--warn)}
.pill-success{background:var(--success-bg); color:var(--success)}
.pill-danger{background:var(--danger-bg); color:var(--danger)}

/* ---------- Alerts ---------- */
.alert{padding:12px 14px; border-radius:8px; margin-bottom:14px; font-size:.92rem; border:1px solid transparent}
.alert-success{background:var(--success-bg); color:var(--success); border-color:#bfe8d3}
.alert-error{background:var(--danger-bg); color:var(--danger); border-color:#f3c6c2}
.alert-info{background:var(--info-bg); color:var(--info); border-color:#bcd6f5}
.alert-warn{background:var(--warn-bg); color:var(--warn); border-color:#f2dcb0}

/* ---------- Job cards / listing ---------- */
.job-card{display:flex; flex-direction:column; gap:6px}
.job-card h3{margin-bottom:2px}
.job-meta{display:flex; flex-wrap:wrap; gap:10px; font-size:.85rem; color:var(--ink-500)}
.job-salary{font-weight:700; color:var(--brand-700)}
.filter-bar{display:grid; gap:10px; grid-template-columns:1fr; margin-bottom:18px}
@media(min-width:720px){ .filter-bar{grid-template-columns:2fr 1fr 1fr auto} }

/* ---------- Tables (stack on mobile) ---------- */
table{width:100%; border-collapse:collapse}
.table-wrap{overflow-x:auto}
th, td{text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); font-size:.92rem}
th{color:var(--ink-500); font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.03em}

/* ---------- Steps / wizard ---------- */
.steps{display:flex; gap:6px; flex-wrap:wrap; margin-bottom:20px}
.step{
  flex:1; min-width:90px; text-align:center; padding:8px 6px; border-radius:8px; font-size:.78rem; font-weight:700;
  background:#eef1ef; color:var(--ink-500);
}
.step.active{background:var(--brand-600); color:#fff}
.step.done{background:var(--brand-50); color:var(--brand-700)}

/* ---------- Misc ---------- */
.hero{padding:40px 0 20px}
.hero h1{max-width:640px}
.divider{border:none; border-top:1px solid var(--line); margin:18px 0}
.avatar-circle{
  width:42px; height:42px; border-radius:50%; background:var(--brand-50); color:var(--brand-700);
  display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0;
}
.cv-watermark{position:relative}
.cv-watermark::after{
  content:"PREVIEW — PURCHASE TO DOWNLOAD"; position:absolute; inset:0; display:flex; align-items:center;
  justify-content:center; font-size:1.4rem; font-weight:800; color:rgba(179,38,30,.18); transform:rotate(-18deg);
  pointer-events:none; text-align:center; padding:20px;
}
.cv-preview-frame{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff}
.cv-preview-iframe{width:100%; height:900px; border:none; display:block}
.template-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
@media(min-width:640px){ .template-grid{grid-template-columns:repeat(5,1fr)} }
.template-option{
  display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 8px; border:2px solid var(--line);
  border-radius:10px; cursor:pointer; text-align:center; background:#fff; transition:border-color .15s, background .15s;
}
.template-option:hover{border-color:var(--brand-600)}
.template-option.selected{border-color:var(--brand-600); background:var(--brand-50)}
.template-swatch{width:28px; height:28px; border-radius:50%; display:block}
.template-name{font-weight:700; font-size:.85rem}

/* ---------- CV builder: visual template gallery (shown before picking) ---------- */
.cv-template-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
@media(min-width:640px){ .cv-template-grid{grid-template-columns:repeat(3,1fr)} }
@media(min-width:960px){ .cv-template-grid{grid-template-columns:repeat(5,1fr)} }
.cv-template-card{border:2px solid var(--line); border-radius:12px; padding:10px; cursor:pointer; background:#fff; transition:border-color .15s, box-shadow .15s; display:block}
.cv-template-card:hover{border-color:var(--brand-600)}
.cv-template-card.selected{border-color:var(--brand-600); box-shadow:0 0 0 3px var(--brand-50)}
.cv-template-preview{aspect-ratio:3/4; border-radius:8px; overflow:hidden; background:#f4f4f5; display:flex; border:1px solid var(--line); margin-bottom:8px}
.cv-template-preview.layout-single{flex-direction:column}
.cv-template-preview.layout-sidebar{flex-direction:row}
.cv-tpl-aside{width:34%; flex-shrink:0; background:var(--tpl-accent,#333); display:flex; flex-direction:column; align-items:center; gap:4px; padding-top:10px}
.cv-tpl-avatar{width:16px; height:16px; border-radius:50%; background:rgba(255,255,255,.75)}
.cv-tpl-head{height:24%; background:var(--tpl-accent,#333); flex-shrink:0; display:flex; align-items:center; padding:0 8px; gap:6px}
.cv-tpl-head .cv-tpl-avatar{width:14px; height:14px}
.cv-tpl-body{flex:1; padding:8px; display:flex; flex-direction:column; gap:5px; background:#fff}
.cv-tpl-line{height:3px; border-radius:2px; background:#d8d4cc}
.cv-tpl-line.accent{background:var(--tpl-accent,#333); opacity:.55}
.cv-tpl-line.w90{width:90%} .cv-tpl-line.w70{width:70%} .cv-tpl-line.w50{width:50%} .cv-tpl-line.w35{width:35%}
.cv-tpl-gap{height:4px}
.cv-template-name{font-weight:700; font-size:.85rem; text-align:center}
.cv-template-meta{font-size:.7rem; color:var(--ink-500); text-align:center}

/* ---------- CV builder: tabs ---------- */
.cv-tabs{display:flex; flex-wrap:wrap; gap:2px; border-bottom:1px solid var(--line); margin-bottom:20px}
.cv-tab-btn{padding:10px 16px; border:none; background:none; font-weight:600; color:var(--ink-500); cursor:pointer; border-bottom:2px solid transparent; font-size:.88rem; font-family:inherit}
.cv-tab-btn:hover{color:var(--ink-900)}
.cv-tab-btn.active{color:var(--brand-700); border-bottom-color:var(--brand-600)}
.cv-tab-panel{display:none}
.cv-tab-panel.active{display:block}

/* ---------- CV builder: repeatable entry cards (experience/education/extras) ---------- */
.cv-entry-card{border:1px solid var(--line); border-radius:10px; padding:14px; margin-bottom:12px; background:var(--bg)}
.cv-entry-card-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:8px}
.cv-entry-card-head strong{font-size:.82rem; color:var(--ink-500); text-transform:uppercase; letter-spacing:.03em}
.cv-entry-remove{background:none; border:none; color:var(--danger); cursor:pointer; font-size:.8rem; font-weight:600; padding:2px 4px}
.cv-add-entry-btn{background:none; border:1px dashed var(--brand-600); color:var(--brand-700); border-radius:8px; padding:10px; width:100%; cursor:pointer; font-weight:700; margin-top:2px; font-size:.88rem}
.cv-add-entry-btn:hover{background:var(--brand-50)}
.cv-current-row{display:flex; align-items:center; gap:6px; margin-top:6px; font-size:.85rem; color:var(--ink-700)}

/* ---------- CV builder: additional sections picker ---------- */
.cv-extra-grid{display:grid; grid-template-columns:1fr; gap:8px}
@media(min-width:640px){ .cv-extra-grid{grid-template-columns:repeat(2,1fr)} }
.cv-extra-option{display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:8px; padding:11px 14px; background:#fff; cursor:pointer; text-align:left; font-weight:600; font-size:.85rem; color:var(--ink-700); width:100%; font-family:inherit}
.cv-extra-option:hover{border-color:var(--brand-600); color:var(--brand-700); background:var(--brand-50)}
.cv-extra-option svg{color:var(--brand-600); flex-shrink:0}
.cv-added-section{border:1px solid var(--line); border-radius:10px; padding:14px; margin-bottom:14px; background:#fff}
.cv-added-section-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; gap:10px}
.cv-added-section-head input[type=text]{flex:1}

/* ---------- Simple bar chart (no JS charting library needed) ---------- */
.bar-chart{display:flex; align-items:flex-end; gap:4px; height:160px; padding-top:10px}
.bar-col{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:4px}
.bar{width:100%; max-width:26px; background:var(--brand-600); border-radius:4px 4px 0 0; min-height:4px}
.bar-label{font-size:.65rem; color:var(--ink-500); white-space:nowrap}

/* ---------- Homepage hero slider ---------- */
.hero-slider{position:relative; border-radius:14px; overflow:hidden; min-height:240px; margin-bottom:8px}
.hero-slide{
  display:none; padding:48px 28px; min-height:240px; flex-direction:column; justify-content:center;
  color:#fff; background-size:cover;
}
.hero-slide.active{display:flex}
.hero-slide h2{color:#fff; font-size:1.7rem; max-width:520px}
.hero-slide p{color:rgba(255,255,255,.92); max-width:480px}
.hero-dots{position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:8px}
.hero-dot{width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.5); border:none; cursor:pointer; padding:0}
.hero-dot.active{background:#fff}

/* ---------- Featured jobs strip ---------- */
.featured-card{border:1px solid var(--line); border-left:4px solid var(--danger)}

/* ---------- Jobs page layout with sidebar ---------- */
.jobs-layout{display:grid; grid-template-columns:1fr; gap:20px}
@media(min-width:900px){ .jobs-layout{grid-template-columns:1fr 280px} }
.filter-list{list-style:none; padding:0; margin:0}
.filter-list li{margin-bottom:2px}
.filter-list a{
  display:flex; justify-content:space-between; padding:7px 8px; border-radius:6px; color:var(--ink-700); font-size:.9rem;
}
.filter-list a:hover{background:var(--brand-50); text-decoration:none}
.filter-list a.active{background:var(--brand-50); color:var(--brand-700); font-weight:700}
.filter-list .count{color:var(--ink-500); font-weight:400}
.sidebar-section + .sidebar-section{margin-top:16px; padding-top:16px; border-top:1px solid var(--line)}

/* ---------- Rich text editor ---------- */
.editor-toolbar{display:flex; flex-wrap:wrap; gap:4px; padding:8px; border:1px solid var(--line); border-bottom:none;
  border-radius:8px 8px 0 0; background:#f6f8f7}
.editor-toolbar button{
  background:#fff; border:1px solid var(--line); border-radius:6px; padding:6px 10px; font-size:.85rem;
  cursor:pointer; color:var(--ink-700);
}
.editor-toolbar button:hover{background:var(--brand-50); border-color:var(--brand-600)}
.editor-toolbar .sep{width:1px; background:var(--line); margin:2px 4px}
.rich-editor{
  min-height:280px; border:1px solid var(--line); border-radius:0 0 8px 8px; padding:14px; background:#fff;
  font-size:1rem; line-height:1.6;
}
.rich-editor:focus{outline:2px solid var(--brand-600); outline-offset:-1px}
.rich-editor img, .rich-editor video{max-width:100%; border-radius:6px; margin:8px 0}
.rich-editor blockquote{border-left:3px solid var(--brand-600); margin:10px 0; padding:4px 14px; color:var(--ink-700); font-style:italic}
.rich-editor h2, .rich-editor h3, .rich-editor h4{margin-top:16px}

/* ---------- Blog ---------- */
.blog-body{font-size:1.05rem; line-height:1.75}
.blog-body img, .blog-body video{max-width:100%; border-radius:8px; margin:14px 0}
.blog-body blockquote{border-left:3px solid var(--brand-600); margin:14px 0; padding:6px 18px; color:var(--ink-700); font-style:italic}
.blog-body h2, .blog-body h3, .blog-body h4{margin-top:24px}
.video-embed-wrap{position:relative; width:100%; padding-top:56.25%; margin:14px 0}
.video-embed-wrap iframe{position:absolute; inset:0; width:100%; height:100%; border-radius:8px; border:none}
.blog-card-image{width:100%; height:180px; object-fit:contain; background:var(--bg); border-radius:8px 8px 0 0; margin:-18px -18px 12px; padding:6px}
.blog-post-cover{
  width:calc(100% + 36px); max-height:480px; object-fit:contain; background:var(--bg);
  margin:-18px -18px 18px; border-radius:10px 10px 0 0; padding:10px;
}
.blog-meta{font-size:.82rem; color:var(--ink-500)}
.backlinks-box{background:var(--brand-50); border-radius:10px; padding:16px}
.backlinks-box ul{margin:6px 0 0; padding-left:18px}

/* ---------- Employers page: pricing cards ---------- */
.pricing-grid{display:grid; gap:24px; grid-template-columns:1fr}
@media(min-width:800px){ .pricing-grid{grid-template-columns:repeat(3,1fr); align-items:stretch} }
.pricing-card{
  display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:16px;
  padding:30px 26px; box-shadow:var(--shadow); position:relative; transition:transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover{transform:translateY(-6px); box-shadow:0 16px 34px rgba(20,33,28,.14)}
.pricing-card.highlighted{border:2px solid var(--danger); box-shadow:0 10px 28px rgba(179,38,30,.12)}
.pricing-card.highlighted:hover{box-shadow:0 18px 36px rgba(179,38,30,.18)}
.pricing-card-badge{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--danger); color:#fff;
  font-size:.72rem; font-weight:700; padding:5px 16px; border-radius:20px; white-space:nowrap; box-shadow:0 3px 8px rgba(179,38,30,.35);
}
.pricing-price-row{display:flex; align-items:flex-end; gap:6px; margin-top:14px}
.pricing-currency{font-size:1rem; font-weight:700; color:var(--ink-500); margin-bottom:6px}
.pricing-price{font-size:2.1rem; font-weight:800; color:var(--ink-900); line-height:1}
.pricing-period{color:var(--ink-500); font-size:.85rem; margin-bottom:14px}
.pricing-slider-box{background:var(--bg); border-radius:10px; padding:12px 14px; margin-bottom:16px}
.pricing-slider{width:100%; accent-color:var(--danger); cursor:pointer}
.pricing-slider-caption{text-align:center}
.pricing-features{list-style:none; padding:0; margin:0 0 22px; flex:1}
.pricing-features li{padding:8px 0; border-bottom:1px solid var(--line); font-size:.92rem; display:flex; gap:10px; align-items:flex-start}
.pricing-features li:last-child{border-bottom:none}
.pricing-features li::before{
  content:""; width:7px; height:7px; border-radius:50%; border:2px solid var(--brand-600); flex-shrink:0; margin-top:6px;
}

/* ---------- Employers page: why-us bento grid ---------- */
.whyus-grid{display:grid; gap:18px; grid-template-columns:1fr}
@media(min-width:640px){ .whyus-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:960px){ .whyus-grid{grid-template-columns:repeat(4,1fr); grid-auto-rows:1fr} }
.whyus-card{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 22px; position:relative; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.whyus-card:hover{transform:translateY(-6px) scale(1.01); box-shadow:0 16px 34px rgba(20,33,28,.14)}
.whyus-card.span-2{grid-column:span 1}
@media(min-width:960px){ .whyus-card.span-2{grid-column:span 2} }
.whyus-card.dark{background:linear-gradient(135deg,var(--brand-700),var(--brand-600)); border:none; color:#fff}
.whyus-card.dark h3, .whyus-card.dark p{color:#fff}
.whyus-card.dark p{color:rgba(255,255,255,.9)}
.whyus-card.outline{background:transparent; border:2px dashed var(--brand-600)}
.whyus-icon{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:1.35rem; margin-bottom:14px; flex-shrink:0;
}
.whyus-card.dark .whyus-icon{background:rgba(255,255,255,.18); color:#fff}

/* ---------- Employers page: services grid (hover only, uniform cards) ---------- */
.feature-grid{display:grid; gap:18px; grid-template-columns:1fr}
@media(min-width:640px){ .feature-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:960px){ .feature-grid{grid-template-columns:repeat(3,1fr)} }
.feature-grid .card{transition:transform .2s ease, box-shadow .2s ease}
.feature-grid .card:hover{transform:translateY(-5px); box-shadow:0 14px 30px rgba(20,33,28,.12)}
.feature-icon{
  width:44px; height:44px; border-radius:10px; background:var(--brand-50); color:var(--brand-700);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:10px; flex-shrink:0;
}

/* ---------- Employers page: FAQ accordion ---------- */
.faq-group + .faq-group{margin-top:22px}
.faq-item{border:1px solid var(--line); border-radius:8px; margin-bottom:8px; overflow:hidden; background:#fff}
.faq-item summary{
  padding:14px 16px; font-weight:600; cursor:pointer; list-style:none; display:flex; justify-content:space-between;
  align-items:center; gap:10px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+"; font-size:1.3rem; color:var(--brand-600); flex-shrink:0}
.faq-item[open] summary::after{content:"\2212"}
.faq-item[open] summary{border-bottom:1px solid var(--line)}
.faq-item .faq-answer{padding:4px 16px 16px; color:var(--ink-700); font-size:.92rem}

/* ---------- Employers page: hero ---------- */
.employers-hero{
  background:linear-gradient(120deg,var(--brand-700),var(--brand-600)); color:#fff; border-radius:14px;
  padding:44px 26px; text-align:center;
}
.employers-hero h1{color:#fff; max-width:640px; margin:0 auto .5em}
.employers-hero p{color:rgba(255,255,255,.92); max-width:520px; margin:0 auto 1.4em}

/* ---------- Contact page ---------- */
.card-flat table.small{width:100%; border-collapse:collapse}
.card-flat table.small td{padding:5px 0; border:none; font-size:.85rem}
.card-flat table.small td:last-child{text-align:right; color:var(--ink-500)}

/* ---------- Highlighted email/external apply CTA ---------- */
.apply-highlight{
  display:flex; gap:14px; align-items:flex-start; padding:16px; border-radius:10px; border:2px solid;
}
.apply-highlight-icon{font-size:1.5rem; line-height:1; flex-shrink:0}
.apply-highlight-email{background:var(--info-bg); border-color:var(--info)}
.apply-highlight-external{background:var(--warn-bg); border-color:var(--warn)}
.apply-highlight strong{display:block; margin-bottom:2px}

/* ---------- Job detail: share buttons ---------- */
.share-job{display:flex; flex-wrap:wrap; align-items:center; gap:12px}
.share-row{display:flex; gap:8px; flex-wrap:wrap}
.share-btn{
  display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%;
  background:var(--bg); border:1px solid var(--line); color:var(--ink-700); font-weight:800; font-size:.95rem;
  cursor:pointer; transition:transform .15s ease, background .15s ease, color .15s ease;
}
.share-btn:hover{transform:translateY(-2px); text-decoration:none}
.share-email:hover{background:var(--brand-600); color:#fff; border-color:var(--brand-600)}
.share-facebook:hover{background:#1877f2; color:#fff; border-color:#1877f2}
.share-x:hover{background:#000; color:#fff; border-color:#000}
.share-linkedin:hover{background:#0a66c2; color:#fff; border-color:#0a66c2}
.share-whatsapp:hover{background:#25d366; color:#fff; border-color:#25d366}
.share-instagram:hover{background:#c1327a; color:#fff; border-color:#c1327a}
.stk-box{border:1px dashed var(--brand-600); background:var(--brand-50); border-radius:10px; padding:18px; text-align:center}
.spinner{
  width:34px; height:34px; border:4px solid var(--brand-50); border-top-color:var(--brand-600); border-radius:50%;
  margin:0 auto 12px; animation:spin 1s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.empty-state{text-align:center; padding:40px 20px; color:var(--ink-500)}
/* ---------- Footer ---------- */
.site-footer-main{background:#1D3436; color:#D3C9A8; margin-top:40px}
.footer-grid{display:grid; gap:28px; grid-template-columns:1fr; padding:40px 16px 28px}
@media(min-width:640px){ .footer-grid{grid-template-columns:1fr 1fr} }
@media(min-width:960px){ .footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.2fr} }
.footer-col h4{color:#fff; font-size:.9rem; text-transform:uppercase; letter-spacing:.04em; margin-bottom:12px}
.footer-col a{display:block; color:#c7d3ce; font-size:.9rem; padding:4px 0}
.footer-col a:hover{color:#fff; text-decoration:none}
.footer-brand .brand{color:#fff; font-size:1.2rem}
.footer-brand .brand span{color:#ffab5e}
.footer-brand p{color:#9aa8a2}
.social-row{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.social-row a{
  display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.08); font-size:1rem; padding:0; transition:background .15s, transform .15s;
}
.social-row a:hover{background:var(--brand-600); transform:translateY(-2px)}
.footer-subscribe input[type=email]{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:#fff}
.footer-subscribe input[type=email]::placeholder{color:#8fa39c}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1)}
.footer-bottom-inner{display:flex; flex-direction:column; gap:2px; padding:16px; color:#8fa39c}
@media(min-width:720px){ .footer-bottom-inner{flex-direction:row; justify-content:space-between; align-items:center} }
.footer-bottom-inner p{margin:0}
.msg-bubble{max-width:78%; padding:10px 14px; border-radius:14px; margin-bottom:8px; font-size:.92rem}
.msg-mine{background:var(--brand-600); color:#fff; margin-left:auto; border-bottom-right-radius:3px}
.msg-theirs{background:#eef1ef; color:var(--ink-900); border-bottom-left-radius:3px}

@media(min-width:860px){
  .nav-toggle{display:none}
  .site-nav{
    display:flex !important; position:static; flex-direction:row; align-items:center; padding:0; border:none;
    box-shadow:none; gap:18px;
  }
  .site-nav a{border-bottom:none; padding:0; font-size:.93rem}
  .site-nav .nav-user{padding:0}
  .nav-account summary{border-bottom:none; padding:0; font-size:.93rem; color:var(--ink-500)}
  .nav-account-menu{
    position:absolute; right:0; top:100%; margin-top:10px; background:var(--card); border:1px solid var(--line);
    border-radius:8px; box-shadow:var(--shadow); min-width:170px; padding:6px; z-index:50;
  }
  .nav-account-menu a{display:block; padding:8px 10px; border-bottom:none; white-space:nowrap; border-radius:6px}
  .nav-account-menu a:hover{background:var(--bg)}
}

/* ---------- Dashboard shell (admin/employer/jobseeker) ---------- */
/* A left sidebar + topbar layout for logged-in role pages, used via
   includes/dashboard_header.php + dashboard_footer.php instead of the
   public site's simple top nav. Mobile-first: the sidebar is an off-canvas
   panel below ~960px, toggled by the topbar's hamburger button. */
.dash-body{padding-top:0; background:var(--bg)}
.dash-shell{display:flex; min-height:100vh}
.dash-sidebar{
  position:fixed; top:0; bottom:0; left:0; width:248px; background:var(--ink-900); color:#fff;
  display:flex; flex-direction:column; z-index:60; transform:translateX(-100%); transition:transform .2s ease;
  overflow-y:auto;
}
.dash-sidebar.open{transform:translateX(0)}
.dash-brand{display:flex; align-items:center; gap:10px; padding:18px 18px 14px; font-weight:800; color:#fff; font-size:1.05rem; flex-shrink:0}
.dash-brand img{height:28px; width:auto; filter:brightness(0) invert(1)}
.dash-nav{display:flex; flex-direction:column; gap:2px; padding:6px 10px; flex:1}
.dash-nav-link{
  display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:8px; color:#d8d2c4;
  font-size:.92rem; font-weight:500; position:relative;
}
.dash-nav-link:hover{background:rgba(255,255,255,.08); text-decoration:none; color:#fff}
.dash-nav-link.active{background:var(--brand-600); color:#fff}
.dash-nav-link svg{flex-shrink:0; opacity:.9}
.dash-nav-badge{
  margin-left:auto; background:var(--danger); color:#fff; font-size:.72rem; font-weight:700;
  padding:1px 7px; border-radius:99px; line-height:1.5;
}
.dash-sidebar-footer{padding:10px; border-top:1px solid rgba(255,255,255,.12); flex-shrink:0}
.dash-main{flex:1; min-width:0; display:flex; flex-direction:column}
.dash-topbar{
  position:sticky; top:0; z-index:40; background:var(--card); border-bottom:1px solid var(--line);
  display:flex; align-items:center; gap:12px; padding:0 16px; height:60px;
}
.dash-sidebar-toggle{background:none; border:1px solid var(--line); border-radius:8px; font-size:1.2rem; padding:4px 10px; cursor:pointer; flex-shrink:0}
.dash-page-title{font-size:1.1rem; margin:0; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.dash-topbar-right{display:flex; align-items:center; gap:14px; flex-shrink:0}
.dash-icon-btn{position:relative; display:inline-flex; color:var(--ink-700)}
.dash-badge-dot{
  position:absolute; top:-6px; right:-8px; background:var(--danger); color:#fff; font-size:.65rem; font-weight:700;
  min-width:16px; height:16px; border-radius:99px; display:flex; align-items:center; justify-content:center; padding:0 3px;
}
.dash-user-menu{position:relative}
.dash-user-menu summary{list-style:none; cursor:pointer; display:flex; align-items:center; gap:8px}
.dash-user-menu summary::-webkit-details-marker{display:none}
.dash-avatar{
  width:30px; height:30px; border-radius:99px; background:var(--brand-50); color:var(--brand-700); font-weight:700;
  display:flex; align-items:center; justify-content:center; font-size:.85rem; flex-shrink:0;
}
.dash-user-name{font-size:.88rem; color:var(--ink-700); max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.dash-user-menu-panel{
  position:absolute; right:0; top:calc(100% + 8px); background:var(--card); border:1px solid var(--line); border-radius:10px;
  box-shadow:var(--shadow); min-width:180px; padding:10px; z-index:70;
}
.dash-user-menu-panel a{display:block; padding:8px 8px; border-radius:6px; color:var(--ink-700)}
.dash-user-menu-panel a:hover{background:var(--bg); text-decoration:none}
.dash-content{padding:20px 16px 48px; flex:1; min-width:0}
.dash-overlay{position:fixed; inset:0; background:rgba(20,16,10,.45); z-index:50; display:none}
.dash-overlay.open{display:block}

/* Stat cards — the number tiles at the top of each dashboard */
.stat-grid{display:grid; grid-template-columns:1fr; gap:14px; margin-bottom:24px}
.stat-card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:16px 18px; display:flex; align-items:center; gap:14px;
}
.stat-icon{
  width:42px; height:42px; border-radius:10px; background:var(--brand-50); color:var(--brand-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.stat-icon.stat-icon-warn{background:var(--warn-bg); color:var(--warn)}
.stat-icon.stat-icon-info{background:var(--info-bg); color:var(--info)}
.stat-icon.stat-icon-success{background:var(--success-bg); color:var(--success)}
.stat-value{font-size:1.5rem; font-weight:800; line-height:1.1; margin:0}
.stat-label{font-size:.82rem; color:var(--ink-500); margin:2px 0 0}

/* Quick-action cards — replace the old plain row of buttons on dashboards */
.action-grid{display:grid; grid-template-columns:1fr; gap:12px; margin-bottom:28px}
.action-card{
  display:flex; align-items:center; gap:12px; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:14px 16px; color:var(--ink-900);
}
.action-card:hover{border-color:var(--brand-600); text-decoration:none; box-shadow:var(--shadow)}
.action-card .stat-icon{width:36px; height:36px}
.action-card strong{display:block; font-size:.93rem}
.action-card span.action-sub{display:block; font-size:.8rem; color:var(--ink-500)}

.dash-section-head{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px}

@media(min-width:600px){
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .action-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:960px){
  .dash-sidebar{transform:translateX(0); position:fixed}
  .dash-main{margin-left:248px}
  .dash-sidebar-toggle{display:none}
  .dash-overlay{display:none !important}
  .stat-grid{grid-template-columns:repeat(4,1fr)}
  .action-grid{grid-template-columns:repeat(3,1fr)}
}


/* =====================================================================
   AfriKnack brand theme (landing-page look applied site-wide)
   ===================================================================== */
body{font-family:var(--font)}
h1,h2,h3,h4{font-family:var(--serif); letter-spacing:-.02em}
.brand,.dash-brand,.stat-value,th,.btn-sm{font-family:var(--serif)}
.brand{font-weight:800}
a{color:var(--teal); transition:color .2s ease}
a:hover{color:var(--orange); text-decoration:none}

/* ---- Navigation (landing-page hover: orange text + sliding underline) ---- */
.site-header{background:var(--cream); border-bottom:1px solid var(--line)}
.site-nav a:not(.btn){position:relative; color:var(--ink); font-weight:600; transition:color .2s ease}
.site-nav a:not(.btn):hover{color:var(--orange); text-decoration:none}
@media(min-width:860px){
  .site-nav{background:transparent}
  .site-nav a:not(.btn)::after{
    content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--orange);
    transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
  }
  .site-nav a:not(.btn):hover::after{transform:scaleX(1)}
}
.nav-toggle{transition:background .2s,border-color .2s}
.nav-toggle:hover{background:var(--orange); border-color:var(--orange); color:#fff}
.brand-mark{transition:transform .3s ease}
.brand:hover .brand-mark{transform:rotate(-6deg) scale(1.08)}
.brand:hover{color:var(--ink)}

/* The nav's own link colour rule outranks .btn-primary, so restate button text colours inside the nav */
.site-nav a.btn-primary{color:#fff}
.site-nav a.btn-primary:hover{color:#fff}
.site-nav a.btn-outline{color:var(--teal)}
.site-nav a.btn-outline:hover{color:#fff}
.grid > .card,.grid > .card + .card{margin-top:0}

/* ---- Buttons: pill shape, lift + glow on hover ---- */
.btn{border-radius:999px; font-weight:700; border-width:2px; transition:transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--orange); color:#fff; box-shadow:0 10px 26px -10px rgba(247,117,7,.7)}
.btn-primary:hover{background:var(--orange); color:#fff; transform:translateY(-3px); box-shadow:0 16px 30px -10px rgba(247,117,7,.8)}
.btn-outline{border-color:var(--teal); color:var(--teal); background:transparent}
.btn-outline:hover{background:var(--teal); color:#fff; transform:translateY(-3px)}
.btn-ghost{border-color:var(--sand); color:var(--ink)}
.btn-ghost:hover{background:var(--ink); border-color:var(--ink); color:#fff; transform:translateY(-3px)}
.btn-danger:hover{color:#fff; transform:translateY(-3px); box-shadow:0 12px 24px -10px rgba(179,38,30,.6)}
.btn[disabled]:hover,.btn:disabled:hover{transform:none; box-shadow:none}
.btn:active{transform:translateY(-1px)}
.btn-oauth{border-radius:999px; border-color:var(--sand)}
.btn-oauth:hover{background:var(--cream); transform:translateY(-2px)}

/* ---- Cards ---- */
.card,.card-flat{border-color:var(--line)}
a.card,a.job-card{color:inherit; transition:transform .3s, box-shadow .3s, border-color .3s}
a.card:hover,a.job-card:hover{transform:translateY(-6px); box-shadow:0 18px 36px -16px rgba(29,52,54,.4); border-color:var(--orange); color:inherit}
.job-card h3{color:var(--ink)}
.job-card:hover h3{color:var(--orange)}
.job-salary{color:var(--teal); font-weight:700}
.featured-card{border-left:4px solid var(--orange)}
.stat-card,.action-card{transition:transform .25s, box-shadow .25s, border-color .25s}
.stat-card:hover,.action-card:hover{transform:translateY(-4px); box-shadow:0 14px 28px -14px rgba(29,52,54,.4); border-color:var(--orange); text-decoration:none}

/* ---- Tables: ink header, sand text, cream stripes, orange row hover ---- */
table{border-collapse:separate; border-spacing:0}
.table-wrap{border:1px solid var(--line); border-radius:var(--radius); background:var(--card); box-shadow:var(--shadow)}
th{background:var(--ink); color:var(--sand); font-weight:600; border-bottom:2px solid var(--orange); letter-spacing:.06em}
th:first-child{border-top-left-radius:calc(var(--radius) - 2px)}
th:last-child{border-top-right-radius:calc(var(--radius) - 2px)}
td{color:var(--ink-700)}
tbody tr:nth-child(even) td,table tr:nth-child(even):not(:first-child) td{background:rgba(211,201,168,.18)}
table tr:not(:first-child):hover td{background:rgba(247,117,7,.09)}
table tr:last-child td{border-bottom:none}
.card-flat table.small th{background:none; color:inherit; border:none}
.card-flat table.small td,.card-flat table.small tr:hover td{background:none}
.pill{font-family:var(--font)}
.pill-muted{background:rgba(211,201,168,.45); color:var(--ink-700)}

/* ---- Forms ---- */
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=url],input[type=date],input[type=month],input[type=search],select,textarea{border-color:var(--sand)}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(247,117,7,.18)}

/* ---- Dashboards ---- */
.dash-sidebar{background:var(--ink)}
.dash-nav-link{color:var(--sand); transition:background .2s, color .2s, padding-left .2s}
.dash-nav-link:hover{background:rgba(247,117,7,.16); color:#fff; padding-left:16px}
.dash-nav-link.active{background:var(--orange); color:#fff}
.dash-topbar{background:var(--cream)}
.dash-avatar{background:var(--orange)}
.dash-user-menu-panel a:hover,.nav-account-menu a:hover{background:var(--cream); color:var(--orange)}

/* ---- Footer ---- */
.footer-col h4{font-family:var(--serif); color:#fff}
.footer-col a{color:var(--sand); transition:color .2s, padding-left .2s}
.footer-col a:hover{color:var(--orange); padding-left:4px}
.footer-brand .brand span{color:var(--orange)}
.footer-bottom-inner{color:var(--sand); opacity:.85}

/* ---- Animated logo (same three floating pieces as the landing page hero) ---- */
.logo-anim .la{animation:ak-float 7s ease-in-out infinite}
.logo-anim .lb{animation:ak-float 8s ease-in-out -2s infinite}
.logo-anim .lc{animation:ak-float 6s ease-in-out -4s infinite}
@keyframes ak-float{50%{transform:translateY(-14px)}}
.logo-anim.mono .la{fill:#fff; fill-opacity:.95}
.logo-anim.mono .lb{fill:#fff; fill-opacity:.7}
.logo-anim.mono .lc{fill:#fff; fill-opacity:.5}

/* ---- Hero slider: landing-page backgrounds + animated logo on every slide ---- */
.hero-slider{border-radius:var(--radius)}
.hero-slide{position:relative; overflow:hidden; padding:54px 30px; min-height:300px}
.hero-slide > *:not(.hero-logo){position:relative; z-index:1}
.hero-slide h2{max-width:520px}
.hero-logo{position:absolute; right:3%; top:9%; height:82%; width:auto; max-width:40%; z-index:0; filter:drop-shadow(0 24px 30px rgba(29,52,54,.28)); pointer-events:none}
.hero-slide-1{background:radial-gradient(circle at 85% 20%,rgba(247,117,7,.2),transparent 45%),radial-gradient(circle at 10% 90%,rgba(74,123,128,.25),transparent 45%),var(--sand); color:var(--ink)}
.hero-slide-1 h2{color:var(--ink)}
.hero-slide-1 p{color:#3b5658}
.hero-slide-2{background:radial-gradient(circle at 85% 15%,rgba(247,117,7,.28),transparent 45%),var(--ink); color:#fff}
.hero-slide-3{background:linear-gradient(135deg,var(--orange),var(--gold)); color:#fff}
.hero-slide h2{font-weight:700}
.hero-slide .btn-primary{box-shadow:0 10px 26px -8px rgba(29,52,54,.5)}
.hero-slide-3 .btn-primary{background:var(--ink)}
.hero-slide-3 .btn-primary:hover{background:var(--teal)}
.hero-dots{background:rgba(29,52,54,.6); padding:7px 12px; border-radius:999px; gap:10px}
.hero-dot{transition:transform .2s, background .2s} .hero-dot:hover{transform:scale(1.4)}
.hero-dot.active{background:#fff; box-shadow:0 0 0 3px rgba(247,117,7,.7)}
@media(max-width:700px){ .hero-logo{opacity:.28; right:-6%; max-width:70%} }

/* ---- Jobs sections: the animated logo as the background ---- */
.jobs-band{position:relative; isolation:isolate; overflow:hidden; border-radius:28px; padding:28px 22px; margin-top:24px;
  background:radial-gradient(circle at 90% 8%,rgba(247,117,7,.16),transparent 42%),radial-gradient(circle at 5% 95%,rgba(74,123,128,.2),transparent 42%),var(--sand)}
.jobs-band > section{position:relative; z-index:1}
.jobs-band > section:first-of-type{margin-top:0}
.bg-logo{position:absolute; z-index:0; pointer-events:none; opacity:.16; width:420px; right:-70px; top:40px}
.bg-logo.second{width:300px; left:-70px; right:auto; top:auto; bottom:30px; opacity:.12}
.jobs-band h2{color:var(--ink)}
.job-hero{position:relative; isolation:isolate; overflow:hidden;
  background:radial-gradient(circle at 92% 10%,rgba(247,117,7,.14),transparent 45%),radial-gradient(circle at 4% 100%,rgba(74,123,128,.16),transparent 45%),var(--sand)}
.job-hero > *{position:relative; z-index:1}
.job-hero > .bg-logo{position:absolute; z-index:0}
@media(max-width:700px){ .bg-logo{width:240px; right:-60px} .bg-logo.second{display:none} }
@media(prefers-reduced-motion:reduce){ .logo-anim .la,.logo-anim .lb,.logo-anim .lc{animation:none} }

/* ---------- AI CV scan & job matching ---------- */
.ai-hero{display:flex; gap:24px; align-items:center; flex-wrap:wrap}
.ai-gauge{flex:none; color:var(--ink-900,#1d3436)}
.ai-bar{height:10px; background:rgba(29,52,54,.1); border-radius:99px; overflow:hidden}
.ai-bar > span{display:block; height:100%; border-radius:99px; background:var(--orange,#f67103)}
.ai-row{display:grid; grid-template-columns:170px 1fr 56px; gap:12px; align-items:center; margin:8px 0; font-size:.92rem}
.ai-issue{border-left:4px solid var(--orange,#f67103); padding:8px 12px; margin:8px 0; background:rgba(246,113,3,.06); border-radius:0 8px 8px 0}
.ai-issue.high{border-color:#b3261e; background:rgba(179,38,30,.06)}
.ai-issue.low{border-color:#8a9a9b; background:rgba(29,52,54,.05)}
.ai-issue strong{display:block}
.ai-chip{display:inline-block; padding:2px 10px; margin:2px 4px 2px 0; border-radius:99px; font-size:.8rem; background:rgba(26,127,75,.12); color:#14633a}
.ai-chip.miss{background:rgba(179,38,30,.1); color:#8f1f18}
.ai-lock{position:relative; border:2px dashed var(--orange,#f67103); border-radius:14px; padding:20px; text-align:center; background:linear-gradient(180deg,rgba(246,113,3,.05),transparent)}
.ai-blur{filter:blur(5px); user-select:none; pointer-events:none}
.ai-match{display:grid; grid-template-columns:72px 1fr; gap:16px; align-items:start}
.ai-pct{width:72px; height:72px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.15rem; color:#fff; font-family:var(--serif)}
.ai-box{background:rgba(29,52,54,.05); border-radius:10px; padding:10px 14px; margin-top:8px; font-size:.92rem}
@media (max-width:560px){.ai-row{grid-template-columns:1fr 56px}.ai-row .ai-bar{grid-column:1/-1;order:3}}
