/* Stay or Go? — ARAH's career check-up, a sibling of the salary checker (salary-checker/static/styles.css).
   Same tokens, chrome, buttons, hero, sentence form, teaser and job cards, so the two pages feel like one
   family; the salary-only widgets (spectrum, ladder, similar roles) are left out and the career pieces
   (survival curve, next roles) are added at the end. Every colour is a token; nothing below hard-codes one. */
:root {
  --purple: #512ACC;
  --purple-dark: #40249B;
  --magenta: #983EBA;
  --blue: #213DB5;
  --coral: #F75443;
  --green: #1F8F55;
  --green-bg: #E8F6EE;
  --amber-bg: #FFF6E0;
  --lavender: #EFEFFD;
  --lavender-2: #F7F6FE;
  --text: rgba(0, 0, 0, .87);
  --text-2: rgba(0, 0, 0, .6);
  --text-3: rgba(0, 0, 0, .42);
  --heading: #1C1830;
  --line: #E6E4F0;
  --line-2: #D8D8D8;
  --bg: #FFFFFF;
  --bg-2: #F4F3F8;
  --bg-3: #FAFAFC;
  --grad: linear-gradient(100deg, var(--magenta) 0%, var(--purple) 45%, var(--blue) 100%);
  --shadow-sm: 0 1px 2px rgba(28, 24, 48, .06), 0 2px 8px rgba(28, 24, 48, .04);
  --shadow: 0 2px 4px rgba(28, 24, 48, .04), 0 12px 32px rgba(81, 42, 204, .10);
  --shadow-lg: 0 4px 8px rgba(28, 24, 48, .04), 0 24px 64px rgba(81, 42, 204, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 100px;
  --font: "Inter", Arial, sans-serif;
  --display: "Manrope", "Inter", Arial, sans-serif;
  --gutter: 16px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--font); letter-spacing: .1px;
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); }
button, input, select { font: inherit; letter-spacing: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================================================================== portal chrome (unchanged look) */
.nav { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.nav__bar { height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 40px; max-width: 1440px; margin: 0 auto; }
.nav__brand { display: flex; align-items: baseline; gap: 7px; text-decoration: none; flex: none; }
.nav__brand img { width: 139px; height: 20px; display: block; }
.nav__country { color: var(--purple); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.nav__tabs { display: flex; align-items: center; gap: 8px; height: 100%; }
.nav__tab { position: relative; display: flex; align-items: center; height: 100%; padding: 0 12px; color: var(--purple); text-decoration: none; font-size: 16px; white-space: nowrap; }
.nav__tab:hover { color: var(--purple-dark); }
.nav__sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 4px; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__guest { display: flex; gap: 8px; }
.nav__loc { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #222; }
.nav__loc svg { width: 16px; height: 16px; }
.nav__employer { padding: 8px 16px; border-radius: var(--pill); background: #FAFAFA; border: 1px solid #E0E0E0; color: var(--purple); font-size: 16px; text-decoration: underline; white-space: nowrap; }
.nav__user { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #222; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; }
.nav__menu { display: none; background: none; border: 0; padding: 0; width: 20px; height: 20px; color: var(--purple); cursor: pointer; }
.nav__menu svg { width: 20px; height: 20px; }
.drawer { position: fixed; inset: 0; z-index: 40; background: rgba(28, 24, 48, .4); }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(300px, 85vw); background: #fff; padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); }
.drawer__panel a { color: var(--purple); text-decoration: none; padding: 12px 8px; border-radius: var(--radius-sm); }
.drawer__panel a:hover, .drawer__panel a[aria-current] { background: var(--lavender); font-weight: 600; }

.crumbs { background: var(--lavender); }
.crumbs ol { list-style: none; margin: 0 auto; padding: 10px 40px; max-width: 1440px; display: flex; align-items: center; gap: 12px; font-size: 12px; }
.crumbs a { display: flex; color: var(--purple); }
.crumbs svg { width: 18px; height: 18px; }
.crumbs li[aria-current] { color: var(--purple); }
.crumbs .chev { width: 16px; height: 16px; color: var(--purple); }

.foot { border-top: 1px solid #E0E0E0; background: #fff; }
.foot__bar { max-width: 1440px; margin: 0 auto; padding: 12px 60px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; font-size: 14px; color: #222; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; }
.foot__links a { color: #222; padding: 0 12px; border-left: 1px solid var(--line-2); }
.foot__links a:first-child { border-left: 0; }

/* ================================================================== buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--purple);
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { background: var(--purple); color: #fff; }
.btn--solid:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn--outline { background: #fff; color: var(--purple); }
.btn--outline:hover { background: var(--lavender); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--purple); }
.btn--ghost:hover { background: var(--lavender); }
.btn--xl { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--xl.btn--solid { background: var(--grad); border: 0; box-shadow: 0 8px 24px rgba(81, 42, 204, .35); }
.btn--xl.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(81, 42, 204, .45); }
.btn--xl.btn--solid:hover svg { transform: translateX(3px); }
.btn--xl svg { transition: transform .2s var(--ease); }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.btn:focus-visible, .try:focus-visible, .slot input:focus-visible, .slot select:focus-visible, .fix select:focus-visible {
  outline: 3px solid rgba(81, 42, 204, .35); outline-offset: 2px;
}

/* ================================================================== hero */
main { flex: 1; width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; background: var(--lavender-2); }
.hero__glow {
  position: absolute; inset: -40% -10% auto -10%; height: 140%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(152, 62, 186, .18), transparent 70%),
    radial-gradient(45% 55% at 85% 20%, rgba(33, 61, 181, .16), transparent 70%),
    radial-gradient(35% 40% at 60% 90%, rgba(81, 42, 204, .12), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {   /* a faint dot grid, the texture of a chart */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(81, 42, 204, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
@keyframes drift { to { transform: translate3d(3%, 4%, 0) scale(1.05); } }
.hero__inner { position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 10px; border-radius: var(--pill);
  background: #fff; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--purple); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(81, 42, 204, .12); }
.kicker__new { padding: 1px 8px; border-radius: var(--pill); background: var(--coral); color: #fff; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.hero h1 { margin: 0; font: 800 clamp(34px, 5.4vw, 60px)/1.05 var(--display); letter-spacing: -1.5px; color: var(--heading); max-width: 14ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { margin: 16px 0 0; font-size: 18px; color: var(--text-2); max-width: 46ch; }

/* the sentence form */
.ask { margin-top: 36px; padding: 28px 32px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px; box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.madlib { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 12px; font: 600 clamp(20px, 2.4vw, 28px)/1.5 var(--display); color: var(--heading); letter-spacing: -.3px; }
.madlib__text { white-space: nowrap; }
.slot { position: relative; display: inline-flex; }
.slot input, .slot select {
  font: 700 1em/1.3 var(--display); color: var(--purple); letter-spacing: -.3px;
  border: 0; border-bottom: 3px solid rgba(81, 42, 204, .25); background: transparent; padding: 2px 4px 4px; border-radius: 0;
  transition: border-color .2s, background .2s;
}
.slot input { width: 13ch; min-width: 0; }
.slot--title input { width: 15ch; }
.slot input::placeholder { color: rgba(81, 42, 204, .38); }
.slot select { appearance: none; cursor: pointer; padding-right: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23512ACC' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 20px; }
.slot input:hover, .slot select:hover { border-bottom-color: rgba(81, 42, 204, .5); }
.slot input:focus, .slot select:focus { outline: none; border-bottom-color: var(--purple); background: rgba(81, 42, 204, .05); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 300px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font: 500 15px/1.4 var(--font); letter-spacing: 0; }
.suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text); }
.suggest li mark { background: none; color: var(--purple); font-weight: 700; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--lavender); }
.ask__go { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ask__try { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.try { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: var(--pill); padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s; }
.try:hover { border-color: var(--purple); color: var(--purple); background: var(--lavender-2); }
.ask__error { color: var(--coral); font-size: 14px; font-weight: 500; margin: 14px 0 0; }

/* ================================================================== stage */
.stage { padding: 40px var(--gutter) 64px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--purple); }
.section-title { margin: 0; font: 800 24px/1.25 var(--display); letter-spacing: -.4px; color: var(--heading); }

/* skeleton */
.skeleton { display: grid; gap: 20px; }
.skel { border-radius: var(--radius); background: linear-gradient(90deg, var(--bg-2) 0%, #fbfaff 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; height: 160px; }
.skel--hero { height: 260px; }
.skel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* reveal: sections rise in, one after another (delays set from app.js) */
.rise { opacity: 0; transform: translateY(14px); animation: rise .6s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ================================================================== teaser (signed out) */
.teaser { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.teaser::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.teaser h2 { margin: 0 0 10px; font: 800 clamp(24px, 3vw, 32px)/1.2 var(--display); letter-spacing: -.6px; color: var(--heading); }
.teaser__text { margin: 0; color: var(--text-2); font-size: 16px; }
.teaser__text strong { color: var(--heading); }
.teaser__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.teaser__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.tick { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8F55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") no-repeat center / 14px; }
.teaser__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.teaser__wait { margin: 16px 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--purple); animation: pulse 1.4s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(81, 42, 204, .5); } 100% { box-shadow: 0 0 0 12px rgba(81, 42, 204, 0); } }
.teaser__peek { position: relative; }
.peek { padding: 28px; border-radius: 20px; background: linear-gradient(160deg, #fff, var(--lavender-2)); border: 1px solid var(--line); transform: rotate(-2deg); box-shadow: var(--shadow); }
.peek__chips { display: flex; gap: 8px; }
.peek__chips span { width: 90px; height: 22px; border-radius: var(--pill); background: var(--lavender); }
.peek__chips span + span { width: 60px; }
.peek__rows { margin-top: 22px; display: grid; gap: 10px; }
.peek__rows span { height: 12px; border-radius: 6px; background: var(--bg-2); }
.peek__rows span:nth-child(2) { width: 80%; }
.peek__rows span:nth-child(3) { width: 60%; }
.peek__lock { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--purple); box-shadow: var(--shadow-lg); }
.peek__lock svg { width: 28px; height: 28px; }

/* ================================================================== the report */
.report { display: grid; gap: 24px; }
.report, .teaser, .skeleton { scroll-margin-top: 88px; }   /* clear the sticky 64px navbar */

.result { padding: 36px 40px 32px; position: relative; overflow: hidden; border: 0; box-shadow: var(--shadow-lg); }
.result::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--pill); background: var(--lavender); color: var(--purple); font-size: 13px; font-weight: 600; }
.chip svg { width: 14px; height: 14px; }
.chip--green { background: var(--green-bg); color: var(--green); }
.chip--soft { background: var(--bg-2); color: var(--text-2); }

.notes { margin: 16px 0 0; padding: 12px 16px; list-style: none; background: var(--amber-bg); border-radius: var(--radius-sm); font-size: 14px; color: #6B4A00; }
.notes li + li { margin-top: 4px; }

.fix { margin: 20px 0 0; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--text-2); }
.fix strong { color: var(--heading); }

.report__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.panel { padding: 28px; }
.panel__title { margin: 0; font: 800 20px/1.3 var(--display); letter-spacing: -.3px; color: var(--heading); }
.panel__sub { margin: 6px 0 18px; font-size: 15px; color: var(--text-2); }

/* jobs: the portal's job card, with a little lift */
.jobs__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin: 8px 0 16px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.job { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.job:hover { border-color: var(--purple); box-shadow: var(--shadow); transform: translateY(-3px); }
.job__body { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; flex: 1; }
.job__logo { width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.job__logo--blank { display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad); border: 0; }
.job__title { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: var(--heading); line-height: 1.35; }
.job__company { font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.job__facts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.job__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; background: var(--bg-3); border-top: 1px solid var(--line); font-size: 13px; color: var(--purple); font-weight: 600; }

.report__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; }
.fineprint { margin: 0; font-size: 13px; color: var(--text-2); max-width: 70ch; }
.report__actions { display: flex; gap: 8px; }

/* nothing to show, said plainly */
.empty { padding: 36px 40px; }
.empty h2 { margin: 0 0 8px; font: 800 26px/1.25 var(--display); letter-spacing: -.4px; color: var(--heading); }
.empty p { margin: 0; color: var(--text-2); max-width: 60ch; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translateX(-50%); padding: 12px 18px; border-radius: var(--pill); background: var(--heading); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); }

/* ================================================================== smaller screens */
@media (max-width: 1100px) {
  .nav__tabs, .nav__employer, .nav__sep--wide, .nav__loc { display: none; }
  .nav__menu { display: block; }
  .nav__bar { padding: 0 var(--gutter); gap: 16px; }
  .crumbs ol { padding: 10px var(--gutter); }
  .foot__bar { padding: 12px var(--gutter); }
}
@media (max-width: 900px) {
  .report__grid, .teaser { grid-template-columns: 1fr; }
  .teaser__peek { max-width: 420px; }
  .jobs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__guest .btn--outline { display: none; }
  .nav__user span { display: none; }
  .hero { padding: 36px 0 32px; }
  .hero h1 { letter-spacing: -1px; }
  .hero__lede { font-size: 16px; }
  .ask { padding: 20px; margin-top: 24px; border-radius: 18px; }
  .madlib { font-size: 20px; }
  .slot, .slot input, .slot--title input, .slot select { width: 100%; }
  .slot--title { flex: 1 1 100%; }
  .ask__go .btn--xl { width: 100%; }
  .stage { padding-top: 28px; }
  .teaser { padding: 24px; gap: 28px; }
  .teaser__actions .btn { width: 100%; }
  .result, .empty { padding: 28px 20px 24px; }
  .panel { padding: 20px 16px; }
  .report__actions { width: 100%; }
  .report__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ================================================================== career check-up */
:root {
  --curve: var(--purple);
  --you: var(--coral);
}
.slot--years select, .slot--months select { min-width: 9ch; }
.hero h1 { max-width: 16ch; }
.rise-1 { animation-delay: .11s; }
.rise-2 { animation-delay: .22s; }
.rise-3 { animation-delay: .33s; }

/* teaser peek: a blurred curve instead of a blurred salary */
.peek__curve { display: block; width: 100%; height: 110px; margin: 18px 0 8px; filter: blur(6px); }
.peek__curve path { fill: none; stroke: var(--purple); stroke-width: 8; stroke-linecap: round; }

/* the headline: the position sentence */
.result { padding: 32px 36px 28px; }
.result__say { margin: 4px 0 0; font: 800 clamp(26px, 3.6vw, 38px)/1.2 var(--display); letter-spacing: -.6px; color: var(--heading); max-width: 30ch; }
.result__base { margin: 12px 0 0; font-size: 15px; color: var(--text-2); }
.fix { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.fix__field { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--heading); }
.fix select { height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 10px; background: #fff; font-size: 14px; }

#median-line { color: var(--heading); font-weight: 600; }

/* the survival curve */
.curve { margin: 0 -6px; }
.cv { display: block; width: 100%; height: auto; overflow: visible; }
.cv-grid { stroke: var(--line); stroke-width: 1; }
.cv-tick { fill: var(--text-3); font: 500 13px var(--font); }
.cv-area { fill: url(#cv-fill); }
.cv-stop-a { stop-color: var(--purple); stop-opacity: .22; }
.cv-stop-b { stop-color: var(--purple); stop-opacity: .02; }
.cv-line { fill: none; stroke: var(--curve); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.cv-median { stroke: var(--text-3); stroke-width: 1.5; stroke-dasharray: 5 5; }
.cv-you-line { stroke: var(--you); stroke-width: 2; stroke-dasharray: 3 4; }
.cv-you-halo { fill: var(--you); opacity: .18; }
.cv-you { fill: var(--you); stroke: #fff; stroke-width: 3; }
.cv-you-label { fill: var(--you); font: 700 15px var(--font); }
.stay { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.stay li { padding: 12px 14px; border-radius: 12px; background: var(--lavender-2); display: flex; flex-direction: column; gap: 2px; }
.stay b { font: 800 22px/1.1 var(--display); color: var(--heading); font-variant-numeric: tabular-nums; }
.stay span { font-size: 13px; color: var(--text-2); }
.stepup { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); }
.stepup__k { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--purple); }
.stepup__say { margin: 0; font-size: 15px; color: var(--heading); }

/* where people go next */
.moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.moves__note { margin: 0; }
.move { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.move:hover { border-color: rgba(81, 42, 204, .35); box-shadow: var(--shadow); }
.move__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.move__role h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--heading); }
.move__level { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.move__up { margin-top: 8px; height: 24px; font-size: 12px; }
.move__share { text-align: right; flex: none; }
.move__share b { display: block; font: 800 24px/1 var(--display); color: var(--purple); font-variant-numeric: tabular-nums; }
.move__share small { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); max-width: 11ch; line-height: 1.3; }
.move__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--text-2); }
.move__pay { color: var(--green); font-weight: 600; }
/* each next role opens a portal jobs search for it */
.move__link { display: block; padding: 16px 18px; margin: -16px -18px; border-radius: 14px; text-decoration: none; color: inherit; }
.move__link:focus-visible { outline: 3px solid rgba(81, 42, 204, .35); outline-offset: 2px; }
.move__go { margin-left: auto; color: var(--purple); font-weight: 600; white-space: nowrap; }
.move__link:hover .move__go { text-decoration: underline; }

/* what your role pays, and the way to the salary checker */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center; }
.pay__range { margin: 10px 0 0; font: 800 clamp(26px, 3.4vw, 34px)/1.15 var(--display); letter-spacing: -.5px; color: var(--green); font-variant-numeric: tabular-nums; }
.pay__range--none { font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--heading); }
.pay__sub { margin-bottom: 0; }
.pay__more { padding: 20px; border-radius: 14px; background: var(--lavender); }
.pay__k { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--purple); }
.pay__say { margin: 0 0 16px; font-size: 15px; color: var(--heading); }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }

/* live jobs, grouped by next role */
.jobs__group + .jobs__group { margin-top: 24px; }
.jobs__role { margin: 0 0 12px; font: 700 17px/1.3 var(--display); color: var(--heading); }

.fineprint p { margin: 6px 0 0; }
.caveats { margin: 0; padding-left: 18px; }
.caveats li + li { margin-top: 2px; }

@media (max-width: 640px) {
  .madlib__text { white-space: normal; }
  .slot--years, .slot--months { flex: 1 1 40%; }
  .result { padding: 24px 18px 20px; }
  .fix { font-size: 14px; }
  .fix__field { width: 100%; justify-content: space-between; }
  .cv-tick { font-size: 15px; }
  .cv-you-label { font-size: 17px; }
}
