/* One type scale for teaching and practice: ordinary copy, bilingual text,
   choices and controls stay the same size on desktop and mobile. */
.geo-session,
.lesson-screen {
  --lesson-copy-size: 16px;
  --lesson-copy-leading: 1.5;
  --lesson-title-size: 26px;
  --lesson-section-size: 22px;
  --lesson-subhead-size: 18px;
  font-size: var(--lesson-copy-size);
  line-height: var(--lesson-copy-leading);
}

/* Main copy, prompts, dialogue, choices and controls share one readable size. */
.geo-session :not(
  h1, h2, h3, h4, h5, h6,
  h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
  svg, svg *,
  [class~="icon"], [class~="icon"] *
),
.lesson-screen :not(
  h1, h2, h3, h4, h5, h6,
  h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
  svg, svg *,
  [class~="icon"], [class~="icon"] *
) {
  font-size: var(--lesson-copy-size) !important;
  line-height: var(--lesson-copy-leading) !important;
}

/* Keep headings consistent between lesson topics and responsive layouts. */
.geo-session h1,
.lesson-screen h1 {
  font-size: var(--lesson-title-size) !important;
  line-height: 1.35 !important;
}

.geo-session h2,
.lesson-screen h2 {
  font-size: var(--lesson-section-size) !important;
  line-height: 1.4 !important;
}

.geo-session h3,
.lesson-screen h3 {
  font-size: var(--lesson-subhead-size) !important;
  line-height: 1.45 !important;
}

.geo-session :is(h4, h5, h6),
.lesson-screen :is(h4, h5, h6) {
  font-size: var(--lesson-copy-size) !important;
  line-height: var(--lesson-copy-leading) !important;
}

/* Labels, captions, progress, hints and controls share the body scale above. */
/* Original SVG model lettering stays authored at its intended scale. */

/* Preserve a consistent copy scale while giving narrow phones more room. */

