/* Contrast fixes for small orange text on light backgrounds (WCAG AA, 4.5:1).
   #c24b14 = 4.6+ on white and soft grey. #b34410 = 4.9+ on the peach tints.
   Buttons, icons, hover states and dark heroes keep the brand orange. */
.sg-eyebrow:not(.sg-eyebrow--on-dark):not(.sg-eyebrow--tag) { color: #c24b14; }
.sg-page-whysanguine .sg-hero-soft .sg-eyebrow:not(.sg-eyebrow--tag) { color: #c24b14 !important; }
/* These two sections use grey eyebrows in the design; the rule above must not recolour them. */
.sg-page-press .sg-section-head .sg-eyebrow:not(.sg-eyebrow--on-dark):not(.sg-eyebrow--tag),
.sg-page-partnerships .sg-section--soft .sg-eyebrow:not(.sg-eyebrow--on-dark):not(.sg-eyebrow--tag) { color: var(--sg-muted); }

.sg-step-num,
.sg-step-row--minimal .sg-step-num-plain,
.sg-cond-comp-text span,
.sg-list-eyebrow,
.sg-person-card--leadership .sg-person-role,
.sg-hero-soft .sg-quote cite,
.sg-pub-row p.sg-pub-journal { color: #c24b14; }

.sg-trust-card a,
.sg-press-feature .sg-tag-pill,
.sg-post-badge,
.sg-blog-tag:not(.sg-blog-tag--blue):not(.sg-blog-tag--green):not(.sg-blog-tag--amber),
.sg-blog-featured .sg-blog-tag { color: #b34410; }

/* Privacy / terms links inside the form's consent text. */
.sg-page-signup .sg-form .ff-item-row:has(> .ff-field-col > input.ff-checkbox) .ff-label a:not(:hover):not(:focus) { color: #b34410 !important; }

/* Hold the form's space until its fields arrive, so nothing below it jumps. The
   finished form is taller than this, and the rule stops applying once it is there. */
.sg-page-signup .sg-form:not(:has(input:not([type="hidden"]), select, textarea)) { min-height: max(1200px, 130vh); }

/* Arial resized to Inter's proportions, used only until Inter arrives. Lines wrap almost
   the same in both, so the swap does not move the page. Selectors match the ones in
   homepage-redesign.css; devices without an Arial-type font fall through as before. */
@font-face {
	font-family: 'Inter Fallback';
	src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
	size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%;
}
body.sg-redesign,
body.sg-redesign h1, body.sg-redesign h2, body.sg-redesign h3, body.sg-redesign h4,
.sg-header,
.sg-header *:not(.fa):not([class*="fa-"]),
.sg-footer,
.sg-footer *:not(.fa):not([class*="fa-"]),
.sg-header .sg-nav-item,
.sg-header .sg-nav-item a { font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif; }
.sg-front, .sg-front *:not(.fa):not([class*="fa-"]) {
	font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif !important;
}
