/* Stronger homepage "Choose by goal" section.
   Loaded after home.css so this focused redesign wins over legacy overrides. */
body.home .home-pathways{
  --mg-section-band:#7a22d4!important;
  background:#7a22d4!important;
}

body.home .home-pathways .home-section-head{
  max-width:880px!important;
  margin-bottom:26px!important;
}

body.home .home-pathways .home-section-kicker{
  color:rgba(255,255,255,.76)!important;
}

body.home .home-pathways h2{
  max-width:760px!important;
  color:#fff!important;
  font-size:clamp(2rem,3.8vw,3.2rem)!important;
  line-height:1.04!important;
}

body.home .home-pathways p{
  max-width:760px!important;
  color:rgba(255,255,255,.82)!important;
  font-size:1rem!important;
  line-height:1.7!important;
}

body.home .home-path-grid{
  counter-reset:goal-path!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}

body.home .home-path-card{
  counter-increment:goal-path!important;
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-height:244px!important;
  padding:22px 22px 20px!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.26)!important;
  box-shadow:0 22px 48px rgba(5,6,10,.18)!important;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}

body.home .home-path-card::after{
  content:"0" counter(goal-path)!important;
  position:absolute!important;
  top:18px!important;
  right:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:#f4efff!important;
  color:#7a22d4!important;
  font-size:.78rem!important;
  font-weight:950!important;
  box-shadow:inset 0 0 0 1px rgba(122,34,212,.12)!important;
}

body.home .home-path-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 30px 62px rgba(5,6,10,.28)!important;
}

body.home .home-path-card::before{
  content:""!important;
  position:absolute!important;
  inset:0 0 auto!important;
  width:auto!important;
  height:6px!important;
  border-radius:0!important;
  background:#1e4bd4!important;
}

