/* ============================================================
   Jobs Ai — design system
   Palette sampled directly from mercor.com: white canvas,
   Tailwind grey scale, indigo-600 as the single strong accent,
   warm avatar set. No colour outside this list.
   ============================================================ */

:root {
  /* Core — sampled from mercor.com */
  --white:      #FFFFFF;
  --ink:        #000000;   /* body text + page ground */
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;   /* borders */
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;   /* muted text */
  --gray-600:   #4B5563;
  --gray-700:   #374151;
  --gray-800:   #1F2937;

  /* Accents — sampled from mercor.com */
  --indigo:     #4F46E5;   /* primary CTA, highlight */
  --indigo-700: #4338CA;
  --periwinkle: #8274FF;
  --violet:     #9655EB;
  --coral:      #E6836C;
  --sand:       #FBC682;
  --rose:       #C65F76;

  /* Semantic */
  --bg:          var(--white);
  --surface:     var(--gray-50);
  --surface-2:   var(--gray-100);
  --line:        var(--gray-200);
  --line-strong: var(--gray-300);
  --strong:      var(--ink);
  --text:        var(--gray-800);
  --muted:       var(--gray-500);
  --muted-2:     var(--gray-400);
  --accent:      var(--indigo);

  --maxw: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; color: var(--strong); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

/* ---------- ambient (kept minimal on white, as mercor is flat) ---------- */
.glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(700px 520px at 88% -8%, rgba(79,70,229,.05), transparent 66%),
    radial-gradient(620px 480px at 6% 102%, rgba(130,116,255,.04), transparent 66%);
}
.grain { display: none; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; position: relative; z-index: 2; }
.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; z-index: 2; }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--indigo); border-radius: 2px; }
.eyebrow--dot::before { width: 7px; height: 7px; border-radius: 50%; }

/* ---------- type ---------- */
.h-display { font-size: clamp(40px, 6.6vw, 88px); letter-spacing: -0.045em; }
.h1 { font-size: clamp(38px, 5.6vw, 74px); }
.h2 { font-size: clamp(30px, 4.2vw, 56px); }
.h3 { font-size: clamp(21px, 2.2vw, 30px); }
.lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 62ch; line-height: 1.7; }
.amber { color: var(--indigo); }     /* legacy class name — now the indigo highlight */
.violet { color: var(--violet); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--indigo); color: var(--white); }      /* primary */
.btn--amber:hover { background: var(--indigo-700); }
.btn--white { background: var(--gray-100); color: var(--ink); }      /* secondary */
.btn--white:hover { background: var(--gray-200); }
.btn--ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--gray-50); border-color: var(--gray-300); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 13.5px; }
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 60;
  display: flex; align-items: center;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(255,255,255,.86); backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr__in { width: min(100% - 48px, 1560px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__links { display: flex; align-items: center; gap: 30px; }
.hdr__links a { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: color .25s; }
.hdr__links a:hover, .hdr__links a[aria-current] { color: var(--ink); }
@media (max-width: 900px) { .hdr__links { display: none; } }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -0.035em; color: var(--ink); }
/* mark is 76x100 — never force it square */
.logo__mark { width: auto; height: 28px; flex: none; }
.logo em { font-style: normal; color: var(--indigo); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--white); }
.hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s var(--ease-out), transform 7s linear;
}
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__slide svg { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.3) 34%, rgba(255,255,255,.86) 80%, var(--white) 100%),
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.4) 46%, transparent 66%);
}
.hero__in {
  position: relative; z-index: 3;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: clamp(112px, 13vh, 152px);
}
.hero__count {
  display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 500;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 22px;
}
.hero__count b { color: var(--ink); font-weight: 600; }
.hero__count .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.hero h1 { max-width: 13ch; margin-bottom: 24px; }
.hero__sub { font-size: clamp(15.5px, 1.4vw, 19px); color: var(--gray-600); max-width: 44ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { display: flex; gap: 8px; margin-top: 40px; }
.hero__dots button {
  width: 30px; height: 4px; border-radius: 3px; border: 0; padding: 0;
  background: var(--gray-300); transition: background .35s, width .35s var(--ease);
}
.hero__dots button.is-on { background: var(--indigo); width: 52px; }

/* ============================================================
   KINETIC HEADLINE
   ============================================================ */
.kinetic { position: relative; height: 320vh; }
.kinetic__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; background: var(--white); }
.kinetic__track { display: flex; align-items: center; white-space: nowrap; will-change: transform; padding-left: 8vw; }
.kinetic__track span {
  font-size: clamp(96px, 21vw, 300px); font-weight: 700; letter-spacing: -0.055em; line-height: .92;
  color: var(--ink); padding-right: .28em;
}
.kinetic__track span.is-amber { color: var(--indigo); }
.kinetic__track span.is-out { color: transparent; -webkit-text-stroke: 2px var(--gray-300); }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.floater {
  position: absolute; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 46px rgba(2,8,23,.10);
  border: 1px solid var(--line);
  will-change: transform;
}
.floater svg { display: block; }

