/* Foglight — typography.css
   Mobile-first fluid type scale using the --step-* tokens from tokens.css. */

body {
	font-family: var(--font-body);
	font-size: var(--step-0);
	color: var(--color-primary);
	background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h1 {
	font-size: var(--step-5);
}

h2 {
	font-size: var(--step-3);
}

h3 {
	font-size: var(--step-2);
}

h4 {
	font-size: var(--step-1);
}

p {
	max-width: 68ch;
}

p + p {
	margin-top: var(--space-4);
}

small {
	font-size: var(--step--1);
}

.eyebrow,
.hero__eyebrow,
.about-teaser__eyebrow,
.cta-band__eyebrow {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-secondary);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-weight: 600;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: opacity var(--duration-fast) var(--ease-out);
}

.text-link:hover,
.text-link:focus-visible {
	opacity: 0.6;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: var(--space-3);
	left: var(--space-3);
	width: auto;
	height: auto;
	padding: var(--space-3) var(--space-4);
	background: var(--color-bg);
	color: var(--color-primary);
	z-index: 100000;
	clip: auto;
	box-shadow: 0 0 0 2px var(--color-primary);
}

.skip-link {
	z-index: 100000;
}
