/* =========================================
   JOIN & GROW
   DESKTOP + MOBILE
   ========================================= */

*{
  box-sizing:border-box;
}

body.join-grow-page{
  margin:0;
  background:#f7fafc;
  color:#0b3557;
}

.jg-main{
  width:min(1240px, 96%);
  margin:0 auto;
  padding:34px 0 28px;
}


/* TOP */

.jg-top{
  text-align:center;
  padding:18px 30px 24px;
}

.jg-kicker{
  margin:0 0 10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:3px;
  color:#31526b;
}

.jg-top h1{
  margin:0 auto;
  max-width:1050px;
  font-size:40px;
  line-height:1.12;
  color:#0b3557;
}

.jg-top h1 span{
  display:block;
  margin-top:3px;
  color:#078b43;
}

.jg-lead{
  max-width:780px;
  margin:14px auto 20px;
  font-size:17px;
  line-height:1.45;
  color:#596a76;
}

.jg-top-actions{
  display:flex;
  justify-content:center;
  gap:16px;
}

.jg-btn{
  min-width:245px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:9px;
  font-weight:800;
  text-decoration:none;
}

.jg-green{
  background:#08a640;
  color:#fff;
}

.jg-outline{
  background:#fff;
  color:#0b3557;
  border:2px solid #0b3557;
}


/* BENEFITS */

.jg-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:0 0 18px;
}

.jg-benefit{
  min-height:94px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 18px;
  background:#f2f8fc;
  border-radius:15px;
}

.jg-benefit > span{
  width:55px;
  height:55px;
  flex:0 0 55px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#def5e4;
  border-radius:50%;
  font-size:28px;
}

.jg-benefit:nth-child(even) > span{
  background:#def1fc;
}

.jg-benefit h3{
  margin:0 0 4px;
  font-size:16px;
}

.jg-benefit p{
  margin:0;
  color:#5c6c78;
  font-size:13px;
  line-height:1.35;
}


/* TWO CAREER BOXES */

.jg-paths{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}

.jg-path-card{
  background:#f7fbff;
  border:1px solid #e2ebf0;
  border-radius:18px;
  padding:26px 28px 20px;
  box-shadow:0 5px 18px rgba(22,55,77,.06);
}

.jg-path-card.protection{
  background:#f8fff9;
}

.jg-path-heading{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.jg-path-icon{
  width:64px;
  height:64px;
  flex:0 0 64px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#dff2ff;
  border-radius:50%;
  font-size:34px;
}

.protection .jg-path-icon{
  background:#dcf8e4;
}

.jg-path-heading h2{
  margin:2px 0 6px;
  font-size:28px;
  line-height:1.1;
  color:#0b3557;
}

.jg-path-heading p{
  margin:0;
  font-size:15px;
  line-height:1.4;
  color:#586a78;
}

.jg-path-card ul{
  list-style:none;
  padding:0;
  margin:18px 0 22px 82px;
}

.jg-path-card li{
  position:relative;
  margin:10px 0;
  padding-left:31px;
  font-size:14px;
  color:#4d5e6b;
}

.jg-path-card li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:-2px;
  width:21px;
  height:21px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#08a640;
  color:#fff;
  font-size:13px;
  font-weight:900;
}

.jg-path-btn{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  font-size:15px;
}

.jg-path-btn.blue{
  background:#07558e;
}

.jg-path-btn.green{
  background:#08a640;
}


/* HOW IT WORKS */

.jg-how{
  display:grid;
  grid-template-columns:1.2fr 1fr auto 1fr auto 1fr auto 1fr;
  gap:15px;
  align-items:center;

  margin-bottom:18px;
  padding:22px 26px;
  background:#f0f7fc;
  border-radius:18px;
}

.jg-how-title{
  padding-right:18px;
  border-right:1px solid #dce5eb;
}

.jg-how-title h2{
  margin:0 0 5px;
  font-size:25px;
}

.jg-how-title p{
  margin:0;
  color:#687985;
  font-size:13px;
}

.jg-how-step{
  display:flex;
  gap:11px;
  align-items:center;
}

