:root{
  --bg:#f7fbff;
  --text:#111827;
  --muted:#64748b;
  --line:#dbe5f0;
  --shadow:0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow2:0 10px 24px rgba(15, 23, 42, 0.05);
  --radius:18px;

  --brand:#1d4ed8;
  --brand2:#0ea5e9;

  --font:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max:1180px;
  --ring:0 0 0 4px rgba(37,99,235,.14);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:#f7fbff;
}

a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(219,229,240,0.8);
}
.nav__inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}
.brand__text{
  font-size:1.05rem;
}
.mark{
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  position:relative;
  box-shadow:0 10px 24px rgba(29,78,216,0.18);
}
.mark:after{
  content:"✓";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  font-size:18px;
}
.mark--sm{
  width:30px;
  height:30px;
  border-radius:10px;
}
.mark--sm:after{
  font-size:14px;
}

.nav__links{
  display:flex;
  gap:8px;
  align-items:center;
}
.nav__links a{
  padding:10px 12px;
  border-radius:10px;
  color:#5b6778;
  font-weight:600;
}
.nav__links a:hover,
.nav__links .active{
  background:#f2f7fd;
  color:var(--text);
}

.nav__cta{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn:hover{
  transform:translateY(-1px);
}
.btn:focus{
  outline:none;
  box-shadow:var(--ring);
}
.btn--primary{
  border-color:transparent;
  color:#fff;
  background:linear-gradient(90deg,var(--brand),var(--brand2));
  box-shadow:0 10px 24px rgba(29,78,216,0.18);
}
.btn--primary:hover{
  box-shadow:0 14px 28px rgba(29,78,216,0.22);
}
.btn--ghost{
  background:#fff;
  color:var(--brand);
  border:1px solid #c8daf9;
}
.btn--ghost:hover{
  background:#f8fbff;
}

.burger{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  padding:10px;
}
.burger span{
  display:block;
  height:2px;
  border-radius:999px;
  background:#24364f;
  margin:5px 0;
}

.nav__mobile{
  display:none;
  padding:0 16px 16px;
  border-top:1px solid var(--line);
  background:#fff;
}
.nav__mobile a{
  display:block;
  width:100%;
  margin-top:10px;
  padding:10px 12px;
  border-radius:10px;
  color:#5b6778;
  font-weight:600;
}
.nav__mobile a:hover{
  background:#f2f7fd;
  color:var(--text);
}
.nav__mobile .btn{
  margin-top:10px;
  width:100%;
}

/* PAGE */
.jobs-page{
  padding:36px 0 28px;
}

/* PAGE HEAD */
.pageHead{
  padding:10px 0 26px;
}
.pageHead--simple{
  max-width:860px;
}
.pageHead__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(29,78,216,.12);
  background:#fff;
  color:#5d6d82;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:18px;
}
h1{
  margin:0 0 12px;
  font-size:clamp(2.3rem, 4vw, 4rem);
  line-height:1.02;
  letter-spacing:-.06em;
}
.muted{
  color:var(--muted);
  margin:0;
  line-height:1.8;
}
.pageHead__text{
  max-width:760px;
}
.pageHead__quick{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.quickTag{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#f2f6fb;
  color:#506682;
  font-size:13px;
  font-weight:700;
}

/* SECTION LABELS */
.sectionKicker{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  color:#9aa8bc;
  margin-bottom:10px;
}

/* FILTERS */
.filters{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow2);
}
.filters--simple{
  padding:22px;
  border-radius:28px;
}
.filtersTop{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-end;
  margin-bottom:18px;
}
.filtersTop h2{
  margin:0 0 6px;
  font-size:1.7rem;
  letter-spacing:-0.03em;
}
.filtersGrid{
  display:grid;
  grid-template-columns:1.4fr repeat(5, 1fr);
  gap:12px;
}
.field{
  display:grid;
  gap:8px;
}
.field--search{
  grid-column:auto;
}
label{
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  letter-spacing:.06em;
  text-transform:uppercase;
}
input, select{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid #d7e1ee;
  background:#fff;
  color:var(--text);
  outline:none;
}
input:focus, select:focus{
  box-shadow:var(--ring);
  border-color:rgba(37,99,235,.35);
}

.filtersBottom{
  margin-top:16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.metaRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.chip{
  border:1px solid var(--line);
  background:#f3f7fd;
  padding:7px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  color:var(--muted);
}
.chip.ghost{
  background:transparent;
}
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* RESULTS */
.results{
  padding:26px 0 30px;
}
.resultsHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom:14px;
}
.resultsHead h2{
  margin:0 0 6px;
  font-size:1.8rem;
  letter-spacing:-0.03em;
}

.resultsNote{
  margin:0 0 16px;
  padding:16px 18px;
  border:1px solid rgba(29,78,216,.10);
  background:linear-gradient(180deg, #ffffff, #f4f8ff);
  border-radius:18px;
}

.list{
  display:grid;
  gap:16px;
  margin-top:12px;
}
.job{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow2);
  padding:18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
}
.job h3{
  margin:0 0 6px;
  letter-spacing:-0.02em;
  font-size:1.15rem;
}
.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}
.tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.tag{
  border:1px solid var(--line);
  background:#f3f7fd;
  padding:7px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  color:var(--muted);
}
.tag.new{
  border-color:rgba(37,99,235,.18);
  background:rgba(37,99,235,.10);
  color:#1e3a8a;
}
.tag.saved{
  border-color:rgba(16,185,129,.22);
  background:rgba(16,185,129,.10);
  color:#065f46;
}
.tag.applied{
  border-color:rgba(124,58,237,.18);
  background:rgba(124,58,237,.10);
  color:#5b21b6;
}

