/*
 * Site-wide type scale (MKT-9482, Mark, 30 Nov 2026).
 *
 * The sizes live in theme.json (settings.custom.type) and reach every page as
 * --wp--custom--type--*. Headings (h1 to h4), body text and buttons take them
 * straight from theme.json. This file gives each component its role in the scale.
 *
 * Rules for new work:
 *  - Do not set font-size, font-weight or font-family in page styles or on a block.
 *  - A new component either uses a plain heading or paragraph, one of the utility
 *    classes at the end of this file, or gets its class added to the right list here.
 *
 * Outside the scale on purpose: stats numbers, client quotes, and the text inside
 * product visuals and diagrams.
 *
 * One exception (Mark, 1 Dec 2026): the body text of an article is 18px light. See the end of this file.
 */

/* Page title (H1): 54px bold */
:root :is(.mind-hi-h1,.maia-hi-h1,.mst-hi-h1,.ma-page-title){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--page-title);font-weight:700}

/* Section heading (H2): 38px extra bold */
:root :is(.home-maia-h2,.home-problem-heading,.why2-heading,.ma-close-h,.ma-faq-title,.ma-h2,.mind-modes-title,.mind-why-title,.pc-center-h2,.pfl-heading,.ma-incl-title,.ma-see-title,.maia-acts-title,.maia-conn-title,.maia-gov-hd,.maia-req-title,.mplat-title,.mind-req-title,.mind-steps-title,.mind-chal-title,.mind-dm-title,.ma-section-heading){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--section-heading);font-weight:800}

/* Sub-section heading (H3): 30px extra bold */
:root :is(.mind-showcase-title,.maia-acts-name,.ma-sub-heading){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--sub-heading);font-weight:800}

/* Card title: 20px bold */
:root :is(.home-blindness-title,.home-problem-title,.why2-title,.ma-card-t,.mind-mode-name,.mind-why-name,.pf-maia-name,.pf-name,.mind-step-h,.mind-chal-name,.mplat-card-name,.mplat-maia-title,.maia-trust-h,.mst-cap-t,.pf-proof-h,.maia-def-title,.ma-card-title),
:root .ma-faq-list .wp-block-details > summary{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--card-title);font-weight:700}

/* Lead paragraph: 18px light */
:root :is(.ma-sub,.mind-hi-sub,.maia-hi-sub,.mst-hi-sub,.home-maia-sub,.ma-close-p,.pfl-body,.ma-see-intro,.maia-conn-sub,.maia-gov-sub,.maia-req-intro,.mind-steps-intro,.mind-dm-intro,.mind-modes-sub,.mind-req-intro,.mind-why-intro,.why2-lead,.maia-def-body,.maia-acts-desc,.home-blindness-body,.ma-lead){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--lead);font-weight:300}

/* Body text: 16px light */
:root :is(.ma-incl-note,.mplat-found,.pf-acad-line,.mind-modes-note,.mind-steps-outcome-text,.mst-cap-p,.mind-showcase-desc,.mind-dm-p,.ma-eng-flow,.ma-body),
:root .ma-incl-list li,
:root .ma-faq-list .wp-block-details > :not(summary){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--body);font-weight:300}

/* Card text: 15px light */
:root :is(.ma-card-p,.mind-mode-desc,.mind-why-desc,.mind-step-p,.mind-req-text,.maia-req-text,.mplat-card-desc,.mplat-maia-desc,.maia-trust-p,.mind-chal-desc,.home-problem-body,.why2-text,.ma-see-text,.ma-card-text){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--card-text);font-weight:300}

/* Labels in capitals (eyebrows, small tags): 12px bold, Roboto */
:root :is(.wrf-eyebrow,.wrf-legend-item,.ma-eye,.ma-faq-eye,.masstermind-eyebrow,.mind-mode-tag,.mind-modes-eye,.mind-showcase-label,.mind-why-eye,.pc-hero-eye,.pf-phase,.pfl-eyebrow,.ma-incl-eye,.ma-see-eye,.ma-see-name,.maia-acts-eye,.maia-acts-num,.maia-conn-eyebrow,.maia-gov-eye,.maia-req-eye,.mc-rail-lbl,.mplat-eye,.mplat-here-badge,.mplat-step,.maia-lf-step,.ma-card-tag,.mind-req-eye,.mind-step-sub,.mind-steps-eye,.mind-chal-eye,.mind-chal-loss,.mind-dm-eye,.mind-dm-n,.mind-dm-rec-hd,.mst-cap-n,.why2-eyebrow,.why2-wrf-eyebrow,.why2-step,.maia-acts-tab,.maia-hi-wheel-cnum,.ma-label){font-family:var(--wp--preset--font-family--roboto),sans-serif;font-size:var(--wp--custom--type--label);font-weight:700}

