/* Base — html defaults built on tokens */

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

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

body {
	margin: 0;
	color: var(--rk-color-ink);
	background: var(--rk-color-paper);
	font-family: var(--rk-font-sans);
	font-size: var(--rk-text-base);
	font-weight: var(--rk-weight-regular);
	line-height: var(--rk-leading-normal);
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--rk-color-accent);
}

button {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--rk-font-display);
	font-weight: var(--rk-weight-regular);
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
	margin: 0;
}

h1 {
	font-size: var(--rk-text-h1);
}

h2 {
	font-size: var(--rk-text-h2);
}

h3 {
	font-size: var(--rk-text-h3);
}

h4 {
	font-size: var(--rk-text-h4);
}

h5 {
	font-size: var(--rk-text-h5);
}

h6 {
	font-size: var(--rk-text-h5);
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

.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;
}

.skip-link:focus {
	position: fixed;
	top: var(--rk-space-2);
	left: var(--rk-space-2);
	z-index: 1000;
	width: auto;
	height: auto;
	padding: var(--rk-space-2) var(--rk-space-4);
	margin: 0;
	clip: auto;
	background: var(--rk-color-ink);
	color: var(--rk-color-on-dark);
	text-decoration: none;
}
