/* The official desktop homepage uses exactly three text sizes.
   Nested spans (including the hero typing animation) inherit their parent's tier.
   Standalone writing-workbench pages do not load this stylesheet. */
@media (min-width: 951px) {
  :root {
    --type-body: 14px;
    --type-heading: 28px;
    --type-display: 56px;
  }
  body { font-size: var(--type-body); }
  body *, body *::before, body *::after { font-size: inherit !important; }

  .hero h1,
  .section-intro h2,
  .start-section h2 { font-size: var(--type-display) !important; }

  .story-section .section-intro .overline,
  .feature-heading h2,
  .principles h3,
  .feature-copy h3,
  .story-mode-body h3,
  .team-intro h3,
  .site-dialog h2,
  .dialog-close { font-size: var(--type-heading) !important; }

  /* Module labels share the sans-serif overline treatment. */
  #features-title,
  #download-title,
  #faq-title {
    color: var(--action);
    font-family: var(--body);
    font-size: var(--type-heading) !important;
    font-weight: var(--weight-emphasis);
    line-height: 1.5;
    letter-spacing: .14em;
  }
  #features-title { line-height: 1.25; }

  .team-member::before { font-size: var(--type-display) !important; }
  .story-mode { --mode-title-size: var(--type-heading); }

  .section-prose { line-height: 1.9; }
  .feature-copy > p:last-child { line-height: 1.8; }
  .team-member { min-height: 380px; }
  /* 署名卡改成整段长文，按正文字号排版；行高 1.8 与信纸格线周期（14 × 1.8 = 25.2px）对齐 */
  .team-member blockquote p { line-height: 1.8; letter-spacing: 0; }
  .team-member cite { font-weight: var(--weight-display); }

  /* Keep SVG diagrams readable at the same body size as the surrounding UI. */
  .guide-map text { font-size: var(--type-body) !important; }
  .guide-map-title { font-weight: var(--weight-display); }
}
