/* Shared type roles for the landing page, scoped away from docs and dictionary pages. */
.home {
  --type-brand: 32px;
  --brand-icon-size: 40px;
  --type-hero: clamp(72px, 8vw, 104px);
  --type-intro: 28px;
  --type-section: 56px;
  --type-feature: 36px;
  --type-card-title: 24px;
  --type-price: 56px;
  --type-body: 20px;
  --type-action: 18px;
  --type-control: 16px;
  --type-caption: 14px;
  --type-label: 12px;
}

.home .brand span {
  font-size: var(--type-brand);
}
.home .brand img {
  width: var(--brand-icon-size);
  height: var(--brand-icon-size);
}
.home .hero h1 {
  font-size: var(--type-hero);
  line-height: 1.1;
}
.home .hero-subtitle {
  font-size: var(--type-intro);
  line-height: 1.4;
  text-wrap: balance;
}

.home #features .copy h2,
.home .dictionary-paths-head h2,
.home .practice-doors-head h2,
.home .pricing-title,
.home .installs-head h2 {
  font: 400 var(--type-section) / 1.1 var(--display);
}
.home .dictionary-path-copy h3,
.home .pdoor-copy h3 {
  font: 400 var(--type-feature) / 1.1 var(--display);
}
.home .pdoor-quote,
.home .price h3 {
  font: 400 var(--type-card-title) / 1.1 var(--display);
}
.home .ic b {
  font: 600 var(--type-card-title) / 1.2 var(--body);
}
.home .price .amount {
  font: 400 var(--type-price) / 1.1 var(--display);
}

.home .dictionary-paths-head p,
.home .dictionary-path-copy p,
.home .pdoor-copy p,
.home .installs-head p {
  font-size: var(--type-body);
  line-height: 1.55;
}
.home .pdoor-copy p,
.home .dictionary-path-copy p {
  max-width: 50ch;
}
.home .price ul li {
  font-size: var(--type-control);
  line-height: 1.55;
}
.home .price .amount small {
  font: 400 var(--type-control) / 1.5 var(--body);
}

.home .openapp,
.home .price-cta,
.home .installs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font: 600 var(--type-action) / 1.25 var(--body);
}
.home .where-pill,
.home .toggle button,
.home .ic-action,
.home .pdoor-link {
  font: 600 var(--type-control) / 1.4 var(--body);
}

.home .where-label,
.home .toggle .save,
.home .pdoor-eyebrow,
.home .pdoor-label,
.home .pdoor-shots figcaption {
  font: 600 var(--type-label) / 1.3 var(--body);
}
.home .card-callout,
.home .ic-meta,
.home .pdoor-note,
.home .price .sub,
.home .card-audio-status {
  font-size: var(--type-caption);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .home {
    --type-brand: 28px;
    --brand-icon-size: 36px;
    --type-hero: clamp(50px, 15.5vw, 60px);
    --type-intro: 22px;
    --type-section: 40px;
    --type-feature: 30px;
    --type-card-title: 22px;
    --type-price: 48px;
    --type-body: 18px;
  }
}
