.careers-module {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  background-color: #ffffff;
  color: oklch(0.145 0 0);
  line-height: 1.5;
}

/* CSS Variables */
.careers-module {
  --primary: #46e9ce;
  --primary-foreground: #000000;
  --accent: #c7f7ed;
  --accent-foreground: #030213;
  --muted-foreground: #717182;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 0.625rem;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
}

/* ===== Global Header Styling (Lineage) ===== */
.header__logo-image {
  filter: brightness(0);
}

.header__wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

header.header {
  width: 100%;
  z-index: 9999;
  padding: 0;
}

.header__bottom {
  padding: 3.36rem 0;
}

header.header .header__bottom {
  background-color: transparent;
}

header.header .header__bottom .header__wrapper {
  max-width: 1280px;
}

.header__logo-col {
  max-width: 281px;
}

@media screen and (min-width: 768px) {
  li.header__menu-item.header__menu-item--depth-1.hs-skip-lang-url-rewrite:last-of-type {
    background-color: #5ee1ca;
    padding: 10px 15px;
    border-radius: 50px;
  }
}

li.header__menu-item.header__menu-item--depth-1.hs-skip-lang-url-rewrite a {
  font-weight: 600;
}

.header__container--left .header__menu-col {
  margin-left: 100px;
  text-align: left;
}

.header__menu-item--depth-1 {
  padding: 0 1.6rem;
}

a.header__menu-link {
  font-size: 16px;
  text-decoration: none;
}

/* Force the global header (and future footer) to use Poppins with semi-bold weight */
header.header,
footer.footer,
header.header *,
footer.footer * {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 520 !important; /* best middle weight */
  letter-spacing: 0.01em; /* just a tiny loosen for clarity */
  color: #111 !important; /* slightly darker than pure black for smoother rendering */
}

/* Reset and Base Styles */
.careers-module * {
  box-sizing: border-box;
}

.careers-module h1,
.careers-module h2,
.careers-module h3,
.careers-module h4,
.careers-module h5,
.careers-module h6,
.careers-module p {
  margin: 0;
}

/* Container */
.careers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .careers-container {
    padding: 0 1.5rem;
  }
}

/* Header */
.careers-header {
  border-bottom: 1px solid var(--border);
}

.careers-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.careers-logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.careers-logo {
  height: 2rem;
  width: auto;
}

.careers-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .careers-nav {
    display: flex;
  }
}

.careers-nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  font-weight: var(--font-weight-normal);
}

.careers-nav-link:hover {
  color: oklch(0.145 0 0);
}

.careers-nav-active {
  color: oklch(0.145 0 0) !important;
}

.careers-nav-indicator {
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  right: 0;
  height: 0.125rem;
  background-color: var(--primary);
  border-radius: 9999px;
}

/* Buttons */
.careers-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

.careers-btn-lg {
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
}

.careers-btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(70, 233, 206, 0.3);
}

.careers-btn-primary:hover {
  background-color: rgba(70, 233, 206, 0.9);
}

.careers-btn-white {
  background-color: white;
  color: oklch(0.145 0 0);
}

.careers-btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.careers-btn-outline {
  border: 1px solid var(--border);
  background-color: transparent;
  color: oklch(0.145 0 0);
}

.careers-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(70, 233, 206, 0.05);
}

/* Separator */
.careers-separator {
  height: 1px;
  background-color: var(--border);
  margin: 0;
}

/* Hero Section */
.careers-hero {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .careers-hero {
    padding: 8rem 0;
  }
}

.careers-hero-content {
  max-width: 96rem;
  margin: 0 auto;
}

.careers-hero-card {
  position: relative;
  background: linear-gradient(135deg, var(--accent), rgba(199, 247, 237, 0.7), rgba(70, 233, 206, 0.3));
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(70, 233, 206, 0.2);
}

@media (min-width: 768px) {
  .careers-hero-card {
    padding: 4rem;
  }
}

.careers-hero-alpha {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%) scale(0.9);
  width: 380px;
  height: 380px;
  opacity: 0.15;
  pointer-events: none;
}

.careers-hero-alpha-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(0.5px);
}

.careers-hero-text {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.careers-hero-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .careers-hero-title {
    font-size: 3.75rem;
  }
}

.careers-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(3, 2, 19, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Add extra spacing between title and subtitle */
.careers-hero .careers-hero-subtitle {
  margin-top: 1rem !important; /* increase to 3rem if still close */
}

.careers-hero .careers-btn {
  margin-top: 1.25rem !important; /* try increasing to 3rem or 4rem if needed */
}

/* Section Titles */
.careers-section-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  font-weight: var(--font-weight-medium);
  text-align: center;
}

@media (min-width: 768px) {
  .careers-section-title {
    font-size: 2.25rem;
  }
}

.careers-title-underline {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--primary);
  margin: 1rem auto;
  border-radius: 9999px;
}

.careers-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Purpose Section */
.careers-purpose {
  padding: 5rem 0;
}

.careers-purpose-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.careers-purpose-text {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Why Join Section */
.careers-why-join {
  padding: 5rem 0;
}

.careers-why-join-content {
  max-width: 80rem;
  margin: 0 auto;
}

.careers-why-join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .careers-why-join-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.careers-feature-card {
  background-color: rgba(199, 247, 237, 0.3);
  padding: 2rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: all 0.2s ease;
}

.careers-feature-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.careers-feature-title {
  margin-bottom: 1rem;
  color: oklch(0.145 0 0);
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
}

.careers-feature-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Values Section */
.careers-values {
  padding: 5rem 0;
}

.careers-values-header {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 4rem;
}

.careers-values-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.careers-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 96rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .careers-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .careers-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.careers-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.careers-value-card:hover {
  transform: scale(1.05);
}

.careers-value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 15px -3px rgba(70, 233, 206, 0.2);
}

