:root {
	--blue: #2e73b8;
	--green: #142eb2;
	--text: #333333;
	--line: #d9d9d9;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--text);
	background: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

a {
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

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

.wrapper {
	width: min(1170px, 100%);
	margin: 0 auto;
	padding: 0 15px;
}

.site-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 0;
	align-items: center;
}

.naming-area {
	flex: 1 1 75%;
	min-width: 0;
}

.company-logo {
	flex: 0 0 24%;
	display: flex;
	justify-content: flex-end;
}

.company-logo img {
	width: 71px;
}

.teaser {
	position: relative;
	min-height: 400px;
	margin-bottom: 26px;
	overflow: hidden;
	background: url('../images/teaser-bg.jpg') center 40% / cover no-repeat;
}

.hero-title {
	position: absolute;
	right: 20px;
	bottom: 30px;
	width: 360px;
	min-height: 124px;
}

.tag {
	position: absolute;
	right: 188px;
	bottom: 55px;
	z-index: 2;
	width: 170px;
	height: 30px;
	color: #ffffff;
	background: var(--green);
	transform: skewX(-20deg);
}

.tag span {
	display: block;
	padding-left: 14px;
	line-height: 30px;
	transform: skewX(20deg);
}

.hero-title h1 {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 300px;
	height: 60px;
	margin: 0;
	color: var(--text);
	background: #ffffff;
	font-size: 33px;
	font-weight: 500;
	line-height: 60px;
	text-align: center;
	text-transform: uppercase;
	transform: skewX(-20deg);
}

.hero-title h1 span {
	display: block;
	transform: skewX(20deg);
}

.content-grid {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
	gap: 0;
	margin-bottom: 30px;
}

.phone-media {
	padding-right: 15px;
}

.phone-media img {
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
}

.content-main {
	text-align: center;
}

.blue-ribbon {
	width: 100%;
	min-height: 80px;
	margin: 0;
	padding: 0 26px 0 70px;
	color: #ffffff;
	background: var(--blue);
	clip-path: polygon(7% 0, 100% 0, 97% 100%, 0 100%);
	font-size: 27px;
	font-weight: 400;
	line-height: 1.18;
	text-transform: uppercase;
}

.blue-ribbon span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
}

.infographic {
	width: min(612px, 100%);
	margin: 14px auto 10px;
}

.app-details {
	display: inline-block;
	max-width: 700px;
	text-align: center;
}

.app-details p {
	margin: 0 0 10px;
}

.store-links {
	display: inline-grid;
	grid-template-columns: repeat(2, 180px);
	gap: 14px;
	justify-content: center;
	width: min(386px, 100%);
	margin-top: 4px;
}

.store-links img {
	height: 64px;
	width: 100%;
	object-fit: contain;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 51px;
	margin-top: 20px;
	padding: 10px 0;
}

.language-selector {
	position: relative;
	flex: 0 0 auto;
}

.language-toggle {
	min-width: 45px;
	padding: 3px 8px;
	border: 1px solid #1f5d96;
	border-radius: 4px;
	color: #ffffff;
	background: var(--blue);
	font: inherit;
	cursor: pointer;
}

.language-menu {
	position: absolute;
	bottom: calc(100% + 4px);
	left: 0;
	z-index: 10;
	display: none;
	min-width: 45px;
	margin: 0;
	padding: 4px 0;
	border: 1px solid #b7c8d8;
	border-radius: 4px;
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
	list-style: none;
}

.language-selector.is-open .language-menu {
	display: block;
}

.language-menu button {
	display: block;
	width: 100%;
	padding: 4px 10px;
	border: 0;
	color: var(--text);
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-selected='true'] {
	color: #ffffff;
	background: var(--blue);
}

.site-footer nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.site-footer nav a {
	padding: 6px 10px;
}

.legal-page {
	min-height: 520px;
	padding: 0 0 20px;
}

.legal-page h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 500;
}

.subtitle {
	margin: 0 0 24px;
	font-size: 22px;
	text-transform: uppercase;
}

.legal-copy {
	max-width: 760px;
}

.legal-copy h1 {
	font-weight: bold;
}

.legal-copy p {
	margin: 0;
}

@media (max-width: 991px) {
	.wrapper {
		width: 100%;
		padding: 0;
	}

	.site-header,
	.content-grid,
	.site-footer,
	.legal-page {
		padding-right: 15px;
		padding-left: 15px;
	}

	.teaser {
		margin-right: 0;
		margin-left: 0;
	}

	.content-grid {
		grid-template-columns: 1fr;
	}

	.phone-media {
		padding-right: 0;
	}

	.phone-media img {
		max-width: 400px;
	}
}

@media (max-width: 550px) {
	.site-header {
		gap: 10px;
	}

	.company-logo {
		flex-basis: 30%;
	}

	.teaser {
		min-height: 400px;
		background-position: 20% 40%;
	}

	.hero-title {
		right: auto;
		left: 0;
		width: 100%;
	}

	.tag {
		left: 0;
		right: auto;
		width: 190px;
	}

	.hero-title h1 {
		left: 0;
		right: auto;
		width: 300px;
		transform-origin: left bottom;
	}

	.blue-ribbon {
		min-height: 80px;
		padding: 0 18px;
		clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
		font-size: 21px;
	}

	.store-links {
		grid-template-columns: 1fr;
		gap: 8px;
		width: min(220px, 100%);
	}

	.site-footer {
		align-items: flex-start;
	}
}
