/* Ejuu type system. The approved raster logo and its styling are untouched. */
:root {
  --font-reading: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
  font-family: var(--font-reading);
  font-size: 16px;
}
body { font-family: var(--font-reading); line-height: 1.6; }
button, input, select, output { font-family: var(--font-reading); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h1 {
  font-size: clamp(44px, 4.7vw, 72px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.065em;
}
.section-heading h2, .parents-section h2, .faq-section h2 {
  font-size: clamp(34px, 3.45vw, 49px);
  line-height: 1.2;
  letter-spacing: -.055em;
}
.closing h2 { font-size: clamp(44px, 4.6vw, 62px); line-height: 1.13; letter-spacing: -.06em; }
.steps h3, .parent-features h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.04em; }
.hero-description { font-size: 19px; line-height: 1.75; font-weight: 400; }
.hero-description > strong { font-size: 22px; line-height: 1.5; font-weight: 700; letter-spacing: -.02em; }
.section-heading > p:last-child { font-size: 19px; line-height: 1.7; }
.steps p, .parent-features p, .faqs p, .faq-section > div > p:last-child { font-size: 17px; line-height: 1.75; }
.parents-grid > div > p:not(.eyebrow) { font-size: 18px; line-height: 1.75; }
.parents-grid > div > .parent-reassurance { font-size: 20px; font-weight: 600; line-height: 1.6; }
.hero-note { font-size: 14px; line-height: 1.65; }
.closing p { font-size: 23px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.eyebrow, .label, .bank-label, .effort-label {
  font-family: var(--font-reading);
  font-weight: 800;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .12em;
}
.hero-copy .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.site-header nav { font-size: 15px; font-weight: 700; }
.button, .text-link { font-size: 16px; font-weight: 800; line-height: 1.4; letter-spacing: -.015em; }
.button-small { font-size: 14px; }
.principle-strip .wrap { font-size: 16px; font-weight: 700; }
summary { font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -.015em; }
footer { font-size: 13px; line-height: 1.7; }

/* The child experience stays rounded and readable, including long answers. */
.child-name strong { font-size: 19px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.child-name div > span { font-size: 12px; line-height: 1.5; }
.view-tabs button { font-size: 15px; font-weight: 800; line-height: 1.4; }
.section-label h2 { font-family: var(--font-reading); font-size: 17px; font-weight: 800; line-height: 1.4; letter-spacing: -.015em; }
.activity-title strong { font-size: 15px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.activity-title > span { font-size: 12px; line-height: 1.5; }
.reward { font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: 0; }
.bank p strong, .parent-summary strong, .earned-number, .step-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
}
.bank p strong { font-size: 57px; line-height: 1.15; letter-spacing: -.065em; }
.bank p > span { font-size: 15px; font-weight: 600; }
.bank-helper, .section-label > span { font-size: 12px; line-height: 1.5; }
.stage-top { font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.preview-pill { font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.stage-bottom { font-size: 14px; font-weight: 600; }
.play-button, .bonus-button { font-size: 15px; }
.demo-status, .control-hint, .parent-preview-note { font-size: 13px; line-height: 1.6; }
.parent-summary strong { font-size: 44px; line-height: 1.3; letter-spacing: -.05em; }
.parent-summary p { font-size: 13px; line-height: 1.5; }
.range-label { font-size: 14px; font-weight: 700; line-height: 1.5; flex-wrap: wrap; }
.chore-card strong, .chore-card button { font-size: 14px; font-weight: 800; line-height: 1.4; }
.chore-card div > span, .parent-effort p { font-size: 12px; line-height: 1.6; }
.parent-effort strong { font-size: 14px; font-weight: 800; line-height: 1.45; }
.effort-label { font-size: 10px; }
.effort-tags > span { font-size: 11px; line-height: 1.5; }

/* Modal hierarchy: subject, question, answers, then gentle supporting text. */
.dialog-body h2, dialog[data-stage=question] .dialog-body h2 {
  font-family: var(--font-reading);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}
dialog[data-stage=question] .dialog-body h2 { font-size: 27px; }
.dialog-body > .eyebrow { font-size: 11px; letter-spacing: .12em; }
.challenge-intro { font-size: 16px; line-height: 1.55; }
.difficulty-options .level-copy strong { font-size: 18px; font-weight: 800; line-height: 1.3; }
.difficulty-options .level-copy small { font-size: 13px; line-height: 1.5; }
.difficulty-options b { font-family: var(--font-display); font-size: 25px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.difficulty-options b small { font-family: var(--font-reading); font-size: 11px; line-height: 1.4; letter-spacing: 0; }
.question-progress { font-size: 13px; font-weight: 600; line-height: 1.5; }
.question-text { font-family: var(--font-reading); font-size: 26px; font-weight: 800; line-height: 1.45; letter-spacing: -.015em; }
.answer { font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.hint-button { font-size: 14px; font-weight: 800; }
.question-hint { font-size: 14px; line-height: 1.65; }
.modal-footnote { font-size: 12px; line-height: 1.65; }
.earned-number { font-size: 68px; line-height: 1.2; letter-spacing: -.065em; }
.earned-number small { font-family: var(--font-reading); font-size: 22px; letter-spacing: -.02em; }
.earned-copy { font-size: 17px; line-height: 1.65; }
.win-receipt span, .win-receipt small { font-size: 12px; line-height: 1.5; }
.win-receipt strong { font-size: 16px; font-weight: 800; line-height: 1.4; }
.win-receipt > div:last-child strong { font-family: var(--font-display); font-weight: 700; font-size: 30px; font-variant-numeric: tabular-nums; }
.win-receipt strong > small { font-family: var(--font-reading); font-size: 12px; }

@media (max-width: 1100px) and (min-width: 801px) {
  h1 { font-size: clamp(42px, 4.65vw, 52px); }
  .activity { grid-template-columns: 48px minmax(0,1fr); gap: 8px 10px; }
  .activity .challenge-icon { width: 48px; height: 48px; grid-row: 1 / 3; }
  .activity .reward { grid-column: 2; justify-self: start; }
}
@media (max-width: 800px) {
  h1 { font-size: clamp(40px, 7.8vw, 64px); }
  .section-heading h2, .parents-section h2, .faq-section h2 { font-size: clamp(33px, 5.5vw, 43px); }
  .steps h3 { font-size: 22px; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(38px, 9.5vw, 46px); letter-spacing: -.065em; }
  .hero-description { font-size: 18px; }
  .hero-description > strong { font-size: 21px; }
  .hero-copy .eyebrow { font-size: 13px; }
  .site-header .button { font-size: 13px; }
  .activity { grid-template-columns: 46px minmax(0,1fr); gap: 5px 10px; }
  .activity .challenge-icon { width: 46px; height: 46px; grid-row: 1 / 3; }
  .activity .reward { grid-column: 2; justify-self: start; }
  .activity-title strong { font-size: 15px; }
  .activity-title > span { font-size: 12px; }
  .bank p strong { font-size: 48px; }
  .play-button, .bonus-button { font-size: 14px; }
  .section-label h2 { font-size: 16px; }
  .dialog-body h2 { font-size: 28px; }
  .difficulty-options .level-copy strong { font-size: 17px; }
  .difficulty-options .level-copy small { font-size: 12px; }
  .question-text { font-size: 24px; }
  .answer { font-size: 18px; }
  .earned-number { font-size: 59px; }
  .win-receipt { flex-wrap: wrap; }
  .win-receipt > div:first-child { min-width: 0; flex: 1 1 160px; }
  .parents-grid > div > .parent-reassurance { font-size: 19px; }
}
