/**
 * Base resets scoped to .cnhc-root only — the plugin never touches
 * global theme selectors so it can't leak styles onto the rest of the
 * site.
 */

.cnhc-root {
	box-sizing: border-box;
	font-family: var(--cnhc-font-body);
	font-size: var(--cnhc-fs-body);
	line-height: 1.55;
	color: var(--cnhc-text);
	background: var(--cnhc-ivory);
}

.cnhc-root *,
.cnhc-root *::before,
.cnhc-root *::after {
	box-sizing: inherit;
}

.cnhc-root img {
	max-width: 100%;
	display: block;
}

.cnhc-root h1,
.cnhc-root h2,
.cnhc-root h3,
.cnhc-root h4 {
	font-family: var(--cnhc-font-display);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 var(--cnhc-space-3);
	color: var(--cnhc-pine-900);
}

.cnhc-root p {
	margin: 0 0 var(--cnhc-space-4);
}

.cnhc-root a {
	color: var(--cnhc-pine-700);
}

.cnhc-root .cnhc-eyebrow {
	font-family: var(--cnhc-font-mono);
	font-size: var(--cnhc-fs-caption);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cnhc-amber-600);
	font-weight: 600;
}

.cnhc-root .cnhc-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Consistent, visible keyboard focus across every interactive element. */
.cnhc-root a:focus-visible,
.cnhc-root button:focus-visible,
.cnhc-root input:focus-visible,
.cnhc-root select:focus-visible,
.cnhc-root [tabindex]:focus-visible {
	outline: 2px solid var(--cnhc-pine-600);
	outline-offset: 2px;
}
