/**
 * Theme-wide typography and accessible primitives.
 */

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	background: var(--tw-bg);
	color: var(--tw-color-text);
	font-family: var(--tw-font-sans);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: var(--tw-font-sans);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--tw-link);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--tw-link-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block: 0 0.65em;
	color: var(--tw-color-graphite);
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.35rem, 5vw, 4.75rem);
}

h2 {
	font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
	font-size: clamp(1.35rem, 2vw, 2rem);
}

p,
ul,
ol,
blockquote {
	margin-block: 0 1.25em;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--tw-color-focus);
	outline-offset: 3px;
}

::selection {
	background: var(--tw-color-red);
	color: var(--tw-color-white);
}

.tw-container {
	width: min(100% - (2 * var(--tw-gutter)), var(--tw-container));
	margin-inline: auto;
}

.tw-site-main {
	min-height: 52vh;
}

.tw-content-shell {
	padding-block: clamp(2rem, 6vw, 5rem);
}

.tw-button,
button.tw-button,
input[type="submit"] {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--tw-color-red);
	border-radius: var(--tw-radius-sm);
	background: var(--tw-color-red);
	color: var(--tw-color-white);
	font-size: 0.925rem;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--tw-transition), border-color var(--tw-transition), transform var(--tw-transition);
}

.tw-button:hover,
button.tw-button:hover,
input[type="submit"]:hover {
	border-color: var(--tw-color-red-dark);
	background: var(--tw-color-red-dark);
	color: var(--tw-color-white);
	transform: translateY(-1px);
}

.screen-reader-text {
	position: absolute !important;
	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 {
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	border-radius: var(--tw-radius-sm);
	background: var(--tw-color-white);
	color: var(--tw-color-graphite);
	box-shadow: var(--tw-shadow-lg);
	white-space: normal;
}

.tw-skip-link:focus {
	position: fixed !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
