/*
 * DashDrop typography calibration
 *
 * The values in this file were measured from Lime's rendered corporate,
 * product, city, editorial and legal templates at 1280px and 390px.
 * This layer is intentionally limited to type properties so it cannot
 * change page content, imagery, colour, spacing or section structure.
 */

:where(html, body, button, input, textarea, select) {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif !important;
}

/* Shared navigation and actions */
:where(.site-header .nav a) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 25.2px !important;
  letter-spacing: normal !important;
}

:where(.lang) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: normal !important;
}

:where(.btn, .btn-lg) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 22.4px !important;
  letter-spacing: normal !important;
}

:where(.subnav-title) {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

:where(.subnav-links a) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 25.2px !important;
  letter-spacing: normal !important;
}

:where(.drawer nav a) {
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 42px !important;
  letter-spacing: normal !important;
}

/* Marketing hierarchy */
:where(body h1) {
  font-size: 72px !important;
  font-weight: 400 !important;
  line-height: 79.2px !important;
  letter-spacing: normal !important;
}

:where(body h2) {
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 56px !important;
  letter-spacing: -0.2px !important;
}

:where(body h3) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(body h4) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(body p, body li) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 25.2px !important;
  letter-spacing: normal !important;
}

:where(.eyebrow, .why-kicker, .transit-kicker) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 25.2px !important;
  letter-spacing: normal !important;
}

/* Card, directory and editorial roles */
:where(.feature-caption h3) {
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 30px !important;
  letter-spacing: normal !important;
}

:where(.leader-grid h3, .press-card h2) {
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 33.6px !important;
  letter-spacing: normal !important;
}

:where(.news-card h3) {
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 44.8px !important;
  letter-spacing: normal !important;
}

:where(
  .feature-post-copy h2,
  .about-guides h2,
  .blog-guides h2,
  .leadership-guides h2,
  .partners-guides h2,
  .notice-band h2
) {
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 42px !important;
  letter-spacing: normal !important;
}

:where(.proof-card h2) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(.proof-card strong, .proof-grid strong) {
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 56px !important;
  letter-spacing: -0.2px !important;
}

:where(.city-label, .article-list a) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(.location-group summary) {
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 56px !important;
  letter-spacing: -0.2px !important;
}

:where(.city-link) {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

:where(.city-request p) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 36px !important;
  letter-spacing: normal !important;
}

:where(.leader-grid p) {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 25.6px !important;
  letter-spacing: normal !important;
}

:where(
  .topic-pills a,
  .quick-links a,
  .directory-count,
  .request-time,
  .news-cats,
  .why-next-card span,
  .leader-grid a,
  .press-card a,
  .integration-grid a,
  .market-grid span,
  .contact-form span
) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: normal !important;
}

:where(
  .benefit-grid span,
  .erg-list span,
  .proof-grid span,
  .job-list em,
  .job-list b,
  .msp-stats span,
  .trip-card span
) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 25.2px !important;
  letter-spacing: normal !important;
}

:where(
  .benefit-grid h3,
  .values-grid h3,
  .partner-card h3,
  .integration-grid h3,
  .msp-stats strong,
  .job-list strong,
  .trip-card strong,
  .feed-card strong
) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(.notice-band p) {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(.help-search input, .directory-search input, .contact-form input, .contact-form textarea) {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

:where(.store-badge .sb-small) {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
  letter-spacing: normal !important;
}

:where(.store-badge .sb-big) {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

/* Long-form legal reading scale */
:where(.legal-intro h1) {
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 56px !important;
  letter-spacing: -0.2px !important;
}

:where(.legal-eyebrow) {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
  letter-spacing: normal !important;
}

:where(.legal-tabs a) {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

:where(
  .legal-effective,
  .legal-lead,
  .legal-notice p,
  .legal-article p,
  .legal-article li,
  .legal-article address,
  .legal-article td,
  .legal-article th,
  .legal-callout
) {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(.legal-article h2) {
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 42px !important;
  letter-spacing: normal !important;
}

:where(.legal-article h3) {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

:where(.legal-notice strong, .legal-table-wrap th) {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 32px !important;
  letter-spacing: normal !important;
}

:where(.legal-toc > p, .legal-toc a, .legal-source) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: normal !important;
}

/* Footer hierarchy */
:where(.footer-group summary) {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  letter-spacing: normal !important;
}

:where(.footer-col a) {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 25.6px !important;
  letter-spacing: normal !important;
}

:where(.footer-tagline) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: normal !important;
}

:where(.footer-copy, .footer-legal a, .footer-language) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: normal !important;
}

@media (max-width: 760px) {
  :where(body h1) {
    font-size: 30px !important;
    line-height: 33px !important;
    letter-spacing: normal !important;
  }

  :where(body h2) {
    font-size: 30px !important;
    line-height: 42px !important;
    letter-spacing: -0.15px !important;
  }

  :where(body h3) {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  :where(body h4) {
    font-size: 16px !important;
    line-height: 25.6px !important;
  }

  :where(.feature-post-copy h2) {
    font-size: 20px !important;
    line-height: 28px !important;
    letter-spacing: normal !important;
  }

  :where(.news-card h3) {
    font-size: 20px !important;
    line-height: 30px !important;
  }

  :where(.leader-grid h3, .press-card h2) {
    font-size: 20px !important;
    line-height: 24px !important;
  }

  :where(
    .proof-card h2,
    .benefit-grid h3,
    .values-grid h3,
    .partner-card h3,
    .integration-grid h3,
    .msp-stats strong,
    .job-list strong,
    .trip-card strong,
    .feed-card strong
  ) {
    font-size: 16px !important;
    line-height: 25.6px !important;
  }

  :where(.leader-grid p) {
    font-size: 14px !important;
    line-height: 22.4px !important;
  }

  :where(.footer-group summary) {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 520px) {
  :where(.legal-intro h1) {
    font-size: 18px !important;
    line-height: 27px !important;
    letter-spacing: normal !important;
  }
}
