/**
 * Element defaults and accessibility primitives.
 */

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
	margin: 0;
}

ul[class],
ol[class] {
	list-style: none;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--sk-font-body);
	font-size: var(--sk-text-md);
	line-height: 1.6;
	color: var(--sk-ink);
	background: var(--sk-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-family: var(--sk-font-display);
	line-height: 1.15;
	letter-spacing: -0.5px;
	color: var(--sk-ink);
	text-wrap: balance;
}

h1 { font-size: var(--sk-text-h1); }
h2 { font-size: var(--sk-text-h2); }
h3 { font-size: var(--sk-text-h3); }

h4 {
	font-family: var(--sk-font-body);
	font-size: var(--sk-text-base);
	font-weight: 800;
}

p {
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration: none;
}

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

address {
	font-style: normal;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	cursor: pointer;
}

/*
 * Focus. Never remove the indicator — :focus-visible keeps it off mouse clicks
 * while guaranteeing it for keyboard users (WCAG 2.4.7, 2.4.11).
 */
:focus-visible {
	outline: 3px solid var(--sk-focus);
	outline-offset: var(--sk-focus-offset);
	border-radius: 2px;
}

/* Screen-reader-only text that becomes visible when focused. */
.sk-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sk-skip-link {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--sk-sumi);
	color: #fff;
	font-weight: 700;
	transform: translateY(-120%);
	transition: transform var(--sk-transition);
}

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

/*
 * Respect a reduced-motion preference: keep state changes, drop the movement.
 */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
