.chat-lessons {
  margin: 0; background: #faf9f5; color: #192d26;
  font: 1.1rem/1.6 system-ui, -apple-system, sans-serif;
}
.chat-lessons :is(header, main, footer) { width: min(58rem, calc(100% - 3rem)); margin-inline: auto; }
.chat-lessons header { padding-block: 1.35rem; border-bottom: 1px solid #bdc8bb; }
.chat-lessons .brand { display: inline-flex; gap: .65rem; align-items: center; color: inherit; font: 700 1.45rem var(--site-heading); text-decoration: none; }
.chat-lessons .intro { padding-block: clamp(2.5rem, 7vw, 5rem); }
.chat-lessons h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: 1.04; }
.chat-lessons h2 { margin: 0 0 .9rem; font-size: clamp(1.65rem, 3.8vw, 2.45rem); }
.chat-lessons p, .chat-lessons li { max-width: 62ch; }
.chat-lessons .intro p { max-width: 49ch; margin: 1.35rem 0 1.75rem; font-size: 1.2rem; }
.chat-lessons a { color: #11573f; text-underline-offset: .18em; }
.chat-lessons .action { display: inline-block; padding: .7rem 1.15rem; background: #19533b; color: white; border-radius: .5rem; font-weight: 650; text-decoration: none; }
.chat-lessons .action:hover { background: #113d2b; }
.chat-lessons .example { background: #e7eee3; border-radius: 1rem; padding: clamp(1.4rem, 5vw, 3.2rem); }
.chat-lessons .example span, .chat-lessons .setup > p { font-size: .95rem; }
.chat-lessons details { margin: 1rem 0; }
.chat-lessons summary { cursor: pointer; padding-block: .55rem; font-weight: 650; }
.chat-lessons details p { margin-top: .15rem; }
.chat-lessons .setup { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; }
.chat-lessons ol { padding-inline-start: 1.5rem; }
.chat-lessons li { margin-block: .8rem; padding-inline-start: .3rem; }
.chat-lessons code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .95rem; }
.chat-lessons .continue { margin: .3rem 0 2rem; }
.chat-lessons footer { border-top: 1px solid #bdc8bb; padding: 1rem 0 2rem; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.chat-lessons :is(a, summary):focus-visible { outline: 3px solid #126445; outline-offset: 4px; }
