.careers-page {
  background: var(--bg);
}

.careers-hero {
  position: relative;
  overflow: hidden;
  min-height: 688px;
  background: linear-gradient(180deg, #dbe7f2 0%, #d7e4ef 100%);
}

.careers-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -76px;
  width: 1230px;
  height: 176px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-50%);
}

.careers-hero-figure {
  position: absolute;
  inset: 46px 22px 0 auto;
  width: min(55vw, 820px);
  background: url("../media/careers/careers-hero.png") center center / contain no-repeat;
}

.careers-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 145px));
  margin: 0 auto;
  padding-top: 206px;
  padding-bottom: 220px;
}

.careers-hero-copy {
  max-width: 560px;
}

.careers-hero-copy h1 {
  margin: 0;
  max-width: 560px;
  font-size: 54px;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.careers-hero-copy p {
  max-width: 548px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.jobs-section {
  padding-top: 0;
}

.jobs-grid {
  display: grid;
  width: min(1280px, calc(100% - 145px));
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.job-card {
  display: grid;
  align-content: start;
  gap: 28px;
  min-height: 600px;
  padding: 40px 26px 40px 40px;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 16, 58, 0.06);
}

.job-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.job-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.job-card ul {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-strong);
}

.job-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 16, 58, 0.28);
}

.job-card .btn {
  width: 100%;
  min-height: 44px;
  align-self: end;
  background: rgba(242, 244, 247, 0.9);
  color: var(--text);
  box-shadow: none;
}

.closing-banner-inner {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.closing-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  padding-top: 120px;
  padding-bottom: 40px;
}

.closing-banner-kicker {
  display: none;
}

.closing-banner-copy h2 {
  margin: 0;
  font-size: 40px;
  line-height: 50px;
}

.closing-banner-copy p {
  max-width: 820px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
}

.closing-banner-actions {
  margin-top: 0;
}

.closing-banner .btn {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: normal;
}

@media (max-width: 980px) {
  .careers-hero-figure {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 280px;
    margin-top: 32px;
  }

  .careers-hero-inner,
  .jobs-grid {
    width: min(100%, calc(100% - 40px));
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .careers-hero-inner {
    padding-top: 136px;
  }

  .careers-hero-copy h1 {
    font-size: 42px;
  }

  .job-card {
    padding: 22px;
  }

  .closing-banner-copy {
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .closing-banner-copy h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .closing-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .closing-banner .btn-primary,
  .closing-banner .btn-ghost {
    width: 100%;
  }
}
