﻿@font-face {
  font-family: "Caveat";
  src: url("./caveat-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font-display: "Caveat", cursive;
}

:is(
  h1, h2, h3, strong, b, .serif, .skip, .btn, .nav__logo, .nav__pill,
  .nav__dropdown a, .nav__panel > a, .hero__lead, .hero__scroll,
  .note time, .cover__title, .cover__sub, .cover__author, .phone__status,
  .phone__confirm, .phone__pill, .phone__bubble span, .scan__caption,
  .stats__label, .focus__quote, .focus__big, .focus__small, .h-display .serif,
  .flip__back p, .chip, .book__meta, .plan__name, .plan__desc,
  .plan__list li, .plan__flag, .quote blockquote, .quote figcaption,
  .quote figcaption i, .faq__item summary, .shelf a, .footer__lead,
  .footer__legal, .footer__legal span, .footer__logo, .footer__logo small,
  .footer__social
) {
  font-family: var(--font-display);
  letter-spacing: normal;
}

:is(
  h1, h2, h3, strong, b, .hero__title, .h-display, .h-display .serif,
  .footer__title, .stats__num, .stats__claim, .focus__big, .flip h3,
  .cover__title, .plan__name, .quote blockquote
) {
  font-weight: 700;
}

:is(.scan__hint, .focus__quote, .focus__small, .h-display .serif) {
  font-style: normal;
  font-weight: 600;
}

.hero__businesses {
  display: grid;
  justify-items: center;
  max-width: 100%;
}

.hero__businesses > span {
  grid-area: 1 / 1;
  visibility: hidden;
}

.hero__businesses > .is-current {
  visibility: visible;
}

#pricing .pricing__intro { max-width: 60ch; margin-top: 20px; }

#pricing .plan__price {
  position: relative;
  z-index: 2;
  font: 700 clamp(42px, 6vw, 74px)/1 var(--font-display);
}

.shelf__item {
  padding: 6px 8px;
  font: 700 clamp(19px, 1.7vw, 23px)/1.1 var(--font-display);
}