/* ============================================================
   DISCIPLINE CAROUSEL
   ============================================================ */
.disc { position: relative; height: 460vh; }
.disc__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--white); }
.disc__cards { position: absolute; inset: 0; z-index: 1; }
.disc__card {
  position: absolute; top: 50%; left: 50%;
  width: min(74vw, 960px); aspect-ratio: 16/7.2; border-radius: 26px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.9);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
  border: 1px solid var(--line);
}
.disc__card.is-on { opacity: .5; transform: translate(-50%, -50%) scale(1); }
.disc__inner { position: relative; z-index: 4; text-align: center; }
.disc__count { display: flex; align-items: center; justify-content: center; gap: 11px; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; }
.disc__count .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.disc__count b { color: var(--ink); font-weight: 600; }
.disc__name { font-size: clamp(40px, 6.6vw, 92px); letter-spacing: -0.045em; margin-bottom: 14px; }
.disc__blurb { color: var(--muted); max-width: 46ch; margin: 0 auto 34px; font-size: 15.5px; }
.disc__all { position: absolute; bottom: clamp(96px, 14vh, 140px); left: 50%; transform: translateX(-50%); z-index: 5; }

/* ============================================================
   ROLE CARDS
   ============================================================ */
.roles { display: grid; gap: 14px; }
.role {
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
  padding: 26px 28px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.role:hover { border-color: var(--gray-300); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(2,8,23,.07); }
.role__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.role:hover .role__title { color: var(--indigo); }
.role__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.role__meta span { display: inline-flex; align-items: center; gap: 7px; }
.role__meta svg { opacity: .6; flex: none; }
.role__right { display: flex; align-items: center; gap: 14px; }
.role__pay { font-size: 13.5px; font-weight: 600; color: var(--gray-700); white-space: nowrap; }
@media (max-width: 720px) {
  .role { grid-template-columns: 1fr; }
  .role__right { justify-content: space-between; }
}

.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--line);
}
.tag--amber { background: rgba(79,70,229,.08); color: var(--indigo); border-color: rgba(79,70,229,.22); }

/* outbound "view on Joblet" affordance on a role card */
.role__go {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.role:hover .role__go { color: var(--white); background: var(--indigo); border-color: var(--indigo); }

/* outbound markers in nav */
.hdr__jobs { display: inline-flex; align-items: center; gap: 6px; }
.hdr__links .ext, .ftr li .ext, .ftr__cta .ext { opacity: .5; }
.hdr__links a:hover .ext { opacity: 1; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.searchbar {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 10px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 4px 18px rgba(2,8,23,.05);
}
@media (max-width: 860px) { .searchbar { grid-template-columns: 1fr 1fr; } .searchbar .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .searchbar { grid-template-columns: 1fr; } }
.field { position: relative; display: flex; align-items: center; }
.field svg { position: absolute; left: 16px; opacity: .5; pointer-events: none; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px 0 44px; border-radius: 13px;
  background: var(--gray-50); border: 1px solid transparent; color: var(--ink);
  font-size: 14.5px; font-family: inherit; appearance: none;
  transition: border-color .25s, background .25s;
}
.field select { cursor: pointer; }
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo); background: var(--white); }
.field .chev { left: auto; right: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  height: 38px; padding: 0 17px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); color: var(--gray-600);
  transition: all .28s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--gray-300); }
.chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); font-weight: 600; }

.empty { text-align: center; padding: 84px 20px; border: 1px dashed var(--line-strong); border-radius: 20px; }

/* ============================================================
   JOB DETAIL
   ============================================================ */
.jd { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .jd { grid-template-columns: 1fr; gap: 34px; } }
.jd__body h3 { margin: 42px 0 16px; font-size: 21px; }
.jd__body p { color: var(--muted); margin-bottom: 14px; }
.jd__body li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.jd__body li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--indigo);
}
.jd__aside {
  position: sticky; top: calc(var(--nav-h) + 22px);
  padding: 30px; border-radius: 22px;
  background: var(--gray-50); border: 1px solid var(--line);
}
.jd__row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.jd__row:last-of-type { border-bottom: 0; }
.jd__row span { color: var(--muted); }
.jd__row b { font-weight: 600; color: var(--ink); text-align: right; }

