/* Careers pages (/jobs and /jobs/<role>). Scoped under .jobs-page. */
.jobs-page {
  --jobs-orange: #CE5524;
  --jobs-orange-dark: #B04010;
  --jobs-ink: #1a1a1a;
  --jobs-muted: #5c5c5c;
  --jobs-line: #e6e6e6;
  --jobs-bg-soft: #faf6f3;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--jobs-ink);
  line-height: 1.55;
  text-align: left;
}
.jobs-index .jobs-hero-body { text-align: center; }
.jobs-index .jobs-hero-body h1, .jobs-index .jobs-hero-body .jobs-lede { margin-left: auto; margin-right: auto; }
.jobs-index .jobs-cta-row { justify-content: center; }
.jobs-index .jobs-wrap > h2, .jobs-index .jobs-wrap > .jobs-lede { text-align: center; margin-left: auto; margin-right: auto; }
.jobs-page h1, .jobs-page h2, .jobs-page h3 {
  font-family: Barlow, system-ui, sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.jobs-page h1 { font-size: 2.6rem; font-weight: 700; }
.jobs-page h2 { font-size: 1.9rem; font-weight: 700; }
.jobs-page h3 { font-size: 1.2rem; font-weight: 600; }
.jobs-page p { margin: 0 0 1em; }
.jobs-page a { color: var(--jobs-orange); }
.jobs-page a:hover { color: var(--jobs-orange-dark); }
.jobs-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.jobs-section { padding: 56px 0; }
.jobs-section + .jobs-section { border-top: 1px solid var(--jobs-line); }
.jobs-section-soft { background: var(--jobs-bg-soft); }
.jobs-section-soft + .jobs-section, .jobs-section + .jobs-section-soft { border-top: 0; }
.jobs-lede { font-size: 1.15rem; color: var(--jobs-muted); max-width: 620px; }

/* Buttons */
.jobs-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: var(--jobs-orange);
  color: #fff !important;
  border: 2px solid var(--jobs-orange);
  transition: background-color .15s ease, border-color .15s ease;
}
.jobs-btn:hover { background: var(--jobs-orange-dark); border-color: var(--jobs-orange-dark); }
.jobs-btn-secondary { background: transparent; color: var(--jobs-orange) !important; }
.jobs-btn-secondary:hover { background: rgba(206, 85, 36, 0.08); }
.jobs-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Hero */
.jobs-hero { position: relative; }
.jobs-hero-body { padding: 64px 0 64px; }
.jobs-yc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; margin-bottom: 20px;
  border: 1px solid var(--jobs-line); border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--jobs-ink) !important; text-decoration: none;
}
.jobs-yc:hover { border-color: #F26522; }
.jobs-yc svg { display: block; }
.jobs-hero-body h1 { max-width: 640px; }

/* About / product pitch */
.jobs-about { display: flex; gap: 40px; align-items: center; }
.jobs-about-text { flex: 1; min-width: 0; }
.jobs-about-img { width: 180px; height: auto; flex: 0 0 auto; }

/* Why work here */
.jobs-why { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.jobs-why li { background: #fff; border: 1px solid var(--jobs-line); border-radius: 10px; padding: 20px 22px; }
.jobs-why strong { display: block; font-family: Barlow, system-ui, sans-serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.jobs-why p { margin: 0; color: var(--jobs-muted); font-size: 0.98rem; }

/* Open roles */
.jobs-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.jobs-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: #fff; border: 1px solid var(--jobs-line); border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.jobs-card:hover, .jobs-card:focus-visible { border-color: var(--jobs-orange); box-shadow: 0 4px 14px rgba(0,0,0,0.08); color: inherit; }
.jobs-card-title { font-family: Barlow, system-ui, sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--jobs-orange); margin: 0 0 4px; }
.jobs-card-meta { color: var(--jobs-muted); font-size: 0.95rem; margin: 0; }
.jobs-card-meta span + span::before { content: "·"; margin: 0 8px; }
.jobs-card-go { flex: 0 0 auto; font-weight: 600; color: var(--jobs-orange); white-space: nowrap; }
.jobs-card-go::after { content: " →"; }
.jobs-none { padding: 24px; border: 1px dashed var(--jobs-line); border-radius: 10px; color: var(--jobs-muted); }

/* Hiring steps */
.jobs-steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; display: grid; gap: 14px; }
.jobs-steps li { position: relative; padding-left: 48px; counter-increment: step; }
.jobs-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--jobs-orange); color: #fff;
  font-family: Barlow, system-ui, sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.jobs-steps strong { display: block; }
.jobs-steps p { margin: 0; color: var(--jobs-muted); }

/* Team grid */
.jobs-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.jobs-team img, .jobs-team video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #eee; }

/* Apply block */
.jobs-apply { background: var(--jobs-bg-soft); border-radius: 12px; padding: 32px; }
.jobs-apply h2 { margin-bottom: 8px; }
.jobs-apply ul { margin: 12px 0 20px; padding-left: 22px; }
.jobs-apply li { margin-bottom: 4px; }

/* Single posting */
.jobs-crumb { font-size: 0.95rem; margin: 0 0 18px; }
.jobs-crumb a { text-decoration: none; }
.jobs-crumb a:hover { text-decoration: underline; }
.jobs-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--jobs-muted); margin: 0 0 24px; }
.jobs-meta span { display: inline-flex; align-items: center; gap: 6px; }
.jobs-posting h2 { font-size: 1.5rem; margin-top: 36px; }
.jobs-posting h3 { margin-top: 20px; }
.jobs-posting ul { padding-left: 22px; margin: 0 0 1em; }
.jobs-posting li { margin-bottom: 6px; }
.jobs-sticky-cta { margin: 28px 0 0; }

@media (max-width: 700px) {
  .jobs-page h1 { font-size: 2.1rem; }
  .jobs-page h2 { font-size: 1.6rem; }
  .jobs-section { padding: 40px 0; }
  .jobs-hero-body { padding: 40px 0 44px; }
  .jobs-about { flex-direction: column; align-items: flex-start; }
  .jobs-about-img { width: 140px; }
  .jobs-why { grid-template-columns: 1fr; }
  .jobs-team { grid-template-columns: repeat(2, 1fr); }
  .jobs-card { flex-direction: column; align-items: flex-start; }
  .jobs-apply { padding: 24px 20px; }
}
