*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ts-cream);
	color: var(--ts-ink);
	font-family: var(--ts-font-body);
	font-size: 16px;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}

.ts-skip {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 100000;
	padding: 8px 14px;
	background: var(--ts-button);
	color: var(--ts-white);
	text-decoration: none;
}

.ts-skip:focus {
	top: 12px;
}

:focus-visible {
	outline: 2px solid var(--ts-button);
	outline-offset: 3px;
}

.ts-main {
	min-height: 40vh;
}

.ts-fallback {
	max-width: var(--ts-content);
	margin: 48px auto;
	padding: 0 var(--ts-space);
	font-family: var(--ts-font-display);
	font-size: 1.4rem;
}

.ts-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
