:root {
	--bg-0: #0b0a10;
	--bg-1: #151426;
	--surface: rgba(24, 22, 42, 0.82);
	--surface-strong: rgba(18, 16, 32, 0.94);
	--text: #eef0f6;
	--muted: rgba(198, 204, 216, 0.88);
	--border: rgba(160, 150, 220, 0.16);
	--violet: #9f2aff;
	--violet-2: #6c4cff;
	--cyan: #21e4ff;
	--pink: #ff3cac;
	--radius-lg: 24px;
	--radius-md: 16px;
	--shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.48);
	--shadow-md: 0 18px 48px rgba(0, 0, 0, 0.34);
	--ring: 0 0 0 3px rgba(108, 76, 255, 0.32);
}

* { box-sizing: border-box; }

html {
	color-scheme: dark;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background:
		radial-gradient(900px 520px at 18% -10%, rgba(111, 66, 255, 0.22) 0%, transparent 58%),
		radial-gradient(1200px 720px at 78% -10%, rgba(33, 228, 255, 0.16) 0%, transparent 62%),
		radial-gradient(980px 560px at 64% 120%, rgba(255, 60, 172, 0.10) 0%, transparent 60%),
		linear-gradient(180deg, rgba(20, 18, 36, 0.72), rgba(11, 10, 16, 0.98)),
		var(--bg-0);
	min-height: 100vh;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 10px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 12px);
	opacity: 0.22;
	mix-blend-mode: overlay;
}

a {
	color: inherit;
}

.page-shell {
	position: relative;
	z-index: 1;
}

.page-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(8px);
	background: linear-gradient(180deg, rgba(12, 12, 20, 0.86), rgba(12, 12, 20, 0.55));
	border-bottom: 1px solid var(--border);
}

.header-inner,
.page-main,
.page-footer {
	max-width: 1120px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.brand img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	filter: invert(1) brightness(1.1) contrast(1.05) saturate(1.12) drop-shadow(0 0 14px rgba(108, 76, 255, 0.38));
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.header-nav a,
.hero-actions a,
.doc-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(108, 76, 255, 0.28);
	background: rgba(108, 76, 255, 0.10);
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
	transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.header-nav a:hover,
.hero-actions a:hover,
.doc-switch a:hover {
	transform: translateY(-1px);
	background: rgba(108, 76, 255, 0.18);
	border-color: rgba(108, 76, 255, 0.40);
	box-shadow: 0 14px 28px rgba(108, 76, 255, 0.18);
}

.hero-actions .primary-action {
	background: linear-gradient(180deg, rgba(108, 76, 255, 0.24), rgba(33, 228, 255, 0.16));
}

.page-main {
	padding-top: 40px;
	padding-bottom: 40px;
}

.hero-card,
.document-card,
.contact-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, var(--surface-strong), rgba(12, 10, 20, 0.76));
	box-shadow: var(--shadow-lg);
}

.hero-card {
	padding: 34px;
	margin-bottom: 20px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(159, 42, 255, 0.12);
	border: 1px solid rgba(159, 42, 255, 0.20);
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.hero-card h1 {
	margin: 18px 0 14px;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	background: linear-gradient(90deg, var(--violet), var(--pink), var(--violet));
	background-size: 200% 100%;
	animation: headline-gradient 10s linear infinite;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-card p {
	margin: 0;
	max-width: 72ch;
	line-height: 1.72;
	color: var(--muted);
	font-size: 17px;
}

.hero-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.meta-card {
	padding: 16px 18px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.meta-card .meta-label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(198, 204, 216, 0.72);
}

.meta-card .meta-value {
	font-size: 15px;
	line-height: 1.6;
}

.hero-actions,
.doc-switch {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.document-card {
	padding: 30px;
}

.document-intro {
	margin: 0 0 24px;
	color: var(--muted);
	line-height: 1.72;
}

.section-card {
	padding: 24px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: rgba(18, 16, 32, 0.72);
	margin-top: 16px;
}

.section-card h2 {
	margin: 0 0 14px;
	font-size: 28px;
	letter-spacing: -0.01em;
}

.section-card h3 {
	margin: 18px 0 8px;
	font-size: 18px;
	color: #f5f6fa;
}

.section-card p,
.section-card li {
	margin: 0;
	line-height: 1.75;
	color: var(--muted);
}

.section-card p + p,
.section-card p + ul,
.section-card ul + p,
.section-card ul + ul,
.section-card h3 + p,
.section-card h3 + ul {
	margin-top: 12px;
}

.legal-list,
.schedule-list {
	padding-left: 20px;
}

.legal-list li + li,
.schedule-list li + li {
	margin-top: 8px;
}

.terms-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.term-card {
	padding: 18px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: rgba(108, 76, 255, 0.08);
}

.term-card strong {
	display: block;
	margin-bottom: 8px;
	color: var(--text);
}

.contact-card {
	padding: 24px;
	margin-top: 20px;
}

.contact-card h2 {
	margin: 0 0 12px;
	font-size: 24px;
}

.contact-card p {
	margin: 0;
	line-height: 1.72;
	color: var(--muted);
}

.contact-card p + p {
	margin-top: 10px;
}

.contact-email {
	color: #fff;
	font-weight: 700;
}

.page-footer {
	padding-top: 0;
	padding-bottom: 36px;
}

.page-footer-inner {
	padding: 18px 22px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: rgba(18, 16, 32, 0.72);
	color: var(--muted);
	line-height: 1.7;
}

@keyframes headline-gradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@media (max-width: 860px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-nav {
		justify-content: flex-start;
	}

	.hero-card,
	.document-card,
	.contact-card {
		padding: 22px;
	}

	.hero-meta,
	.terms-grid {
		grid-template-columns: 1fr;
	}
}
