body {
  position: relative;
  background: #ffffff;
}

body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 790px;
  background-image: url("../images/Imazhe/bg/bg.webp");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.about-white-section {
  background: #ffffff;
}

.hero-title-mobile {
  display: none;
}

.values-cloud {
  max-width: 820px;
  margin: 40px auto 0;
  color: #0C1432;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.values-cloud span {
  display: inline-block;
  margin: 0 0.3em;
}

.values-cloud .muted {
  color: #DCDFE8;
}

/* The slider starts 320px in and cards only move inside it. No left padding,
   so swiping back to the start never opens a gap before the first card. */
.value-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-left: 20rem;
  padding-left: 0;
  padding-right: 2rem;
}

.value-scroll::-webkit-scrollbar {
  display: none;
}

.scroll-card {
  position: relative;
  flex: 0 0 min(440px, calc(100vw - 32px));
  min-height: 216px;
  padding: 28px 24px 26px;
  border-radius: 8px;
  background: rgba(48, 67, 237, 0.08);
  color: #071029;
  box-shadow: inset 0 0 0 1px rgba(12, 20, 50, 0.03);
}

.scroll-card-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 16px;
}

.scroll-card h3 {
  font-family: "Host Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.scroll-card p {
  font-family: "Host Grotesk", sans-serif;
  font-size: 12px;
  line-height: 1.32;
  color: #4a536c;
  max-width: 310px;
}

.scroll-card p + p {
  margin-top: 13px;
}

.network-card {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(12, 20, 50, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.network-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.grow-framework {
  position: relative;
  margin-top: 65px;
  padding: 34px 28px 28px;
  border-radius: 22px;
  background-color: #eef0fb;
  background-image: url("../images/Imazhe/about/Frame 374.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  overflow: hidden;
}

.grow-framework::before {
  display: none;
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(12, 20, 50, 0.075), transparent 8px),
    linear-gradient(180deg, rgba(12, 20, 50, 0.12), transparent 8px);
  pointer-events: none;
}

.grow-framework > * {
  position: relative;
}
.grow-framework-title {
  text-align: center;
}

.framework-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 38px auto 10px;
}

.framework-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-align: center;
}

.framework-icon {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(1, 7, 32, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.framework-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.partnerships-intro {
  max-width: 560px;
  margin: 66px auto 0;
  text-align: center;
}

.partnerships-intro p {
  max-width: 640px;
  margin: 12px auto 0;
}

.partnership-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 26px;
  max-width: 1110px;
  margin: 40px auto 0;
}

.partnership-grid::before {
  content: "";
  position: absolute;
  inset: 34px -170px -24px;
  border-radius: 999px;
  background:
    radial-gradient(
      ellipse at 50% 55%,
      rgba(48, 67, 237, 0.18),
      rgba(48, 67, 237, 0.08) 42%,
      transparent 72%
    ),
    rgba(48, 67, 237, 0.08);
  filter: blur(48px);
  pointer-events: none;
  z-index: -1;
}

.partnership-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(12, 20, 50, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.partnership-card:hover {
  border-color: rgba(48, 67, 237, 0.2);
  box-shadow: 0 18px 44px rgba(18, 34, 90, 0.08);
  transform: translateY(-2px);
}

.partner-logo-icon {
  position: relative;
  width: 52px;
  height: 40px;
  display: block;
  margin: 0 0 16px 6px;
  border: 5px solid #d9dbe0;
  border-radius: 4px;
}

.partner-logo-icon::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 25px;
  height: 16px;
  border: 5px solid #d9dbe0;
  background: #f4f4f5;
}

.partnership-card span:last-child {
  font-family: "Host Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #a8a8a8;
}

.partnership-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  max-width: 1110px;
  margin: 40px auto 0;
}

.partnership-lines span {
  height: 1px;
  background: rgba(1, 7, 32, 0.28);
}

.solutions-list-section {
  position: relative;
  background: #ffffff;
  padding-top: 46px;
  padding-bottom: 64px;
  overflow: hidden;
}

.solutions-list-section::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 320px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(196, 248, 255, 0.58),
    rgba(196, 248, 255, 0.18) 36%,
    transparent 70%
  );
  pointer-events: none;
}

.solutions-list-container {
  position: relative;
  z-index: 1;
  max-width: 1086px;
  margin: 0 auto;
}

.solution-row {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  column-gap: 136px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(1, 7, 32, 0.2);
}

