/* ==== FONTS ==== */
@font-face {
	font-display: swap;
	font-family: "Arvo";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/arvo-400.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Arvo";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/arvo-700.woff2") format("woff2");
}

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

@font-face {
	font-display: swap;
	font-family: "Hind";
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/hind-500.woff2") format("woff2");
}

@font-face {
	ascent-override: 90%;
	descent-override: 24%;
	font-family: "Arvo Fallback";
	size-adjust: 108.2%;
	src: local("Georgia");
}

@font-face {
	ascent-override: 112%;
	descent-override: 54%;
	font-family: "Hind Fallback";
	size-adjust: 95.4%;
	src: local("Arial");
}


/* ==== TOKENS ==== */
:root {
	--a1: #7A3E2B;
	--a2: #BF3B0B;
	--a3: #A3320A;
	--a4: #E3A58E;
	--a5: #BF3B0B47;
	--d1: #1B1C21;
	--d2: #26272E;
	--f1: "Arvo", "Arvo Fallback", Georgia, serif;
	--f2: "Hind", "Hind Fallback", Arial, sans-serif;
	--g1: #FAFAFC;
	--g2: #EFF0F4;
	--g3: #D5D8E0;
	--h1: 30px;
	--o1: 30px;
	--r1: 0;
	--r2: 18px;
	--r3: 28px;
	--s1: 8px;
	--s2: 16px;
	--s3: 24px;
	--s4: 40px;
	--s5: 64px;
	--s6: 112px;
	--sh1: 0 1px 2px #1B1C2114, 0 14px 30px -12px #1B1C2140;
	--t1: #1B1C21;
	--t2: #5C5F6A;
	--w1: 1180px;
}


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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 140px;
}

html [hidden] {
	display: none;
}

body {
	background: var(--g1);
	color: var(--t1);
	font-family: var(--f2);
	font-size: 1.0625rem;
	line-height: 1.62;
	margin: 0;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--f1);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.14;
	margin: 0 0 var(--s2);
}

h2 {
	font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
}

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

p,
ul,
ol {
	margin: 0 0 var(--s2);
}

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

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

:focus-visible {
	outline: 3px solid var(--a2);
	outline-offset: 3px;
}

address {
	font-style: normal;
}

table {
	border-collapse: collapse;
	width: 100%;
}

button,
input,
textarea {
	font: inherit;
}


/* ==== HELPERS ==== */
.wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--w1);
	padding-left: 20px;
	padding-right: 20px;
}

.sr-only {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.skip-link {
	background: var(--d1);
	color: var(--g1);
	left: 16px;
	padding: 12px 18px;
	position: absolute;
	top: -100px;
	z-index: 60;
}

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

.label {
	color: var(--a1);
	display: block;
	font-family: var(--f2);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	margin-bottom: var(--s2);
	text-transform: uppercase;
}

.mark-line {
	background: linear-gradient(transparent 62%, var(--a5) 62%, var(--a5) 92%, transparent 92%);
	padding: 0 0.06em;
}

.lead {
	color: var(--t2);
	font-size: 1.2rem;
	max-width: 62ch;
}

.note {
	color: var(--t2);
	font-size: 0.92rem;
	margin-top: calc(var(--o1) + 20px);
}
