/* Jobs After SI. Tokens follow the landing page design system:
   type on the Tailwind scale, spacing from the 2/4/8/12/16/24/32/40/48/64/80/96 set,
   Tailwind radii, flat dark surfaces, one spring easing curve. */

:root {
  color-scheme: dark;
  --bg: #000000;
  --s1: #181818;
  --s2: #1f1f1f;
  --s3: #272727;
  --s4: #313131;
  --text: #ffffff;
  --muted: #9b9b9b;
  --dim: #6e6e6e;
  --e1: #ff5c39;
  --e2: #ffb547;
  --e0: #5eead4;
  --er: #a78bfa;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: 16px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::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: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--e2); color: #000; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 8px 12px; border-radius: 9999px;
  background: var(--text); color: #000; font-size: 14px; line-height: 20px; font-weight: 600;
  transform: translateY(-80px);
  transition: transform 700ms var(--ease);
}
.skip:focus { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 768px; }

/* Type scale helpers */
.t-xs { font-size: 12px; line-height: 16px; }
.t-sm { font-size: 14px; line-height: 20px; }
.t-base { font-size: 16px; line-height: 24px; }
.t-lg { font-size: 18px; line-height: 28px; }
.t-xl { font-size: 20px; line-height: 28px; }
.t-2xl { font-size: 24px; line-height: 32px; }
.t-3xl { font-size: 30px; line-height: 36px; }
.t-4xl { font-size: 36px; line-height: 40px; }
.t-5xl { font-size: 48px; line-height: 1; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Navigation: floating glass island */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  margin-top: 24px;
  width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 16px;
  border-radius: 9999px;
  background: rgba(24, 24, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; line-height: 20px; white-space: nowrap; }
.brand-mark { width: 20px; height: 20px; }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: 16px; }
.nav-links a {
  padding: 8px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; color: var(--muted);
  transition: color 700ms var(--ease), background-color 700ms var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
}

.burger {
  position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06); cursor: pointer; margin-left: 8px;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, 0.12); }
.burger:active { transform: scale(0.98); }
.burger span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 48px;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), visibility 0s; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu li { overflow: hidden; }
.menu a {
  display: block; padding: 8px 0; font-size: 36px; line-height: 40px; font-weight: 600;
  transform: translateY(48px); opacity: 0;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease), color 700ms var(--ease);
}
.menu a[aria-current="page"] { color: var(--e2); }
.menu.open a { transform: translateY(0); opacity: 1; }
.menu.open li:nth-child(1) a { transition-delay: 100ms; }
.menu.open li:nth-child(2) a { transition-delay: 150ms; }
.menu.open li:nth-child(3) a { transition-delay: 200ms; }
.menu.open li:nth-child(4) a { transition-delay: 250ms; }
.menu.open li:nth-child(5) a { transition-delay: 300ms; }
.menu.open li:nth-child(6) a { transition-delay: 350ms; }
body.menu-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; border-radius: 9999px; border: 1px solid transparent;
  font-size: 16px; line-height: 24px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color 700ms var(--ease), color 700ms var(--ease), transform 700ms var(--ease), border-color 700ms var(--ease), opacity 700ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: #e4e4e4; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { font-size: 14px; line-height: 20px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Sections */
main { display: block; }
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 9999px;
  background: var(--s1); border: 1px solid var(--s4);
  font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--e1); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.01em; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 18px; line-height: 28px; }
@media (min-width: 768px) { .section-head h2 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; } }

