:root {
	--bg: #000000;
	--fg: #ffffff;

	--accent1: #46ffc9;
	--accent2: #5500ff;

	--muted: rgba(255, 255, 255, 0.68);
	--muted-2: rgba(255, 255, 255, 0.52);
	--border-subtle: rgba(255, 255, 255, 0.10);

	--card: rgba(255, 255, 255, 0.035);
	--card-2: rgba(255, 255, 255, 0.06);

	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;

	--shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.62);
	--shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.42);

	--container-width: 1120px;

	--font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: Georgia, "Times New Roman", Times, serif;

	color-scheme: dark;
}

body.light {
	--bg: #ffffff;
	--fg: #000000;

	--muted: rgba(0, 0, 0, 0.66);
	--muted-2: rgba(0, 0, 0, 0.52);
	--border-subtle: rgba(0, 0, 0, 0.10);

	--card: rgba(0, 0, 0, 0.03);
	--card-2: rgba(0, 0, 0, 0.06);

	--shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.14);
	--shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.10);

	color-scheme: light;
}

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

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-sans);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--fg);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--accent1);
	outline-offset: 2px;
	border-radius: 8px;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--fg);
	color: var(--bg);
	padding: 0.7rem 1rem;
	z-index: 999;
	border-radius: 999px;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* Layout */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: 4.5rem 0;
}

.section-alt {
	background:
		radial-gradient(circle at 15% 0%, rgba(70, 255, 201, 0.11), transparent 55%),
		radial-gradient(circle at 85% 100%, rgba(85, 0, 255, 0.14), transparent 55%);
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68));
	border-bottom: 1px solid var(--border-subtle);
}

body.light .site-header {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 0.95rem 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	text-decoration: none;
	min-width: 240px;
}

.brand-logo {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--border-subtle);
	padding: 7px;
	background:
		radial-gradient(circle at 20% 20%, rgba(70, 255, 201, 0.12), transparent 60%),
		radial-gradient(circle at 80% 80%, rgba(85, 0, 255, 0.18), transparent 60%),
		var(--card);
}

.brand-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.brand-name {
	font-family: var(--font-serif);
	letter-spacing: 0.05em;
	font-size: 1.05rem;
}

.brand-tagline {
	color: var(--muted);
	font-size: 0.82rem;
}

.nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	font-size: 0.92rem;
	flex-wrap: wrap;
	justify-content: center;
}

.nav a {
	text-decoration: none;
	color: var(--fg);
	position: relative;
	padding-bottom: 0.2rem;
}

.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent1), var(--accent2));
	transition: width 0.18s ease-out;
}

.nav a:hover::after {
	width: 100%;
}

.header-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lang-switch,
.theme-toggle {
	border: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--fg);
	border-radius: 999px;
	padding: 0.35rem 0.7rem;
	font-size: 0.85rem;
	text-decoration: none;
}

.lang-switch:hover,
.theme-toggle:hover {
	border-color: rgba(70, 255, 201, 0.55);
}

.theme-toggle {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.theme-icon {
	width: 11px;
	height: 11px;
	border-radius: 999px;
	background: radial-gradient(circle at 25% 25%, var(--accent1), var(--accent2));
}

/* Hero */
.hero {
	padding: 4.75rem 0 4.25rem;
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

.hero-copy h1 {
	font-family: var(--font-serif);
	font-weight: 700;
	line-height: 1.14;
	margin: 0 0 1rem;
	font-size: clamp(2.15rem, 3.2vw, 2.85rem);
}

.hero-copy p {
	margin: 0 0 1.6rem;
	max-width: 44rem;
	color: var(--muted);
	font-size: 1.02rem;
}

.hero-actions {
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
	margin-bottom: 1.2rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.75rem 1.35rem;
	border: 1px solid transparent;
	font-size: 0.92rem;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out, background 0.12s ease-out;
	user-select: none;
}

.btn-primary {
	color: #000000;
	background: linear-gradient(135deg, var(--accent1), var(--accent2));
	box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-soft);
}

.btn-secondary {
	color: var(--fg);
	background: transparent;
	border-color: var(--border-subtle);
}

.btn-secondary:hover {
	border-color: rgba(70, 255, 201, 0.6);
}

.btn-block {
	width: 100%;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	color: var(--muted-2);
	font-size: 0.82rem;
}

.hero-meta span {
	border: 1px solid var(--border-subtle);
	border-radius: 999px;
	padding: 0.25rem 0.7rem;
	background: var(--card);
}

.hero-visual {
	position: relative;
}

.hero-card {
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-subtle);
	padding: 1.35rem;
	background:
		radial-gradient(circle at 15% 0%, rgba(70, 255, 201, 0.12), transparent 60%),
		radial-gradient(circle at 85% 100%, rgba(85, 0, 255, 0.24), transparent 60%),
		var(--card);
	box-shadow: var(--shadow-soft);
}

.hero-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.hero-logo {
	opacity: 0.95;
}

.hero-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.badge {
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	padding: 0.2rem 0.6rem;
	font-size: 0.75rem;
	background: rgba(255, 255, 255, 0.02);
}

.badge-aqua {
	border-color: rgba(70, 255, 201, 0.35);
}

