/* November schedule and January registration in the homepage Challenge section. */
.home-challenge .challenge-timeline {
  margin: 26px 0;
  padding-top: 20px;
  border-top: 1px solid #193a2d38;
}
.home-challenge .challenge-timeline .section-index,
.home-challenge .january-copy .section-index {
  margin: 0 0 10px;
  color: #843c56;
}
.home-challenge #timeline-title {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.home-challenge .challenge-dates {
  margin: 5px 0 14px;
  color: #46564b;
  font-size: 13px;
}
.home-challenge .weeks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-challenge .weeks strong,
.home-challenge .weeks time { display: block; font-size: 12px; line-height: 1.55; }
.home-challenge .weeks time { color: #46564b; }
.home-challenge .track { display: block; height: 3px; margin: 0 0 8px; background: #a8b5a6; }
.home-challenge [data-phase="past"] .track { background: #56795f; }
.home-challenge [aria-current="step"] .track { position: relative; background: #843c56; }
.home-challenge [aria-current="step"] .track::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 7px;
  height: 7px;
  background: inherit;
  border-radius: 50%;
  content: "";
}
.home-challenge .january-interest {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1240px;
  margin: clamp(36px, 5vw, 70px) auto 0;
  padding: clamp(24px, 3.8vw, 55px);
  border-radius: 24px;
  background: var(--paper);
  color: var(--forest);
}
.home-challenge #january-title {
  margin-bottom: 14px;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1;
}
.home-challenge .january-copy > p:last-child {
  max-width: 39ch;
  color: #46564b;
  font-size: 15px;
  line-height: 1.75;
}
.home-challenge #interest-form { position: relative; margin: 0; }
.home-challenge #signup-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.home-challenge .challenge-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-challenge .email-label { display: block; font-size: 13px; font-weight: 600; }
.home-challenge #signup-email {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid #798a7e;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  font-size: 16px;
}
.home-challenge #interest-form .home-challenge-button { max-width: 100%; margin-top: 18px; text-align: left; }
.home-challenge #interest-form .button-label { font: inherit; letter-spacing: inherit; }
.home-challenge .january-privacy { margin-top: 10px; color: #46564b; font-size: 12px; }
.home-challenge .january-privacy a { text-decoration: underline; text-underline-offset: .2em; }
.home-challenge .january-status:not(:empty) { margin-top: 12px; padding-left: 12px; border-left: 3px solid currentColor; color: var(--forest); font-size: 14px; }
.home-challenge .january-status[data-error] { color: #843c56; }
.home-challenge #signup-fields:disabled button { opacity: .68; cursor: wait; }
@media (max-width: 760px) {
  .home-challenge .january-interest { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; border-radius: 20px; }
  .home-challenge .january-copy > p:last-child { font-size: 14px; }
}

/* Keep the original homepage controls within the viewport across breakpoints. */
.chapter-two .footer { flex-wrap: wrap; }
.chapter-two .footer .client-login,
.chapter-two .footer .mel-cookie-settings {
  color: var(--paper);
  border-color: #8caa97;
  background: transparent;
}
.chapter-two .footer .client-login:hover,
.chapter-two .footer .mel-cookie-settings:hover {
  color: var(--forest);
  background: var(--paper);
}
@media (max-width: 1050px) {
  .chapter-two .site-head .menu-button { width: 44px; min-width: 44px; min-height: 44px; align-items: center; }
  .chapter-two .head-nav.is-open { top: 100%; max-height: calc(100dvh - var(--homepage-header-height, 86px)); overflow-y: auto; overscroll-behavior: contain; }
  .chapter-two .head-nav.is-open a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 760px) {
  body.chapter-two .site-head { padding-inline: clamp(10px, 3vw, 18px); column-gap: clamp(6px, 2vw, 14px); }
  body.chapter-two .head-nav.is-open { top: 100%; gap: 0; }
  body.chapter-two .footer .client-login,
  body.chapter-two .footer .mel-cookie-settings { justify-self: start; margin-block: 0; }
}
@media (max-width: 400px) {
  body.chapter-two .footer { column-gap: 12px; }
  body.chapter-two .footer .mel-cookie-settings { padding-inline: 12px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .chapter-two .mobile-coaching-dock { display: none; }
}
@media (min-width: 560px) and (max-width: 760px) and (max-height: 500px) {
  .home-challenge .january-interest { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
}
/* Allow the existing layouts to reflow when readers enlarge the text. */
html { scroll-padding-top: calc(var(--homepage-header-height, 86px) + 8px); }
.chapter-two .site-head { flex-wrap: wrap; height: auto; min-height: 86px; row-gap: 4px; }
.chapter-two .footer > span,
.chapter-two .footer > a:not(.brand) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.chapter-two :is(.hero-copy, .premium-layout > *, .premium-inclusions li, .online-rate-grid strong) { min-width: 0; overflow-wrap: anywhere; }
.chapter-two .offer-bottom strong { max-width: 100%; flex-wrap: wrap; }
.chapter-two .premium-price strong { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.chapter-two .social-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13em), 1fr)); }
.chapter-two .social-card h3 { overflow-wrap: anywhere; }
@media (min-width: 761px) and (max-width: 1050px) {
  .chapter-two .premium-layout { display: flex; flex-wrap: wrap; gap: 2em; }
  .chapter-two .premium-layout > :first-child { flex: 1 1 22em; }
  .chapter-two .premium-price { flex: .43 1 15em; }
  .chapter-two .online-rate-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12em), 1fr)); }
}
@media (max-width: 760px) {
  body.chapter-two .site-head { height: auto; min-height: 72px; }
  body.chapter-two .site-head .brand { flex: 0 1 auto; min-width: 0; }
  body.chapter-two .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  body.chapter-two .offer .premium-layout { grid-template-columns: minmax(0, 1fr); }
  body.chapter-two .online-rate-grid > div { display: flex; flex-wrap: wrap; align-items: baseline; }
  body.chapter-two .online-rate-grid > div > span { flex: 1 1 8em; overflow-wrap: anywhere; }
  body.chapter-two .online-rate-grid p { max-width: 100%; }
}

/* Retain readable small text on the homepage's sage, blush and forest sections. */
.chapter-two .section-top > span:last-child,
.chapter-two .approach-heading > p,
.chapter-two .principles p,
.chapter-two .offer-personal .offer-main p,
.chapter-two .offer-personal .offer-bottom small,
.chapter-two .socials-head > p,
.chapter-two .newsletter-signup-copy p:last-child { color: #46564b; }

.chapter-two .newsletter-signup-copy .section-index,
.chapter-two .meet-copy .section-index { color: #843c56; }

.chapter-two .contact-head .section-index,
.chapter-two .story-scene .section-index { color: #efbdcb; }
