/* Headings */

.hap-headline--3xl {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-heading);
  font-size: var(--hap-typography-font-size-headline-3-xl);
  font-weight: var(--hap-typography-font-weight-medium);
  letter-spacing: var(--hap-typography-letter-spacing-xs);
  line-height: var(--hap-typography-line-height-headline-3-xl);
  margin: 0;
}

.hap-headline--2xl {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-heading);
  font-size: var(--hap-typography-font-size-headline-2-xl);
  font-weight: var(--hap-typography-font-weight-medium);
  letter-spacing: var(--hap-typography-letter-spacing-xs);
  line-height: var(--hap-typography-line-height-headline-2-xl);
  margin: 0;
}

.hap-headline--xl {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-heading);
  font-size: var(--hap-typography-font-size-headline-xl);
  font-weight: var(--hap-typography-font-weight-medium);
  letter-spacing: var(--hap-typography-letter-spacing-sm);
  line-height: var(--hap-typography-line-height-headline-xl);
  margin: 0;
}

.hap-headline--lg {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-heading);
  font-size: var(--hap-typography-font-size-headline-lg);
  font-weight: var(--hap-typography-font-weight-medium);
  letter-spacing: var(--hap-typography-letter-spacing-sm);
  line-height: var(--hap-typography-line-height-headline-lg);
  margin: 0;
}

.hap-headline--md {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-heading);
  font-size: var(--hap-typography-font-size-headline-md);
  font-weight: var(--hap-typography-font-weight-medium);
  letter-spacing: var(--hap-typography-letter-spacing-md);
  line-height: var(--hap-typography-line-height-headline-md);
  margin: 0;
}

.hap-headline--sm {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-heading);
  font-size: var(--hap-typography-font-size-headline-sm);
  font-weight: var(--hap-typography-font-weight-medium);
  letter-spacing: var(--hap-typography-letter-spacing-lg);
  line-height: var(--hap-typography-line-height-headline-sm);
  margin: 0;
}

/* Body text */

.hap-text {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-body);
  font-size: var(--hap-typography-font-size-bodytext-standard);
  font-weight: var(--hap-typography-font-weight-regular);
  letter-spacing: var(--hap-typography-letter-spacing-md);
  line-height: var(--hap-typography-line-height-bodytext-standard-singleline);
}

.hap-text--sm {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-body);
  font-size: var(--hap-typography-font-size-bodytext-s);
  font-weight: var(--hap-typography-font-weight-regular);
  letter-spacing: var(--hap-typography-letter-spacing-lg);
  line-height: var(--hap-typography-line-height-bodytext-s-singleline);
}

.hap-text--xs {
  color: var(--hap-color-text-primary-on-light);
  font-family: var(--hap-typography-font-family-body);
  font-size: var(--hap-typography-font-size-bodytext-xs);
  font-weight: var(--hap-typography-font-weight-regular);
  letter-spacing: var(--hap-typography-letter-spacing-xl);
  line-height: var(--hap-typography-line-height-bodytext-xs-singleline);
}

/*
 *Rounded Dots for all typography levels
 * TODO: Remove after `font-feature-settings` are widely available at font-level.
 * See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-feature-settings
  */
.hap-headline--3xl,
.hap-headline--2xl,
.hap-headline--xl,
.hap-headline--lg,
.hap-headline--md,
.hap-headline--sm,
.hap-text,
.hap-text--sm,
.hap-text--xs {
  font-feature-settings: "ss11" 1;
}
