/* VALORICE type system (2026-10-26). Poppins for headings, Figtree for all other text, whole-pixel sizes only.
   Loaded last on every page, so it wins over page styles. Scale: see the font audit in the project files. */
:root{--v-head:var(--font-poppins,Poppins),system-ui,sans-serif;--v-body:var(--font-figtree,Figtree),system-ui,sans-serif;--v-ink:#2C1A0E;--v-red:#B23020;--v-muted:#5A4636}

/* Fonts */
body,body *{font-family:var(--v-body)!important}
h1,h2,h3,h4,h5,h6,h1 *,h2 *,h3 *,h4 *,h5 *,h6 *,
.font-heading,.font-heading *,.section-label,.overline,.ribbon,.eyebrow,.seyebrow,
.pn,.cn,.nm,.big,.val,.price,.section-title,.rn,.v-head,.v-head *{font-family:var(--v-head)!important}
a.font-heading,a.font-heading *{font-family:var(--v-body)!important}
code,pre,kbd,samp,code *,pre *{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}

/* Headings: desktop / phone */
h1{font-size:48px!important}
h2{font-size:36px!important}
h3,h4{font-size:20px!important}
h1,h2{line-height:1.2!important}
h3,h4{line-height:1.3!important}
@media (max-width:767px){h1{font-size:32px!important}h2{font-size:28px!important}h3,h4{font-size:18px!important}}

/* Small label above a title */
.section-label,.overline,.ribbon,.eyebrow,.seyebrow,.refs h2{font-size:12px!important}

/* Big numbers */
.pn,.cn,.big,.val,.font-heading.font-extrabold.text-orange-accent:not(.text-2xl){font-size:48px!important;line-height:1.1!important}
@media (max-width:767px){.pn,.cn,.big,.val,.font-heading.font-extrabold.text-orange-accent:not(.text-2xl){font-size:36px!important}}

/* Lead paragraph under a page title */
.lede,.deck,.subhead{font-size:18px!important;font-style:normal!important}
@media (max-width:767px){.lede,.deck,.subhead{font-size:17px!important}}

/* Buttons */
.btn-primary,.btn-dark,.btn-ghost{font-size:16px!important}

/* Papers: reference numbers */
.refs .rn{font-size:14px!important}
.refs li,.refs li *{font-size:14px!important}

/* Small tags and labels (were 10.4 and 11.2 px) */
.text-\[0\.7rem\],.text-\[0\.65rem\]{font-size:12px!important}

/* Weights: one per element type */
h1,h2,h1 *,h2 *{font-weight:700!important}
h3,h4,h3 *,h4 *{font-weight:600!important}
h1 em,h2 em,h3 em,h1 i,h2 i,h3 i{font-style:normal!important}
.section-label,.overline,.ribbon,.eyebrow,.seyebrow,.refs h2{font-weight:600!important}
.pn,.cn,.big,.val,.font-heading.font-extrabold.text-orange-accent:not(.text-2xl){font-weight:800!important}

/* Page fixes: impact measurement labels and rule titles, Next 404 */
.method h3{font-size:12px!important}
.roi-rules h3{color:var(--v-ink)!important}
.next-error-h1,.next-error-h1~div h2{color:var(--v-ink)!important}
