:root{
  --bg:#060912;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.66);
  --muted2: rgba(255,255,255,.52);
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --r: 22px;

  /* Cleverly-ish accents */
  --a: #7c5cff;   /* purple */
  --b: #23d5ab;   /* teal */
  --c: #00a3ff;   /* blue */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

.bg{ position:fixed; inset:0; z-index:-1; overflow:hidden; }
.stars{
  position:absolute; inset:0;
  background:
    radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(1px 1px at 75% 35%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,.18), transparent 60%);
  opacity:.65;
}
.grid{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 360px at 18% 10%, rgba(124,92,255,.14), transparent 60%),
    radial-gradient(900px 360px at 80% 20%, rgba(35,213,171,.12), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 72px);
  opacity:.9;
}
.glow{
  position:absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  filter: blur(60px);
  opacity:.45;
}
.g1{ left:-140px; top:100px; background: rgba(124,92,255,.85); }
.g2{ right:-160px; top:160px; background: rgba(35,213,171,.65); }

.container{
  width:min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 50px;
}

.topbar{
  position: sticky; top:0; z-index:30;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 20px;
  background: rgba(6,9,18,.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand{ display:flex; align-items:center; gap:10px; font-weight: 800; }
.brand-dot{
  width: 12px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 0 0 7px rgba(124,92,255,.10);
}
.brand-text{ letter-spacing:-.02em; }

.nav{ display:flex; gap:14px; }
.nav-link{
  color: var(--muted);
  font-weight:700;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 150ms ease, color 150ms ease;
}
.nav-link:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.nav-link.active{ background: rgba(255,255,255,.07); color: var(--text); }

.nav-toggle{
  display:none;
  width:44px; height:40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  margin: 6px 10px;
  background: rgba(255,255,255,.82);
  border-radius:999px;
}

.nav-mobile{
  display:none;
  padding: 12px 20px 16px;
  background: rgba(6,9,18,.75);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.nav-mobile.open{ display:grid; gap:10px; }

.hero{
  display:flex; justify-content:space-between; gap:18px;
  padding: 26px 0 10px;
  flex-wrap: wrap;
}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-weight:700;
}
.pill-dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--b);
  box-shadow: 0 0 0 6px rgba(35,213,171,.10);
}

.h1{
  margin: 14px 0 10px;
  font-size: clamp(2.2rem, 3.4vw, 3.0rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.grad{
  background: linear-gradient(90deg, var(--a), var(--b), var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub{ max-width: 65ch; color: var(--muted); line-height:1.6; }

.hero-right{ display:flex; gap:10px; align-items:stretch; }
.mini-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 12px 14px;
  min-width: 160px;
}
.mini-title{ color: var(--muted2); font-weight:800; font-size:.9rem; }
.mini-value{ margin-top:8px; font-weight:900; }

.roles{ margin-top: 18px; }
.roles-wrap{ display:grid; gap:18px; }

.role-card{
  position:relative;
  border-radius: 30px;
  padding: 26px 26px;
  background: radial-gradient(1200px 400px at 10% 0%, rgba(255,255,255,.05), transparent 55%), var(--card);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.role-card::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(700px 220px at 18% 10%, rgba(124,92,255,.18), transparent 55%),
              radial-gradient(700px 220px at 85% 55%, rgba(35,213,171,.12), transparent 55%);
  opacity: 0;
  transition: opacity 170ms ease;
  pointer-events:none;
}

.role-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: radial-gradient(1200px 400px at 10% 0%, rgba(255,255,255,.07), transparent 55%), var(--card2);
}
.role-card:hover::before{ opacity: 1; }

.role-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}

.role-title{
  font-size: 2.0rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.role-title.purple{ color: rgba(170,120,255,.95); }
.role-title.blue{ color: rgba(120,190,255,.95); }
.role-title.teal{ color: rgba(120,255,210,.95); }

.role-salary{ color: var(--muted2); font-weight: 800; margin-left: 8px; font-size: 1.1rem; }
.role-desc{ margin-top: 10px; color: var(--muted); font-weight:650; max-width: 80ch; }

.pills{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 16px;
}
.tag{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: .95rem;
}
.ico{
  width: 26px; height: 26px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}

.view{
  display:flex; align-items:center; gap:12px;
  color: rgba(255,255,255,.86);
  font-weight: 900;
  white-space: nowrap;
  margin-top: 8px;
}
.arrow{
  width: 44px; height: 44px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform 170ms ease, background 170ms ease;
}
.role-card:hover .arrow{ transform: translateX(2px); background: rgba(255,255,255,.08); }

.role-click{
  position:absolute;
  inset:0;
  border-radius: 30px;
  /* makes entire card clickable */
}
.role-click:focus-visible{
  outline: 3px solid rgba(124,92,255,.65);
  outline-offset: 4px;
}

.footer{ margin-top: 26px; }
.footer-inner{
  padding: 16px 0;
  display:flex; justify-content:space-between; align-items:center;
  color: rgba(255,255,255,.62);
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,.08);
}
.muted{ color: rgba(255,255,255,.55); }

/* Responsive */
@media (max-width: 720px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .hero-right{ width:100%; }
  .mini-card{ flex:1; min-width: 0; }
  .role-title{ font-size: 1.55rem; }
  .role-row{ align-items:flex-start; }
}

.brand-logo{
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 14px rgba(124,92,255,0.28));
}

/* ============================= */
/* SHARED NAV (match index/subs) */
/* ============================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(
    to bottom,
    rgba(226, 232, 240, 0.95),
    rgba(226, 232, 240, 0.9),
    rgba(226, 232, 240, 0.75),
    transparent
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1.25rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 48px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

/* NAV LINKS */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: #475569;
  padding: 0.15rem 0;
  transition: color 0.15s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover {
  color: #111827;
}

/* ACTIVE PAGE (blue like subscriptions) */
.site-nav a[aria-current="page"] {
  color: #1d4ed8;
  font-weight: 600;
}

.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Mobile spacing parity */
@media (max-width: 640px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .site-nav {
    gap: 1rem;
  }
}

/* -------- Center nav like index/subscriptions (jobs theme intact) -------- */
.topbar{
  position: sticky;  /* keep your existing sticky topbar */
  top: 0;
}

/* Make topbar a positioning context */
.topbar{
  position: sticky;
  top: 0;
}

/* If you already have .topbar defined, just ADD the next line to it:
   position: relative;
*/
.topbar{
  position: sticky;
  top: 0;
  position: relative; /* <-- ADD THIS */
}

/* Center the nav */
.nav-centered{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Keep right side (hamburger) aligned */
.nav-toggle{
  margin-left: auto; /* harmless; ensures it stays right */
}

/* On mobile: hide centered nav, use hamburger + dropdown */
@media (max-width: 720px){
  .nav-centered{
    position: static;
    transform: none;
    display: none; /* matches your current approach */
  }
}
