/** Reset + base typography. */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	/* Fragment anchors: this half + .page-section's half = one header offset. */
	scroll-padding-top: calc(var(--header-offset) / 2);
	scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-family);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-regular);
	line-height: var(--line-height-normal);
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* `clip` keeps <html> the only scroll root; `hidden` is the fallback. */
	overflow-x: hidden;
	overflow-x: clip;
	overflow-wrap: break-word;
}

/* Grid/flex children must be allowed to shrink below their intrinsic width. */
.nvd-grid > *,
.nvd-pricing__cards > *,
.nvd-statistics__inner > *,
.nvd-footer__grid > *,
.nvd-carousel__slide > * { min-width: 0; }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--spacing-md);
	font-family: var(--font-family);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-tight);
	letter-spacing: var(--letter-spacing-tight);
	color: var(--color-text);
	text-wrap: balance;
}

h1 { font-size: var(--font-size-5xl); font-weight: var(--font-weight-extra); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p { margin: 0 0 var(--spacing-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

/* Green-highlighted words inside headings. */
mark {
	background: transparent;
	color: var(--color-primary);
	padding: 0;
}
.nvd-section-heading__title mark,
.nvd-hero__headline mark { color: var(--color-primary); }

/* Secondary accent inside editable headings. */
.nvd-accent-cyan { color: var(--color-secondary); }

strong { font-weight: var(--font-weight-bold); }

/* Focus visibility (accessibility). */
:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* Skip link. */
.nvd-skip-link {
	position: absolute;
	left: var(--spacing-md);
	top: -100px;
	z-index: 1000;
	background: var(--color-primary);
	color: var(--color-on-primary);
	padding: var(--spacing-sm) var(--spacing-md);
	border-radius: var(--radius-sm);
	font-weight: var(--font-weight-semibold);
	transition: top 0.15s ease;
}
.nvd-skip-link:focus { top: var(--spacing-md); }

.nvd-eyebrow {
	text-transform: uppercase;
	letter-spacing: var(--letter-spacing-caps);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-semibold);
	color: var(--color-primary);
	margin-bottom: var(--spacing-sm);
}

/* Check pill used in benefits/trust/privacy. */
.nvd-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
	color: var(--color-primary);
}

.nvd-icon { display: inline-block; vertical-align: middle; }

/* Accessible text that is visually absent (compact logo wordmark). */
.nvd-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
