:root {
	--color-background: #ffffff;
	--color-foreground: #151515;
	--color-muted: #5f6368;
	--color-border: #dfe3e8;
	--container: 1200px;
	--space-page: clamp(24px, 4vw, 64px);
}

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

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
}

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

a {
	color: inherit;
}

.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: 16px;
	left: 16px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--color-foreground);
	color: var(--color-background);
}

.site-header,
.site-footer,
.site-main {
	width: 100%;
}

.site-header__inner,
.site-footer__inner,
.page-section,
.content-loop,
.archive-header,
.page-content,
.single-content,
.not-found {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
}

.site-header__menu-toggle {
	display: none;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.page-section,
.content-loop,
.archive-header,
.page-content,
.single-content,
.not-found {
	padding-block: var(--space-page);
}

@media (max-width: 760px) {
	.site-header__inner,
	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-header__menu-toggle {
		display: inline-flex;
	}

	.site-header__nav[aria-hidden="true"] {
		display: none;
	}

	.menu {
		flex-direction: column;
	}
}
