/* Handwriting belongs to the story headlines, not the supporting copy or app UI. */
@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/kalam-regular.woff2") format("woff2");
}

.pv-page {
  --handwriting: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --serif: var(--sans);
}

.pv-hero h1, .pv-bridge h2, .pv-section-intro h2,
.pv-copy h2, .pv-copy h3, .pv-centered h2, .pv-closing h2 {
  font-family: var(--handwriting);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.pv-page :is(.pv-hero, .pv-bridge, .pv-section-intro, .pv-copy, .pv-centered, .pv-closing)
  :is(h1, h2, h3) em {
  font-style: normal;
  font-weight: inherit;
}
.pv-hero h1 {
  font-size: clamp(4rem, 6.8vw, 5.875rem);
  line-height: 1.22;
  letter-spacing: -.015em;
}
.pv-hero h1 > span {
  max-width: none;
  font-size: .76em;
  line-height: inherit;
  margin-bottom: .75rem;
}
.pv-bridge h2, .pv-section-intro h2, .pv-copy h2, .pv-copy h3, .pv-centered h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}
.pv-closing h2 { font-size: clamp(3rem, 5.5vw, 4.75rem); line-height: 1.25; }

/* Product headings, measurements and FAQs use the same sans serif as the body. */
.pv-result-card h4, .pv-incoming h3, .pv-record h3 {
  font: 500 1.75rem/1.25 var(--sans);
  letter-spacing: -.025em;
}
.pv-record h3 { font-size: 1.875rem; }
.pv-principles h3 { font: 500 1.4375rem/1.3 var(--sans); letter-spacing: -.02em; }
.pv-faq h3 { font: 500 2rem/1.2 var(--sans); letter-spacing: -.03em; }
.pv-faq-list summary { font-weight: 500; }
.pv-plan-clock strong {
  font: 500 clamp(3.75rem, 5.8vw, 4.75rem)/1.15 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}
.pv-page dialog h2 { font: 500 2rem/1.2 var(--sans); letter-spacing: -.03em; }
.pv-page dialog h2 em { font-weight: inherit; }

@media (max-width: 860px) {
  .pv-hero h1 { font-size: clamp(3.375rem, 8.5vw, 4.5rem); }
  .pv-copy h2, .pv-copy h3 { font-size: 3.125rem; }
}
@media (max-width: 600px) {
  .pv-hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.625rem); line-height: 1.25; letter-spacing: -.012em; }
  .pv-hero h1 > span { font-size: .8em; }
  .pv-bridge h2, .pv-section-intro h2, .pv-copy h2, .pv-copy h3, .pv-centered h2 {
    font-size: clamp(2.125rem, 8.8vw, 2.875rem);
    line-height: 1.25;
  }
  .pv-closing h2 { font-size: clamp(2.3125rem, 9.5vw, 3.125rem); }
  .pv-result-card h4, .pv-incoming h3 { font-size: 1.5625rem; }
  .pv-record h3 { font-size: 1.6875rem; }
  .pv-principles h3 { font-size: 1.375rem; }
  .pv-faq h3, .pv-page dialog h2 { font-size: 1.8125rem; }
  .pv-plan-clock strong { font-size: 4rem; }
}
