@font-face {
	font-family: "Inter";
	src: url("/static/pages/Inter-Regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Inter";
	src: url("/static/pages/Inter-Bold.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "SonsCondensedExtrabold";
	src: url("/static/pages/SonsCondensed-Extrabold.otf") format("opentype");
	font-weight: 800;
	font-style: normal;
}

:root {
	--page-background: linear-gradient(
		135deg,
		#0a6f71 0%,
		#005e60 55%,
		#004547 100%
	);
	--panel-background: linear-gradient(
		140deg,
		#0b4f50 0%,
		#09393a 100%
	);
	--panel-border: rgba(255, 255, 255, 0.16);
	--accent: #c8ff08;
	--accent-hover: #ec642b;
	--text-main: #ffffff;
	--text-muted: rgba(255, 255, 255, 0.72);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	background: #ffffff;
	color: #102728;
	font-family: "Inter", Arial, sans-serif;
}

body.mobile-menu-open {
	overflow: hidden;
}

button,
input,
select,
textarea {
	font: inherit;
}

.page-shell {
	position: relative;
	width: 1145px;
	max-width: calc(100% - 32px);
	margin: 16px 0;
	padding: 48px 28px;
	overflow: hidden;
	background: var(--page-background);
	border-radius: 28px;
}

.page-content {
	width: 100%;
}

.page-footer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 32px;
}

.footer-menu-btn {
	background: var(--accent-hover);
	color: #001f20;
	border-color: var(--accent-hover);
}

.footer-menu-btn:hover {
	background: var(--accent);
	color: #001f20;
	border-color: var(--accent);
}

#fdd_info_btn {
	position: absolute;
	top: 50%;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(93, 217, 219, 0.3);
	border-radius: 50%;
	background: #0d5255;
	color: #5dd9db;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	opacity: 0.85;
	transform: translateY(-50%);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease,
		transform 0.2s ease,
		border-color 0.2s ease;
}

#fdd_info_btn:hover {
	background: #014a4c;
	border-color: rgba(125, 229, 231, 0.6);
	color: #7de5e7;
	opacity: 1;
	transform: translateY(-50%) scale(1.12);
}

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

.menu-content {
	position: absolute;
	top: 24px;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	padding: 0 24px;
}

.menu-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.menu-left,
.menu-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.menu-left {
	justify-content: flex-start;
}

.menu-right {
	justify-content: flex-end;
}

.menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	margin: 0;
	padding: 0 30px;
	border: none;
	border-radius: 999px;
	background: #ffffff;
	color: #000000;
	font-family: "SonsCondensedExtrabold", Arial, sans-serif;
	font-size: 1.38rem;
	font-weight: 800;
	line-height: normal;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.menu-btn:hover {
	background: var(--accent-hover);
	color: #000000;
	transform: translateY(-2px) scale(1.02);
}

.menu-btn:focus-visible,
.menu-toggle:focus-visible,
.mobile-menu-close:focus-visible,
.mobile-menu-dismiss:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.menu-btn[hidden] {
	display: none !important;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 48px;
	height: 46px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.menu-toggle:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
}

.menu-toggle span {
	display: block;
	width: 23px;
	height: 3px;
	background: #000000;
	border-radius: 999px;
}

.mobile-menu-header,
.mobile-menu-dismiss {
	display: none;
}

.menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 900;
	display: none;
	margin: 0;
	padding: 0;
	border: none;
	background: rgba(0, 20, 21, 0.68);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	cursor: pointer;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

.hero-panel {
	position: relative;
	margin-top: 80px;
	padding: 34px 34px 28px;
	overflow: hidden;
	background: var(--panel-background);
	border: 1px solid var(--panel-border);
	border-radius: 28px;
	box-shadow: 0 18px 42px rgba(7, 36, 37, 0.22);
}

.page-title {
	margin: 0;
	color: var(--text-main);
	font-family: "SonsCondensedExtrabold", Arial, sans-serif;
	font-size: clamp(2.4rem, 5.5vw, 4.6rem);
	line-height: 0.94;
	letter-spacing: 0.04em;
}

.page-title-accent {
	color: var(--accent);
}

.page-subtitle {
	max-width: 820px;
	margin: 14px 0 0;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.flow-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.secondary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 28px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--text-main);
	font-family: "SonsCondensedExtrabold", Arial, sans-serif;
	font-size: 1.1rem;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.secondary-btn:hover {
	background: var(--accent-hover);
	color: #000000;
	transform: translateY(-1px);
}

@media (max-width: 900px) {
	.page-shell {
		max-width: calc(100% - 16px);
		margin: 8px 0;
		padding: 24px 16px 36px;
		border-radius: 18px;
	}

	.page-footer {
		margin-top: 24px;
	}

	.menu-content {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		z-index: auto;
		justify-content: flex-end;
		padding: 0;
	}

	.menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
	}

	.menu-navigation {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 12px;
		width: min(360px, calc(100% - 32px));
		height: 100dvh;
		padding: 22px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: linear-gradient(
			160deg,
			#0b4f50 0%,
			#062f30 100%
		);
		border-left: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow: -12px 0 35px rgba(0, 0, 0, 0.38);
		transform: translateX(105%);
		visibility: hidden;
		pointer-events: none;
		transition:
			transform 0.28s ease,
			visibility 0.28s ease;
	}

	body.menu-breakpoint-changing .menu-navigation {
		transition: none;
	}

	.menu-left,
	.menu-right {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		width: 100%;
	}

	.menu-left:empty,
	.menu-right:empty {
		display: none;
	}

	.menu-navigation .menu-btn {
		width: 100%;
		height: auto;
		min-height: 50px;
		padding: 11px 20px;
		text-align: center;
	}

	.mobile-menu-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		margin-bottom: 8px;
		padding-bottom: 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}

	.mobile-menu-title {
		color: var(--text-main);
		font-family: "SonsCondensedExtrabold", Arial, sans-serif;
		font-size: 2rem;
		letter-spacing: 0.04em;
	}

	.mobile-menu-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.14);
		color: var(--text-main);
		font-size: 2rem;
		line-height: 1;
		cursor: pointer;
		transition:
			background 0.2s ease,
			color 0.2s ease;
	}

	.mobile-menu-close:hover {
		background: var(--accent-hover);
		color: #000000;
	}

	.mobile-menu-dismiss {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 48px;
		margin-top: auto;
		padding: 10px 20px;
		border: 2px solid rgba(255, 255, 255, 0.34);
		border-radius: 999px;
		background: transparent;
		color: var(--text-main);
		font-family: "SonsCondensedExtrabold", Arial, sans-serif;
		font-size: 1.12rem;
		cursor: pointer;
		transition:
			background 0.2s ease,
			border-color 0.2s ease,
			color 0.2s ease;
	}

	.mobile-menu-dismiss:hover {
		background: var(--accent-hover);
		border-color: var(--accent-hover);
		color: #000000;
	}

	.menu-backdrop {
		display: block;
	}

	body.mobile-menu-open .menu-navigation {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	body.mobile-menu-open .menu-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.hero-panel {
		margin-top: 24px;
		padding: 24px 18px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.menu-btn,
	.menu-toggle,
	.menu-navigation,
	.menu-backdrop,
	.mobile-menu-close,
	.mobile-menu-dismiss,
	#fdd_info_btn {
		transition: none;
	}
}