.careers-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* NEW: PNG icon sizing for values */
.careers-icon-img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  display: block;
}

/* Larger PNG icons inside the Values Section */
.careers-value-icon img,
.careers-icon-img {
  width: 3rem !important;
  height: 3rem !important;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .careers-value-icon img,
  .careers-icon-img {
    width: 3.25rem !important;
    height: 3.25rem !important;
  }
}

.careers-value-title {
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
}

.careers-value-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Benefits Section */
.careers-benefits {
  background-color: rgba(199, 247, 237, 0.2);
  padding: 5rem 0;
}

.careers-benefits-content {
  max-width: 64rem;
  margin: 0 auto;
}

.careers-benefits-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
}

.careers-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .careers-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.careers-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  border: 1px solid rgba(199, 247, 237, 0.3);
}

.careers-benefit-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.careers-benefit-check {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.careers-benefit-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.careers-benefit-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.careers-benefit-text {
  margin: 0;
  line-height: 1.5;
}

/* Jobs Section */
.careers-jobs {
  padding: 5rem 0;
}

.careers-jobs-header {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 4rem;
}

.careers-jobs-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.careers-jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.careers-job-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  transition: all 0.2s ease;
  background-color: white;
}

.careers-job-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(70, 233, 206, 0.1);
}

.careers-job-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .careers-job-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.careers-job-info {
  flex: 1;
}

.careers-job-title {
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
}

.careers-job-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(70, 233, 206, 0.1);
  color: oklch(0.145 0 0);
  border: 1px solid rgba(70, 233, 206, 0.2);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.careers-job-badge:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.careers-job-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.careers-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.careers-job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.careers-job-icon {
  width: 1rem;
  height: 1rem;
}

.careers-job-meta-item span {
  font-size: 0.875rem;
}

.careers-job-action {
  padding-top: 0.5rem;
}

.careers-job-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.careers-btn-outline:hover .careers-job-arrow {
  transform: translateX(0.25rem);
}

/* CTA Section */
.careers-cta {
  position: relative;
  background-color: var(--primary);
  color: var(--primary-foreground);
  overflow: hidden;
  padding: 3rem 0 !important; /* tighten top/bottom */
  margin: 0 !important;
}

/* Remove container side padding inside CTA */
.careers-cta .careers-container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

/* Center content and set readable width */
.careers-cta .careers-cta-content {
  max-width: 800px !important; /* adjust width if needed */
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Background logo image (alpha layer) */
.careers-cta-bg {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 500px; /* adjust for visual balance */
  height: auto;
  opacity: 0.1;
  pointer-events: none;
}

.careers-cta-alpha {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text spacing */
.careers-cta-title {
  font-size: 1.875rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 1rem !important;
}

.careers-cta-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.75rem !important; /* space before button */
  opacity: 0.9;
}

/* Responsive title size */
@media (min-width: 768px) {
  .careers-cta-title {
    font-size: 2.25rem;
  }
}

/* CTA Button */
.careers-cta .careers-btn {
  display: inline-block;
  background-color: #fff !important;
  color: oklch(0.145 0 0) !important;
  font-weight: 600;
  padding: 0.875rem 2rem !important;
  border-radius: 0.625rem !important;
  box-shadow: 0 3px 6px rgba(0,0,0,.1) !important;
  transition: transform .2s ease, background-color .2s ease;
  margin-top: 0 !important;
}

.careers-cta .careers-btn:hover {
  background-color: #f7f7f7 !important;
  transform: translateY(-2px);
}

/* Nuke extra padding from HubSpot DnD wrappers if present */
.careers-cta [class*="dnd-section"],
.careers-cta [class*="dnd-row"],
.careers-cta [class*="dnd-column"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Equal Opportunity Section */
.careers-eeo {
  background-color: rgba(199, 247, 237, 0.1);
  padding: 4rem 0;
}

.careers-eeo-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.careers-eeo-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .careers-hero-title {
    font-size: 2rem;
  }
  
  .careers-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .careers-section-title {
    font-size: 1.75rem;
  }
  
  .careers-purpose-text {
    font-size: 1.125rem;
  }
  
  .careers-cta-title {
    font-size: 1.75rem;
  }
}

/* Focus styles for accessibility */
.careers-btn:focus,
.careers-nav-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Loading states */
.careers-module img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

.careers-module img[loading="lazy"]:not([src]) {
  opacity: 0;
}

/* Print styles */
@media print {
  .careers-module {
    background: white !important;
    color: black !important;
  }
  
  .careers-btn,
  .careers-nav {
    display: none;
  }
  
  .careers-hero-card,
  .careers-feature-card,
  .careers-job-card {
    break-inside: avoid;
  }
}

/* Hover animations */
@media (prefers-reduced-motion: no-preference) {
  .careers-value-card,
  .careers-feature-card,
  .careers-job-card,
  .careers-btn {
    transition: all 0.2s ease;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .careers-module {
    --border: rgba(0, 0, 0, 0.3);
  }
  
  .careers-job-badge,
  .careers-benefit-item {
    border-width: 2px;
  }