@font-face {
	font-family: "Tektur";
	src: url("../fonts/tektur-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Tektur Fallback";
	src: local("Arial");
	size-adjust: 110.3%;
	ascent-override: 86%;
	descent-override: 22%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Onest Fallback";
	src: local("Arial");
	size-adjust: 105.2%;
	ascent-override: 96%;
	descent-override: 25%;
	line-gap-override: 0%;
}

:root {
	--gray-950: hsl(224 52% 6%);
	--gray-900: hsl(226 49% 10%);
	--gray-800: hsl(226 45% 15%);
	--gray-700: hsl(225 45% 24%);
	--gray-500: hsl(224 30% 46%);
	--gray-300: hsl(223 33% 70%);
	--gray-100: hsl(223 69% 95%);
	--accent-500: hsl(220 82% 65%);
	--accent-300: hsl(221 85% 79%);
	--signal-500: hsl(188 86% 53%);
	--signal-300: hsl(188 86% 70%);
	--glow-500: hsl(220 82% 65% / 0.22);
	--glow-600: hsl(232 70% 58% / 0.2);
	--line-500: hsl(225 45% 30%);
	--radius-200: 16px;
	--radius-300: 20px;
	--radius-400: 24px;
	--shadow-200: 0 1px 2px hsl(224 60% 3% / 0.5), 0 10px 24px -8px hsl(224 60% 3% / 0.7);
	--shadow-400: 0 2px 4px hsl(224 60% 3% / 0.55), 0 24px 48px -18px hsl(224 70% 2% / 0.85);
	--font-head: "Tektur", "Tektur Fallback", Arial, sans-serif;
	--font-body: "Onest", "Onest Fallback", Arial, sans-serif;
	--font-mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
	--space-100: 8px;
	--space-200: 16px;
	--space-300: 24px;
	--space-400: 40px;
	--space-500: 64px;
	--space-600: 96px;
	--space-700: 136px;
	--wrap-max: 1200px;
}

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

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

body {
	margin: 0;
	min-height: 100vh;

	background-color: var(--gray-900);
	color: var(--gray-100);

	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
}

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

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 var(--space-200);

	font-family: var(--font-head);
	font-weight: 500;
	line-height: 1.1;
}

h2 {
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

p,
ul,
ol,
dl,
figure,
blockquote,
table {
	margin: 0 0 var(--space-200);
}

ul,
ol {
	padding-left: 1.2em;
}

address {
	font-style: normal;
}

a {
	color: var(--accent-300);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
	color: var(--signal-300);
}

:focus-visible {
	outline: 2px solid var(--signal-500);
	outline-offset: 3px;
}

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

strong,
b {
	color: var(--gray-100);
	font-weight: 600;
}

.wrap {
	width: 100%;
	max-width: var(--wrap-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;

	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 300;
	padding: 12px 18px;

	background: var(--signal-500);
	color: var(--gray-950);

	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: var(--gray-950);
}

.label {
	display: inline-block;
	margin-bottom: var(--space-200);

	color: var(--accent-300);

	font-family: var(--font-head);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.sec-num {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: var(--space-300);

	color: var(--gray-300);

	font-family: var(--font-mono);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
}

.sec-num::after {
	content: "";
	flex: 1;
	border-top: 2px dashed var(--line-500);
}

.lead {
	max-width: 62ch;

	color: var(--gray-300);

	font-size: 1.15rem;
}

.waiting {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.waiting.landed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.waiting {
		transition: none;
	}
}
