/* Supporting page sections for the green course-preview direction. */

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--paper-light);
}
.trust-strip > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 25px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.trust-item > span { color: var(--sage-dark); font-size: 23px; line-height: 1; }
.trust-item svg { width: 22px; height: 22px; color: var(--sage-dark); }

.section { padding-block: 104px; }
.section-heading { max-width: 790px; margin: 0 auto 48px; text-align: center; }
.section-kicker {
  margin: 0 0 18px;
  color: var(--sage-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -1.6px;
  text-wrap: balance;
}
.section-title em { color: var(--sage-dark); font-style: normal; }
.section-intro { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.section-intro p { margin-bottom: 17px; }
.section-intro p:last-child { margin-bottom: 0; }
.recognition-copy p,
.recognition-aside > p,
.preview-copy p,
.story-copy p,
.offer-copy p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.recognition-copy .section-kicker,
.preview-copy .section-kicker,
.offer-copy .section-kicker { color: var(--sage-dark); font-size: 12px; line-height: 1.5; }
.recognition-copy strong,
.recognition-aside strong,
.preview-copy strong,
.section-intro strong { color: var(--ink); }
.recognition-grid,
.preview-grid,
.story-grid,
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; }
.recognition-grid > *,
.preview-grid > *,
.story-grid > *,
.offer-grid > * { min-width: 0; }

.recognition { background: var(--paper-light); }
.recognition-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.recognition-copy .section-title { max-width: 630px; margin-bottom: 28px; }
.recognition-aside { max-width: 470px; justify-self: end; }
.recognition-aside > p { margin: 24px 0 0; }
.recognition-aside > p + p { margin-top: 15px; }
.quote-card {
  margin: 0;
  padding: 30px 42px 43px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--sage);
  text-align: center;
}
.quote-card > span[aria-hidden] {
  display: block;
  height: 53px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 80px;
  line-height: 1;
}
.quote-card p { margin: 0; color: var(--forest); font-family: var(--serif); font-size: 37px; line-height: 1.25; letter-spacing: -.6px; }
.quote-card em { color: var(--forest-dark); }

