:root {
  --portal-navy: #101a4d;
  --portal-violet: #7255dc;
  --portal-violet-soft: #f2efff;
  --portal-surface: #ffffff;
  --portal-muted: #66708a;
  --portal-line: #e6e9f2;
}

body { background: #f7f8fc; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 clamp(20px, 6vw, 104px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(221, 225, 239, .9);
  box-shadow: 0 6px 24px rgba(20, 28, 70, .05);
  backdrop-filter: blur(14px);
}

.site-header nav { gap: 3px; }
.site-header nav a {
  padding: 9px 10px;
  border-radius: 9px;
  color: #283152;
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-header nav a:hover,
.site-header nav a:focus-visible { background: var(--portal-violet-soft); color: #563db8; outline: none; }
.nav-auth { box-shadow: 0 7px 16px rgba(71, 50, 153, .12); }
.theme-toggle { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e3e6f0; border-radius: 10px; background: #fff; color: #4e3aa9; cursor: pointer; font-size: 1rem; }
.theme-toggle:hover,.theme-toggle:focus-visible { border-color: #a89bea; background: #f2efff; outline: none; }

body[data-theme="dark"] { background: #0d1431; color: #e8ecff; }
body[data-theme="dark"] .site-header { background: rgba(13,20,49,.94); border-color: rgba(166,176,225,.17); }
body[data-theme="dark"] .site-header nav a { color: #dce2ff; }
body[data-theme="dark"] .site-header nav a:hover, body[data-theme="dark"] .site-header nav a:focus-visible { background: rgba(137,112,238,.18); color: #fff; }
body[data-theme="dark"] .theme-toggle { border-color: rgba(188,197,244,.22); background: #151e46; color: #f1edff; }
body[data-theme="dark"] .content, body[data-theme="dark"] .company-discovery, body[data-theme="dark"] .featured-roles { color: #e8ecff; }
body[data-theme="dark"] .filters, body[data-theme="dark"] .job-card, body[data-theme="dark"] .company-discovery-card, body[data-theme="dark"] .featured-role-card { border-color: rgba(184,193,235,.16); background: #141d44; box-shadow: none; }
body[data-theme="dark"] .filters h2, body[data-theme="dark"] .jobs-heading h2, body[data-theme="dark"] .company-discovery-heading h2, body[data-theme="dark"] .featured-roles-heading h2, body[data-theme="dark"] .job-card h3, body[data-theme="dark"] .featured-role-card h3, body[data-theme="dark"] .company-discovery-card { color: #f1f3ff; }
body[data-theme="dark"] .category, body[data-theme="dark"] .job-card p, body[data-theme="dark"] .company-discovery-card small, body[data-theme="dark"] .featured-role-card > span { color: #b9c2e8; }
body[data-theme="dark"] .category.active, body[data-theme="dark"] .quick-job-filters { background: rgba(117,89,220,.23); color: #fff; }
body[data-theme="dark"] .quick-job-filters { border-color: rgba(174,156,246,.22); }
body[data-theme="dark"] .quick-job-filters button { border-color: rgba(184,171,245,.3); background: #1a2454; color: #e7e3ff; }

.consent-banner { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; width: min(570px,calc(100vw - 32px)); padding: 21px 22px; border: 1px solid #e1dcfa; border-radius: 18px; background: rgba(255,255,255,.97); color: #222747; box-shadow: 0 20px 50px rgba(29,25,77,.2); backdrop-filter: blur(14px); }
.consent-banner[hidden] { display: none; }
.consent-banner h2 { margin: 2px 0 6px; color: #171d45; font-size: 1.15rem; }
.consent-banner p:not(.eyebrow) { margin: 0; color: #565d7f; font-size: .88rem; line-height: 1.48; }
.consent-banner a { display: inline-block; margin-top: 8px; color: #5842ba; font-size: .86rem; font-weight: 700; }
.consent-actions { display: flex; flex-direction: column; align-self: end; gap: 8px; min-width: 150px; }
.consent-actions button { min-height: 38px; border: 1px solid #5e43c5; border-radius: 9px; background: #5e43c5; color: #fff; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700; }
.consent-actions .consent-secondary { border-color: #d9dcec; background: #fff; color: #3c4369; }
.consent-actions button:hover,.consent-actions button:focus-visible { filter: brightness(.95); outline: 3px solid rgba(112,89,209,.25); outline-offset: 2px; }
body[data-theme="dark"] .consent-banner { border-color: rgba(192,200,247,.2); background: rgba(18,28,67,.97); color: #f1f3ff; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
body[data-theme="dark"] .consent-banner h2 { color: #f1f3ff; }
body[data-theme="dark"] .consent-banner p:not(.eyebrow) { color: #c7cef1; }
body[data-theme="dark"] .consent-actions .consent-secondary { border-color: rgba(192,200,247,.27); background: #1d2859; color: #edf0ff; }

@media (max-width: 560px) { .consent-banner { right: 12px; bottom: 12px; grid-template-columns: 1fr; gap: 14px; padding: 18px; } .consent-actions { display: grid; grid-template-columns: 1fr 1fr; align-self: auto; min-width: 0; } }

.hero { box-shadow: inset 0 -1px 0 rgba(255,255,255,.1); }
.hero-copy { max-width: 700px !important; }
.hero-copy > p:not(.eyebrow) { max-width: 520px; color: #d5daf0; font-size: 1.05rem; line-height: 1.65; }
.search-panel {
  max-width: 625px;
  grid-template-columns: minmax(140px,1.35fr) minmax(125px,1fr) minmax(145px,1fr) auto;
  gap: 9px !important;
  padding: 8px;
  border: 1px solid rgba(201, 192, 255, .4);
  border-radius: 15px;
  background: rgba(10, 18, 61, .35);
  box-shadow: 0 18px 36px rgba(5, 8, 33, .22);
}
.search-panel input,
.search-panel select { border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.98); }
.search-panel button { border-radius: 10px; box-shadow: 0 9px 20px rgba(109, 80, 214, .34); }
.stats { gap: 28px; margin-top: 26px; }
.stats div { position: relative; min-width: 84px; }
.stats div + div { padding-left: 28px; border-left: 1px solid rgba(225, 228, 255, .3); }
.stats dt { font-size: 1.7rem; font-weight: 820; letter-spacing: -.05em; }
.stats dd { color: #cfd5ec; font-size: .77rem; }

.content { max-width: 1480px; gap: 44px; padding-top: 76px; padding-bottom: 84px; }
.filters {
  position: sticky;
  top: 96px;
  height: max-content;
  padding: 14px;
  border: 1px solid var(--portal-line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 32px rgba(29, 36, 78, .045);
}
.filters h2 { padding: 8px 9px 12px; color: #252e4e; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 11px !important;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #59627c;
  font-size: .84rem;
  line-height: 1.25;
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.category:hover { background: #f5f3ff; color: #4f37ac; transform: translateX(2px); }
.category.active { background: #eee9ff; color: #513ab3; font-weight: 800; }
.category span { color: #8b93aa; font-size: .76rem; }

.jobs-heading { align-items: flex-end; margin-bottom: 22px; }
.jobs-heading h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.052em; }
#results-meta { padding: 8px 12px; border-radius: 999px; background: #f1effa; color: #5a6380; font-size: .8rem; font-weight: 760; }
.job-list { gap: 18px; }
.job-card {
  position: relative;
  grid-template-columns: 122px minmax(0, 1fr) !important;
  min-height: 184px;
  border: 1px solid var(--portal-line);
  border-radius: 19px;
  background: var(--portal-surface);
  box-shadow: 0 12px 28px rgba(28, 37, 82, .055);
  transition: transform .2s cubic-bezier(.23, 1, .32, 1), box-shadow .2s cubic-bezier(.23, 1, .32, 1), border-color .2s ease;
}
.job-card:hover { transform: translateY(-4px); border-color: #cfc4ff; box-shadow: 0 20px 40px rgba(46, 39, 112, .12); }
.job-card > div:first-child { overflow: hidden; background: linear-gradient(145deg, #2b246a, #6c50d5 65%, #b8a6ff); }
.job-card .image-fallback { position: relative; background: linear-gradient(145deg, #211b52, #6850ca 65%, #baaaff); }
.job-card .image-fallback::after { content: "UNIRECRUIT"; position: absolute; left: 16px; bottom: 16px; color: rgba(255,255,255,.82); font-size: .62rem; font-weight: 900; letter-spacing: .11em; transform: rotate(-90deg); transform-origin: bottom left; }
.job-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 17px 18px 16px !important; }
.job-type { padding: 5px 8px; border-radius: 7px; background: #eef7f4; color: #176952; font-size: .69rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.job-card h3 { display: -webkit-box; overflow: hidden; margin: 9px 0 5px; color: #172044; font-size: 1.04rem; font-weight: 820; line-height: 1.22; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.job-card p { overflow: hidden; width: 100%; color: var(--portal-muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.pill { padding: 5px 8px; border: 1px solid #e8eaf2; border-radius: 999px; background: #f8f9fc; color: #5d6680; font-size: .68rem; font-weight: 700; }
.pill.salary { border-color: #ddd4ff; background: #f4f1ff; color: #573fb9; }
.job-detail-link { margin-top: auto; padding-top: 12px; color: #553cbc; font-size: .8rem; font-weight: 850; text-decoration: none; }
.job-detail-link:hover { text-decoration: underline; }
.source-link { margin-top: 5px; color: #5d6680; font-size: .72rem; font-weight: 700; text-decoration: none; }
.source-link:hover { color: #553cbc; text-decoration: underline; }
.load-more { min-width: 174px; border-radius: 11px; box-shadow: 0 10px 22px rgba(23, 31, 74, .18); }
.loading { padding: 38px 20px; border: 1px dashed #d9ddec; border-radius: 16px; background: #fbfbfe; color: #6b748d; text-align: center; }

@media (max-width: 1080px) {
  .site-header { padding-inline: 24px; }
  .site-header nav a { padding-inline: 7px; font-size: .76rem; }
  .content { grid-template-columns: 210px minmax(0,1fr); gap: 28px; padding-inline: 28px; }
  .job-card { grid-template-columns: 92px minmax(0,1fr) !important; }
}

@media (max-width: 840px) {
  .site-header { overflow: hidden; align-items: center; }
  .site-header nav { display: flex !important; flex: 1; min-width: 0; overflow-x: auto; padding: 8px 0 8px 14px; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: 0 0 auto; }
  .site-header .nav-auth { flex: 0 0 auto; margin-left: 8px; }
  .content { padding: 46px 18px 60px; }
  .jobs-heading h2 { font-size: 2rem; }
  .search-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 60px; padding-inline: 14px; }
  .brand-logo { height: 27px; max-width: 118px; }
  .site-header nav { padding-left: 10px; }
  .nav-auth { padding: 8px 10px; font-size: .76rem; }
  .hero-copy { padding: 36px 20px !important; }
  .search-panel { gap: 7px !important; padding: 7px; }
  .stats { gap: 20px; }
  .stats div + div { padding-left: 20px; }
  .job-card { grid-template-columns: 74px minmax(0,1fr) !important; min-height: 166px; border-radius: 15px; }
  .job-body { padding: 14px 13px !important; }
  .job-card h3 { font-size: .94rem; }
  .job-card .image-fallback::after { left: 13px; bottom: 13px; font-size: .55rem; }
  .job-meta { margin-top: 9px; }
  .jobs-heading { gap: 10px; }
}

.quick-job-filters { margin: 22px 0 6px; padding: 16px 18px; border: 1px solid #e6e2f5; border-radius: 16px; background: linear-gradient(110deg, #fbfaff, #f4f1ff); }
.quick-job-filters p { margin: 0 0 10px; color: #6f64a6; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; }
.quick-job-filters > div { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-job-filters button { border: 1px solid #d8d0f2; color: #443580; background: #fff; border-radius: 999px; padding: 8px 11px; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.quick-job-filters button:hover,.quick-job-filters button.active { background: #654bc6; border-color: #654bc6; color: #fff; transform: translateY(-1px); }
.company-discovery { max-width: 1180px; margin: 76px auto 0; padding: 0 28px; }
.company-discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.company-discovery-heading h2 { margin: 7px 0 0; color: #131d4a; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.company-discovery-heading > a { color: #5841bc; font-size: .9rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.company-discovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.company-discovery-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; align-items: center; min-height: 86px; border: 1px solid #e7e3f3; border-radius: 15px; background: #fff; padding: 16px; color: #1b2654; text-decoration: none; box-shadow: 0 8px 20px rgba(33, 27, 84, .045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.company-discovery-card:hover { transform: translateY(-3px); border-color: #b9adf0; box-shadow: 0 16px 30px rgba(51, 39, 120, .12); }
.company-discovery-card > span { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, #e9e4ff, #d6ccff); color: #513ab2; font-weight: 950; }
.company-discovery-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.company-discovery-card small { overflow: hidden; color: #71778d; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; }
@media (max-width: 840px) { .company-discovery { padding: 0 18px; margin-top: 58px; } .company-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .quick-job-filters { padding: 14px; } .company-discovery-heading { align-items: start; flex-direction: column; gap: 10px; } .company-discovery-grid { grid-template-columns: 1fr; } }

.featured-roles { max-width: 1180px; margin: 58px auto -22px; padding: 0 28px; }
.featured-roles-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.featured-roles-heading h2 { margin: 7px 0 0; color: #131d4a; font-size: clamp(1.6rem, 2.7vw, 2.25rem); letter-spacing: -.045em; }
.featured-roles-heading > a { color: #5841bc; font-size: .9rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.featured-roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.featured-role-card { position: relative; min-height: 205px; overflow: hidden; border: 1px solid #e0daf6; border-radius: 18px; background: linear-gradient(145deg, #fff, #f5f2ff); padding: 22px; box-shadow: 0 12px 28px rgba(32, 26, 90, .06); }
.featured-role-card::after { content: ""; position: absolute; right: -38px; bottom: -48px; width: 140px; height: 140px; border-radius: 999px; background: radial-gradient(circle, rgba(135,105,237,.26), transparent 70%); pointer-events: none; }
.featured-role-card > p { margin: 0 0 13px; color: #7159c9; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.featured-role-card h3 { position: relative; z-index: 1; margin: 0 0 9px; color: #18234f; font-size: 1.1rem; line-height: 1.2; }
.featured-role-card > span { display: block; max-width: 95%; color: #6c748a; font-size: .82rem; line-height: 1.45; }
.featured-role-card > a { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: #523ab5; font-size: .8rem; font-weight: 900; text-decoration: none; }
.featured-role-card > a:hover { text-decoration: underline; }
@media (max-width: 840px) { .featured-roles { margin-top: 44px; padding: 0 18px; } .featured-roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .featured-roles-heading { align-items: start; flex-direction: column; gap: 10px; } .featured-roles-grid { grid-template-columns: 1fr; } }

.support-launcher { position: fixed; z-index: 12; left: 22px; bottom: 22px; max-width: min(340px,calc(100vw - 44px)); }
.support-toggle { border: 0; border-radius: 999px; background: #5d47c8; color: #fff; box-shadow: 0 12px 28px rgba(41,32,103,.25); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 850; padding: 12px 16px; transition: transform .16s ease, background .16s ease; }
.support-toggle:hover { background: #4d36b4; transform: translateY(-2px); }
.support-toggle:focus-visible,.support-close:focus-visible { outline: 3px solid #b8a9ff; outline-offset: 3px; }
.support-panel { position: absolute; left: 0; bottom: 54px; width: min(340px,calc(100vw - 44px)); border: 1px solid #dedaf2; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(27,25,77,.22); padding: 20px; }
.support-panel .eyebrow { margin: 0 0 7px; }
.support-panel h2 { margin: 0; color: #172044; font-size: 1.25rem; letter-spacing: -.025em; }
.support-panel p:not(.eyebrow) { margin: 9px 0 16px; color: #5d6680; font-size: .86rem; line-height: 1.52; }
.support-panel a { display: block; border-top: 1px solid #eceaf5; color: #513bb8; font-size: .84rem; font-weight: 800; padding: 10px 0; text-decoration: none; }
.support-panel a:hover { color: #372481; text-decoration: underline; }
.support-panel a:last-child { padding-bottom: 0; }
.support-close { position: absolute; top: 9px; right: 10px; border: 0; background: transparent; color: #6d6783; cursor: pointer; font-size: 1.3rem; line-height: 1; }
body[data-theme='dark'] .support-panel { border-color: rgba(189,199,245,.24); background: #151f49; box-shadow: 0 18px 48px rgba(0,0,0,.34); }
body[data-theme='dark'] .support-panel h2 { color: #f2f4ff; }
body[data-theme='dark'] .support-panel p:not(.eyebrow) { color: #c9d0ef; }
body[data-theme='dark'] .support-panel a { border-color: rgba(189,199,245,.16); color: #cbbfff; }
body[data-theme='dark'] .support-close { color: #d7dcf3; }
@media (max-width: 600px) { .support-launcher { left: 16px; bottom: 16px; } .support-panel { width: min(340px,calc(100vw - 32px)); } }