/* ---------- Measurement pages (template "measurement", every section inside .msr) ---------- */
:root .msr h1{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--page-title);font-weight:700}
:root .msr h2{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--section-heading);font-weight:800}
:root .msr h3{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--card-title);font-weight:700}
:root .msr :is(.lede,.lead,.tldr-lead),
:root .msr :is(.sec-head,.cta) p:not(.ma-from-div){font-size:var(--wp--custom--type--lead);font-weight:300}
:root .msr .prose p:not(.lead),
:root .msr .tldr-list li,
:root .msr .callout p:not(.ma-from-div){font-size:var(--wp--custom--type--body);font-weight:300}
:root .msr :is(.pill,.row-item,.path,.faq-item,.dcard) p:not(.ma-from-div),
:root .msr .path .gets li,
:root .msr .wrf li,
:root .msr .stat .lab,
:root .msr .case p,
:root .msr .cmp :is(th,td){font-size:var(--wp--custom--type--card-text);font-weight:300}
:root .msr :is(.eyebrow,.tag),
:root .msr .more > h3,
:root .msr .case .sec{font-family:var(--wp--preset--font-family--roboto),sans-serif;font-size:var(--wp--custom--type--label);font-weight:700}
:root .msr .btn{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--button);font-weight:700}
/* Section menu under the site header (MKT-9404): card text size. */
:root .msr-subnav a{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--card-text);font-weight:300}
/* Emphasis inside text: row labels, lead-in lines and text links are bold. */
:root .msr .cmp thead th,
:root .msr .cmp td:first-child,
:root .msr .cmp .plus,
:root .msr .path .for,
:root .msr .wrf a.more{font-weight:700}
/* Question and method matrix on the Integrated Marketing Measurement page. */
:root .msr .qm th[scope=col],
:root .msr .qm-list a{font-size:var(--wp--custom--type--card-text);font-weight:700}
:root .msr .qm th[scope=row],
:root .msr .qm-list .q{font-size:var(--wp--custom--type--body);font-weight:700}
:root .msr .qm-note{font-size:var(--wp--custom--type--body);font-weight:300}
:root .msr .qm-note a{font-weight:700}
/* Measurement Hub: page cards and the closing line. */
:root .msr .mcard p{font-size:var(--wp--custom--type--card-text);font-weight:300}
:root .msr .mcard .go{font-size:var(--wp--custom--type--card-text);font-weight:700}
:root .msr .closing{font-size:var(--wp--custom--type--body);font-weight:300}

/* ---------- Industry pages (template "industry", every section inside .ind, MKT-9417 to MKT-9424) ---------- */
:root .ind h1{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--page-title);font-weight:700}
:root .ind h2{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--section-heading);font-weight:800}
:root .ind h3,
:root .ind .ma-sub-head{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--card-title);font-weight:700}
:root .ind :is(.lede,.tldr-lead),
:root .ind :is(.sec-head,.cta) p:not(.ma-from-div){font-size:var(--wp--custom--type--lead);font-weight:300}
:root .ind .prose p:not(.tldr-lead),
:root .ind .tldr-list li,
:root .ind .sub-head p,
:root .ind .callout p:not(.ma-from-div),
:root .ind .qs li b{font-size:var(--wp--custom--type--body);font-weight:300}
:root .ind :is(.pill,.row-item,.path,.faq-item,.cep-card,.ex-card) p:not(.ma-from-div),
:root .ind .path .gets li,
:root .ind .qs li span,
:root .ind .ex-q,
:root .ind .rj-ctx,
:root .ind .cmp :is(th,td){font-size:var(--wp--custom--type--card-text);font-weight:300}
:root .ind :is(.eyebrow,.tag,.ptag,.ex-tag,.cep-tag,.ex-ql),
:root .ind .related a{font-family:var(--wp--preset--font-family--roboto),sans-serif;font-size:var(--wp--custom--type--label);font-weight:700}
:root .ind .btn{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--button);font-weight:700}
:root .ind .cmp thead th,
:root .ind .cmp td:first-child,
:root .ind .w3,
:root .ind .qs li b,
:root .ind .qs li span i,
:root .ind .path .for,
:root .ind .path .bridge a,
:root .ind .cep-card a{font-weight:700}
/* Security and Compliance page (template "security", MKT-9374): same .ind wrapper, plus its own components. */
:root .ind .cert p:not(.ma-from-div),
:root .ind .callout .fact{font-size:var(--wp--custom--type--card-text);font-weight:300}
:root .ind .docs p:not(.ma-from-div){font-size:var(--wp--custom--type--lead);font-weight:300}
:root .ind :is(.status,.cbadge){font-family:var(--wp--preset--font-family--roboto),sans-serif;font-size:var(--wp--custom--type--label);font-weight:700}

/* ---------- Articles (blog posts and the other posts on the article template) ---------- */
/* The one exception to the scale: article body text is 18px light. Headings, captions, tables and boxes keep the scale. */
:root body.single-post .wp-block-post-content > p,
:root body.single-post .wp-block-post-content > :is(ul,ol) li{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--article-body);font-weight:300}

/* Article components (style.css): boxes, table and closing banner of a revamped blog keep the scale. */
:root body.single-post .wp-block-post-content :is(.ma-art-box,.ma-art-cta) p:not(.ma-label){font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--body);font-weight:300}
:root body.single-post .wp-block-post-content :is(.ma-art-box,.ma-art-cta) .ma-label{font-family:var(--wp--preset--font-family--roboto),sans-serif;font-size:var(--wp--custom--type--label);font-weight:700}
:root body.single-post .wp-block-post-content .ma-art-table :is(th,td){font-size:var(--wp--custom--type--card-text);font-weight:300}
:root body.single-post .wp-block-post-content .ma-art-table :is(thead th,td:first-child){font-weight:700}
:root body.single-post .wp-block-post-content > p.ma-art-source{font-size:var(--wp--custom--type--card-text);font-weight:300}
:root body.single-post .wp-block-post-content .ma-art-cta .wp-block-button__link{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:var(--wp--custom--type--button);font-weight:700}
