:root {
    --mmtl-font-ui: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mmtl-font-heading: var(--mmtl-font-ui);
}

html {
    font-family: var(--mmtl-font-ui);
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
    font-family: var(--mmtl-font-ui);
    font-synthesis: none;
}

body {
    font-weight: 400;
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-family: var(--mmtl-font-ui);
    font-weight: 700;
}

button,
input,
select,
textarea,
a {
    font-kerning: normal;
}

.fortune-hero__copy h1 {
    font-family: var(--mmtl-font-heading);
    font-weight: 700;
}

.fortune-hero__kicker {
    font-family: var(--mmtl-font-ui);
    font-weight: 700;
}

/* Header */
.topbar-item strong,
.topbar-contact,
.site-brand strong,
.header-action strong,
.main-nav .menu > .menu-item > a,
.main-nav .sub-menu a,
.menu-toggle,
.topbar-social span,
.header-search button {
    font-family: var(--mmtl-font-ui);
    font-weight: 700;
}

.topbar-item small,
.site-brand small,
.header-action small,
.header-search input {
    font-weight: 400;
}

/* Home sections and commerce cards */
.fortune-hero__message,
.fortune-benefit,
.fortune-hero__cta,
.category-card strong,
.bestseller-section__head h2,
.bestseller-section__head > a,
.bestseller-card__badge,
.bestseller-card h3,
.bestseller-card__price strong,
.bestseller-card__buy,
.brand-promo-card__eyebrow,
.brand-promo-card h3,
.brand-promo-card__content > a,
.home-trust__copy strong,
.category-products__head h2,
.category-products__all,
.home-news__head h2,
.home-news-trust h2,
.home-news__head a,
.home-news-card h3,
.home-news-proof strong,
.footer-title,
.footer-brand__copy strong,
.footer-newsletter button,
.footer-payments span,
.floating-contact a,
.cookie-consent button,
.button,
.card-action,
.filters button,
.load-more {
    font-family: var(--mmtl-font-ui);
    font-weight: 700;
}

.brand-promo-card h3 {
    letter-spacing: -.015em;
    line-height: 1.14;
}

.brand-promo-card__eyebrow,
.home-news-proof small,
.bestseller-card__badge {
    font-weight: 600;
}

.bestseller-card h3,
.home-news-card h3,
.footer-links a,
.footer-contact-list,
.footer-newsletter-copy,
.category-products__head p,
.home-news-card time {
    font-weight: 400;
}

.bestseller-card__price strong,
.price,
.price-large {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Editorial and interior templates */
.archive-hero h1,
.entry-header h1,
.prose h2,
.prose h3,
.section-head h2,
.content-card h2,
.toc button,
.product-summary dt {
    font-family: var(--mmtl-font-ui);
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mmtl-hero__copy h1,
.mmtl-section h2,
.fortune-hero__copy h1,
.product-purchase h1,
.article-hero h1,
.static-page__hero h1,
.contact-hero h1 {
    letter-spacing: 0;
    font-synthesis: none;
}

@media (max-width: 700px) {
    html {
        text-rendering: optimizeSpeed;
    }
}