.jg-how-step > span{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  background:#d8effc;
  font-size:20px;
  font-weight:800;
}

.jg-how-step:nth-of-type(even) > span{
  background:#d9f6df;
  color:#078b43;
}

.jg-how-step h3{
  margin:0 0 4px;
  font-size:14px;
}

.jg-how-step p{
  margin:0;
  color:#62727e;
  font-size:11px;
  line-height:1.35;
}

.jg-arrow{
  font-size:26px;
  color:#547082;
}


/* BOTTOM CTA */

.jg-bottom-cta{
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;

  padding:22px 30px;
  border-radius:18px;
  background:linear-gradient(90deg,#074a7d,#08669c);
  color:#fff;
}

.jg-bottom-cta h2{
  margin:0 0 5px;
  font-size:27px;
}

.jg-bottom-cta p{
  margin:0;
  font-size:14px;
  line-height:1.35;
}

.jg-bottom-cta > a{
  flex:0 0 205px;
  min-height:48px;
  display:flex;
  justify-content:center;
  align-items:center;

  background:#08a640;
  color:#fff;
  border-radius:10px;
  text-decoration:none;
  font-weight:800;
}


/* FOOTER */

.jg-footer{
  text-align:center;
  padding:20px;
  color:#687985;
  font-size:12px;
}


/* =========================================
   PHONE
   ========================================= */

@media (max-width:768px){

  .jg-main{
    width:94%;
    padding-top:22px;
  }

  .jg-top{
    padding:12px 8px 20px;
  }

  .jg-kicker{
    font-size:9px;
    letter-spacing:1.8px;
  }

  .jg-top h1{
    font-size:27px;
  }

  .jg-top h1 span{
    font-size:25px;
  }

  .jg-lead{
    font-size:13px;
    line-height:1.4;
    margin:12px auto 17px;
  }

  .jg-top-actions{
    gap:9px;
  }

  .jg-btn{
    min-width:0;
    flex:1;
    min-height:42px;
    padding:0 8px;
    font-size:12px;
  }


  /* benefits swipe left/right */

  .jg-benefits{
    display:flex;
    overflow-x:auto;
    gap:10px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    padding-bottom:5px;
  }

  .jg-benefits::-webkit-scrollbar{
    display:none;
  }

  .jg-benefit{
    flex:0 0 72%;
    min-height:86px;
    scroll-snap-align:start;
  }

  .jg-benefit > span{
    width:47px;
    height:47px;
    flex-basis:47px;
    font-size:24px;
  }


  /* career boxes */

  .jg-paths{
    grid-template-columns:1fr;
  }

  .jg-path-card{
    padding:20px 18px;
  }

  .jg-path-icon{
    width:52px;
    height:52px;
    flex-basis:52px;
    font-size:28px;
  }

  .jg-path-heading{
    gap:12px;
  }

  .jg-path-heading h2{
    font-size:22px;
  }

  .jg-path-heading p{
    font-size:13px;
  }

  .jg-path-card ul{
    margin:17px 0 19px;
  }

  .jg-path-card li{
    font-size:13px;
  }

  .jg-path-btn{
    font-size:12px;
    min-height:44px;
  }


  /* how it works */

  .jg-how{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px 12px;
    padding:20px 16px;
  }

  .jg-how-title{
    grid-column:1 / -1;
    border-right:0;
    border-bottom:1px solid #dce5eb;
    padding:0 0 13px;
  }

  .jg-how-title h2{
    font-size:23px;
  }

  .jg-arrow{
    display:none;
  }

  .jg-how-step > span{
    width:38px;
    height:38px;
    flex-basis:38px;
    font-size:16px;
  }


  /* bottom */

  .jg-bottom-cta{
    flex-direction:column;
    align-items:flex-start;
    padding:22px 19px;
  }

  .jg-bottom-cta h2{
    font-size:23px;
  }

  .jg-bottom-cta p{
    font-size:12px;
  }

  .jg-bottom-cta > a{
    width:100%;
    flex:0 0 44px;
    min-height:44px;
  }
}