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

body {
	margin: 0;
	background: var(--lg-pink-50);
	color: var(--lg-text);
	font-family: var(--lg-font-body);
	font-size: 1rem;
	line-height: 1.6;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

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

a {
	color: var(--lg-purple-700);
	text-underline-offset: 0.2em;
}

:focus-visible {
	outline: 3px solid var(--lg-purple-700);
	outline-offset: 4px;
}

h1,
h2,
h3 {
	font-family: var(--lg-font-heading);
	line-height: 1.2;
}

.lg-container {
	width: min(calc(100% - 32px), var(--lg-content-width));
	margin-inline: auto;
}

.lg-icon {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: middle;
}

.lg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.lg-skip-link {
	position: fixed;
	top: 8px;
	left: 16px;
	z-index: 10000;
	padding: 10px 20px;
	transform: translateY(-180%);
	border-radius: var(--lg-radius-pill);
	background: var(--lg-white);
	color: var(--lg-text);
}

.lg-skip-link:focus {
	transform: translateY(0);
}

.lg-main {
	padding-block: 32px;
	min-height: 45vh;
	overflow-wrap: anywhere;
}

.lg-content {
	margin-block-end: 32px;
}
