:root {
	--bg: hsl(189, 44%, 7%);
	--bgRaise: hsl(189, 40%, 10%);
	--surface: hsl(189, 36%, 13%);
	--surfaceHigh: hsl(189, 32%, 17%);
	--line: hsl(189, 30%, 24%);
	--text: hsl(189, 22%, 91%);
	--textSoft: hsl(189, 14%, 73%);
	--base: hsl(189, 44%, 55%);
	--baseDeep: hsl(189, 44%, 34%);
	--accent: hsl(219, 72%, 74%);
	--accentDeep: hsl(219, 48%, 14%);
	--paper: hsl(189, 30%, 93%);
	--ink: hsl(189, 44%, 11%);
	--inkSoft: hsl(189, 22%, 28%);
	--radius: 14px;
	--radiusSmall: 10px;
	--headFont: "Libre Franklin", Arial, Helvetica, sans-serif;
	--bodyFont: "Manrope", Arial, Helvetica, sans-serif;
	--wrap: 1120px;
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--bodyFont);
	font-size: 1rem;
	line-height: 1.65;
}

h1,
h2,
h3,
h4 {
	font-family: var(--headFont);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--text);
}

h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.5rem, 3.4vw, 2.1rem);
}

h3 {
	font-size: 1.15rem;
	font-weight: 600;
}

p {
	margin: 0 0 1em;
}

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

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

a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

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

address {
	font-style: normal;
}

.pageWrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 22px;
}

.skipLink {
	position: absolute;
	left: -999px;
	top: 8px;
	background: var(--accent);
	color: var(--accentDeep);
	padding: 8px 14px;
	border-radius: var(--radiusSmall);
	z-index: 20;
}

.skipLink:focus {
	left: 12px;
}

.topBar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: hsla(189, 44%, 7%, 0.94);
	border-bottom: 1px solid var(--line);
}

.topBarInner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 74px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.brandMark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
}

.brandMark:hover,
.brandMark:focus-visible {
	color: var(--text);
}

.brandSymbol {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
}

.brandText {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brandTop {
	font-family: var(--headFont);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text);
}

.brandBottom {
	font-family: var(--bodyFont);
	font-weight: 500;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--base);
}

.mainNav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px 6px;
}

.mainNav a {
	color: var(--textSoft);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	padding: 7px 13px;
	border-radius: var(--radiusSmall);
}

.mainNav a:hover,
.mainNav a:focus-visible {
	color: var(--text);
	background: var(--surface);
}

.mainNav .navCurrent {
	color: var(--accent);
	background: var(--surface);
}

.siteFoot {
	margin-top: 40px;
	background: var(--bgRaise);
	border-top: 1px solid var(--line);
	padding: 52px 0 36px;
	text-align: center;
	color: var(--textSoft);
}

.footInner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.footSymbol {
	width: 46px;
	height: 46px;
}

.footName {
	font-family: var(--headFont);
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--text);
	margin: 0;
}

.footAddress {
	color: var(--textSoft);
	line-height: 1.6;
}

.footContacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footContacts a {
	color: var(--accent);
	word-break: break-word;
}

.footNav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	width: 100%;
	max-width: 560px;
}

.footNav a {
	color: var(--textSoft);
	font-size: 0.92rem;
}

.footNav a:hover,
.footNav a:focus-visible {
	color: var(--text);
}

.footCopy {
	margin: 0;
	font-size: 0.85rem;
	color: var(--textSoft);
}

@media (max-width: 720px) {
	.topBar {
		position: static;
	}

	.topBarInner {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.mainNav {
		justify-content: flex-start;
		margin-left: -13px;
	}

	.mainNav a {
		padding: 6px 11px;
		font-size: 0.9rem;
	}
}

@media (max-width: 400px) {
	.pageWrap {
		padding: 0 16px;
	}

	.brandTop {
		font-size: 0.95rem;
	}

	.brandBottom {
		font-size: 0.7rem;
	}
}
