.cmc-page {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 28px 40px 24px;
  background: #121c19;
  color: #f0f3e9;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.cmc-page *, .cmc-page *::before, .cmc-page *::after { box-sizing: border-box; }
.cmc-page :where(h1, h2, h3, p, figure, blockquote) { margin: 0; padding: 0; }
.cmc-page :where(div, section, figure, li) { min-width: 0; }
.cmc-page ol { list-style: none; margin: 0; padding: 0; }
.cmc-page svg { display: block; flex-shrink: 0; }
.cmc-page .cmc-check { width: 16px; height: 16px; }
.cmc-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cmc-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cmc-heading h1 { font-size: 64px; font-weight: 550; line-height: 1.08; letter-spacing: -.055em; }
.cmc-heading > p { padding-bottom: 3px; color: #b9c8b9; font-size: 22px; line-height: 1.35; letter-spacing: -.02em; }
.cmc-heading > p span { color: #c2b8ff; }

/* Place and timing are independent pairs; only the example below has a sequence. */
.cmc-context { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; padding: 12px 0; border-block: 1px solid #35483b; }
.cmc-axis h2 { margin-bottom: 7px; color: #c2b8ff; font-size: 14px; font-weight: 550; line-height: 1.3; }
.cmc-when h2 { color: #d0f5a5; }
.cmc-options { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 16px; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.cmc-options small { display: block; margin-top: 2px; color: #b9c8b9; font-size: 14px; line-height: 1.4; letter-spacing: 0; }
.cmc-or { color: #a6b7aa; font-size: 16px; line-height: 1.8; }

.cmc-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: 'chat lead' 'chat visual' 'chat quip'; align-content: center; gap: 20px 72px; }
.cmc-lead { grid-area: lead; align-self: end; }
.cmc-lead h2 { max-width: 18ch; color: #d0f5a5; font-size: 36px; font-weight: 550; line-height: 1.13; letter-spacing: -.04em; }
.cmc-lead > p { max-width: 43ch; margin-top: 9px; color: #b9c8b9; font-size: 18px; line-height: 1.4; letter-spacing: -.015em; }

/* Static Telegram-style group illustration; callback labels are not page controls. */
.cmc-chat { grid-area: chat; align-self: center; width: 100%; max-width: 680px; border: 1px solid #3b5042; border-radius: 18px; background: #15231c; }
.cmc-chat-head { display: flex; align-items: center; gap: 11px; padding: 13px 18px; border-bottom: 1px solid #34483b; border-radius: 17px 17px 0 0; background: #1e2e25; }
.cmc-page .cmc-avatar { width: 36px; height: 36px; }
.cmc-chat-name { font-size: 18px; font-weight: 550; line-height: 1.25; letter-spacing: -.02em; }
.cmc-chat-context { margin-top: 3px; color: #b9c8b9; font-size: 14px; line-height: 1.3; }
.cmc-page .cmc-thread { padding: 16px 18px 18px; }
.cmc-bubble { padding: 12px 15px; border-radius: 12px 12px 6px 6px; background: #22362a; }
.cmc-message-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #c2b8ff; font-size: 14px; line-height: 1.3; }
.cmc-message-meta small { color: #afc1b1; font-size: 12px; white-space: nowrap; }
.cmc-bubble .cmc-question { margin-top: 7px; font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.cmc-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 4px; }
.cmc-choice { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 8px 6px; border: 1px solid #435b48; border-radius: 6px; background: #2a4132; font-size: 19px; line-height: 1.2; }
.cmc-selected { border-color: #d0f5a5; background: #d0f5a5; color: #17271b; font-weight: 600; }
.cmc-next-message { display: flex; align-items: center; gap: 9px; padding: 7px 12px; color: #b9c8b9; font-size: 14px; line-height: 1.3; }
.cmc-page .cmc-flow-arrow { width: 20px; height: 24px; color: #d0f5a5; }

/* A separate visual question, not a third message in the group chain. */
.cmc-visual { grid-area: visual; padding-top: 15px; border-top: 1px solid #35483b; }
.cmc-visual h3 { color: #c2b8ff; font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.cmc-visual-sample { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.cmc-page .cmc-socks { width: 224px; height: auto; max-width: 60%; aspect-ratio: 14 / 5; flex: 0 1 224px; }
.cmc-visual-answer { display: grid; gap: 4px; font-size: 16px; line-height: 1.35; }
.cmc-visual-answer strong { display: flex; align-items: center; gap: 8px; color: #d0f5a5; font-size: 30px; font-weight: 550; line-height: 1.1; }
.cmc-quip { grid-area: quip; }
.cmc-quip > p { font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.cmc-quip > p span { color: #c2b8ff; }
.cmc-quip footer { margin-top: 6px; color: #b9c8b9; font-size: 13px; line-height: 1.4; }
.cmc-page .cmc-condition { color: #b9c8b9; font-size: 15px; line-height: 1.45; }

@container reader (max-width: 1200px) {
  .cmc-page { padding: 24px 28px 20px; gap: 16px; }
  .cmc-heading h1 { font-size: 56px; }
  .cmc-heading > p { font-size: 20px; }
  .cmc-context { gap: 32px; }
  .cmc-options { font-size: 20px; }
  .cmc-or { line-height: 1.625; }
  .cmc-body { gap: 16px 36px; }
  .cmc-lead h2 { font-size: 32px; }
  .cmc-lead > p { font-size: 17px; }
  .cmc-chat-head { padding-block: 10px; }
  .cmc-page .cmc-thread { padding-block: 12px 14px; }
  .cmc-bubble .cmc-question { font-size: 26px; }
  .cmc-choice { font-size: 18px; }
  .cmc-visual { padding-top: 12px; }
  .cmc-visual h3 { font-size: 20px; }
  .cmc-quip > p { font-size: 28px; }
}

@container reader (max-width: 800px) {
  .cmc-page { padding: 28px; gap: 28px; }
  .cmc-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cmc-heading > p { padding: 0; }
  .cmc-heading > p br { display: none; }
  .cmc-context { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px 0; }
  .cmc-body { flex: none; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'lead' 'chat' 'visual' 'quip'; gap: 24px; }
  .cmc-lead h2 { max-width: none; }
  .cmc-lead > p { max-width: 46ch; }
  .cmc-chat { max-width: 600px; }
  .cmc-visual { max-width: 480px; padding-top: 20px; }
}

@container reader (max-width: 540px) {
  .cmc-page { padding: 26px 20px 30px; gap: 26px; }
  .cmc-heading h1 { font-size: 46px; }
  .cmc-heading > p { font-size: 20px; }
  .cmc-options { column-gap: 12px; font-size: 19px; }
  .cmc-when .cmc-options { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .cmc-when .cmc-options > :first-child { grid-column: 1 / -1; }
  .cmc-lead h2 { max-width: 18ch; font-size: 30px; }
  .cmc-chat-head { padding: 12px; gap: 9px; }
  .cmc-chat-name { font-size: 17px; }
  .cmc-chat-context { font-size: 13px; }
  .cmc-page .cmc-thread { padding: 12px; }
  .cmc-bubble { padding: 12px; }
  .cmc-bubble .cmc-question { font-size: 25px; }
  .cmc-choices { gap: 4px; }
  .cmc-choice { gap: 4px; padding: 9px 3px; font-size: 16px; }
  .cmc-choice .cmc-check { width: 14px; height: 14px; }
  .cmc-next-message { gap: 7px; padding: 8px 3px; font-size: 13px; }
  .cmc-visual-sample { gap: 12px; }
  .cmc-visual-answer { font-size: 15px; }
  .cmc-quip > p { font-size: 28px; }
}

@container reader (max-width: 360px) {
  .cmc-page { padding-inline: 16px; }
  .cmc-options { font-size: 18px; }
  .cmc-chat-head { align-items: flex-start; }
  .cmc-message-meta { gap: 6px; font-size: 13px; }
  .cmc-message-meta small { font-size: 11px; }
}
