/* Jobs page — uses the design tokens from styles.css (--brand, --ink, etc.) */

.jobs-page { padding-top: 84px; }

.jobs-hero {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}
.jobs-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.jobs-hero .lede { margin: 0; max-width: 640px; }

/* controls */
.jobs-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.jobs-search,
.jobs-select {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.jobs-search { flex: 1 1 320px; }
.jobs-select { flex: 0 0 auto; min-width: 190px; }
.jobs-search:focus,
.jobs-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(35, 165, 89, 0.15);
}
.jobs-remote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.jobs-remote input { width: 16px; height: 16px; accent-color: var(--brand); }

.jobs-count {
  color: var(--muted);
  font-size: 14px;
  margin: 22px 0 14px;
}

/* list */
.jobs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.job-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.job-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.job-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.job-title { font-weight: 700; font-size: 16px; color: var(--ink); margin: 0; }
.job-company { font-size: 14px; color: var(--muted); margin: 3px 0 0; }
.job-remote {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.job-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.jobs-more { text-align: center; margin: 26px 0; }
.jobs-empty { text-align: center; color: var(--muted); padding: 32px 0; }

@media (max-width: 560px) {
  .jobs-select { flex: 1 1 100%; }
}

/* ---- DearRecruiter pitch (jobs board) — light card, green as accent ---- */
.jobs-pitch {
  display: flex; gap: 30px; align-items: center; justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line, #e6efe9);
  border-radius: 18px; padding: 26px 30px 26px 32px; margin: 8px 0 24px;
  box-shadow: 0 8px 28px rgba(20,60,40,.06);
  position: relative; overflow: hidden;
}
.jobs-pitch::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #34c759, #23a559);
}
.jobs-pitch-main { max-width: 640px; }
.jobs-pitch-eyebrow {
  display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: .02em;
  color: var(--brand, #23a559); background: var(--soft, #eef8f1); border: 1px solid #cfe9d8;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.jobs-pitch h2 { font-size: 25px; line-height: 1.16; font-weight: 850; letter-spacing: -.02em; margin: 0 0 9px; color: var(--ink, #16261c); }
.jobs-pitch p { font-size: 15.5px; line-height: 1.5; color: var(--muted, #5f7568); margin: 0 0 17px; }
.jobs-pitch p strong { color: var(--ink, #16261c); }
.jobs-pitch-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.jobs-pitch-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 250px; }
.jobs-pitch-points li { font-size: 14px; font-weight: 600; color: var(--ink, #16261c); padding-left: 27px; position: relative; }
.jobs-pitch-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  background: var(--soft, #eef8f1); color: var(--brand, #23a559); border: 1px solid #cfe9d8;
  border-radius: 50%; font-size: 11px; font-weight: 900; display: grid; place-items: center;
}
@media (max-width: 760px) {
  .jobs-pitch { flex-direction: column; align-items: flex-start; padding: 22px 22px 22px 26px; }
  .jobs-pitch h2 { font-size: 21px; }
  .jobs-pitch-points { margin-top: 2px; }
}