/* ============================================================
   FEATURE / PROCESS GRID
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card {
  padding: 34px; border-radius: 22px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { border-color: var(--gray-300); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(2,8,23,.07); }
.card__n { font-size: 13px; font-weight: 700; color: var(--indigo); letter-spacing: .1em; margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.card__ico { width: 46px; height: 46px; margin-bottom: 22px; }

/* mission */
.mission { text-align: center; }
.mission__mark { width: auto; height: 64px; margin: 0 auto 30px; display: block; }
.mission h2 { margin-bottom: 26px; }
.mission .lede { margin: 0 auto 38px; text-align: center; }

/* ============================================================
   AVATARS — mercor's warm accent set
   ============================================================ */
.av {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 16px; font-weight: 700; letter-spacing: .02em; color: var(--white);
  border: 1px solid rgba(2,8,23,.06);
}
.av--0 { background: var(--indigo); }
.av--1 { background: var(--coral); }
.av--2 { background: var(--sand); color: var(--gray-800); }
.av--3 { background: var(--violet); }
.av--4 { background: var(--rose); }
.av--5 { background: var(--periwinkle); }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { padding: 30px 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--gray-50); }
.stat__v { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat__l { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   MARQUEE
   ============================================================ */
.mq {
  overflow: hidden; position: relative; z-index: 2; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq__track { display: flex; gap: 14px; width: max-content; animation: mq 46s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq__tile {
  flex: none; min-width: 258px; padding: 20px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--white);
}
.mq__tile--stat { min-width: 214px; }
.mq__person { display: flex; align-items: center; gap: 14px; }
.mq__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.mq__role { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mq__big { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; color: var(--indigo); line-height: 1; }
.mq__lbl { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   LIVE ROLES TICKER
   ============================================================ */
.ticker { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); }
.tick {
  display: grid; grid-template-columns: 46px 1fr auto auto auto; gap: 20px; align-items: center;
  padding: 17px 24px; border-bottom: 1px solid var(--line); transition: background .3s var(--ease);
}
.tick:last-child { border-bottom: 0; }
.tick:hover { background: var(--gray-50); }
.tick__code {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--indigo);
  background: rgba(79,70,229,.08); border: 1px solid rgba(79,70,229,.2);
  border-radius: 7px; padding: 5px 0; text-align: center;
}
.tick__t { font-size: 15.5px; font-weight: 500; color: var(--text); }
.tick:hover .tick__t { color: var(--indigo); }
.tick__pay { font-size: 14px; font-weight: 600; color: var(--gray-700); white-space: nowrap; }
.tick__note { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tick__go { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tick:hover .tick__go { color: var(--ink); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (max-width: 900px) {
  .tick { grid-template-columns: 40px 1fr; gap: 10px 14px; padding: 16px 18px; }
  .tick__pay, .tick__note { grid-column: 2; }
  .tick__go { display: none; }
}

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 74px 1fr; gap: 26px; align-items: start;
  padding: 30px 32px; border-radius: 20px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { border-color: var(--gray-300); box-shadow: 0 10px 28px rgba(2,8,23,.06); }
.step__n { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; color: var(--gray-300); line-height: 1; transition: color .35s var(--ease); }
.step:hover .step__n { color: var(--indigo); }
.step h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 72ch; }
@media (max-width: 700px) { .step { grid-template-columns: 1fr; gap: 12px; padding: 26px 24px; } }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; transition: border-color .3s var(--ease); }
.acc.is-open { border-color: var(--indigo); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 21px 26px; background: none; border: 0; text-align: left;
  font-size: 16px; font-weight: 500; color: var(--text); letter-spacing: -0.01em;
}
.acc__q:hover { color: var(--ink); }
.acc__ico { flex: none; color: var(--indigo); transition: transform .35s var(--ease); }
.acc.is-open .acc__ico { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc__a p { padding: 0 26px 24px; color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 88ch; }

/* ============================================================
   STORIES
   ============================================================ */
.story {
  padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: var(--white);
  display: flex; flex-direction: column; gap: 22px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.story:hover { border-color: var(--gray-300); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(2,8,23,.07); }
.story blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); letter-spacing: -0.015em; flex: 1; }
.story__who { display: flex; align-items: center; gap: 14px; }
.story__name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.story__role { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.storyx {
  padding: 34px; border-radius: 24px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.storyx:hover { border-color: var(--gray-300); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,8,23,.07); }
.storyx__head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 24px; }
.storyx__name { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.storyx__role { font-size: 13.5px; color: var(--indigo); margin-top: 3px; }
.storyx__where { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.storyx blockquote { margin: 0 0 20px; font-size: 18px; line-height: 1.6; color: var(--text); letter-spacing: -0.015em; }
.storyx__detail { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }
.storyx__stat {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500;
  color: var(--indigo); background: rgba(79,70,229,.06); border: 1px solid rgba(79,70,229,.2);
  padding: 8px 15px; border-radius: 999px;
}
@media (max-width: 560px) { .storyx__head { grid-template-columns: auto 1fr; } .storyx__head .tag { grid-column: 2; } }

/* ============================================================
   FOOTER
   ============================================================ */
.ftr { border-top: 1px solid var(--line); padding: 76px 0 150px; position: relative; z-index: 2; background: var(--gray-50); }
.ftr__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; margin-bottom: 60px; }
@media (max-width: 860px) { .ftr__top { grid-template-columns: 1fr 1fr; gap: 34px; } }
.ftr h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.ftr li { margin-bottom: 11px; }
.ftr li a { font-size: 14.5px; color: var(--gray-600); transition: color .25s; }
.ftr li a:hover { color: var(--indigo); }
.ftr__tag { color: var(--muted); font-size: 14.5px; max-width: 40ch; margin-top: 16px; line-height: 1.7; }
.ftr__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.ftr__base b { color: var(--gray-700); font-weight: 600; }

/* brand attribution — QuikHire parent, Joblet feed */
.ftr__brands { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.ftr__brand { display: inline-flex; align-items: center; gap: 9px; }
.ftr__brand-lbl { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ftr__brand-logo { display: inline-flex; align-items: center; opacity: .9; transition: opacity .25s; }
.ftr__brand-logo:hover { opacity: 1; }
.ftr__brand-logo img { height: 21px; width: auto; display: block; }
.ftr__wordmark { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ftr__note { margin-top: 22px; font-size: 11.5px; color: var(--muted-2); }
.ftr__cta { margin-top: 22px; }

/* ============================================================
   FLOATING PILL NAV
   ============================================================ */
.pill {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 70;
  display: flex; gap: 4px; padding: 7px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 14px 40px rgba(2,8,23,.12);
}
.pill a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 20px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--muted);
  transition: color .28s, background .28s;
}
.pill a svg { width: 19px; height: 19px; }
.pill a:hover { color: var(--ink); background: var(--gray-100); }
.pill a[aria-current] { color: var(--white); background: var(--indigo); font-weight: 600; }
.pill a.pill__ext { position: relative; }
@media (max-width: 560px) { .pill a { padding: 8px 14px; font-size: 10px; } }

/* ============================================================
   ASSISTANT BUBBLE
   ============================================================ */
.assist { position: fixed; right: 22px; bottom: 30px; z-index: 65; display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .assist { display: none; } }
.assist__msg {
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text);
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(2,8,23,.08);
  white-space: nowrap; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.assist__btn {
  width: 54px; height: 54px; border-radius: 50%; border: 0;
  background: var(--indigo);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(79,70,229,.34);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.assist__btn:hover { transform: scale(1.07); background: var(--indigo-700); }
.assist__btn svg { stroke: var(--white); }

/* ============================================================
   REVEAL
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.rv.is-in { opacity: 1; transform: none; }
.rv--now { transition: none !important; transition-delay: 0s !important; }
.rv[data-d="1"] { transition-delay: .08s; }
.rv[data-d="2"] { transition-delay: .16s; }
.rv[data-d="3"] { transition-delay: .24s; }
.rv[data-d="4"] { transition-delay: .32s; }
.rv[data-d="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .kinetic { height: auto; }
  .kinetic__sticky { position: static; height: auto; padding: 90px 0; }
  .kinetic__track { white-space: normal; flex-wrap: wrap; transform: none !important; padding-inline: 24px; }
  .kinetic__track span { font-size: clamp(38px, 8vw, 76px); }
  .disc { height: auto; }
  .disc__sticky { position: static; height: auto; padding: 90px 0; }
}

.page-top { padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 96px)); }

/* ============================================================
   HERO — living constellation field (right side)
   ============================================================ */
.hero__live {
  position: absolute; top: 0; bottom: 0; right: 0;
  left: clamp(320px, 40%, 720px);
  z-index: 2; pointer-events: none;
  -webkit-mask-image: radial-gradient(78% 74% at 62% 46%, #000 42%, transparent 100%);
          mask-image: radial-gradient(78% 74% at 62% 46%, #000 42%, transparent 100%);
}
.hero__live canvas { display: block; width: 100%; height: 100%; }
.hero__live::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(46% 46% at 58% 44%, rgba(79,70,229,.07), transparent 70%);
}

.hero__orbit {
  position: absolute; top: 50%; left: 58%; z-index: 1;
  width: min(46vw, 620px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none; opacity: .75;
}
.hero__orbit i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(79,70,229,.16);
  animation: orbitSpin 44s linear infinite;
}
.hero__orbit i:nth-child(2) { inset: 13%; border-color: rgba(130,116,255,.18); animation-duration: 34s; animation-direction: reverse; }
.hero__orbit i:nth-child(3) { inset: 27%; border-color: rgba(230,131,108,.28); animation-duration: 26s; }
.hero__orbit i::after {
  content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px;
  border-radius: 50%; background: var(--indigo); transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(79,70,229,.5);
}
.hero__orbit i:nth-child(3)::after { background: var(--coral); box-shadow: 0 0 10px rgba(230,131,108,.6); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero__live { left: 0; opacity: .5; }
  .hero__orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero__orbit i { animation: none; } }

/* ============================================================
   JOBLET CTA — attention treatment
   ============================================================ */
.btn--joblet {
  position: relative; overflow: visible;
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.btn--joblet::before {
  content: ''; position: absolute; inset: -2px; border-radius: 999px;
  border: 2px solid rgba(79,70,229,.5);
  pointer-events: none;
  animation: jRing 2.8s cubic-bezier(.22,.61,.36,1) infinite;
  animation-delay: inherit;
}
@keyframes jRing {
  0%        { transform: scale(1);    opacity: .8; }
  60%, 100% { transform: scale(1.16); opacity: 0; }
}
.btn--joblet::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  pointer-events: none; overflow: hidden;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.55) 50%, transparent 64%);
  transform: translateX(-130%);
  animation: jShimmer 3.6s cubic-bezier(.4,0,.2,1) infinite;
  animation-delay: inherit;
}
@keyframes jShimmer {
  0%       { transform: translateX(-130%); }
  55%,100% { transform: translateX(130%); }
}
.btn--joblet.btn--amber { animation: jGlow 3s ease-in-out infinite; animation-delay: inherit; }
@keyframes jGlow {
  0%, 100% { box-shadow: 0 8px 22px rgba(79,70,229,.20); }
  50%      { box-shadow: 0 14px 38px rgba(79,70,229,.42); }
}
.btn--joblet.btn--ghost::before,
.btn--joblet.btn--white::before { border-color: rgba(79,70,229,.34); }
.btn--joblet.btn--ghost::after,
.btn--joblet.btn--white::after {
  background: linear-gradient(105deg, transparent 36%, rgba(79,70,229,.12) 50%, transparent 64%);
}

.btn--joblet:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 18px 44px rgba(79,70,229,.4);
  animation-play-state: paused;
}
.btn--joblet:hover::before { animation-play-state: paused; opacity: 0; }
.btn--joblet:hover::after  { animation-duration: 1.1s; }
.btn--joblet:hover .arw { transform: translate(4px, -4px); }
.btn--joblet:active { transform: translateY(-1px) scale(.99); }

.jdot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--indigo); display: inline-block;
  box-shadow: 0 0 0 0 rgba(79,70,229,.6);
  animation: jDot 2s ease-out infinite;
}
@keyframes jDot {
  0%   { box-shadow: 0 0 0 0 rgba(79,70,229,.6); opacity: 1; }
  70%  { box-shadow: 0 0 0 8px rgba(79,70,229,0); opacity: .85; }
  100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); opacity: 1; }
}
.hdr__jobs .jdot { margin-right: 2px; }
.pill a.pill__ext .jdot { position: absolute; top: 7px; right: 12px; width: 6px; height: 6px; }

@media (prefers-reduced-motion: reduce) {
  .btn--joblet, .btn--joblet::before, .btn--joblet::after, .jdot { animation: none !important; }
  .btn--joblet::before { opacity: 0; }
  .btn--joblet::after  { display: none; }
}

/* ============================================================
   EXIT INTENT POPUP
   ============================================================ */
.xi { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.xi[hidden] { display: none; }
.xi__scrim {
  position: absolute; inset: 0; background: rgba(2,8,23,.42);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease);
}
.xi.is-on .xi__scrim { opacity: 1; }
.xi__card {
  position: relative; z-index: 2; width: min(100%, 580px);
  padding: clamp(32px, 4.4vw, 48px);
  border-radius: 28px; border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 40px 100px rgba(2,8,23,.22);
  opacity: 0; transform: translateY(18px) scale(.97);
  transition: opacity .38s var(--ease-out), transform .48s var(--ease-out);
  max-height: calc(100svh - 48px); overflow-y: auto;
}
.xi.is-on .xi__card { opacity: 1; transform: none; }
.xi__x {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--muted); transition: all .28s var(--ease);
}
.xi__x:hover { color: var(--ink); background: var(--gray-100); border-color: var(--gray-300); }
.xi__art { position: absolute; top: -18px; right: 18px; width: 148px; opacity: .85; pointer-events: none; }
@media (max-width: 620px) { .xi__art { display: none; } }
.xi .eyebrow { position: relative; z-index: 2; }
.xi__h {
  position: relative; z-index: 2;
  font-size: clamp(27px, 3.4vw, 38px); letter-spacing: -0.035em; line-height: 1.1;
  margin: 18px 0 16px; max-width: 15ch;
}
.xi__p { position: relative; z-index: 2; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 48ch; }
.xi__pts { margin: 22px 0 28px; display: grid; gap: 10px; }
.xi__pts li { position: relative; padding-left: 26px; color: var(--text); font-size: 14px; line-height: 1.6; }
.xi__pts li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--indigo);
}
.xi__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.xi__cta .btn { flex: 1 1 auto; }
.xi__go { box-shadow: 0 12px 30px rgba(79,70,229,.24); }
.xi__fine { margin-top: 18px; font-size: 11.5px; color: var(--muted-2); }

