:root {
    --yess-typography-body-size: var(--yess-font-size-md);
    --yess-typography-body-weight: 400;
    --yess-typography-body-line-height: var(--yess-line-height-normal);

    --yess-typography-heading-weight: 700;
    --yess-typography-heading-line-height: var(--yess-line-height-tight);

    --yess-typography-label-size: var(--yess-font-size-sm);
    --yess-typography-label-weight: 600;
    --yess-typography-label-line-height: var(--yess-line-height-normal);

    --yess-typography-button-size: var(--yess-font-size-md);
    --yess-typography-button-weight: 600;
    --yess-typography-button-line-height: 1.2;

    --yess-typography-supporting-size: var(--yess-font-size-sm);
    --yess-typography-supporting-weight: 400;
    --yess-typography-supporting-line-height: var(--yess-line-height-normal);
}

body.yess-application,
.yess-theme-host {
    color: var(--yess-color-text);
    background: var(--yess-color-background);
    font-family: var(--yess-font-family-body);
    font-size: var(--yess-typography-body-size);
    font-weight: var(--yess-typography-body-weight);
    line-height: var(--yess-typography-body-line-height);
}

.yess-theme-host h1,
.yess-theme-host h2,
.yess-theme-host h3,
.yess-theme-host h4,
.yess-theme-host h5,
.yess-theme-host h6 {
    color: var(--yess-color-text);
    font-family: var(--yess-font-family-heading);
    font-weight: var(--yess-typography-heading-weight);
    line-height: var(--yess-typography-heading-line-height);
    text-wrap: balance;
}

.yess-theme-host h1 {
    font-size: var(--yess-font-size-2xl);
}

.yess-theme-host h2 {
    font-size: var(--yess-font-size-xl);
}

.yess-theme-host label,
.yess-theme-host legend,
.yess-theme-host .yess-form-field__label,
.yess-theme-host .k-label,
.yess-theme-host .k-form-label {
    font-family: var(--yess-font-family-label);
    font-size: var(--yess-typography-label-size);
    font-weight: var(--yess-typography-label-weight);
    line-height: var(--yess-typography-label-line-height);
}

.yess-theme-host button,
.yess-theme-host .k-button,
.yess-theme-host .yess-button {
    font-family: var(--yess-font-family-button);
    font-size: var(--yess-typography-button-size);
    font-weight: var(--yess-typography-button-weight);
    line-height: var(--yess-typography-button-line-height);
}

.yess-theme-host small,
.yess-theme-host .yess-form-hint,
.yess-theme-host .yess-field-error,
.yess-theme-host .yess-help-text,
.yess-theme-host .yess-supporting-text,
.yess-theme-host .k-form-hint,
.yess-theme-host .k-form-error {
    font-family: var(--yess-font-family-supporting);
    font-size: var(--yess-typography-supporting-size);
    font-weight: var(--yess-typography-supporting-weight);
    line-height: var(--yess-typography-supporting-line-height);
}

.yess-theme-host p {
    text-wrap: pretty;
}

.yess-theme-host a {
    color: var(--yess-color-primary);
}