#approach { padding-bottom: 53px; background: var(--paper); }
#approach .section-heading { margin-bottom: 0; }
.practice-section { padding-top: 38px; background: var(--paper); }
.practice-section .section-title { font-size: clamp(28px, 2.7vw, 36px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step-card { padding: 34px 30px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper-light); }
.step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 14px;
  color: var(--forest);
  background: var(--sage);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.step-card h3,
.lesson-card h3 { margin: 0 0 18px; color: var(--ink); font-family: var(--sans); font-size: 24px; font-weight: 650; line-height: 1.3; letter-spacing: -.65px; }
.step-card p,
.lesson-card p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.step-card p:last-child,
.lesson-card p:last-child { margin-bottom: 0; }
.section-footnote { max-width: 820px; margin: 30px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; text-align: center; }

.preview-section { background: var(--sage); }
.preview-copy .section-title { margin-bottom: 27px; }
.preview-copy .button { margin-top: 12px; }
.journal-card {
  width: min(100%, 450px);
  justify-self: center;
  padding: 36px 40px 34px;
  border: 1px solid #d4e1cd;
  border-radius: 18px;
  background: var(--paper-light);
  box-shadow: 10px 12px 0 rgb(83 122 83 / 9%);
}
.journal-card .card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--sage-dark); font-size: 12px; font-weight: 600; line-height: 1.5; }
.journal-card .card-topline > span:last-child { font-size: 23px; }
.journal-prompt { margin: 44px 0 26px; color: var(--forest); font-family: var(--serif); font-size: 51px; line-height: 1.14; letter-spacing: -1.1px; }
.journal-line { height: 43px; border-bottom: 1px solid var(--line); }
.journal-card > p:last-child { margin: 29px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.curriculum { background: var(--paper-light); }
.curriculum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lesson-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.lesson-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 21px; border: 1px solid #d6e4cf; border-radius: 14px; color: var(--forest); background: #e3efdc; font-size: 26px; line-height: 1; }
.lesson-icon svg { width: 23px; height: 23px; }
.lesson-number { display: block; margin-bottom: 13px; color: var(--sage-dark); font-size: 12px; font-weight: 650; line-height: 1.5; letter-spacing: .3px; }
.lesson-card h3 { font-size: 23px; }

.story-section { background: var(--paper); }
.story-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.story-portrait { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 390px; overflow: hidden; border: 1px solid #d9e5d2; border-radius: 24px; color: var(--forest); background: #e3eddd; }
.story-portrait > span:first-child { font-size: 118px; font-weight: 600; letter-spacing: -8px; line-height: 1; }
.story-portrait > p { margin: 24px 0 0; font-size: 25px; font-weight: 500; line-height: 1.3; letter-spacing: -.5px; text-align: center; }
.story-portrait > .portrait-flower { position: absolute; top: 29px; right: 30px; color: #7c9870; font-size: 42px; line-height: 1; }
.story-copy .section-title { margin-bottom: 27px; }
.story-copy .signature { margin-top: 25px; color: var(--forest); font-size: 22px; }

.offer-section { color: var(--paper-light); background: var(--forest); }
.offer-grid { grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); gap: 80px; }
.offer-copy .section-kicker { color: #c6ddbe; }
.offer-copy .section-title { max-width: 490px; color: var(--paper-light); font-size: clamp(39px, 4.2vw, 59px); line-height: 1.12; letter-spacing: -1.8px; }
.offer-card { padding: 42px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 24px; color: var(--ink); background: var(--paper-light); box-shadow: 0 18px 55px rgb(9 38 23 / 15%); }
.offer-label { display: inline-block; margin-bottom: 22px; padding: 7px 12px; border-radius: 8px; color: var(--forest); background: var(--sage); font-size: 12px; font-weight: 650; line-height: 1.5; }
.offer-card h3 { margin: 0 0 19px; font-family: var(--sans); font-size: 32px; font-weight: 700; line-height: 1.18; letter-spacing: -.9px; }
.offer-card p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.offer-list { margin: 19px 0 25px; padding: 0; list-style: none; }
.offer-list li { position: relative; padding: 13px 0 13px 27px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.7; }
.offer-list li:last-child { border-bottom: 0; }
.offer-list li::before { content: "✓"; position: absolute; top: 13px; left: 1px; color: var(--forest); font-size: 16px; font-weight: 700; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 29px 0 22px; color: var(--forest); font-size: 60px; font-weight: 700; line-height: 1.1; letter-spacing: -2.5px; }
.price > span { color: var(--muted); font-size: 15px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.offer-card > .button { width: 100%; }
.offer-card .offer-note { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; text-align: center; }

.faq-section { background: var(--paper-light); }
.faq-section .container { max-width: 960px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 25px 0; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); background: var(--paper); font-size: 24px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; color: var(--paper-light); border-color: var(--forest); background: var(--forest); }
.faq-list summary:hover { color: var(--sage-dark); }
.faq-answer { max-width: 830px; padding: 0 36px 25px 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.faq-answer p { margin-bottom: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }

.closing { background: var(--sage); text-align: center; }
.closing-title { max-width: 850px; margin: 0 auto 28px; color: var(--ink); font-family: var(--sans); font-size: clamp(37px, 4.1vw, 56px); font-weight: 700; line-height: 1.16; letter-spacing: -1.9px; text-wrap: balance; }
.closing-title em { color: var(--sage-dark); font-style: normal; }
.closing p { max-width: 680px; margin: 0 auto 19px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.closing .section-kicker { margin-bottom: 20px; color: var(--sage-dark); font-size: 12px; line-height: 1.5; }
.closing .button { margin-top: 9px; }
.closing .button + p { margin-top: 20px; font-size: 14px; }

.site-footer { padding-block: 40px 50px; background: var(--paper-light); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 35px; }
.site-footer .brand { font-size: 22px; }
.footer-inner > span { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }

dialog.checkout-dialog {
  position: fixed;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 57px 38px 36px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 28px 90px rgb(9 38 23 / 22%);
}
.checkout-dialog::backdrop { background: rgb(13 36 24 / 55%); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: var(--forest); background: var(--sage); font-size: 26px; line-height: 1; }
.dialog-close:hover { background: #d5e5cf; }
.dialog-content .section-kicker { margin-bottom: 15px; }
.dialog-content h2 { margin: 0 0 20px; color: var(--ink); font-family: var(--sans); font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.7px; }
.dialog-content p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.dialog-content .button { margin-top: 8px; }
.preview-badge { position: fixed; right: 14px; bottom: 13px; z-index: 10; max-width: calc(100% - 28px); padding: 7px 12px; border: 1px solid #c7d8bd; border-radius: 30px; color: var(--muted); background: rgb(255 255 255 / 96%); box-shadow: 0 3px 14px rgb(24 43 31 / 7%); font-size: 11px; line-height: 1.5; }

@media (max-width: 1100px) {
  .section { padding-block: 85px; }
  .recognition-grid, .preview-grid, .story-grid, .offer-grid { gap: 48px; }
  .steps-grid, .curriculum-grid { gap: 18px; }
  .step-card, .lesson-card { padding: 27px 24px; }
  .step-card h3, .lesson-card h3 { font-size: 22px; }
  .offer-card { padding: 34px 30px; }
  .quote-card { padding-inline: 28px; }
  .quote-card p { font-size: 33px; }
  .journal-card { padding-inline: 30px; }
}

@media (max-width: 820px) {
  .trust-strip > .container { justify-content: center; gap: 15px 28px; }
  .trust-item { font-size: 13px; }
  .section { padding-block: 75px; }
  .section-title { font-size: 36px; }
  .section-heading { margin-bottom: 35px; }
  .recognition-grid, .preview-grid, .story-grid, .offer-grid { gap: 34px; }
  .recognition-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .quote-card { padding-inline: 22px; }
  .quote-card p { font-size: 29px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 24px; padding: 28px; }
  .step-number { grid-row: 1 / 4; margin: 2px 0 0; }
  .step-card h3, .step-card p { grid-column: 2; }
  .curriculum-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .story-portrait { min-height: 330px; }
  .story-portrait > span:first-child { font-size: 95px; }
  .story-portrait > p { font-size: 23px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-copy { text-align: center; }
  .offer-copy .section-title { max-width: 650px; margin-inline: auto; font-size: 43px; }
  .offer-card { width: 100%; max-width: 680px; margin-inline: auto; }
  .journal-prompt { font-size: 44px; }
  .journal-card { padding: 28px; }
  .footer-inner { gap: 22px 30px; }
}

@media (max-width: 600px) {
  .trust-strip > .container { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 15px; padding-block: 24px; }
  .trust-item { font-size: 14px; }
  .section { padding-block: 61px; }
  .section-title { font-size: 33px; line-height: 1.18; letter-spacing: -1px; }
  .section-heading { margin-bottom: 31px; }
  .section-kicker { margin-bottom: 15px; font-size: 11px; letter-spacing: 1.1px; }
  .recognition-copy .section-kicker, .preview-copy .section-kicker, .offer-copy .section-kicker, .closing .section-kicker { font-size: 11px; }
  .section-intro, .recognition-copy p, .recognition-aside > p, .preview-copy p, .story-copy p, .offer-copy p, .step-card p, .lesson-card p, .offer-card p, .offer-list li, .faq-answer, .closing p { font-size: 15px; line-height: 1.75; }
  .recognition-grid, .preview-grid, .story-grid, .offer-grid { grid-template-columns: 1fr; gap: 34px; }
  .recognition-aside { max-width: none; width: 100%; }
  .quote-card { max-width: 430px; margin-inline: auto; padding: 24px 28px 32px; }
  .quote-card p { font-size: 31px; }
  .recognition-copy .section-title, .preview-copy .section-title, .story-copy .section-title { margin-bottom: 23px; }
  #approach { padding-bottom: 37px; }
  .practice-section { padding-top: 20px; }
  .practice-section .section-title { font-size: 29px; }
  .step-card { display: block; padding: 25px; }
  .step-number { width: 42px; height: 42px; margin: 0 0 20px; border-radius: 12px; font-size: 16px; }
  .step-card h3, .lesson-card h3 { margin-bottom: 15px; font-size: 23px; letter-spacing: -.5px; }
  .section-footnote { margin-top: 25px; font-size: 13px; }
  .journal-card { width: min(100% - 10px, 390px); padding: 29px; box-shadow: 7px 9px 0 rgb(83 122 83 / 9%); }
  .journal-prompt { margin-block: 36px 20px; font-size: 46px; }
  .journal-line { height: 39px; }
  .journal-card > p:last-child { font-size: 13px; }
  .curriculum-grid { grid-template-columns: 1fr; gap: 17px; }
  .lesson-card { padding: 26px; }
  .lesson-number { font-size: 12px; }
  .story-portrait { width: min(100%, 350px); min-height: 295px; margin-inline: auto; }
  .story-portrait > span:first-child { font-size: 96px; }
  .story-copy .signature { font-size: 21px; }
  .offer-grid { gap: 29px; }
  .offer-copy .section-title { max-width: 380px; font-size: 38px; letter-spacing: -1.2px; }
  .offer-card { padding: 29px 24px; border-radius: 20px; }
  .offer-card h3 { font-size: 29px; }
  .offer-label { margin-bottom: 20px; font-size: 12px; }
  .offer-list li { padding-left: 25px; }
  .price { gap: 9px; font-size: 55px; }
  .price > span { font-size: 14px; }
  .offer-card .offer-note { font-size: 13px; }
  .faq-list summary { gap: 18px; padding-block: 22px; font-size: 16px; }
  .faq-list summary::after { flex-basis: 30px; width: 30px; height: 30px; }
  .faq-answer { padding-right: 10px; }
  .closing-title { max-width: 400px; font-size: 36px; letter-spacing: -1.2px; }
  .closing .button + p { font-size: 13px; }
  .site-footer { padding-block: 31px 66px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-note { margin-top: 24px; font-size: 12px; }
  .preview-badge { bottom: 9px; right: 9px; padding: 6px 10px; font-size: 10px; }
  dialog.checkout-dialog { padding: 55px 26px 29px; border-radius: 18px; }
  .dialog-content h2 { font-size: 27px; }
  .dialog-content p { font-size: 15px; }
}

@media (max-width: 360px) {
  .step-card, .lesson-card, .offer-card { padding-inline: 21px; }
  .journal-card { padding-inline: 23px; }
  .offer-card > .button { padding-inline: 14px; }
}
