/* Careers — uses simple-page styles from content-document.css */

#careers-hero {
  text-align: center;
}

#careers-hero h1 {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: #fff;
  text-align: center;
  margin: 0 0 80px;
}

.careers-headline {
  position: relative;
  z-index: 2;
  font-family: Inter, sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  max-width: 794px;
  margin: 0 auto;
}

/* Character-by-character reveal */
.careers-headline .char,
.careers-subtext .char {
  display: inline-block;
  color: #191c20;
  opacity: 0;
  transition: color 1.6s ease, text-shadow 1.6s ease, opacity 1.6s ease;
  will-change: color, text-shadow, opacity;
}

.careers-headline .char.lit,
.careers-subtext .char.lit {
  color: #6c9eb2;
  opacity: 1;
  text-shadow: 0 0 24px rgba(108, 158, 178, 0.4), 0 0 50px rgba(108, 158, 178, 0.15);
  transition: color 1.6s ease, text-shadow 1.6s ease, opacity 1.6s ease;
}

.careers-headline .char.settled,
.careers-subtext .char.settled {
  color: #fff;
  opacity: 1;
  text-shadow: none;
  transition: color 1.6s ease, text-shadow 1.6s ease, opacity 1.6s ease;
}

.careers-headline .word,
.careers-subtext .word {
  display: inline-block;
  white-space: nowrap;
}

.careers-headline .char.space,
.careers-subtext .char.space {
  width: 0.3em;
}

.careers-subtext {
  position: relative;
  z-index: 2;
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  max-width: 794px;
  margin: 100px auto 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.careers-subtext.visible {
  opacity: 1;
}

.careers-cta {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

/* Perks */
#careers-perks {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1020px;
  width: 100%;
  margin: 140px auto 0;
}

.perk-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: rgba(46, 73, 90, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 23px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  height: 359px;
}

.perk-card h3 {
  font-family: "Black Han Sans", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  text-align: center;
  color: #fff;
  width: 266px;
  max-width: 100%;
  margin-top: 10px;
  margin-bottom: 20px;
}

.perk-icon-wrap {
  position: relative;
  margin-top: auto;
  display: grid;
  place-items: center;
}

.perk-icon-wrap::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -80px;
  background-image: url("/images/home/gradient-radial-bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.perk-icon-wrap img {
  width: 120px;
  position: relative;
  top: -36px;
}

@media screen and (max-width: 850px) {
  .careers-headline {
    font-size: 34px;
  }
  .careers-subtext {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  #careers-hero h1 {
    font-size: 32px;
    margin-bottom: 60px;
  }
  .careers-headline {
    font-size: 28px;
  }
  .careers-subtext {
    font-size: 18px;
    margin-top: 70px;
  }
  #careers-perks {
    margin-top: 80px;
  }
}
