:root {
	--op21-primary: #2b2f36;
	--op21-primary-dark: #1d2026;
	--op21-accent: #c71928;
	--op21-text-light: #e5e7eb;
	--op21-text-dark: #0f1114;
	--op21-hero-overlay: 0.55;
	--hero-bg-image: none;
}

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

body.site {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--op21-text-light);
	background: #1a1d22;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.op21-container {
	width: min(1200px, 94vw);
	margin: 0 auto;
}

.wrapper-fluid .op21-container {
	width: min(1520px, 96vw);
}

.op21-header {
	background: #1f2227;
	color: var(--op21-text-light);
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.op21-topbar {
	font-size: 0.875rem;
	padding: 0.35rem 0;
	background: rgba(0, 0, 0, 0.2);
}

.op21-nav-wrap {
	padding: 0.85rem 0;
}

.op21-nav-grid {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
}

.op21-nav-menu .mod-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.op21-nav-menu .mod-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.75rem;
	color: var(--op21-text-light);
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	border-radius: 0.25rem;
	transition: background-color 0.2s ease;
}

.op21-nav-menu .mod-menu > li > a:hover,
.op21-nav-menu .mod-menu > li.active > a {
	background: rgba(255, 255, 255, 0.1);
}

.op21-nav-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.op21-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.op21-logo-image {
	display: block;
	max-height: 56px;
	width: auto;
}

.op21-logo-title {
	color: var(--op21-text-light);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.op21-register-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--op21-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: 0.58rem 1.15rem;
	border-radius: 0.3rem;
	border: 1px solid transparent;
	transition: background-color 0.2s ease;
}

.op21-register-btn:hover {
	background: #a80f1e;
	color: #fff;
}

.op21-hero {
	position: relative;
	padding: 5.5rem 0 4rem;
	background-image: var(--hero-bg-image);
	background-size: cover;
	background-position: center center;
	color: var(--op21-text-light);
}

.op21-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 29, 34, var(--op21-hero-overlay));
}

.op21-hero-content {
	position: relative;
	z-index: 1;
}

.op21-hero-copy {
	max-width: 900px;
	margin: 0 auto 2rem;
	text-align: center;
}

.op21-hero-copy h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3.25vw, 2.45rem);
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: none;
}

.op21-hero-copy p {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.3rem);
	line-height: 1.55;
	color: rgba(229, 231, 235, 0.9);
}

.op21-hero-selector {
	max-width: 1120px;
	margin: 0 auto;
	background: rgba(37, 40, 46, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.5rem;
	padding: 1.35rem;
}

.op21-main {
	padding: 1.6rem 0;
	flex: 1 0 auto;
}

.op21-component {
	background: #25282e;
	color: var(--op21-text-light);
	padding: 1.4rem;
	border-radius: 0.5rem;
}

.op21-footer {
	background: var(--op21-primary-dark);
	color: var(--op21-text-light);
	padding: 2.5rem 0;
}

.op21-footer a {
	color: var(--op21-text-light);
	text-decoration: none;
}

.op21-footer a:hover {
	text-decoration: underline;
}

.op21-footer__contact {
	display: grid;
	gap: 0.45rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.op21-footer__heading {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.op21-footer__contact-content {
	display: grid;
	gap: 0.4rem;
	font-size: 0.96rem;
	color: rgba(229, 231, 235, 0.92);
}

.op21-footer__contact-content p {
	margin: 0;
}

.op21-footer__legal {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(229, 231, 235, 0.8);
	line-height: 1.5;
}

.op21-component-only {
	width: min(1024px, 94vw);
	margin: 2rem auto;
	background: #25282e;
	border-radius: 0.5rem;
	padding: 1.25rem;
	color: var(--op21-text-light);
}

.op21-error-page,
.op21-offline {
	min-height: 100vh;
	display: grid;
	place-items: center;
	margin: 0;
	background: var(--op21-primary-dark);
	color: var(--op21-text-light);
	padding: 1.5rem;
}

.op21-error-wrap,
.op21-offline-card {
	width: min(680px, 96vw);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.6rem;
	padding: 1.5rem;
}

.op21-error-wrap a {
	color: #fff;
}

@media (max-width: 992px) {
	.op21-nav-grid {
		grid-template-columns: 1fr;
		gap: 0.7rem;
	}

	.op21-nav-left,
	.op21-nav-right {
		justify-content: center;
	}

	.op21-nav-right {
		justify-content: center;
		flex-wrap: wrap;
	}

	.op21-nav-menu .mod-menu {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.op21-container {
		width: min(1200px, 98vw);
	}

	.op21-main {
		padding: 0.85rem 0;
	}

	.op21-component {
		padding: 0.8rem;
	}

	.op21-hero {
		padding: 4.5rem 0 3rem;
	}

	.op21-hero-selector {
		padding: 1rem;
	}

	.op21-register-btn {
		width: 100%;
	}

	.op21-footer__contact,
	.op21-footer__legal {
		text-align: center;
	}
}
