/* Ferkesh Hosting 1.0.1 · Typography maintenance. Screen styles only. */
@media screen {
  .fh-theme {
    --fh-type-hero: clamp(2rem, 1.58rem + 1.43vw, 3rem);
    --fh-type-page: clamp(1.75rem, 1.50rem + 1.03vw, 2.5rem);
    --fh-type-article: clamp(1.625rem, 1.4rem + .9vw, 2.25rem);
    --fh-type-section: clamp(1.45rem, 1.25rem + .83vw, 2rem);
    --fh-type-subsection: clamp(1.1875rem, 1.08rem + .45vw, 1.5rem);
    --fh-type-detail: clamp(1.0625rem, 1rem + .28vw, 1.25rem);
    --fh-type-reading: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
    --fh-space-section: clamp(2.6rem, 4.6vw, 5rem);
  }

  .fh-theme .fh-hero {
    min-height: 0;
    padding-block: clamp(2.5rem, 5.25vw, 5rem) clamp(2.5rem, 4.5vw, 4.25rem);
  }

  .fh-theme .fh-hero h1 {
    font-size: var(--fh-type-hero);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.045em;
    word-spacing: normal;
    margin-block-end: 1.15rem;
    text-wrap: balance;
  }

  .fh-theme .fh-landing-hero {
    min-height: 0;
    padding-block: clamp(1rem, 3vw, 2.25rem) var(--fh-space-section);
  }

  .fh-theme .fh-landing h1 {
    max-inline-size: 22ch;
    margin-block-end: 1rem;
  }

  .fh-theme :is(.fh-landing-heading h1, h1.page-hero-title, h1.kb-cat-header-title, h1.list-title, h1.dash-greeting) {
    font-size: var(--fh-type-page);
    line-height: 1.14;
    letter-spacing: -.036em;
    font-weight: 720;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .fh-theme .auth-card h1 {
    font-size: clamp(1.65rem, 1.45rem + .65vw, 2rem);
    line-height: 1.18;
    letter-spacing: -.03em;
    text-wrap: balance;
  }

  .fh-theme h1.kb-doc-title {
    font-size: var(--fh-type-article);
    line-height: 1.18;
    letter-spacing: -.032em;
    font-weight: 720;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  .fh-theme :is(.fh-services, .fh-home-faq, .fh-platform, .fh-landing-details) {
    padding-block: var(--fh-space-section);
  }

  .fh-theme .fh-wrap h2:not(.fh-footer h2),
  .fh-theme .fh-landing-details h2 {
    font-size: var(--fh-type-section);
    line-height: 1.16;
    font-weight: 710;
    letter-spacing: -.034em;
    text-wrap: balance;
  }

  .fh-theme .fh-services h2 { max-inline-size: 18ch; }
  .fh-theme .fh-platform-grid > div > p:not(.fh-kicker),
  .fh-theme .fh-services-intro > p:last-child { max-inline-size: 52ch; }
  .fh-theme :is(.fh-lead, .kb-prose) { font-size: var(--fh-type-reading); line-height: 1.68; }

  .fh-theme .kb-prose { overflow-wrap: anywhere; }
  .fh-theme .kb-prose :is(p, ul, ol, blockquote) { max-inline-size: 70ch; }
  .fh-theme .kb-prose h2 { font-size: min(1.4rem, var(--fh-type-section)); }
  .fh-theme .kb-prose h3 { font-size: min(1.25rem, var(--fh-type-subsection)); }
  .fh-theme .kb-prose h4 { font-size: min(1.125rem, var(--fh-type-detail)); }
  .fh-theme .kb-prose :is(h2, h3, h4) {
    line-height: 1.26;
    letter-spacing: -.018em;
    text-wrap: pretty;
  }

  .fh-theme :is(.fh-nav, .fh-drawer-nav) a {
    font-size: clamp(.875rem, .86rem + .045vw, .9375rem);
  }
}