@media (prefers-reduced-motion: reduce) {
  .xi__card, .xi__scrim { transition: none; opacity: 1; transform: none; }
}

/* joblet wordmark in the footer attribution */
.ftr__joblet { font-size: 15px; letter-spacing: -0.03em; color: var(--ink); }
.ftr__joblet em { font-style: normal; color: var(--indigo); }

/* ============================================================
   JOBLET HAND-OFF BAND
   ============================================================ */
.handoff {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(34px, 4.6vw, 56px);
  border: 1px solid var(--line); border-radius: 26px; background: var(--gray-50);
}
.handoff__art { width: clamp(140px, 15vw, 200px); flex: none; }
.handoff__body .eyebrow { margin-bottom: 18px; }
.handoff__body h2 { margin-bottom: 16px; max-width: 18ch; }
.handoff__body .lede { margin-bottom: 30px; }
@media (max-width: 780px) {
  .handoff { grid-template-columns: 1fr; }
  .handoff__art { width: 130px; }
}

/* ============================================================
   HEADER CTA — "Browse jobs" shine
   Brighter, faster sweep than the standard Joblet treatment,
   since this is the top-level call to action on every page.
   ============================================================ */
.hdr__cta {
  position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(79,70,229,.28);
}
.hdr__cta .ext { opacity: .75; }

/* the shine bar — a steep white band crossing the button */
.hdr__cta::after {
  content: ''; position: absolute; top: -60%; left: -80%;
  width: 45%; height: 220%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.16) 32%,
    rgba(255,255,255,.72) 50%,
    rgba(255,255,255,.16) 68%,
    rgba(255,255,255,0) 100%);
  transform: rotate(22deg) translateX(0);
  animation: ctaShine 3.2s cubic-bezier(.4,0,.2,1) infinite;
  pointer-events: none;
}
@keyframes ctaShine {
  0%       { transform: rotate(22deg) translateX(0); }
  42%,100% { transform: rotate(22deg) translateX(560%); }
}
.hdr__cta:hover {
  box-shadow: 0 10px 26px rgba(79,70,229,.46);
  transform: translateY(-2px);
}
.hdr__cta:hover::after { animation-duration: 1s; }

/* The tagger also gives it .btn--joblet. Both use ::after, and this
   block loads later so the shine wins. The ring is suppressed — it
   would be clipped by overflow:hidden and reads as busy at this size. */
.hdr__cta.btn--joblet { overflow: hidden; animation: none; }
.hdr__cta.btn--joblet::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hdr__cta::after { animation: none; opacity: 0; }
}