.solution-row:first-child {
  padding-top: 0;
}

.solution-row:last-child {
  border-bottom: 0;
}

.solution-media {
  position: relative;
  width: 340px;
  aspect-ratio: 340 / 238;
  overflow: hidden;
  border-radius: 8px;
  background: #dce4e6;
}

.solution-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.solution-media span {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 13px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(95, 134, 141, 0.86);
  color: #ffffff;
  font-family: "Host Grotesk", sans-serif;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 16px 34px rgba(6, 30, 42, 0.16);
}

.solution-copy {
  max-width: 560px;
}

.solution-copy h2 {
  margin: 0 0 8px;
}

.solution-copy p {
  max-width: 540px;
  margin: 0;
}

.solution-cta-section {
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 32px;
}

.solution-cta {
  min-height: 240px;
  max-width: 1900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.7fr) auto;
  align-items: center;
  gap: 48px;
  padding: 34px 132px 34px 155px;
  border-radius: 12px;
  background-color: #edf3ff;
  background-image: url("../images/Imazhe/nexten_solutions/Frame.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.solution-cta h2 {
  max-width: 360px;
  margin: 0;
  color: #20242d;
  font-family: "Host Grotesk", sans-serif;
  font-size: 27px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.solution-cta p {
  max-width: 245px;
  margin: 0;
  color: rgba(32, 36, 45, 0.78);
  font-family: "Host Grotesk", sans-serif;
  font-size: 11.5px;
  line-height: 1.25;
}

.solution-cta-button {
  width: 198px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  background: #000821;
  color: #ffffff;
  font-family: "Host Grotesk", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}

.careers-openings-section {
  position: relative;
  background: #ffffff;
  padding-top: 44px;
  padding-bottom: 76px;
  overflow: hidden;
}

.careers-openings-section::before {
  display: none;
}

.careers-openings-container {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0 auto;
}

.careers-intro {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.careers-intro h2 {
  margin: 0;
}

.careers-intro p {
  margin: 20px auto 0;
}

.careers-job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 78px;
}

.career-job-card {
  box-sizing: border-box;
  min-height: 270px;
  padding: 32px 26px 28px;
  border-radius: 8px;
  background: #eff0ff;
  color: #11172d;
}

.career-job-card > img {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
}

.career-job-card h3 {
  margin: 0;
  color: #11172d;
  font-family: "Host Grotesk", sans-serif;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.career-job-card p {
  margin: 14px 0 18px;
}

.career-job-card a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  color: #11172d;
  font-family: "Host Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.career-job-card a img {
  width: 18px;
  height: 18px;
}

.careers-cta-section {
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 32px;
}

.careers-cta {
  box-sizing: border-box;
  min-height: 168px;
  max-width: 1304px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.7fr) auto;
  align-items: center;
  gap: 48px;
  padding: 34px 132px 34px 155px;
  border-radius: 12px;
  background-color: #edf3ff;
  background-image: url("../images/Imazhe/careers/Frame.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.careers-cta h2 {
  max-width: 330px;
  margin: 0;
  color: #20242d;
  font-family: "Host Grotesk", sans-serif;
  font-size: 29px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.careers-cta p {
  max-width: 250px;
  margin: 0;
  color: rgba(32, 36, 45, 0.78);
  font-family: "Host Grotesk", sans-serif;
  font-size: 13px;
  line-height: 1.28;
}

.careers-cta > a {
  width: 224px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  background: #000821;
  color: #ffffff;
  font-family: "Host Grotesk", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}

.careers-contact-section {
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 76px;
}

.careers-contact-heading {
  max-width: 500px;
  margin: 0 auto 36px;
  text-align: center;
}

.careers-contact-heading h2 {
  margin: 0;
  color: #090909;
  font-family: "Host Grotesk", sans-serif;
  font-size: 32px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.careers-contact-container {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: stretch;
}

.careers-contact-map {
  min-height: 460px;
  overflow: hidden;
  border-radius: 0;
  background: #eef4fb;
}

.careers-contact-map img,
.careers-contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.careers-contact-map img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) contrast(0.96) brightness(1.04);
}

.careers-contact-cards {
  display: grid;
  gap: 18px;
}

.careers-contact-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  border-radius: 8px;
  background: #f0f0ff;
  color: #11172d;
  text-align: center;
}

.careers-contact-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 14px;
}

.careers-contact-card h3 {
  margin: 0;
  color: #11172d;
  font-family: "Host Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.careers-contact-card p {
  margin: 10px 0 0;
}

