/* Marketing copy roles; miniature product illustrations keep their own scale. */
:root {
  --type-body: 1rem;
  --type-body-small: .875rem;
  --type-caption: .8125rem;
  font-synthesis: weight style;
  -moz-osx-font-smoothing: grayscale;
}
.hero .product-intro p,
.scenario-header p {
  font-size: var(--type-body);
  line-height: 1.6;
  max-inline-size: 70ch;
}
.principle-copy p,
.scenario-option-detail > span,
.setup-overview .setup-intro > h2,
.setup-overview .setup-intro > p {
  font-size: var(--type-body-small);
  line-height: 1.6;
}
.product-intro p,
.principle-copy p,
.scenario-header p,
.scenario-option-detail > span,
.setup-intro > p {
  letter-spacing: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.principle-copy h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  text-wrap: balance;
}
.scenario-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.4;
  text-wrap: balance;
}
.scenario-switcher button { font-size: var(--type-body); }
.preview-header nav > a {
  font-size: var(--type-body-small);
  line-height: 1.428571;
}
.hero-composer input { font-size: var(--type-caption); line-height: 1.538462; }
.ag-node-name { line-height: 1.4; }
.ag-node-detail { line-height: 1.4; }
.ag-card-title { font-size: var(--type-caption); line-height: 1.4; }
.ag-card-detail { font-size: .75rem; line-height: 1.4; }
.ag-card-description, .ag-card-activity { font-size: .75rem; line-height: 1.5; }
.ag-owner-label { line-height: 1.636364; }
.ag-node { user-select: auto; }
.legacy-setup-copy-label { font-size: .75rem; line-height: 2.833333; }
a { text-underline-position: from-font; text-decoration-thickness: from-font; }
@media (max-width: 640px) {
  .hero-composer input { font-size: 1rem; line-height: 1.5; }
}
@media (max-width: 400px) {
  .preview-header { flex-wrap: wrap; row-gap: 16px; }
  .preview-header nav { flex-wrap: wrap; }
}

/* Shared landing-page supporting copy, matching the hero description. */
.hero .product-intro p,
.product-copy p,
.handoff-note p,
.graph-section-header p,
.principle-copy p,
.scenario-header p,
.scenario-option-detail > span,
.setup-intro > p {
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #252023;
  letter-spacing: normal;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
