:root {
	--bg: #0e1216;
	--surface: #161c23;
	--surface-2: #1c242d;
	--border: #26303b;
	--text: #e9eef4;
	--muted: #9fadb9;
	--accent-a: #2e6be6;
	--accent-b: #35d4c2;
	--accent-text: #07131a;
	--radius: 14px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter",
		"Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(14, 18, 22, 0.85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
	max-width: 1060px;
	margin: 0 auto;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
}

.brand img {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: block;
}

.brand .brand-note {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.2;
}

.site-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-nav a.nav-link {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.95rem;
}

.site-nav a.nav-link:hover {
	color: var(--text);
}

.lang-switch {
	display: flex;
	gap: 4px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 3px;
}

.lang-switch a {
	padding: 3px 12px;
	border-radius: 999px;
	text-decoration: none;
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.lang-switch a[aria-current="true"] {
	background: var(--surface-2);
	color: var(--text);
}

/* Hero */
.hero {
	position: relative;
	text-align: center;
	padding: 96px 0 72px;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto;
	height: 130%;
	background: radial-gradient(
		ellipse at 50% 0%,
		rgba(46, 107, 230, 0.22),
		rgba(53, 212, 194, 0.1) 45%,
		transparent 70%
	);
	pointer-events: none;
}

.hero > * {
	position: relative;
}

.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent-b);
	margin-bottom: 18px;
}

.hero h1 {
	font-size: clamp(2rem, 5vw, 3.3rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	max-width: 800px;
	margin: 0 auto 18px;
}

.hero h1 .grad {
	background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero p.sub {
	color: var(--muted);
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	max-width: 680px;
	margin: 0 auto 32px;
}

.cta-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
	background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
	color: var(--accent-text);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(46, 107, 230, 0.35);
}

.btn-ghost {
	border: 1px solid var(--border);
	color: var(--text);
	background: transparent;
}

.btn-ghost:hover {
	background: var(--surface);
}

/* Trust strip */
.trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	padding-bottom: 72px;
}

.trust-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 10px;
	text-align: center;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 600;
}

/* Sections */
section.block {
	padding: 72px 0;
}

.section-head {
	text-align: center;
	max-width: 660px;
	margin: 0 auto 44px;
}

.section-head h2 {
	font-size: clamp(1.5rem, 3.4vw, 2.1rem);
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}

.section-head p {
	color: var(--muted);
}

/* Project cards */
.projects {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 16px;
}

.project {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.project-top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.project .icon {
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(46, 107, 230, 0.18), rgba(53, 212, 194, 0.18));
	border: 1px solid var(--border);
}

.project .icon svg {
	width: 21px;
	height: 21px;
	stroke: var(--accent-b);
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.project h3 {
	font-size: 1.08rem;
	line-height: 1.3;
}

.project .kind {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0.04em;
}

.badge {
	margin-left: auto;
	flex: none;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid var(--border);
	color: var(--muted);
	background: var(--surface-2);
}

.badge-live {
	color: #35d4c2;
	border-color: rgba(53, 212, 194, 0.35);
	background: rgba(53, 212, 194, 0.08);
}

.badge-beta {
	color: #6ea3f8;
	border-color: rgba(110, 163, 248, 0.35);
	background: rgba(46, 107, 230, 0.1);
}

.project p {
	color: var(--muted);
	font-size: 0.95rem;
}

/* Core section */
.core-panel {
	background: linear-gradient(160deg, rgba(46, 107, 230, 0.12), rgba(53, 212, 194, 0.06));
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 36px 28px;
	text-align: center;
}

.core-chip {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 999px;
	background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
	color: var(--accent-text);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.9rem;
	margin-bottom: 8px;
}

.core-links {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 6px 0 2px;
}

.core-links span {
	width: 2px;
	height: 26px;
	background: linear-gradient(var(--accent-a), var(--accent-b));
	opacity: 0.5;
	margin: 0 26px;
}

.satellites {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 22px;
}

.satellite {
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-size: 0.88rem;
	font-weight: 600;
}

.core-points {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.core-points span {
	color: var(--muted);
	font-size: 0.88rem;
	padding: 6px 14px;
	border: 1px dashed var(--border);
	border-radius: 999px;
}

.core-panel > p {
	color: var(--muted);
	max-width: 680px;
	margin: 0 auto 24px;
}

/* Principles */
.principles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}

.principle {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 22px;
}

.principle .check {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	border: 1px solid rgba(53, 212, 194, 0.35);
	background: rgba(53, 212, 194, 0.08);
}

.principle .check svg {
	width: 16px;
	height: 16px;
	stroke: var(--accent-b);
	fill: none;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.principle h3 {
	font-size: 1.02rem;
	margin-bottom: 8px;
}

.principle p {
	color: var(--muted);
	font-size: 0.93rem;
}

/* CTA band */
.cta-band {
	text-align: center;
	background: linear-gradient(160deg, rgba(46, 107, 230, 0.14), rgba(53, 212, 194, 0.08));
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 56px 24px;
}

.cta-band h2 {
	font-size: clamp(1.5rem, 3.4vw, 2.1rem);
	margin-bottom: 10px;
}

.cta-band p {
	color: var(--muted);
	margin-bottom: 26px;
}

.cta-band p a.mail {
	color: var(--text);
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 30px 0 40px;
	margin-top: 40px;
}

.footer-projects {
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
	margin-bottom: 14px;
	letter-spacing: 0.02em;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	color: var(--muted);
	font-size: 0.9rem;
}

.footer-inner .spacer {
	margin-left: auto;
}

.footer-inner a {
	color: var(--muted);
}

.footer-inner a:hover {
	color: var(--text);
}

/* Responsive */
@media (max-width: 760px) {
	.hero {
		padding: 68px 0 56px;
	}

	.trust {
		grid-template-columns: repeat(2, 1fr);
		padding-bottom: 56px;
	}

	section.block {
		padding: 52px 0;
	}

	a.nav-link {
		display: none;
	}

	.core-links span {
		margin: 0 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn {
		transition: none;
	}
}
