:root {
  --primary: #111827;
  --accent: #007aff;
  --bg-page: #f9fafb;
  --card-bg: #ffffff;
  --text-main: #333333;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
}

/* Do NOT style global body/header/footer here */

/* Background band + spacing under header and above footer */
.careers-page {
  padding: 64px 16px 80px;
  background: radial-gradient(circle at top, #e0f2fe 0, #f9fafb 45%, #f3f4f6 100%);
}

/* Centered content card */
.careers-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 28px 44px;
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(148, 163, 184, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.8;
}

/* Layout container inside card */
.careers-wrapper .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 8px;
}

.careers-hero {
  text-align: center;
  margin-bottom: 32px;
}

.careers-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.subtitle {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.careers-content {
  font-size: 1.03rem;
  text-align: center;
  margin: 0 auto 40px;
  color: #4b5563;
  max-width: 720px;
}

/* Perks */
.careers-perks h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.perk-card {
  background: #f8f9fa;
  padding: 24px 22px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-subtle);
}

.perk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.perk-card h4 {
  color: var(--accent);
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.perk-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Divider */
.divider {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
  margin: 40px 0 32px;
}

/* Openings section */
.openings-section {
  text-align: center;
}

.openings-section h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--primary);
}

.no-openings-box {
  background: #fff9e6;
  border: 1px dashed #ffcc00;
  padding: 32px 24px;
  border-radius: 16px;
  margin-top: 8px;
}

.no-openings-box .icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.no-openings-box p {
  margin: 4px 0;
  font-size: 0.98rem;
  color: #4b5563;
}

.highlight {
  font-weight: 600;
  color: #d4a017;
  margin-top: 12px;
}

/* Talent pool */
.talent-pool {
  text-align: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.talent-pool p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.email-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 26px;
  background-color: #111827;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.email-btn:hover {
  background-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* Responsive tweaks */
@media (min-width: 960px) {
  .careers-page {
    padding: 72px 24px 96px;
  }

  .careers-wrapper {
    padding: 44px 40px 52px;
  }
}

@media (max-width: 640px) {
  .careers-page {
    padding: 48px 12px 80px;
  }

  .careers-wrapper {
    padding: 28px 18px 36px;
    border-radius: 16px;
  }

  .careers-hero h1 {
    font-size: 2rem;
  }
}