body.home .home-path-card:nth-child(2)::before{background:#0d1b3e!important;}
body.home .home-path-card:nth-child(3)::before{background:#e4197e!important;}
body.home .home-path-card:nth-child(4)::before{background:#05060a!important;}
body.home .home-path-card:nth-child(5)::before{background:#1e4bd4!important;}
body.home .home-path-card:nth-child(6)::before{background:#e4197e!important;}

body.home .home-path-card span{
  display:block!important;
  max-width:calc(100% - 48px)!important;
  color:#0d1b3e!important;
  font-size:1.08rem!important;
  font-weight:950!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  text-transform:none!important;
  margin:7px 0 10px!important;
}

body.home .home-path-card em{
  display:block!important;
  color:#475569!important;
  font-size:.92rem!important;
  font-style:normal!important;
  font-weight:650!important;
  line-height:1.55!important;
  margin:0 0 18px!important;
}

body.home .home-path-card strong{
  display:grid!important;
  gap:5px!important;
  width:100%!important;
  min-height:auto!important;
  margin-top:auto!important;
  padding:12px 13px 13px!important;
  border-radius:12px!important;
  background:#eef4ff!important;
  color:#1e4bd4!important;
  font-size:.86rem!important;
  font-weight:950!important;
  line-height:1.25!important;
  text-align:left!important;
  white-space:normal!important;
}

body.home .home-path-card strong::before{
  content:"Recommended apps"!important;
  display:block!important;
  color:#64748b!important;
  font-size:.62rem!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  line-height:1!important;
  text-transform:uppercase!important;
}

body.home .home-path-card:nth-child(2) strong,
body.home .home-path-card:nth-child(4) strong{
  background:#f4efff!important;
  color:#7a22d4!important;
}

body.home .home-path-card:nth-child(3) strong,
body.home .home-path-card:nth-child(6) strong{
  background:#fff0f7!important;
  color:#c91369!important;
}

body.home .home-path-card b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  min-height:48px!important;
  margin:16px 0 0!important;
  padding:0 10px 0 16px!important;
  border-radius:14px!important;
  background:#0d1b3e!important;
  color:#fff!important;
  font-size:.82rem!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  box-shadow:0 14px 28px rgba(13,27,62,.24)!important;
}

body.home .home-path-card b::after{
  content:"->"!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:999px!important;
  background:#e4197e!important;
  color:#fff!important;
  font-size:.86rem!important;
  line-height:1!important;
  flex:0 0 auto!important;
}

body.home .home-path-card:hover b{
  background:#05060a!important;
}

body.home .home-path-card:nth-child(3) b,
body.home .home-path-card:nth-child(6) b{
  background:#e4197e!important;
  box-shadow:0 12px 24px rgba(228,25,126,.18)!important;
}

body.home .home-path-card:nth-child(3) b::after,
body.home .home-path-card:nth-child(6) b::after{
  background:#0d1b3e!important;
}

body.home .home-path-card:nth-child(3):hover b,
body.home .home-path-card:nth-child(6):hover b{
  background:#c91369!important;
}

body.home .home-path-card:nth-child(2)::after,
body.home .home-path-card:nth-child(4)::after{
  background:#eef4ff!important;
  color:#1e4bd4!important;
  box-shadow:inset 0 0 0 1px rgba(30,75,212,.12)!important;
}

@media(max-width:980px){
  body.home .home-path-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:640px){
  body.home .home-pathways .home-section-head{
    margin-bottom:20px!important;
  }

  body.home .home-path-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.home .home-path-card{
    min-height:auto!important;
    padding:19px!important;
  }
}

/* Beat older high-specificity inline homepage overrides. */
html body.home .home-pathways.home-pathways{
  --mg-section-band:#7a22d4!important;
  background:#7a22d4!important;
}

html body.home .home-pathways.home-pathways h2{
  color:#fff!important;
}

html body.home .home-pathways.home-pathways p{
  color:rgba(255,255,255,.82)!important;
}

html body.home .home-pathways .home-path-card.home-path-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-height:244px!important;
  padding:22px!important;
}

html body.home .home-pathways .home-path-card.home-path-card em{
  display:block!important;
  color:#475569!important;
}

html body.home .home-pathways .home-path-card.home-path-card strong{
  display:grid!important;
  gap:5px!important;
  width:100%!important;
  min-height:auto!important;
  margin-top:auto!important;
  padding:12px 13px 13px!important;
  border-radius:12px!important;
  font-size:.86rem!important;
  line-height:1.25!important;
  text-align:left!important;
  white-space:normal!important;
}

html body.home .home-pathways .home-path-card.home-path-card b{
  display:inline-flex!important;
  justify-content:space-between!important;
  width:100%!important;
  min-height:48px!important;
  padding:0 10px 0 16px!important;
  border-radius:14px!important;
  color:#fff!important;
  background:#0d1b3e!important;
}

html body.home .home-pathways .home-path-card.home-path-card:nth-child(3) b,
html body.home .home-pathways .home-path-card.home-path-card:nth-child(6) b{
  background:#e4197e!important;
}

@media(max-width:640px){
  html body.home .home-pathways .home-path-card.home-path-card{
    min-height:auto!important;
    padding:19px!important;
  }
}

/* Compact pass: reduce Choose by goal card height while preserving the stronger CTA-card look. */
html body.home .home-pathways.home-pathways{
  padding-top:44px!important;
  padding-bottom:44px!important;
}

html body.home .home-pathways.home-pathways .home-section-head{
  margin-bottom:20px!important;
}

html body.home .home-pathways .home-path-grid{
  gap:12px!important;
}

html body.home .home-pathways .home-path-card.home-path-card{
  min-height:198px!important;
  padding:16px!important;
  border-radius:15px!important;
  box-shadow:0 16px 34px rgba(5,6,10,.16)!important;
}

html body.home .home-pathways .home-path-card.home-path-card:hover{
  box-shadow:0 22px 44px rgba(5,6,10,.22)!important;
}

html body.home .home-pathways .home-path-card.home-path-card::before{
  height:5px!important;
}

html body.home .home-pathways .home-path-card.home-path-card::after{
  top:14px!important;
  right:14px!important;
  width:30px!important;
  height:30px!important;
  font-size:.72rem!important;
}

html body.home .home-pathways .home-path-card.home-path-card span{
  max-width:calc(100% - 42px)!important;
  margin:5px 0 7px!important;
  font-size:1rem!important;
  line-height:1.12!important;
}

html body.home .home-pathways .home-path-card.home-path-card em{
  margin:0 0 12px!important;
  font-size:.84rem!important;
  line-height:1.42!important;
}

html body.home .home-pathways .home-path-card.home-path-card strong{
  gap:4px!important;
  padding:9px 10px 10px!important;
  border-radius:10px!important;
  font-size:.78rem!important;
  line-height:1.18!important;
}

html body.home .home-pathways .home-path-card.home-path-card strong::before{
  font-size:.57rem!important;
}

html body.home .home-pathways .home-path-card.home-path-card b{
  min-height:40px!important;
  margin-top:11px!important;
  padding:0 8px 0 13px!important;
  border-radius:12px!important;
  font-size:.72rem!important;
}

html body.home .home-pathways .home-path-card.home-path-card b::after{
  width:26px!important;
  height:26px!important;
  font-size:.78rem!important;
}

@media(max-width:640px){
  html body.home .home-pathways.home-pathways{
    padding-top:34px!important;
    padding-bottom:34px!important;
  }

  html body.home .home-pathways .home-path-card.home-path-card{
    min-height:0!important;
    padding:16px!important;
  }
}
