:root {
	--rare-blue: #003FAA;
	--rare-text: #3F3F3F;
	--rare-white: #FFFFFF;
	--rare-light-grey: #F5F5F5;
	--page-width: 1440px;
	--page-gutter: 24px;
	--section-space: 40px;
	--copy-width: 720px;
	--statement-width: 900px;
	--rule: 1px solid var(--rare-light-grey);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Figtree", sans-serif;
	font-size: clamp(1.05rem, 1.25vw, 1.25rem);
	font-weight: 300;
	line-height: 1.6;
	color: var(--rare-text);
	background: var(--rare-white);
}

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

a {
	color: var(--rare-blue);
	text-decoration: none;
	transition: border-color 180ms ease, color 180ms ease;
}

a:focus-visible {
	outline: 2px solid var(--rare-blue);
	outline-offset: 4px;
}

h1,
h2,
h3,
p {
	margin: 0;
}

h1 {
	font-size: clamp(3.4rem, 8vw, 7.5rem);
	font-weight: 300;
	line-height: 0.92;
	letter-spacing: -0.045em;
	color: var(--rare-blue);
}

h2 {
	font-size: clamp(2.3rem, 4vw, 4.5rem);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--rare-blue);
}

h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.7rem);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--rare-blue);
}

.site-header {
	padding: 24px var(--page-gutter) 0;
}

.site-header__inner,
.section__inner,
.site-footer__inner {
	max-width: var(--page-width);
	margin: 0 auto;
	width: 100%;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
}

.site-header__brand {
	display: inline-flex;
	align-items: center;
	border-bottom: 1px solid transparent;
}

.site-header__mark {
	width: 28px;
	height: auto;
}

.site-header__contact,
.contact-block__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	width: fit-content;
	border-bottom: 1px solid currentColor;
	padding-bottom: 4px;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.4;
}

.site-header__contact:hover,
.site-header__contact:focus-visible,
.contact-block__link:hover,
.contact-block__link:focus-visible,
.site-header__brand:hover,
.site-header__brand:focus-visible {
	border-color: var(--rare-blue);
}

.hero,
.section,
.site-footer {
	padding-right: var(--page-gutter);
	padding-left: var(--page-gutter);
}

.section {
	padding-top: calc(var(--section-space) / 2);
	padding-bottom: calc(var(--section-space) / 2);
}

.hero {
	min-height: auto;
	padding-top: 72px;
	padding-bottom: calc(var(--section-space) / 2);
	display: flex;
	align-items: center;
}

.hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.hero__logo {
	width: 64px;
	height: auto;
	margin-bottom: 8px;
}

.hero__positioning {
	max-width: var(--statement-width);
	font-size: clamp(1.8rem, 4vw, 4rem);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.hero__principle {
	max-width: var(--copy-width);
	color: var(--rare-blue);
	font-size: clamp(1.1rem, 1.6vw, 1.4rem);
	line-height: 1.45;
}

.section__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.copy {
	max-width: var(--copy-width);
}

.copy--wide {
	max-width: var(--statement-width);
}

.section__copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dimensions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

.dimension {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 20px;
}

.dimension p {
	max-width: none;
}

.section--contact {
	padding-top: calc(var(--section-space) * 2.75);
}

.section--contact .section__copy {
	gap: 8px;
}

.contact-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 8px;
}

.contact-block__name {
	font-size: clamp(1.2rem, 1.7vw, 1.5rem);
	line-height: 1.35;
	color: var(--rare-text);
}

.site-footer {
	padding-top: 28px;
	padding-bottom: 36px;
	border-top: var(--rule);
}

.site-footer__inner {
	font-size: 0.95rem;
	color: var(--rare-text);
	text-align: center;
}

.site-footer__inner p {
	display: inline-block;
	max-width: 100%;
	text-align: center;
}

@media (min-width: 768px) {
	:root {
		--page-gutter: 8vw;
		--section-space: 72px;
	}

	.site-header {
		padding-top: 28px;
	}

	.site-header__mark {
		width: 32px;
	}

	.hero {
		min-height: calc(100svh - 84px);
		padding-top: 84px;
	}

	.hero__inner {
		gap: 28px;
	}

	.hero__logo {
		width: 84px;
	}

	.section__inner {
		gap: 40px;
	}

	.dimensions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.dimension p {
		max-width: 26ch;
	}

	.contact-block {
		gap: 18px;
	}
}

	@media (min-width: 981px) {
	:root {
		--page-gutter: 8vw;
		--section-space: 72px;
	}

	.hero {
		min-height: calc(100svh - 84px);
		padding-top: 84px;
	}

	.dimensions {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
