/* Keep the Books storefront and Contact page on the same Geist typography
   used by the homepage. The shared tokens are loaded before this file. */
:where(.contact-page, .store-page, .ebook-cart-page, .book-detail-page, .book-checkout-page, .register-page) {
  font-family: var(--ck-font-body), "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:where(.contact-page, .store-page, .ebook-cart-page, .book-detail-page, .book-checkout-page, .register-page)
  :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ck-font-display), "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

:where(.contact-page, .store-page, .ebook-cart-page, .book-detail-page, .book-checkout-page, .register-page)
  :where(button, input, select, textarea) {
  font-family: inherit;
}

/* Match the homepage's uppercase display headline treatment. */
.contact-page .contact-intro h1,
.store-page .store-hero h1,
body.register-page .register-hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.95rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
