/* This release changes only the five course homepages. */
body[data-landing-family='home'] .learning-preview {
  position: relative;
}

body[data-landing-family='home'] .learning-preview__anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

body[data-landing-family='home'] :is(#meet-kai, #method, #curriculum, #reviews, #pricing) {
  scroll-margin-top: 110px;
}

body[data-landing-family='home'] .learning-preview__entry {
  max-width: 390px;
}

body[data-landing-family='home'] .learning-preview__entry .kai-entry-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

/* The free option stays compact; the existing four shared pricing rows remain. */
body[data-landing-family='home'] .tier.free .tprice {
  margin-bottom: 10px;
  font-family: var(--ed-font);
  font-size: 28px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -.02em;
}

body[data-landing-family='home'] .tier.free .badge {
  margin-bottom: 12px;
}

body[data-landing-family='home'] .tier.free li {
  padding-block: 9px;
}

body[data-landing-family='home'] .closer-paid-cta {
  gap: 6px;
  flex-wrap: wrap;
}

body[data-landing-family='home'] .closer-paid-cta [data-pp='price'] {
  white-space: nowrap;
}

@media (max-width: 600px) {
  body[data-landing-family='home'] .learning-preview__entry {
    width: 100%;
    max-width: none;
  }

  body[data-landing-family='home'] .learning-preview__entry .cta-pri {
    width: 100%;
  }

  body[data-landing-family='home'] .tier.free .tprice {
    font-size: 26px;
  }

  body[data-landing-family='home'] .closer-cta > a {
    flex: 1 1 240px;
  }
}

@media (max-width: 640px) {
  body[data-landing-family='home'] :is(#meet-kai, #method, #curriculum, #reviews, #pricing) {
    scroll-margin-top: 20px;
  }
}
