/* Careers page uses the shared Home typography and site chrome. */
.careers-page {
  --careers-ink: #14213d;
  --careers-muted: #586782;
  --careers-blue: #4568ec;
  --careers-deep: #0b1734;
  --careers-line: #dfe7f2;
  overflow: clip;
}
.careers-page .section-inner { padding-block: clamp(72px, 8vw, 112px); }
.careers-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #4867dc;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.careers-page .eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.careers-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.careers-page .btn:hover { transform: translateY(-2px); }
.careers-page .btn.primary { color: #fff; background: var(--careers-blue); box-shadow: 0 12px 25px rgba(69, 104, 236, .22); }
.careers-page .btn.primary:hover { color: #fff; background: #3653d4; }
.careers-page .btn.secondary { color: var(--careers-ink); background: #fff; border-color: #dbe3f1; }
.careers-page .btn.secondary:hover { color: #3653d4; border-color: #9dafee; }
.careers-page section > .section-inner > header { max-width: 820px; margin-bottom: 39px; }
.careers-page section > .section-inner > header h2 { margin-bottom: 17px; }
.careers-page section > .section-inner > header p { max-width: 690px; margin: 0; color: var(--careers-muted); font-size: 16px; line-height: 1.85; }

/* Split introduction with company work details at full readable size. */
.careers-page .hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(ellipse at 84% 11%, #283f8a 0%, transparent 40%),
              radial-gradient(ellipse at 5% 90%, #173470 0%, transparent 42%),
              var(--careers-deep);
}
.careers-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image: linear-gradient(rgba(215, 225, 255, .09) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(215, 225, 255, .09) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.careers-page .hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(45px, 6vw, 82px);
  padding-block: clamp(85px, 10vw, 138px);
}
.careers-page .hero-copy,
.careers-page .hero-panel { min-width: 0; }
.careers-page .hero .eyebrow { color: #afc0ff; }
.careers-page .hero h1 { max-width: 680px; margin-bottom: 24px; color: #fff; }
.careers-page .hero .lead { max-width: 620px; margin-bottom: 29px; color: #c7d3eb; font-size: 17px; line-height: 1.85; }
.careers-page .hero .lead strong { color: #fff; }
.careers-page .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.careers-page .hero .btn.secondary { color: #f3f6ff; background: rgba(255, 255, 255, .08); border-color: rgba(219, 230, 255, .31); }
.careers-page .hero .btn.secondary:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.careers-page .hero-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 600px; margin-top: 37px; border-top: 1px solid rgba(214, 226, 255, .19); }
.careers-page .hero-highlights > div { display: grid; gap: 2px; padding: 16px 15px 0 0; }
.careers-page .hero-highlights > div:nth-child(even) { padding-left: 15px; border-left: 1px solid rgba(214, 226, 255, .19); }
.careers-page .hero-highlights span { color: #9eafcf; font-size: 12px; }
.careers-page .hero-highlights strong { color: #fff; font-size: 16px; line-height: 1.45; }
.careers-page .hero-panel { position: relative; }
.careers-page .hero-panel::before { content: ""; position: absolute; z-index: -1; inset: 8% -7%; border-radius: 50%; background: #728aff; filter: blur(78px); opacity: .26; }
.careers-page .panel-card { overflow: hidden; padding: clamp(26px, 3.5vw, 40px); border: 1px solid rgba(228, 235, 255, .7); border-radius: 20px; color: var(--careers-ink); background: #fff; box-shadow: 0 30px 76px rgba(2, 9, 36, .29), 0 0 0 8px rgba(255, 255, 255, .045); }
.careers-page .panel-card header { padding-bottom: 24px; border-bottom: 1px solid #e8edf5; }
.careers-page .panel-card .badge { display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 100px; color: #4564cc; background: #edf1ff; font-size: 12px; font-weight: 800; line-height: 1.5; }
.careers-page .panel-card header strong { display: block; color: #1b3057; font-size: 1.2rem; line-height: 1.35; }
.careers-page .work-details-list { display: grid; gap: 0; margin: 9px 0 0; padding: 0; list-style: none; }
.careers-page .work-details-list li { display: grid; grid-template-columns: minmax(100px, .48fr) minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf0f6; font-size: 14px; line-height: 1.65; }
.careers-page .work-details-list li:last-child { border: 0; }
.careers-page .work-details-list .label { color: #7a8aa3; }
.careers-page .work-details-list strong { color: #2a3f66; }
.careers-page .panel-card footer { margin-top: 11px; padding-top: 19px; border-top: 1px solid #e8edf5; }
.careers-page .panel-card footer p { margin: 0; color: #667690; font-size: 14px; line-height: 1.8; }
.careers-page .panel-card footer strong { color: #294776; }

/* Open roles: one featured position followed by two readable cards. */
.careers-page .roles { background: #f5f8fd; }
.careers-page .role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.careers-page .role-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(26px, 3vw, 39px); border: 1px solid #dfe6f1; border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(22, 42, 86, .045); }
.careers-page .role-card:first-child { grid-column: 1 / -1; border-color: #bfcdf9; background: radial-gradient(circle at 100% 0, #eaf0ff, transparent 39%), #fff; box-shadow: 0 18px 44px rgba(69, 104, 236, .09); }
.careers-page .role-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-bottom: 18px; }
.careers-page .role-meta .badge { display: inline-flex; padding: 6px 10px; border-radius: 100px; color: #4060c6; background: #edf1ff; font-size: 12px; font-weight: 800; line-height: 1.5; }
.careers-page .tech-tags { color: #6e7d96; font-size: 12px; font-weight: 700; line-height: 1.5; }
.careers-page .role-card h3 { margin-bottom: 10px; color: #192d52; }
.careers-page .role-card .summary { max-width: 800px; margin-bottom: 23px; color: #5b6b84; font-size: 15px; line-height: 1.8; }
.careers-page .role-card .summary strong,
.careers-page .role-card .lists strong { color: #2e436b; }
.careers-page .role-card .lists { display: grid; gap: 23px; margin-bottom: 26px; }
.careers-page .role-card:first-child .lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 75px); }
.careers-page .list-group { padding-top: 17px; border-top: 1px solid #e4eaf4; }
.careers-page .list-title { margin-bottom: 10px; color: #3454af; font-size: 14px; font-weight: 800; }
.careers-page .list-group ul { display: grid; gap: 8px; margin: 0; padding-left: 19px; }
.careers-page .list-group li { color: #54657f; font-size: 15px; line-height: 1.75; }
.careers-page .list-group li::marker { color: #6d86e5; }
.careers-page .role-card .btn.tertiary { align-self: flex-start; margin-top: auto; color: #3658c8; background: #edf2ff; border-color: #d6e0fc; }
.careers-page .role-card .btn.tertiary:hover { color: #2544b2; background: #e3eaff; border-color: #aebff6; }

/* Culture is an open, dark three-column statement. */
.careers-page .culture { color: #fff; background: radial-gradient(ellipse at 93% 9%, #28428d, transparent 44%), #101f40; }
.careers-page .culture header h2 { color: #fff; }
.careers-page .culture header p { color: #c0cee6 !important; }
.careers-page .culture header strong { color: #fff; }
.careers-page .culture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(25px, 4vw, 53px); }
.careers-page .culture-card { padding-top: 26px; border-top: 2px solid rgba(219, 230, 255, .28); }
.careers-page .culture-card .eyebrow { color: #afc0ff; }
.careers-page .culture-card h3 { margin-bottom: 22px; color: #fff; }
.careers-page .culture-card h3 strong { color: #fff; }
.careers-page .culture-card .benefit-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.careers-page .culture-card .benefit-list li { position: relative; padding-left: 23px; color: #c0cee5; font-size: 15px; line-height: 1.75; }
.careers-page .culture-card .benefit-list li::before { content: "✓"; position: absolute; left: 0; color: #9fb7ff; font-weight: 800; }
.careers-page .culture-card .benefit-list strong { color: #fff; }

/* Benefits read as a compact editorial list beside the section heading. */
.careers-page .benefits { background: #eef3fc; }
.careers-page .benefits .section-inner { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(44px, 7vw, 100px); }
.careers-page .benefits header { position: sticky; top: 115px; margin: 0; }
.careers-page .benefit-grid { border-top: 1px solid #d7e2f2; }
.careers-page .benefit-card { display: grid; grid-template-columns: minmax(155px, .48fr) minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid #d7e2f2; }
.careers-page .benefit-card h3 { margin: 0; color: #203760; }
.careers-page .benefit-card p { margin: 0; color: #596b85; font-size: 15px; line-height: 1.85; }
.careers-page .benefit-card strong,
.careers-page .benefit-card data { color: #2d487c; font-weight: 700; }

/* Hiring stages form a connected horizontal stepper. */
.careers-page .process { background: #fff; }
.careers-page .process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.careers-page .process-card { position: relative; padding: 25px 0 0; border-top: 2px solid #dce5f3; }
.careers-page .process-card::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #6d88eb; box-shadow: 0 0 0 5px #edf1ff; }
.careers-page .process-card .eyebrow { margin-bottom: 20px; }
.careers-page .process-card h3 { margin-bottom: 16px; color: #1e3359; }
.careers-page .process-card .tip { margin: 0; color: #63738b; font-size: 15px; line-height: 1.8; }
.careers-page .process-card .tip strong { color: #344c73; }

/* Candidate questions use a calm reading column. */
.careers-page .faq { background: #f6f8fc; }
.careers-page .faq .section-inner { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); align-items: start; gap: clamp(44px, 7vw, 100px); }
.careers-page .faq header { position: sticky; top: 115px; margin: 0; }
.careers-page .faq-grid { border-top: 1px solid #dae3f1; }
.careers-page .faq-item { padding: 25px 0; border-bottom: 1px solid #dae3f1; }
.careers-page .faq-item h3 { margin-bottom: 10px; color: #1d3157; }
.careers-page .faq-item p { margin: 0; color: #5d6e87; font-size: 15px; line-height: 1.85; }
.careers-page .faq-item p strong { color: #354d76; }

/* One luminous final invitation closes the page. */
.careers-page .cta { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% -40%, #748bff 0%, transparent 66%), linear-gradient(125deg, #28439e, #1a2d70); }
.careers-page .cta::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px; }
.careers-page .cta .section-inner { position: relative; text-align: center; }
.careers-page .cta .eyebrow { color: #d8e1ff; }
.careers-page .cta h2 { max-width: 840px; margin: 0 auto 20px; color: #fff; }
.careers-page .cta-lead { max-width: 700px; margin: 0 auto; color: #dce6ff; font-size: 17px; line-height: 1.85; }
.careers-page .cta-lead strong { color: #fff; }
.careers-page .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 31px; }
.careers-page .cta .btn.primary { color: #203a87; background: #fff; box-shadow: 0 14px 30px rgba(8, 19, 57, .2); }
.careers-page .cta .btn.primary:hover { color: #172d72; background: #edf2ff; }
.careers-page .cta .btn.secondary { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(235, 242, 255, .46); }
.careers-page .cta .btn.secondary:hover { color: #fff; background: rgba(255, 255, 255, .17); }

.custom-footer .footer-link-group a[aria-current="page"] { color: #fff; font-weight: 800; }

@media (max-width: 1000px) {
  .careers-page .hero .section-inner,
  .careers-page .benefits .section-inner,
  .careers-page .faq .section-inner { grid-template-columns: 1fr; }
  .careers-page .hero-panel { max-width: 670px; }
  .careers-page .benefits header,
  .careers-page .faq header { position: static; }
  .careers-page .benefits .section-inner,
  .careers-page .faq .section-inner { gap: 34px; }
}
@media (max-width: 800px) {
  .careers-page .culture-grid { grid-template-columns: 1fr; }
  .careers-page .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .careers-page .section-inner { padding-block: 65px; }
  .careers-page .role-grid { grid-template-columns: 1fr; }
  .careers-page .role-card:first-child { grid-column: auto; }
  .careers-page .role-card:first-child .lists { grid-template-columns: 1fr; gap: 23px; }
  .careers-page .benefit-card { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px) {
  .careers-page .hero .section-inner { gap: 46px; }
  .careers-page .hero .lead,
  .careers-page .cta-lead { font-size: 16px; }
  .careers-page .hero-cta,
  .careers-page .cta-actions { flex-direction: column; align-items: stretch; }
  .careers-page .hero-cta .btn,
  .careers-page .cta-actions .btn { width: 100%; }
  .careers-page .hero-highlights strong { font-size: 14px; }
  .careers-page .work-details-list li { grid-template-columns: 1fr; gap: 3px; }
  .careers-page .process-grid { grid-template-columns: 1fr; }
}
