.site-shell {
	min-height: 100vh;
	background:
		radial-gradient(circle at 16% 9%, rgba(36, 124, 255, 0.22), transparent 27rem),
		radial-gradient(circle at 86% 12%, rgba(140, 92, 255, 0.2), transparent 25rem),
		radial-gradient(circle at 52% 0%, rgba(41, 230, 255, 0.09), transparent 20rem),
		linear-gradient(180deg, rgba(6, 10, 22, 0.94) 0%, rgba(5, 7, 13, 0.96) 52%, rgba(9, 7, 22, 0.95) 100%);
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.top-bar {
	border-bottom: 1px solid var(--color-border);
	background: linear-gradient(90deg, rgba(5, 12, 30, 0.9), rgba(7, 8, 18, 0.9) 48%, rgba(21, 12, 40, 0.84));
	color: var(--color-muted);
	font-size: 0.85rem;
}

.top-bar__inner,
.top-bar__left,
.top-bar__right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.top-bar__inner {
	justify-content: space-between;
	min-height: 38px;
}

.top-bar span:first-child {
	color: var(--color-gold);
	font-weight: 800;
}

.top-bar span,
.top-bar a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}

.top-bar a:hover {
	color: var(--color-cyan);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	border-bottom: 1px solid rgba(41, 230, 255, 0.14);
	background:
		linear-gradient(90deg, rgba(9, 16, 38, 0.9), rgba(5, 7, 13, 0.88), rgba(20, 10, 42, 0.88)),
		rgba(5, 7, 13, 0.86);
	backdrop-filter: blur(20px);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 28px rgba(36, 124, 255, 0.12);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 82px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	flex: 0 0 auto;
	font-weight: 900;
	min-height: 54px;
	padding: 6px 10px 6px 6px;
	border: 1px solid rgba(41, 230, 255, 0.12);
	border-radius: 10px;
	background:
		linear-gradient(90deg, rgba(41, 230, 255, 0.07), rgba(140, 92, 255, 0.05), rgba(247, 215, 116, 0.045)),
		rgba(4, 7, 16, 0.34);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 24px rgba(41, 230, 255, 0.07);
}

.brand__mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(247, 215, 116, 0.72);
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 58% 42%, rgba(41, 230, 255, 0.48), transparent 46%),
		linear-gradient(135deg, rgba(0, 0, 0, 0.28), transparent),
		linear-gradient(135deg, #061432, #123d8f 45%, #7b45ff 70%, #f7d774);
	box-shadow: 0 0 24px rgba(41, 230, 255, 0.28), 0 0 20px rgba(247, 215, 116, 0.24);
	overflow: hidden;
}

.brand__mark::after {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 5px;
	background-image:
		linear-gradient(rgba(41, 230, 255, 0.18) 1px, transparent 1px),
		linear-gradient(90deg, rgba(41, 230, 255, 0.16) 1px, transparent 1px);
	background-size: 10px 10px;
	opacity: 0.42;
}

.brand__name {
	background: var(--gradient-brand-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 1.34rem;
	letter-spacing: 0.03em;
	text-shadow: 0 0 20px rgba(247, 215, 116, 0.2), 0 0 26px rgba(41, 230, 255, 0.12);
	white-space: nowrap;
}

.brand--image .custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.brand--image .custom-logo {
	display: block;
	width: auto;
	max-width: 138px;
	max-height: 46px;
	object-fit: contain;
	filter: drop-shadow(0 0 14px rgba(41, 230, 255, 0.22)) drop-shadow(0 0 10px rgba(247, 215, 116, 0.16));
}

.primary-nav {
	flex: 1 1 auto;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--color-muted);
	font-size: 0.92rem;
	font-weight: 700;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-nav a:hover {
	border-color: rgba(41, 230, 255, 0.24);
	background: linear-gradient(90deg, rgba(41, 230, 255, 0.08), rgba(247, 215, 116, 0.06));
	color: var(--color-text);
	box-shadow: 0 0 22px rgba(41, 230, 255, 0.1);
}

.header-actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(41, 230, 255, 0.32);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(41, 230, 255, 0.12), rgba(140, 92, 255, 0.12));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 5px auto;
	background: var(--color-text);
}

.home-section {
	padding: 86px 0;
	position: relative;
}

.section-heading {
	max-width: 680px;
	margin-bottom: 34px;
}

.section-heading--split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--color-cyan);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer {
	padding: 78px 0 96px;
	border-top: 1px solid rgba(41, 230, 255, 0.14);
	background:
		radial-gradient(circle at 18% 0%, rgba(36, 124, 255, 0.14), transparent 24rem),
		radial-gradient(circle at 85% 18%, rgba(140, 92, 255, 0.13), transparent 22rem),
		linear-gradient(180deg, #0a0d1a, #05070d);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 34px;
}

.footer-grid > div {
	padding-top: 6px;
}

.footer-grid h2 {
	font-size: 1rem;
	margin-bottom: 14px;
	color: #fff4d8;
}

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

.footer-grid li + li {
	margin-top: 9px;
}

.footer-grid a,
.footer-brand p {
	color: var(--color-muted);
}

.footer-grid a {
	display: inline-flex;
	padding: 2px 0;
}

.footer-grid a:hover {
	color: var(--color-cyan);
}

.footer-brand strong {
	color: var(--color-gold);
}

.footer-brand {
	position: relative;
	padding-left: 18px;
}

.footer-brand::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 8px;
	width: 2px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--color-cyan), var(--color-purple), var(--color-gold));
	box-shadow: 0 0 18px rgba(247, 215, 116, 0.18);
}

.brand--footer {
	margin-bottom: 18px;
	width: fit-content;
}

.footer-bottom {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
}

.generic-page {
	padding: 70px 0;
}

.content-frame,
.error-frame {
	padding: 34px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: rgba(17, 17, 20, 0.72);
	box-shadow: var(--shadow-card);
}
