/* Scope: buyer clarity, compact mobile offer, and unobstructed fixed controls. */
:root { --lwm-enroll-clearance: 0px; }
/* Emergency wrapping matters at enlarged text sizes, without changing normal line breaks. */
main h1, main h2, main h3, main p, main summary, main .outline-title { overflow-wrap: anywhere; }
.brand, .brand span { min-width: 0; }
.brand span { overflow-wrap: anywhere; }
.brand img { flex-shrink: 0; }
.outline-lesson summary { grid-template-columns: auto minmax(0, 1fr) max-content; }
.outline-lesson .outline-toggle { width: .8em; }
.lwm-privacy-choices,
.lwm-marketing-consent {
  bottom: calc(10px + var(--lwm-enroll-clearance));
}
.lwm-marketing-consent {
  max-height: calc(100dvh - 20px - var(--lwm-enroll-clearance));
}
#preview .launch-transcript {
  width: 100%; max-width: 1080px; margin: -12px auto 0;
  color: var(--text-soft, #d6d2cc); font: 400 15px/1.65 var(--sans);
}
#preview .launch-transcript summary {
  cursor: pointer; width: fit-content; min-height: 44px;
  display: list-item; padding-block: 10px;
  text-decoration: underline; text-underline-offset: .2em;
}
#preview .launch-transcript > div { max-width: 72ch; padding: 4px 0 12px; }
#preview .launch-transcript p { margin: 0 0 16px; font: inherit; }
#preview .launch-transcript:focus-within { outline: none; }
#preview .launch-transcript summary:focus-visible { outline: 2px solid #d2ad87; outline-offset: 4px; }
#lessons .course-scope { margin: 20px 0 0; max-width: 76ch; }
#lessons .course-teacher {
  margin: 18px 0 22px; padding-left: 18px; border-left: 2px solid #a47a45;
  max-width: 76ch; color: var(--text-soft, #d6d2cc);
}
#lessons .course-scope strong, #lessons .course-teacher strong { color: var(--ivory, #f4eedf); font-weight: 600; }
#mini-lesson-gate .signup-guide-bundle { max-width: 300px; margin: 14px auto 16px; }
#mini-lesson-gate .signup-guide-offer { font-size: 17px; line-height: 1.55; max-width: 39ch; }
#mini-lesson-gate #mini-lesson-form { margin-top: 18px; }
#mini-lesson-gate #signup-disclosure { font-size: 13px; line-height: 1.55; }
@media (max-width: 900px) {
  /* Keep the approved image-before-purchase sequence, but reduce the oversized lockup. */
  .hero-m2 .hero-purchase { margin-top: 20px; }
  .hero-m2 .hero-course-name { max-width: 270px; }
  .hero-m2 .hero-product-format { margin-top: 7px; }
  .hero-m2 .hero-purchase .hero-actions { margin-top: 10px; }
}
@media (max-width: 800px) {
  #free-lesson.section { padding-block: 44px; }
  #free-lesson .mini-lesson-intro { gap: 24px; }
  #free-lesson .mini-context { margin-top: 12px; }
  #free-lesson .mini-lead { margin-top: 16px; }
  #mini-lesson-gate .signup-guide-bundle { max-width: 210px; margin-block: 10px 12px; }
  #mini-lesson-gate > h3 { font-size: 27px; margin-bottom: 0; }
  #mini-lesson-gate .signup-guide-offer { font-size: 16px; }
  #mini-lesson-gate #mini-lesson-form { margin-top: 14px; }
}

#lessons .course-dedication { display: block; margin-top: 10px; font-size: 14px; line-height: 1.65; }

/* A compact curriculum opening; the instructor and dedication follow the lessons. */
#lessons .outline-intro { max-width: 100%; }
#lessons .outline-intro > .outline-description { max-width: 70ch; }
#lessons .course-scope { display: flex; flex-wrap: wrap; column-gap: 0; row-gap: 6px; margin: 22px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-soft, #d6d2cc); }
#lessons .course-scope span + span::before { content: "·"; display: inline-block; margin-inline: 12px; color: #a47a45; }
#lessons .outline-intro .outline-instruction { margin-top: 24px; margin-bottom: 0; font-size: 14px; }
#lessons .curriculum-afterword { margin-top: 36px; }
#lessons .course-study-note { margin: 0; max-width: 66ch; font-size: 15px; line-height: 1.7; color: var(--text-soft, #d6d2cc); }
#lessons .course-tribute { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-top: 40px; padding-block: 32px; border-top: 1px solid rgba(210,173,135,.22); }
#lessons .course-teacher { margin: 0; padding: 0; border: 0; max-width: 48ch; font-size: 15px; line-height: 1.8; }
#lessons .course-teacher strong { display: block; margin-bottom: 8px; }
#lessons .course-dedication { margin: 0; padding-left: 24px; border-left: 2px solid #a47a45; max-width: 42ch; font-size: 15px; line-height: 1.8; color: var(--text-soft, #d6d2cc); }
@media (max-width: 700px) {
  #lessons .course-scope { column-gap: 18px; }
  #lessons .course-scope span + span::before { content: none; }
  #lessons .course-tribute { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; padding-block: 28px; }
  #lessons .course-dedication { padding-left: 18px; }
}

/* Course facts and instructor tribute refinement. */
#lessons .course-scope { display: flex; align-items: stretch; gap: 0; margin-top: 26px; padding-block: 16px; border-block: 1px solid rgba(210,173,135,.25); max-width: 70ch; }
#lessons .course-scope span { flex: 1 1 0; padding-inline: 16px; color: #e9e0d4; line-height: 1.5; }
#lessons .course-scope span:first-child { padding-left: 0; }
#lessons .course-scope span + span { border-left: 1px solid rgba(210,173,135,.25); }
#lessons .course-scope span + span::before { content: none; }
#lessons .course-tribute { display: block; }
#lessons .course-teacher { max-width: 68ch; }
#lessons .course-teacher h3 { margin: 0 0 12px; font-family: Literata, Georgia, serif; font-size: 25px; line-height: 1.2; color: var(--ivory, #f4eedf); }
#lessons .course-teacher p { margin: 0; }
#lessons .course-teacher .course-dedication { margin: 20px 0 0; padding: 0; border: 0; max-width: 55ch; font-style: italic; }
@media (max-width: 480px) { #lessons .course-scope { flex-wrap: nowrap; font-size: 13px; } #lessons .course-scope span { padding-inline: 10px; } }