.desc{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.8;
  font-size:14px;
  max-width:95ch;
}
.right{
  min-width:220px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.salary{
  text-align:right;
  font-weight:800;
  font-size:14px;
}
.salary span{
  display:block;
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  margin-top:3px;
}
.jactions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

button[disabled]{
  opacity:.7;
  cursor:not-allowed;
  transform:none !important;
  box-shadow:none !important;
}

/* EMPTY */
.empty{
  padding:18px 0;
}
.emptyCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow2);
  padding:24px;
  display:grid;
  gap:10px;
  text-align:center;
}
.emptyTitle{
  font-weight:800;
  letter-spacing:-.02em;
  font-size:1.15rem;
}
.emptyActions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:8px;
}

/* SUPPORT CTA */
.jobsSupport{
  padding:12px 0 24px;
}
.jobsSupport__box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:34px 30px;
  border-radius:30px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #2348a7 0%, #2f63e0 48%, #4b8ef7 100%);
  color:#fff;
  box-shadow:0 24px 60px rgba(29,78,216,0.20);
}
.jobsSupport__content{
  max-width:700px;
}
.jobsSupport__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.12);
  color:#ffffff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:14px;
}
.jobsSupport__box h2{
  margin:0 0 10px;
  font-size:clamp(24px, 3.5vw, 36px);
  line-height:1.08;
  letter-spacing:-.05em;
}
.jobsSupport__box .muted{
  color:rgba(255,255,255,.90);
}
.jobsSupport__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.jobsSupport__actions .btn{
  min-width:160px;
}
.jobsSupport__actions .btn--ghost{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.24);
  color:#fff;
}
.jobsSupport__actions .btn--ghost:hover{
  background:rgba(255,255,255,.14);
}

/* FOOTER */
.footer{
  padding:18px 0 34px;
  color:var(--muted);
  font-size:13px;
}
.footer__inner{
  border-top:1px solid var(--line);
  padding-top:16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footbrand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:80;
}
.modal.show{
  display:block;
}
.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.40);
  backdrop-filter:blur(4px);
}
.modal__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(860px, 92vw);
  max-height:min(84vh, 780px);
  overflow:auto;
  background:rgba(255,255,255,.98);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
}
.modal__head{
  padding:16px 16px 12px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.modal__title{
  font-weight:800;
  letter-spacing:-.02em;
  font-size:1.15rem;
}
.modal__sub{
  color:var(--muted);
  font-weight:700;
  margin-top:4px;
}
.iconBtn{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:800;
}
.iconBtn:hover{
  box-shadow:var(--shadow2);
}
.modal__body{
  padding:14px 16px 16px;
}
.sectionTitle{
  margin:14px 0 8px;
  font-weight:800;
  letter-spacing:-.02em;
}
.mtext{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}
.mlist{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.8;
}
.hint{
  border:1px solid var(--line);
  background:#f3f7fd;
  padding:12px 14px;
  border-radius:14px;
  color:var(--muted);
  font-size:13px;
}
.krow{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.kcard{
  border:1px solid var(--line);
  background:#f8fbff;
  border-radius:16px;
  padding:12px 14px;
}
.klabel{
  color:var(--muted);
  font-weight:800;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.kvalue{
  font-weight:800;
  letter-spacing:-.02em;
  margin-top:4px;
}

.modal__foot{
  padding:12px 16px;
  border-top:1px solid var(--line);
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

/* TOAST */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:#111827;
  color:#fff;
  padding:12px 14px;
  border-radius:14px;
  display:none;
  max-width:min(92vw, 520px);
  font-size:14px;
  z-index:90;
}
.toast.show{
  display:block;
}

/* RESPONSIVE */
@media (max-width: 1080px){
  .filtersGrid{
    grid-template-columns:1fr 1fr 1fr;
  }

  .field--search{
    grid-column:1 / -1;
  }

  .jobsSupport__box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 720px){
  .nav__links{display:none}
  .nav__cta{display:none}
  .burger{display:block}

  .filtersGrid{
    grid-template-columns:1fr;
  }

  .field--search{
    grid-column:auto;
  }

  .job{
    grid-template-columns:1fr;
  }

  .right{
    min-width:auto;
    align-items:flex-start;
  }

  .salary{
    text-align:left;
  }

  .jactions{
    justify-content:flex-start;
  }

  .krow{
    grid-template-columns:1fr;
  }

  .nav__mobile.show{
    display:block;
  }

  .jobs-page{
    padding-top:22px;
  }

  h1{
    font-size:2.25rem;
  }

  .emptyActions,
  .jobsSupport__actions{
    width:100%;
    flex-direction:column;
  }

  .emptyActions .btn,
  .jobsSupport__actions .btn{
    width:100%;
  }

  .jobsSupport__box{
    padding:24px 22px;
    border-radius:24px;
  }

  .resultsNote,
  .filters--simple,
  .emptyCard{
    padding:18px;
  }

  .modal__panel{
    width:min(100% - 18px, 860px);
  }
}