/* Page-wide type step, titles only: section titles, step titles and card titles sit
   roughly one step (about 14%) larger. Running text, labels, buttons and the text inside
   the phone demos keep their original sizes and weights. Loaded last. */
:root {
  /* 桌面端跟全站标题曲线（fluid-floors.css 的 --type-title），手机端不变 */
  --marketing-title-size: clamp(30px, max(calc(44 * var(--marketing-heading-unit) * (1 - var(--fl, 0))), calc(44 * var(--type-title) * var(--fl, 0))), 44px);
}
.course-step h3 { font-size: clamp(max(23px, calc(23px * var(--fl, 0))), max(3.05vw, calc(43 * var(--type-title) * var(--fl, 0))), 43px); }
.course-track.is-interactive .course-step:not([aria-current="step"]) h3 { font-size: clamp(max(20px, calc(20px * var(--fl, 0))), max(1.76vw, calc(29 * var(--type-title) * var(--fl, 0))), 29px); }
.lesson-story-copy h3 { font-size: clamp(max(28px, calc(28px * var(--fl, 0))), max(2.9vw, calc(48 * var(--type-title) * var(--fl, 0))), 48px); }
.reasons-section .reason-card h3 { font-size: calc(27 * var(--reason-u)); }
.feedback-v2-card-heading h3 { font-size: 36px; line-height: 46px; }
/* The two narrow review cards keep their size: their two-line titles are fitted to the card width. */
.review-section .review-card.is-expanded .review-card-toggle { font-size: calc(29 * var(--review-px)); line-height: calc(37 * var(--review-px)); }
@media (max-width: 700px) {
  .course-step h3 { font-size: 20px; }
  .review-section .review-card:not(.is-expanded) .review-card-toggle,
  .review-section .review-card.is-expanded .review-card-toggle { font-size: 22px; line-height: 30px; }
}


/* 手机：板块大标题 24px（原来 30px 在 390 宽的屏幕上太大、常常折成三行） */
@media (max-width: 700px) {
  :root { --marketing-title-size: 24px; }
}
