/*
 * Design-neutral foundation. Figma tokens will replace or extend these values.
 */

:root {
	--lp-font-family-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--lp-color-background: Canvas;
	--lp-color-text: CanvasText;
	--lp-color-border: ButtonBorder;
	--lp-container-width: 75rem;
	--lp-gutter: clamp(1rem, 4vw, 2rem);
	--lp-space-1: 0.5rem;
	--lp-space-2: 1rem;
	--lp-space-3: 1.5rem;
	--lp-space-4: 3rem;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	background: var(--lp-color-background);
	color: var(--lp-color-text);
	font-family: var(--lp-font-family-sans);
	font-size: 1rem;
	line-height: 1.5;
}

:where(h1, h2, h3, p, ul, ol) {
	margin-block-start: 0;
}

:where(img, picture, video, canvas, svg) {
	display: block;
	max-inline-size: 100%;
	height: auto;
}

:where(button, input, select, textarea) {
	font: inherit;
}

a {
	color: LinkText;
}

:focus-visible {
	outline: 0.1875rem solid currentColor;
	outline-offset: 0.1875rem;
}

.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 {
	z-index: 100000;
	top: var(--lp-space-2);
	left: var(--lp-space-2);
	width: auto;
	height: auto;
	padding: var(--lp-space-1) var(--lp-space-2);
	clip: auto;
	background: var(--lp-color-background);
	color: var(--lp-color-text);
	white-space: normal;
}
