:root {
	--raft-black: #1a1a1a;
	--raft-bone: #faf8f4;
	--raft-gold: #ab8547;
	--raft-muted: #6f6a62;
	--raft-border: rgba(26, 26, 26, 0.16);
	--raft-max: 1180px;
	--raft-narrow: 820px;
	--raft-gutter: clamp(1.25rem, 4vw, 3rem);
	--raft-section: clamp(4rem, 9vw, 8rem);
	--raft-font-latin: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--raft-font-fa: Anjoman, Vazirmatn, Tahoma, sans-serif;
}

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

html {
	min-height: 100%;
	background: var(--raft-bone);
	color: var(--raft-black);
	font-family: var(--raft-font-latin);
	font-size: 100%;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

body {
	min-height: 100%;
	margin: 0;
	background: var(--raft-bone);
	color: var(--raft-black);
}

body:lang(fa),
body:lang(fa-IR) {
	font-family: var(--raft-font-fa);
}

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

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

a:hover {
	color: var(--raft-gold);
}

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

button {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--raft-gold);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
	margin-block-start: 0;
}

h1,
h2,
h3,
h4 {
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.04;
}

h1 {
	max-width: 11ch;
	margin-block-end: 1.5rem;
	font-size: clamp(3.25rem, 9vw, 8.75rem);
}

h2 {
	margin-block-end: 1rem;
	font-size: clamp(2rem, 4.5vw, 4.75rem);
}

h3 {
	margin-block-end: 0.75rem;
	font-size: clamp(1.375rem, 2.2vw, 2rem);
}

p {
	margin-block-end: 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	z-index: 20;
	padding: 0.75rem 1rem;
	background: var(--raft-black);
	color: var(--raft-bone);
	transform: translateY(-150%);
}

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

