:root {
	--ink: hsl(229, 38%, 15%);
	--ink-soft: hsl(229, 16%, 36%);
	--paper: hsl(229, 33%, 97%);
	--paper-deep: hsl(229, 30%, 92%);
	--line: hsl(229, 20%, 82%);
	--main: hsl(229, 57%, 36%);
	--main-dark: hsl(229, 45%, 20%);
	--main-pale: hsl(229, 40%, 88%);
	--accent: hsl(49, 57%, 52%);
	--accent-deep: hsl(49, 62%, 25%);
	--accent-pale: hsl(49, 50%, 90%);
	--head: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
	--side: 15.5rem;
	--slant: 3rem;
	--measure: 44rem;
}

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

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
}

h1,
h2,
h3 {
	font-family: var(--head);
	color: var(--main-dark);
	line-height: 1.15;
	margin: 0 0 0.6em;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.1rem);
	font-weight: 900;
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.55rem, 3.4vw, 2.1rem);
	font-weight: 700;
}

h3 {
	font-size: 1.15rem;
	font-weight: 700;
}

p,
ul,
ol,
dl {
	margin: 0 0 1em;
}

a {
	color: var(--main);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--accent-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

strong,
b {
	font-weight: 600;
}

svg {
	display: block;
}

.kicker {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--head);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.lead {
	font-size: 1.12rem;
	color: var(--ink);
}

.quiet {
	color: var(--ink-soft);
}
