/* Restrained final type scale shared by every page. */
body .hero h1,
body .hero.editorial-hero h1,
body .home-hero h1,
body .guide-hero.editorial-hero h1,
body .inner-hero.editorial-hero h1 {
  max-width: 920px;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

body .home-hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 3.9vw, 56px);
}

body[data-page="neyroset-dlya-prezentaciy"] .ai-story-hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 3.2vw, 48px);
}

body main > .section h2,
body main > .section .section-copy h2,
body .home-idea-section .home-idea-heading h2,
body .home-logic-section .section-copy h2,
body .home-smart-section .section-copy h2 {
  max-width: 860px;
  font-size: clamp(29px, 2.7vw, 38px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

body .faq h2 {
  max-width: 620px;
  font-size: clamp(28px, 2.7vw, 36px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

body .final-cta h2 {
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: .98;
  letter-spacing: -.06em;
}

body .hero-intro p,
body .section-copy > p,
body .final-cta p {
  font-size: clamp(16px, 1.25vw, 18px);
}

/* Large editorial text inside illustrative scenes. */
body .home-idea-prompt { font-size: clamp(23px, 2.35vw, 32px); }
body .template-leaf > strong { font-size: clamp(23px, 2.3vw, 34px); }
body .template-report > strong { font-size: clamp(28px, 2.8vw, 40px); }
body .type-editorial-slide blockquote { font-size: clamp(38px, 4.1vw, 62px); }
body .data-editorial-conclusion strong { font-size: clamp(28px, 2.8vw, 40px); }
body .scenario-editorial-copy strong { font-size: clamp(23px, 2.25vw, 34px); }
body .smart-composition-graphic > strong { font-size: clamp(110px, 13vw, 205px); }
body .smart-composition-message > strong { font-size: clamp(30px, 3.2vw, 46px); }

body .guide-result-sheet strong { font-size: clamp(30px, 3.2vw, 46px); }
body .guide-workflow-sheet > strong { font-size: clamp(34px, 3.85vw, 56px); }
body .guide-template-sheet > strong { font-size: clamp(27px, 2.8vw, 40px); }
body .guide-data-message strong { font-size: clamp(27px, 2.9vw, 42px); }
body .guide-export-pair article > strong { font-size: clamp(40px, 4.8vw, 68px); }

body .type-board strong { font-size: clamp(48px, 5.6vw, 82px); }
body .company-stat b { font-size: clamp(58px, 6vw, 82px); }
body .file-detail strong { font-size: clamp(58px, 6.2vw, 84px); }
body .problem-solution strong { font-size: clamp(22px, 2vw, 28px); }
body .note-card strong { font-size: clamp(22px, 2.35vw, 34px); }

@media (max-width: 767px) {
  body .hero h1,
  body .hero.editorial-hero h1,
  body .home-hero h1,
  body .guide-hero.editorial-hero h1,
  body .inner-hero.editorial-hero h1 {
    max-width: 580px;
    font-size: clamp(30px, 8.2vw, 36px);
    line-height: 1.04;
    letter-spacing: -.048em;
  }

  body[data-page="neyroset-dlya-prezentaciy"] .ai-story-hero h1 {
    font-size: clamp(29px, 7.8vw, 34px);
  }

  body main > .section h2,
  body main > .section .section-copy h2,
  body .home-idea-section .home-idea-heading h2,
  body .home-logic-section .section-copy h2,
  body .home-smart-section .section-copy h2 {
    font-size: clamp(27px, 7.2vw, 32px);
    line-height: 1.08;
  }

  body .faq h2 { font-size: clamp(28px, 7.5vw, 34px); }
  body .final-cta h2 { font-size: clamp(32px, 8.5vw, 40px); }
  body .hero-intro p,
  body .section-copy > p,
  body .final-cta p { font-size: 16px; }

  body .home-idea-prompt { font-size: clamp(22px, 6.3vw, 28px); }
  body .template-report > strong { font-size: clamp(27px, 7vw, 34px); }
  body .type-editorial-slide blockquote { font-size: clamp(34px, 9.7vw, 46px); }
  body .data-editorial-conclusion strong { font-size: clamp(27px, 7.2vw, 34px); }
  body .scenario-editorial-copy strong { font-size: clamp(22px, 6vw, 28px); }
  body .smart-composition-graphic > strong { font-size: clamp(84px, 28vw, 124px); }
  body .smart-composition-message > strong { font-size: clamp(28px, 7.8vw, 38px); }

  body .guide-result-sheet strong,
  body .guide-workflow-sheet > strong,
  body .guide-template-sheet > strong,
  body .guide-data-message strong { font-size: clamp(25px, 7vw, 34px); }
  body .guide-export-pair article > strong { font-size: clamp(36px, 11vw, 48px); }
  body .type-board strong,
  body .company-stat b,
  body .file-detail strong { font-size: clamp(44px, 13vw, 62px); }
}