.badge-violet {
	border-color: rgba(85, 0, 255, 0.35);
}

.hero-card-body h2 {
	margin: 0 0 0.45rem;
	font-family: var(--font-serif);
	letter-spacing: 0.02em;
	font-size: 1.15rem;
}

.hero-card-body p {
	margin: 0 0 0.9rem;
	color: var(--muted);
	font-size: 0.92rem;
}

.hero-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.9rem;
}

.hero-list li {
	position: relative;
	padding-left: 1.2rem;
	margin-bottom: 0.35rem;
}

.hero-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6rem;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent1), var(--accent2));
}

.hero-gradient-orbit {
	position: absolute;
	inset: -50px;
	border-radius: 34px;
	background:
		radial-gradient(circle at 20% 20%, rgba(70, 255, 201, 0.13), transparent 60%),
		radial-gradient(circle at 80% 80%, rgba(85, 0, 255, 0.22), transparent 60%);
	opacity: 0.75;
	z-index: -1;
}

/* Headings + intro */
.section h2 {
	font-family: var(--font-serif);
	margin: 0 0 0.6rem;
	font-size: 1.65rem;
}

.section-intro {
	margin: 0 0 2rem;
	color: var(--muted);
	max-width: 48rem;
}

/* Grids + cards */
.grid {
	display: grid;
	gap: 1.5rem;
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	padding: 1.35rem 1.35rem 1.15rem;
	background: var(--card);
}

.card h3 {
	margin: 0 0 0.55rem;
	font-size: 1.08rem;
}

.card p {
	margin: 0 0 0.85rem;
	color: var(--muted);
	font-size: 0.95rem;
}

.card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted-2);
	font-size: 0.9rem;
}

.card li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin-bottom: 0.35rem;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	margin-top: 0.55rem;
	background: linear-gradient(135deg, var(--accent1), var(--accent2));
	flex: 0 0 auto;
}

/* Two column */
.two-column {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.about-aside,
.contact-panel {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	padding: 1.25rem 1.25rem 1.1rem;
	background: var(--card);
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.95rem;
	color: var(--muted);
}

.checklist li {
	position: relative;
	padding-left: 1.35rem;
	margin-bottom: 0.5rem;
}

.checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.06rem;
	color: var(--accent1);
	font-size: 0.9rem;
}

.callout {
	margin-top: 1.35rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(70, 255, 201, 0.25);
	background:
		radial-gradient(circle at 20% 20%, rgba(70, 255, 201, 0.10), transparent 60%),
		var(--card-2);
	padding: 1rem 1.1rem 0.95rem;
}

.callout h3 {
	margin: 0 0 0.35rem;
	font-size: 1.02rem;
}

.callout p {
	margin: 0;
	color: var(--muted);
}

/* Timeline */
.timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.4rem;
	margin-top: 1.6rem;
}

.timeline-item {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	padding: 1.15rem 1.1rem 1rem 1.2rem;
	background: var(--card);
	position: relative;
	overflow: hidden;
}

.timeline-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--accent1), var(--accent2));
	opacity: 0.85;
}

.timeline-item h3 {
	margin: 0 0 0.45rem;
	font-size: 0.98rem;
}

.timeline-item p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

/* Contact */
.contact-line {
	margin: 0 0 0.5rem;
	color: var(--muted);
}

.contact-line a {
	color: var(--accent1);
	text-decoration: none;
}

.contact-line a:hover {
	text-decoration: underline;
}

.contact-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem;
	margin-top: 1rem;
}

.muted {
	color: var(--muted);
}

/* Footer */
.site-footer {
	padding: 1.7rem 0 1.9rem;
	border-top: 1px solid var(--border-subtle);
	background:
		radial-gradient(circle at 50% 0%, rgba(85, 0, 255, 0.14), transparent 60%);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	font-size: 0.82rem;
	color: var(--muted);
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.footer-name {
	font-family: var(--font-serif);
	color: var(--fg);
}

.footer-name-alt {
	color: var(--muted);
}

.footer-links {
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
}

.footer-links a {
	color: var(--muted);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--accent1);
}

/* Legal pages */
.legal {
	padding: 3.25rem 0 4.25rem;
}

.legal h1 {
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 2.6vw, 2.3rem);
	line-height: 1.2;
	margin: 0 0 0.9rem;
}

.legal p,
.legal li {
	color: var(--muted);
	max-width: 70ch;
}

.legal .meta {
	color: var(--muted-2);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.legal a {
	color: var(--accent1);
}

.legal hr {
	border: 0;
	border-top: 1px solid var(--border-subtle);
	margin: 1.6rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}

	.timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.two-column {
		grid-template-columns: 1fr;
	}

	.brand {
		min-width: unset;
	}
}

@media (max-width: 768px) {
	.header-inner {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.nav {
		width: 100%;
		justify-content: flex-start;
		order: 3;
	}

	.hero {
		padding: 3.75rem 0 3.25rem;
	}

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

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

@media (min-width: 1600px) {
	.container {
		max-width: 1280px;
	}

	.hero-inner {
		gap: 4rem;
	}
}

@media (min-width: 2000px) {
	.container {
		max-width: 1440px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}
