:root {
	--violet: #5924a8;
	--violet-deep: #35136a;
	--violet-pale: #ede6f8;
	--accent: #2938c2;
	--accent-bright: #aab3ff;
	--accent-pale: #e3e6fb;
	--paper: #f7f5fc;
	--white: #ffffff;
	--ink: #100c18;
	--ink-soft: #3d3650;
	--rule: rgba(89, 36, 168, 0.11);
	--night: #120d1b;
	--night-line: rgba(236, 232, 245, 0.14);
	--night-text: #f1edf9;
	--night-muted: #c3bad4;
	--heading: "Mulish", "Segoe UI", Arial, sans-serif;
	--body: "Libre Franklin", "Segoe UI", Arial, sans-serif;
}

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

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

body {
	margin: 0;
	min-width: 320px;
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background-color: var(--paper);
	background-image:
		linear-gradient(to right, var(--rule) 1px, transparent 1px),
		linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
	background-size: 56px 56px;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	font-family: var(--heading);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

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

a:hover {
	color: var(--violet);
}

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

.shell {
	width: min(1160px, 100% - 2.5rem);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	top: 0;
	left: -999px;
	z-index: 20;
	padding: 0.5rem 1rem;
	background: var(--ink);
	color: var(--white);
}

.skip-link:focus {
	left: 1rem;
	color: var(--white);
}

.top-bar {
	position: relative;
	z-index: 5;
	background: var(--white);
	color: var(--ink);
	border-bottom: 2px solid var(--ink);
}

.top-bar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 4px;
	background: linear-gradient(90deg, var(--violet) 0 62%, var(--accent) 62% 100%);
}

.top-bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	min-height: 78px;
	padding-block: 0.75rem;
}

.brand-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-right: auto;
	color: var(--ink);
	text-decoration: none;
}

.brand-link:hover {
	color: var(--ink);
}

.brand-mark {
	flex: none;
	width: 44px;
	height: 44px;
}

.brand-name {
	display: flex;
	flex-direction: column;
	font-family: var(--heading);
	font-size: 0.82rem;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.brand-name-sub {
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--violet);
}

.main-nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav-list a {
	display: inline-block;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	font-family: var(--heading);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

.main-nav-list a:hover {
	border-bottom-color: var(--accent);
	color: var(--ink);
}

.main-nav-list a[aria-current=page] {
	border-bottom-color: var(--violet);
	color: var(--violet);
}

.lang-switch {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.25rem 0.45rem;
	border: 1.5px solid var(--ink);
	font-family: var(--heading);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	background: var(--white);
}

.lang-link {
	padding: 0.05rem 0.35rem;
	color: var(--ink-soft);
	text-decoration: none;
}

.lang-link:hover {
	color: var(--accent);
}

.lang-link.is-current {
	background: var(--ink);
	color: var(--white);
}

.lang-dot {
	color: var(--violet);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	font-family: var(--heading);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--violet);
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}

.action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.action-solid,
.action-line {
	display: inline-block;
	padding: 0.8rem 1.3rem;
	border: 2px solid var(--ink);
	font-family: var(--heading);
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.action-solid {
	background: var(--ink);
	color: var(--white);
}

.action-solid:hover {
	background: var(--violet);
	border-color: var(--violet);
	color: var(--white);
}

.action-line {
	background: transparent;
	color: var(--ink);
}

.action-line:hover {
	background: var(--ink);
	color: var(--white);
}

.site-footer {
	margin-top: 6rem;
	padding-top: 3.5rem;
	border-top: 4px solid var(--violet);
	background-color: var(--night);
	background-image: linear-gradient(to right, rgba(236, 232, 245, 0.05) 1px, transparent 1px);
	background-size: 56px 100%;
	color: var(--night-text);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.3fr 0.9fr;
	gap: 2rem 2.5rem;
	padding-bottom: 2.5rem;
}

.footer-mark {
	width: 48px;
	height: 48px;
}

.footer-company {
	margin: 1rem 0 0.4rem;
	font-family: var(--heading);
	font-size: 1.05rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	color: var(--white);
}

.footer-note {
	font-size: 0.95rem;
	color: var(--night-muted);
}

.footer-label {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--heading);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent-bright);
}

.footer-address {
	font-style: normal;
	color: var(--night-text);
}

.footer-contact a,
.footer-links a {
	display: inline-block;
	margin-bottom: 0.35rem;
	color: var(--night-text);
	overflow-wrap: anywhere;
}

.footer-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a:hover {
	color: var(--accent-bright);
}

.footer-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px solid var(--night-line);
	font-size: 0.875rem;
	color: var(--night-muted);
}

.footer-base p {
	margin: 0;
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 1rem;
		background-size: 40px 40px;
	}

	.top-bar-inner {
		gap: 0.6rem 1rem;
	}

	.lang-switch {
		order: 2;
	}

	.main-nav {
		order: 3;
		width: 100%;
		padding-top: 0.5rem;
		border-top: 1px solid var(--rule);
	}

	.main-nav-list {
		gap: 0.15rem 1.25rem;
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.brand-name {
		font-size: 0.74rem;
	}

	.brand-mark {
		width: 38px;
		height: 38px;
	}
}