/* Hero */
.hero { padding: 160px 0 64px; }
@media (min-width: 768px) { .hero { padding: 192px 0 96px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.hero-card { max-width: 680px; }
@media (min-width: 1280px) { .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 64px; } .hero-card { max-width: none; } }
.grad-text {
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 {
  max-width: 680px; margin-top: 24px;
  font-size: 36px; line-height: 40px; letter-spacing: -0.03em;
}
@media (min-width: 640px) { .hero h1 { font-size: 60px; line-height: 1; } }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }
.hero .sub { max-width: 680px; margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--muted); }
@media (min-width: 768px) { .hero .sub { font-size: 20px; line-height: 28px; } }
.proof { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  padding: 4px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; color: var(--muted);
  background: var(--s1); border: 1px solid var(--s4);
  transition: color 700ms var(--ease), border-color 700ms var(--ease), transform 700ms var(--ease);
}
.chip:hover { color: var(--text); border-color: #4a4a4a; transform: translateY(-1px); }
.chip:active { transform: scale(0.98); }

/* Search combobox. Outer radius 16 with 8 padding gives inner radius 8. */
.search { position: relative; max-width: 680px; margin-top: 32px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; border-radius: 16px;
  background: var(--s1); border: 1px solid var(--s4);
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease);
}
.search-box:focus-within { border-color: #5a5a5a; background: var(--s2); }
.search-box .icon { margin-left: 8px; color: var(--muted); }
.search input {
  flex: 1 1 0; width: 0; min-width: 0; height: 40px; border: 0; background: transparent; outline: none;
  font-size: 18px; line-height: 28px;
}
.search input::placeholder { color: var(--dim); }
.search .btn { border-radius: 8px; }
.search-error { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--e1); min-height: 20px; }
.results {
  position: absolute; left: 0; right: 0; top: calc(100% - 20px); z-index: 30;
  margin: 0; padding: 8px; list-style: none;
  border-radius: 16px; background: var(--s1); border: 1px solid var(--s4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  max-height: 420px; overflow-y: auto;
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s linear 500ms;
}
.results.show { opacity: 1; transform: translateY(0); visibility: visible; transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s; }
.result {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px; border-radius: 8px; cursor: pointer;
}
.result[aria-selected="true"], .result:hover { background: var(--s3); }
.result-title { font-weight: 500; }
.result-alt { font-size: 12px; line-height: 16px; color: var(--dim); margin-top: 2px; }
.result-score { font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.results .empty { padding: 12px; color: var(--muted); font-size: 14px; line-height: 20px; }
.results .empty a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.skel { padding: 12px; display: grid; gap: 8px; }
.skel span { display: block; height: 16px; border-radius: 4px; background: var(--s3); animation: pulse 1400ms var(--ease) infinite; }
.skel span:nth-child(2) { width: 60%; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* Score card */
.card { container-type: inline-size; border-radius: 24px; background: var(--s1); border: 1px solid var(--s4); padding: 24px; }
@media (min-width: 768px) { .card { padding: 32px; } }
.card-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.score-row { display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; }
.score { font-family: var(--mono); font-weight: 600; font-size: 72px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.score small { font-size: 36px; color: var(--muted); letter-spacing: -0.02em; }
@media (min-width: 768px) { .score { font-size: 96px; } .score small { font-size: 48px; } }
.score-note { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.band { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 12px; }
.band-vh { background: rgba(255, 92, 57, 0.14); color: var(--e1); }
.band-h { background: rgba(255, 181, 71, 0.14); color: var(--e2); }
.band-m { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.band-l { background: rgba(94, 234, 212, 0.12); color: var(--e0); }
.bar { display: flex; gap: 2px; height: 12px; margin-top: 24px; border-radius: 9999px; overflow: hidden; background: var(--s3); }
.bar span { display: block; height: 100%; transform-origin: left; transition: transform 1200ms var(--ease); }
.js .bar.pending span { transform: scaleX(0); }
.bar .b1 { background: var(--e1); }
.bar .b2 { background: var(--e2); }
.bar .b0 { background: var(--e0); }
.bar .br { background: var(--er); }
.legend { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; line-height: 20px; }
@container (min-width: 400px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
.legend-note { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--dim); }
.legend div { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.legend b { color: var(--text); font-weight: 600; font-family: var(--mono); }
.sw { width: 8px; height: 8px; border-radius: 9999px; flex: none; }
.dotwrap { display: flex; align-items: center; height: 1lh; flex: none; }
.sw-1 { background: var(--e1); } .sw-2 { background: var(--e2); } .sw-0 { background: var(--e0); } .sw-r { background: var(--er); }
.card-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--s4); font-size: 14px; line-height: 20px; color: var(--muted); }
.mini-tasks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.mini-tasks li { display: flex; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* Tagline reveal */
.tagline { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; max-width: 680px; }
@media (min-width: 768px) { .tagline { font-size: 60px; line-height: 1; max-width: 900px; } }
.tagline .w { color: rgba(255, 255, 255, 0.3); transition: color 700ms var(--ease); }
.tagline .w.on { color: var(--text); }
.no-js .tagline .w, .reduced .tagline .w { color: var(--text); }

/* Steps */
.steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step .num { font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--dim); }
.step h3 { margin-top: 32px; font-size: 24px; line-height: 32px; }
.step p { margin-top: 8px; color: var(--muted); }
.step .icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--s3); margin-top: 24px; }

/* Rankings */
.rank-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rank-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rank-sub { margin: -8px 0 16px; font-size: 14px; line-height: 20px; color: var(--dim); }
.rank-head { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 28px; font-weight: 600; margin-bottom: 16px; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank li { counter-increment: r; }
.rank a {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px;
  padding: 12px; margin: 0 -12px; border-radius: 12px;
  transition: background-color 700ms var(--ease);
}
.rank a:hover { background: var(--s2); }
.rank a::before { content: counter(r); font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--dim); }
.rank .mono { color: var(--muted); white-space: nowrap; font-size: 14px; line-height: 20px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; color: var(--text); }
.more-link .icon-sm { transition: transform 700ms var(--ease); }
.more-link:hover .icon-sm { transform: translateX(4px); }

/* Newsletter */
.news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) { .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.news h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.01em; }
@media (min-width: 768px) { .news h2 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; } }
.news p { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 28px; }
.form-row { display: flex; gap: 8px; padding: 8px; border-radius: 16px; background: var(--s2); border: 1px solid var(--s4); transition: border-color 700ms var(--ease); }
.form-row:focus-within { border-color: #5a5a5a; }
.form-row input { flex: 1 1 0; width: 0; min-width: 0; height: 40px; padding: 0 8px; border: 0; background: transparent; outline: none; font-size: 16px; }
.form-row input::placeholder { color: var(--dim); }
.form-row .btn { border-radius: 8px; }
.form-row.invalid { border-color: var(--e1); }
.form-note { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--dim); }
.form-msg { margin-top: 12px; font-size: 14px; line-height: 20px; min-height: 20px; }
.form-msg.err { color: var(--e1); }
.form-msg.ok { color: var(--e0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq { border-top: 1px solid var(--s4); }
.faq details { border-bottom: 1px solid var(--s4); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; font-size: 18px; line-height: 28px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--muted);
  transition: transform 700ms var(--ease);
}
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 680px; }
.faq .answer p + p { margin-top: 12px; }
.faq .answer a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Job page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--dim); }
.crumbs a { color: var(--muted); transition: color 700ms var(--ease); }
.crumbs a:hover { color: var(--text); }
.job-hero { padding: 144px 0 48px; }
@media (min-width: 768px) { .job-hero { padding: 176px 0 64px; } }
.job-hero h1 { margin-top: 24px; max-width: 900px; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .job-hero h1 { font-size: 60px; line-height: 1; letter-spacing: -0.03em; } }
.job-hero .sub { margin-top: 24px; max-width: 680px; font-size: 18px; line-height: 28px; color: var(--muted); }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .job-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stat-list { display: grid; gap: 16px; }
.stat { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.stat b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.task-group { margin-top: 48px; }
.task-group:first-child { margin-top: 0; }
.task-group h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 24px; line-height: 32px; }
.task-group h2 .count { white-space: nowrap; font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--muted); font-weight: 500; padding: 2px 8px; border-radius: 9999px; background: var(--s2); }
.task-group > p { margin-top: 8px; color: var(--muted); max-width: 680px; }
.tasks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.tasks li {
  display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: var(--s1); border: 1px solid var(--s3);
}
.tasks .tag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; font-size: 12px; line-height: 16px; color: var(--dim); background: var(--s3); vertical-align: 2px; }
.tasks .none { color: var(--muted); }
.task-body { flex: 1; min-width: 0; }
.task-time { flex: none; font-family: var(--mono); font-size: 12px; line-height: 24px; color: var(--dim); white-space: nowrap; }
.stat-link { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; transition: color 700ms var(--ease); }
.stat-link:hover { color: var(--text); }
.advice { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.advice li { display: flex; gap: 12px; color: var(--muted); }
.advice li b { color: var(--text); font-weight: 600; }
.advice .icon { margin-top: 2px; color: var(--text); }
.related { display: grid; gap: 8px; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px; border-radius: 12px; background: var(--s1); border: 1px solid var(--s3);
  transition: border-color 700ms var(--ease), transform 700ms var(--ease);
}
.related a:hover { border-color: #4a4a4a; transform: translateY(-1px); }
.related .mono { color: var(--muted); font-size: 14px; line-height: 20px; }
.sticky { position: sticky; top: 112px; }

/* All jobs index */
.az { columns: 1; column-gap: 32px; }
@media (min-width: 768px) { .az { columns: 2; } }
@media (min-width: 1100px) { .az { columns: 3; } }
.az-group { break-inside: avoid; margin-bottom: 32px; }
.az-group h2 { font-size: 14px; line-height: 20px; color: var(--dim); font-family: var(--mono); margin-bottom: 8px; }
.az ul { list-style: none; margin: 0; padding: 0; }
.az a { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--muted); transition: color 700ms var(--ease); }
.az a:hover { color: var(--text); }
.az a .mono { font-size: 14px; line-height: 20px; color: var(--dim); }

/* Prose pages */
.prose { max-width: 680px; }
.prose h2 { font-size: 24px; line-height: 32px; margin-top: 48px; }
.prose h3 { font-size: 18px; line-height: 28px; margin-top: 32px; }
.prose p, .prose ul { margin-top: 16px; color: var(--muted); }
.prose ul { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid var(--s3); padding: 48px 0 64px; margin-top: 64px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.footer-links a { transition: color 700ms var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 32px; max-width: 768px; font-size: 12px; line-height: 16px; color: var(--dim); }
.footer-note a { text-decoration: underline; text-underline-offset: 2px; }

/* Scroll reveal: only hidden when JS is running */
.js .reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal.d1 { transition-delay: 100ms; }
.js .reveal.d2 { transition-delay: 200ms; }
.js .reveal.d3 { transition-delay: 300ms; }

/* 404 */
.lost { min-height: 100vh; display: flex; align-items: center; padding: 144px 0 96px; }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 60; transform: translate(-50%, 24px); opacity: 0;
  padding: 8px 16px; border-radius: 9999px; background: var(--text); color: #000; font-size: 14px; line-height: 20px; font-weight: 600;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease); pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

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

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.job-main { min-width: 0; }
@media (min-width: 1024px) { .job-aside { order: 2; align-self: stretch; } .job-main { order: 1; } }

/* Personal report */
.alt-link { display: inline-flex; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.alt-link:hover { color: var(--text); }
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; }
.cta-card > div { flex: 1 1 320px; }
.analyze-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1024px) { .analyze-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.analyze-form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--dim); margin-left: 4px; }
.field .hint { font-size: 14px; line-height: 20px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--s4); background: var(--s2);
  font-size: 16px; line-height: 24px; color: var(--text); outline: none;
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease);
}
.field textarea { resize: vertical; min-height: 160px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239b9b9b'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
  background-position: right 12px center; background-size: 16px 16px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #5a5a5a; background: var(--s3); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: var(--e1); }
.counter { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--dim); text-align: right; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.analyze-form .btn { justify-self: start; }
.analyze-form .form-msg:empty { display: none; }
.analyze-side .advice { margin-top: 16px; }
.progress { margin-top: 16px; }
.progress-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.progress-steps li { display: flex; align-items: center; gap: 12px; color: var(--dim); transition: color 700ms var(--ease); }
.progress-steps li::before { content: ""; width: 12px; height: 12px; border-radius: 9999px; border: 2px solid var(--s4); flex: none; transition: background-color 700ms var(--ease), border-color 700ms var(--ease); }
.progress-steps li.active { color: var(--text); }
.progress-steps li.active::before { border-color: var(--e2); animation: pulse 1400ms var(--ease) infinite; }
.progress-steps li.done { color: var(--muted); }
.progress-steps li.done::before { background: var(--e0); border-color: var(--e0); }
.skel-report { display: grid; gap: 12px; margin-top: 32px; }
.skel-report span { display: block; height: 48px; border-radius: 12px; background: var(--s2); animation: pulse 1400ms var(--ease) infinite; }
.skel-report span:nth-child(2) { width: 80%; } .skel-report span:nth-child(3) { width: 90%; } .skel-report span:nth-child(4) { width: 60%; }
.report { outline: none; padding-top: 48px; }
.report-head { margin-bottom: 48px; }
.report-title { margin-top: 24px; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; max-width: 900px; }
@media (min-width: 768px) { .report-title { font-size: 60px; line-height: 1; letter-spacing: -0.03em; } }
.report-head .sub { margin-top: 24px; max-width: 680px; font-size: 18px; line-height: 28px; color: var(--muted); }
.task-label { display: block; font-weight: 600; color: var(--text); }
.task-how { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.report-para { margin-top: 16px; }
.report-sub { margin-top: 48px; margin-bottom: 24px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .plan { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-card .num { font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--dim); }
.plan-card h3 { margin-top: 16px; }
.plan-steps { margin: 16px 0 0; padding-left: 16px; display: grid; gap: 12px; color: var(--muted); }
.adjacent a { align-items: flex-start; }
.stat-value-link b { text-decoration: underline; text-underline-offset: 2px; }