@media (max-width: 640px) {
  html {
    overflow-x: hidden;
  }

  body {
    background-color: #ffffff;
    background-image: url("../images/Imazhe/bg/bg-mob.webp") !important;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    overflow-x: hidden;
  }

  body::before {
    display: none;
  }

  .about-white-section {
    background: transparent;
  }

  .about-hero-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 56px !important;
    padding-bottom: 68px !important;
  }

  .about-hero-section h1 {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: inline;
  }

  .about-hero-section p {
    width: min(300px, calc(100vw - 72px));
    max-width: none;
    margin-top: 14px !important;
  }

  .about-hero-section > div:last-child {
    width: min(320px, calc(100vw - 72px));
    max-width: none;
    aspect-ratio: 360 / 245;
    margin-top: 14px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-section img {
    width: 100%;
    height: 100% !important;
    border-radius: 8px;
    object-position: center center;
  }

  .values-section {
    padding-top: 1px !important;
    padding-bottom: 70px !important;
  }

  

  .values-cloud {
    /* max-width: 330px; */
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .values-cloud span {
    margin: 0 0.25em;
  }

  .values-break {
    display: none;
  }

  .value-scroll {
    gap: 10px !important;
    margin-left: 0 !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  .scroll-card {
    flex-basis: 82vw;
    max-width: 320px;
    min-height: 213px;
    padding: 24px 25px 24px;
  }

  .scroll-card-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 30px;
  }

  .grow-framework {
    max-width: 365px;
    margin: 42px auto 0;
    padding: 48px 36px 48px;
    border-radius: 16px;
  }

  .grow-framework::before {
    display: none;
  }

  .grow-framework-title {
    max-width: 230px;
    margin: 0 auto;
  }

  .framework-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 22px;
    margin: 28px auto 0;
    max-width: 292px;
  }

  .framework-step {
    gap: 17px;
  }

  .framework-step:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .framework-step:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .framework-step:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .framework-step:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .framework-step:nth-child(5) {
    grid-column: 3;
    grid-row: 1;
  }

  .framework-step:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
  }

  .framework-icon {
    width: 74px;
    height: 74px;
    border-width: 3px;
    background: rgba(255, 255, 255, 0.36);
  }

  .framework-icon img {
    width: 36px;
    height: 36px;
    opacity: 0.58;
  }

  .partnerships-intro p {
    max-width: 312px;
  }

  .partnerships-intro {
    margin-top: 44px;
  }

  .partnership-grid {
    grid-template-columns: 1fr;
    max-width: 332px;
    gap: 26px;
  }

  .partnership-grid::before {
    display: none;
  }

  .partnership-card {
    min-height: 184px;
    padding: 29px 39px;
  }

  .partner-logo-icon {
    width: 80px;
    height: 63px;
    margin: 0 0 31px 0;
    border-width: 7px;
    border-radius: 7px;
  }

  .partner-logo-icon::after {
    right: 7px;
    bottom: 7px;
    width: 40px;
    height: 26px;
    border-width: 7px;
  }

  .partnership-card span:last-child {
    font-size: 25px;
  }

  .partnership-lines {
    display: none;
  }

  .solutions-list-section {
    background: transparent;
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .solutions-list-section::before {
    display: none;
  }

  .solutions-list-container {
    max-width: 360px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
  }

  .solution-row:first-child {
    padding-top: 0;
  }

  .solution-media {
    width: 100%;
  }

  .solution-media span {
    left: 11%;
    right: 11%;
    min-height: 54px;
    font-size: 15px;
  }

  .solution-copy {
    max-width: none;
  }

  .solution-cta-section {
    padding-bottom: 28px;
  }

  .solution-cta {
    min-height: auto;
    max-width: 360px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 50px 24px 50px;
    background-position: center;
  }

  .solution-cta h2 {
    max-width: 280px;
    font-size: 24px;
  }

  .solution-cta p {
    max-width: 260px;
    font-size: 13px;
  }

  .solution-cta-button {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }

  .careers-openings-section {
    background: #ffffff;
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .careers-openings-section::before {
    display: none;
  }

  .careers-openings-container {
    width: min(320px, calc(100vw - 64px));
    max-width: none;
  }

  .careers-intro {
    max-width: 300px;
  }

  .careers-intro p {
    margin-top: 14px;
  }

  .careers-job-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }

  .career-job-card {
    width: 100%;
    min-height: auto;
    padding: 28px 25px 26px;
  }

  .career-job-card h3 {
    font-size: 22px;
  }

  .careers-cta-section {
    background: transparent;
    padding-bottom: 28px;
  }

  .careers-cta {
    min-height: auto;
    width: min(320px, calc(100vw - 64px));
    max-width: none;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 24px;
    background-color: #e9fbfc;
    background-image: none;
  }

  .careers-cta h2 {
    max-width: 280px;
    font-size: 24px;
  }

  .careers-cta p {
    max-width: 260px;
    font-size: 13px;
  }

  .careers-cta > a {
    width: 100%;
    min-height: 44px;
    font-size: 12px;
  }

  .careers-contact-section {
    background: transparent;
    padding-top: 0;
    padding-bottom: 56px;
  }

  .careers-contact-heading {
    width: min(320px, calc(100vw - 64px));
    max-width: none;
    margin-bottom: 28px;
  }

  .careers-contact-heading h2 {
    font-size: 24px;
  }

  .careers-contact-container {
    width: min(320px, calc(100vw - 64px));
    max-width: none;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .careers-contact-map {
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  .careers-contact-cards {
    gap: 16px;
  }

  .careers-contact-card {
    min-height: 138px;
    padding: 22px 18px;
  }

  .careers-contact-card img {
    width: 28px;
    height: 28px;
  }

  .careers-contact-card h3 {
    font-size: 18px;
  }

  body.solution-page .solution-cta-section,
  body.careers-page .solution-cta-section {
    background: transparent;
    padding-bottom: 28px;
  }

  body.solution-page .solution-cta,
  body.careers-page .solution-cta {
    box-sizing: border-box;
    min-height: auto;
    width: min(320px, calc(100vw - 64px));
    max-width: none;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 24px;
    background-color: #e9fbfc;
    background-image: none;
  }

  body.solution-page .solution-cta-button,
  body.careers-page .solution-cta-button {
    box-sizing: border-box;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* About page: uniform 30px side gutters on mobile */
  body.about-page header nav,
  body.about-page #mobile-menu > div,
  body.about-page .about-hero-section,
  body.about-page .values-section,
  body.about-page .about-white-section:not(.values-section) > div:last-child,
  body.about-page .about-white-section:not(.values-section) > div:first-child > div:last-child,
  body.about-page footer {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  body.about-page .about-hero-section p,
  body.about-page .about-hero-section > div:last-child,
  body.about-page .grow-framework,
  body.about-page .partnerships-intro p,
  body.about-page .partnership-grid {
    width: 100%;
    max-width: none;
  }

  /* Values carousel: start at 30px and keep 30px at the end */
  body.about-page .about-white-section:not(.values-section) > div:first-child {
    margin-left: 0 !important;
  }

  body.about-page .value-scroll {
    padding-left: 30px !important;
    padding-right: 30px !important;
    scroll-padding-left: 30px;
  }

  /* Contact + Careers pages: fit the mobile background to the hero */
  body.careers-page {
    background-image: none !important;
  }

  body.careers-page .about-hero-section {
    background-image: url("../images/Imazhe/bg/bg-mob.webp");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 100%;
  }

  /* Contact + Careers pages: uniform 30px side gutters on mobile */
  body.careers-page header nav,
  body.careers-page #mobile-menu > div,
  body.careers-page .about-hero-section,
  body.careers-page .careers-openings-section,
  body.careers-page .careers-contact-section,
  body.solution-page .solution-cta-section,
  body.careers-page .solution-cta-section,
  body.careers-page footer {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  body.careers-page .about-hero-section p,
  body.careers-page .about-hero-section > div:last-child,
  body.careers-page .careers-intro,
  body.careers-page .careers-openings-container,
  body.careers-page .careers-contact-container,
  body.solution-page .solution-cta,
  body.careers-page .solution-cta {
    width: 100%;
    max-width: none;
  }

}

@media (min-width: 641px) and (max-width: 900px) {
  .framework-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partnership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partnership-lines {
    max-width: 710px;
  }
}

/* ---- Apply modal (careers) ---- */
body.apply-modal-open {
  overflow: hidden;
}

.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.apply-modal[hidden] {
  display: none;
}

.apply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 26, 38, 0.86);
}

.apply-modal-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 505px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  font-family: "Host Grotesk", sans-serif;
  color: #010720;
}

.apply-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.apply-modal-title {
  font-family: "Basote", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #0c1432;
}

.apply-modal-intro {
  margin: 6px 0 0;
  max-width: 420px;
  font-size: 11px;
  line-height: 1.5;
  color: #4b5064;
}

.apply-modal-close {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #eef0fb;
  color: #010720;
  cursor: pointer;
}

.apply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 11px;
  row-gap: 14px;
  margin-bottom: 14px;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.apply-grid .apply-field {
  margin-bottom: 0;
}

.apply-label {
  font-size: 10px;
  font-weight: 600;
  color: #010720;
}

.apply-label-row {
  display: flex;
  justify-content: space-between;
}

.apply-counter {
  font-weight: 400;
  color: #8a8fa3;
}

.apply-field input,
.apply-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #e4e6ee;
  border-radius: 6px;
  background: #f7f8fb;
  font: inherit;
  font-size: 11px;
  color: #010720;
  outline: none;
  transition: border-color 0.15s, background-color 0.15s;
}

.apply-field textarea {
  min-height: 70px;
  resize: vertical;
}

.apply-field input::placeholder,
.apply-field textarea::placeholder {
  color: #9a9fb2;
}

.apply-field input:focus,
.apply-field textarea:focus {
  border-color: #3043ed;
  background: #ffffff;
}

.apply-hint {
  margin-top: -2px;
  font-size: 9px;
  color: #3043ed;
  visibility: hidden;
}

.apply-field-hint:focus-within .apply-hint {
  visibility: visible;
}

.apply-submitted .apply-field input:invalid,
.apply-submitted .apply-field textarea:invalid {
  border-color: #e5484d;
}

.apply-dropzone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  border: 1.5px dashed #6b72e0;
  border-radius: 8px;
  background: #eef0fc;
  transition: background-color 0.15s;
}

