/* Marketing pages share a type scale. Application readouts and controls keep their own hierarchy. */
:root {
  --type-page: clamp(2.125rem, 1.66rem + 2.35vw, 3.45rem);
  --type-section: clamp(1.65rem, 1.42rem + 1.35vw, 2.38rem);
  --type-subsection: clamp(1.35rem, 1.19rem + .75vw, 1.9rem);
  --type-card: clamp(1.17rem, 1.08rem + .46vw, 1.5rem);
  --type-lead: clamp(1.025rem, .99rem + .22vw, 1.15rem);
  --space-chapter: clamp(2.75rem, 2.2rem + 2.6vw, 4.75rem);
}

.sx h1, .by h1, .px-page h1, .tr-library h1, .tr-detail h1,
.bl-index-head h1, .bl-storyhead h1, .sh-directory h1 {
  font-size: var(--type-page);
  line-height: 1.085;
  font-weight: 490;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.fh-chapterhead h2, .fh-platcopy h2, .fh-close h2, .fh-editorial-head h2,
.sx h2, .by h2, .px-page h2, .tr-library h2, .tr-detail h2 {
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.038em;
}

.by-prose h2, .by-address h2, .by-form-shell h2, .sx-prose h2,
.tr-debrief h2, .bl-body h2, .bl-feature-card .bl-card-copy h2,
.px-route h2, .sh-dir-group h2 {
  font-size: var(--type-subsection);
  font-weight: 535;
  line-height: 1.19;
  letter-spacing: -.032em;
}

.sx h3, .sx-card h2, .sx-quote h2, .by h3, .px-page h3,
.fh-cardcopy h3, .fh-routes h3, .fh-feature-copy h3, .fh-more-reads h3,
.tr-card-copy h3, .tr-outcome h3, .bl-card-copy h2,
.bl-filtered .bl-feature-card .bl-card-copy h2, .bl-example h3 {
  font-size: var(--type-card);
  font-weight: 560;
  line-height: 1.24;
  letter-spacing: -.025em;
}

.bl-feature-card .bl-card-copy h2 { font-size: var(--type-section); }
.bl-filtered .bl-feature-card .bl-card-copy h2 { font-size: var(--type-card); }

.fh-platcopy > p:not(.fh-tag), .fh-chapterhead > p, .fh-close-inner > div > p:not(.fh-tag),
.sx-indexhead > p, .sx-splitintro > p, .sx-herocopy > p:not(.sx-crumb, .sx-tag),
.sx-casehead > div > p:not(.sx-crumb, .sx-tag), .by .by-lede,
.px-intro > p:not(.px-k), .px-aiintro > p:not(.px-k), .px-standintro > p:not(.px-k),
.bl-index-head > p, .bl-deck, .tr-lead, .tr-tour-header .tr-lead {
  font-size: var(--type-lead);
  line-height: 1.57;
  letter-spacing: -.01em;
}

.bl-body > section > p, .sx-prose section > p:not(.sx-tag), .by-prose > section > p {
  font-size: clamp(1rem, .97rem + .18vw, 1.1rem);
  line-height: 1.7;
  max-width: 68ch;
}

.fh-platform, .fh-industries > .fh-max, .fh-adopt, .fh-close-inner,
.fh-editorial > .fh-max, .px-block, .px-lead-feature, .sx-section,
.by-section, .by-band, .by-article-layout, .tr-lib-grid, .tr-gallery {
  padding-block: var(--space-chapter);
}

@media (min-width: 761px) {
  .by .by-hero, .by-demo, .by-article-header, .sx-casehead,
  .px-aiintro, .px-standintro {
    padding-block: clamp(3rem, 2.2rem + 2.2vw, 4.5rem);
  }
  .bl-index-head { padding-block: clamp(2.6rem, 2rem + 2vw, 4rem) 2rem; }
  .bl-storylead { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
}

@media (min-width: 881px) {
  .sh-group > summary, .sh-nav > .sh-nav-link {
    font-size: .9375rem;
    font-weight: 500;
    letter-spacing: -.012em;
  }
}
@media (min-width: 881px) and (max-width: 1100px) {
  .sh-bar { gap: 1.125rem; padding-inline: 1.4rem; }
  .sh-nav { gap: .8rem; }
  .sh-group > summary { gap: .38rem; }
  .sh-right { gap: .55rem; }
  .sh-demo { padding-inline: .95rem; }
}
@media (min-width: 881px) and (max-width: 960px) {
  .sh-bar { gap: .7rem; padding-inline: 1rem; }
  .sh-bar .sh-brand { gap: .45rem; font-size: 1.45rem; }
  .sh-bar .sh-brand img { width: 1.75rem; height: 1.75rem; }
  .sh-nav { gap: .62rem; }
  .sh-group > summary { gap: .32rem; }
  .sh-demo { padding-inline: .75rem; }
}
