/* "Core habits and expectations" + "career playground" CTA (partial habits.html)
   Used by careers, ai-internship, marketing-internship. Measured at 1440px. */

.hb-habits { padding: 120px 0 232px; }
.hb-habits__title { font-size: clamp(30px, 3.75vw, 54px); line-height: 1.2; }
.hb-grid { display: grid; grid-template-columns: repeat(3, 336px); justify-content: center; gap: 40px; margin-top: 60px; align-items: start; }
.hb-col { display: flex; flex-direction: column; gap: 41px; }
.hb-col:nth-child(2) { gap: 40px; padding-top: 20px; }
.hb-col--offset { padding-top: 100px; }
.hb-card { padding: 40px 30px 0 27px; background: #fff; border-left: 6px solid; border-radius: 10px; box-shadow: 0 3px 10px 5px rgba(149,161,181,.2); }
.hb-card h3 { line-height: 1.2; }
.hb-card p { margin-top: 39px; line-height: 1.6; }
.hb-card--normalcy { height: 360px; border-color: rgb(157,113,207); }
.hb-card--normalcy h3 { padding-left: 9px; font-size: clamp(28px, 2.85vw, 41px); }
.hb-card--normalcy p { max-width: 250px; font-size: 17px; }
.hb-card--learn { height: 264px; border-color: rgb(97,198,243); }
.hb-card--learn h3 { font-size: clamp(30px, 3.05vw, 44px); }
.hb-card--learn p { max-width: 245px; font-size: 14.9px; }
.hb-card--done { height: 458px; border-color: rgb(242,89,165); }
.hb-card--done h3 { font-size: clamp(34px, 3.75vw, 54px); }
.hb-card--done p { font-size: 14.2px; }
.hb-card--grow { height: 282px; border-color: rgb(249,196,100); }
.hb-card--grow h3, .hb-card--politics h3 { font-size: clamp(32px, 3.55vw, 51px); }
.hb-card--grow p, .hb-card--smile p { font-size: 15.6px; }
.hb-card--politics { height: 216px; border-color: rgb(113,185,114); }
.hb-card--politics p { font-size: 14.2px; padding-right: 20px; }
.hb-card--smile { height: 304px; border-color: rgb(235,125,137); }
.hb-card--smile h3 { font-size: clamp(28px, 2.75vw, 39.6px); }

/* CTA band: pastel gradient (50%) over faint dots */
.hb-cta {
  position: relative; isolation: isolate; padding: 120px 0; min-height: 437px;
  background:
    radial-gradient(circle at 29.394% 55.0758%, rgba(255,197,89,.5) 0%, 14.5%, rgba(255,197,89,0) 29%),
    radial-gradient(circle at 71.5152% 55.0758%, rgba(110,216,255,.5) 0%, 15.75%, rgba(110,216,255,0) 35%),
    radial-gradient(circle at 94.3538% 89.6159%, rgba(139,75,191,.5) 0%, 24%, rgba(139,75,191,0) 48%),
    radial-gradient(circle at 6.50391% 88.0371%, rgba(255,77,103,.494) 0%, 25%, rgba(255,77,103,0) 50%),
    radial-gradient(circle at 6.16536% 12.6172%, rgba(232,81,232,.5) 0%, 42%, rgba(232,81,232,0) 70%),
    radial-gradient(circle at 93.6865% 11.4258%, rgba(2,168,181,.5) 0%, 42%, rgba(2,168,181,0) 70%),
    #fff;
}
.hb-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/images/shared/dots.png') center / cover; opacity: .15; }
.hb-cta__title { max-width: 1008px; margin: 0 auto; }
.hb-cta__btn { position: relative; left: -25px; margin-top: 25px; width: 210px; padding: 0; } /* the original sits 25px left of centre */

@media (max-width: 1240px) {
  .hb-grid { grid-template-columns: repeat(3, minmax(0, 336px)); gap: 24px; }
  .hb-col, .hb-col:nth-child(2) { gap: 24px; }
  .hb-card { height: auto !important; padding-bottom: 36px; }
}
@media (max-width: 860px) {
  .hb-habits { padding: 72px 0; }
  .hb-grid { grid-template-columns: minmax(0, 480px); margin-top: 40px; }
  .hb-col:nth-child(2), .hb-col--offset { padding-top: 0; }
  .hb-cta { min-height: 0; padding: 72px 0; }
  .hb-cta__btn { left: 0; }
}