.apply-dropzone.is-dragging {
  background: #e2e5fb;
}

.apply-dropzone.is-invalid {
  border-color: #e5484d;
}

.apply-dropzone-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
}

.apply-dropzone-text {
  flex: 1;
  min-width: 0;
}

.apply-dropzone-title {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apply-dropzone.is-invalid .apply-dropzone-title {
  color: #e5484d;
}

.apply-dropzone-sub {
  margin-top: 3px;
  font-size: 8px;
  color: #6b7085;
}

.apply-browse {
  flex-shrink: 0;
  padding: 7px 20px;
  border: 1px solid #d9dcea;
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
  font-size: 9px;
  color: #3043ed;
  cursor: pointer;
}

.apply-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.apply-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
  font-size: 8px;
  line-height: 1.5;
  color: #6b7085;
  cursor: pointer;
}

.apply-consent input {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #00061d;
}

.apply-submitted .apply-consent input:invalid + span {
  color: #e5484d;
}

.apply-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.apply-cancel,
.apply-submit {
  padding: 11px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.apply-cancel {
  border: 1px solid #e4e6ee;
  background: #ffffff;
  font-weight: 600;
  color: #010720;
}

.apply-submit {
  padding-left: 18px;
  padding-right: 18px;
  border: 0;
  background: #00061d;
  color: #ffffff;
}

/* Contact Form 7 output inside the apply form */
#apply-form .wpcf7-form-control-wrap {
  display: block;
}

#apply-form .wpcf7-form-control-wrap[data-name="resume"] input {
  display: none;
}

#apply-form .apply-consent .wpcf7-form-control-wrap,
#apply-form .apply-consent .wpcf7-list-item {
  margin: 0;
}

#apply-form .apply-consent label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

#apply-form .wpcf7-not-valid {
  border-color: #e5484d;
}

#apply-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 9px;
  color: #e5484d;
}

#apply-form .apply-actions {
  align-items: center;
}

#apply-form .apply-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#apply-form .wpcf7-spinner {
  display: none;
}

#apply-form.submitting .wpcf7-spinner {
  display: inline-block;
  margin: 0;
}

#apply-form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 10px;
}

#apply-form .wpcf7-response-output:empty {
  display: none;
}

@media (max-width: 640px) {
  .apply-modal {
    padding: 16px;
  }

  .apply-modal-card {
    max-height: calc(100vh - 32px);
    padding: 20px 18px;
  }

  .apply-grid {
    grid-template-columns: 1fr;
  }

  .apply-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .apply-consent {
    max-width: none;
  }

  .apply-actions > * {
    flex: 1;
  }
}
