:root {
	--bg: #05070c;
	--bg-soft: #0a1120;
	--panel: rgba(10, 16, 28, 0.78);
	--panel-strong: rgba(8, 13, 24, 0.94);
	--panel-border: rgba(116, 145, 255, 0.18);
	--text: #eef4ff;
	--muted: #9aa8c5;
	--muted-strong: #bfcae1;
	--blue: #5d88ff;
	--blue-strong: #2c64ff;
	--blue-ice: #80d6ff;
	--red: #ff4d6d;
	--gold: #ffc170;
	--shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
	--radius-lg: 28px;
	--radius-md: 20px;
	--radius-sm: 14px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Space Grotesk', sans-serif;
	background:
		radial-gradient(circle at 15% 0%, rgba(58, 96, 255, 0.22), transparent 32%),
		radial-gradient(circle at 88% 14%, rgba(255, 77, 109, 0.12), transparent 24%),
		radial-gradient(circle at 78% 82%, rgba(66, 201, 255, 0.1), transparent 20%),
		linear-gradient(180deg, #04060b 0%, #070a11 50%, #05070c 100%);
	color: var(--text);
	min-height: 100vh;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 80%);
	pointer-events: none;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

.page-shell {
	position: relative;
	overflow: clip;
}

.ambient {
	position: absolute;
	border-radius: 999px;
	filter: blur(80px);
	opacity: 0.7;
	pointer-events: none;
}

.ambient-blue {
	top: 6rem;
	left: -10rem;
	width: 26rem;
	height: 26rem;
	background: rgba(52, 104, 255, 0.2);
}

.ambient-red {
	top: 18rem;
	right: -8rem;
	width: 20rem;
	height: 20rem;
	background: rgba(255, 77, 109, 0.14);
}

.ambient-ice {
	bottom: 16rem;
	left: 55%;
	width: 24rem;
	height: 24rem;
	background: rgba(79, 210, 255, 0.12);
}

.twinkle {
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 77, 109, 0.35) 72%, transparent 100%);
	box-shadow:
		0 0 16px rgba(255, 77, 109, 0.55),
		0 0 28px rgba(84, 133, 255, 0.24);
	animation: twinkle 4.8s ease-in-out infinite;
	pointer-events: none;
}

.t1 {
	top: 8rem;
	left: 18%;
}

.t2 {
	top: 14rem;
	right: 18%;
	animation-delay: -1.2s;
}

.t3 {
	top: 32rem;
	left: 10%;
	animation-delay: -2.1s;
}

.t4 {
	top: 42rem;
	right: 12%;
	animation-delay: -0.6s;
}

.t5 {
	top: 72rem;
	left: 66%;
	animation-delay: -1.8s;
}

.t6 {
	top: 94rem;
	left: 24%;
	animation-delay: -3s;
}

.container {
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
}

.section {
	position: relative;
	padding: 6rem 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(18px);
	background: rgba(5, 7, 12, 0.56);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
	background: rgba(5, 7, 12, 0.86);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	min-height: 5.4rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
}

.brand-mark {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.9rem;
	background: linear-gradient(145deg, rgba(132, 179, 255, 0.28), rgba(54, 88, 255, 0.92));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 16px 38px rgba(44, 100, 255, 0.28);
}

.brand-mark span {
	position: absolute;
	width: 1.45rem;
	height: 0.32rem;
	border-radius: 999px;
	background: rgba(239, 245, 255, 0.95);
}

.brand-mark span:nth-child(1) {
	transform: translateY(-0.42rem);
}

.brand-mark span:nth-child(2) {
	transform: translateY(0);
	opacity: 0.9;
}

.brand-mark span:nth-child(3) {
	transform: translateY(0.42rem);
	opacity: 0.76;
}

.brand-copy {
	display: grid;
}

.brand-copy strong {
	font-size: 1.18rem;
	letter-spacing: -0.04em;
}

.brand-copy small {
	font-family: 'IBM Plex Mono', monospace;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.68rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	color: var(--muted);
	font-size: 0.98rem;
}

.site-nav a {
	transition:
		color 160ms ease,
		transform 160ms ease;
}

.site-nav a:hover {
	color: var(--text);
	transform: translateY(-1px);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.98rem 1.35rem;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: -0.02em;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease,
		background 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-small {
	padding: 0.82rem 1.18rem;
	font-size: 0.95rem;
}

.button-primary {
	background: linear-gradient(135deg, var(--blue) 0%, #3d72ff 58%, var(--blue-ice) 150%);
	color: white;
	box-shadow: 0 20px 34px rgba(55, 105, 255, 0.25);
}

.button-primary:hover {
	box-shadow: 0 24px 40px rgba(55, 105, 255, 0.34);
}

.button-secondary {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--text);
}

.button-secondary:hover {
	border-color: rgba(122, 151, 255, 0.42);
	background: rgba(12, 19, 36, 0.75);
}

.hero {
	padding-top: 5.6rem;
}

.hero-inner {
	display: grid;
	gap: 2.4rem;
}

.hero-copy-wrap {
	max-width: 860px;
	text-align: center;
	margin: 0 auto;
}

.eyebrow,
.section-label,
.panel-kicker,
.security-kicker {
	font-family: 'IBM Plex Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.74rem;
	color: #9fb4ff;
}

.hero h1 {
	margin: 1rem 0 1.4rem;
	font-size: clamp(3.25rem, 9vw, 6.5rem);
	line-height: 0.94;
	letter-spacing: -0.06em;
}

.headline-accent {
	display: block;
	background: linear-gradient(115deg, #88c1ff 6%, #5d88ff 40%, #b4c6ff 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.headline-rest {
	display: block;
	max-width: 13ch;
	margin: 0.18em auto 0;
}

.hero-copy {
	max-width: 760px;
	margin: 0 auto;
	font-size: clamp(1.08rem, 2vw, 1.36rem);
	line-height: 1.8;
	color: var(--muted-strong);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	margin-top: 2rem;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 2.4rem auto 0;
	max-width: 980px;
}

.hero-stats li,
.feature-card,
.security-card,
.workflow-card,
.roadmap-card,
.launch-panel {
	background: var(--panel);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow);
}

.hero-stats li {
	padding: 1.3rem 1.25rem;
	text-align: left;
	backdrop-filter: blur(12px);
}

.hero-stats strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.4rem;
}

.hero-stats span {
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.6;
}

.hero-panels {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 1.4rem;
	align-items: stretch;
}

.panel {
	position: relative;
	padding: 1.55rem;
	background: linear-gradient(180deg, rgba(13, 18, 32, 0.96), rgba(8, 13, 24, 0.92));
	border: 1px solid var(--panel-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(97, 137, 255, 0.1), transparent 28%, transparent 70%, rgba(255, 77, 109, 0.08));
	pointer-events: none;
}

.panel-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 1.15rem;
}

.status-pill {
	padding: 0.4rem 0.72rem;
	border-radius: 999px;
	background: rgba(38, 56, 112, 0.78);
	color: #d7e3ff;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.terminal {
	display: grid;
	gap: 0.78rem;
	padding: 1.3rem;
	border-radius: 1.2rem;
	background:
		linear-gradient(180deg, rgba(5, 8, 15, 0.96), rgba(8, 11, 22, 0.95)),
		repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 28px);
	border: 1px solid rgba(119, 145, 255, 0.13);
	font-family: 'IBM Plex Mono', monospace;
	color: #d6e4ff;
	min-height: 100%;
}

.terminal p {
	margin: 0;
	line-height: 1.75;
}

.prompt {
	color: var(--blue-ice);
}

.terminal-highlight {
	color: #ffccd6;
	text-shadow: 0 0 24px rgba(255, 77, 109, 0.32);
}

.sync-panel h2,
.section-head h2,
.workflow-card h2,
.launch-panel h2,
.security-hero h3 {
	margin: 0;
	font-size: clamp(1.8rem, 4.5vw, 3.3rem);
	line-height: 1.02;
	letter-spacing: -0.05em;
}

.sync-panel p,
.section-head p,
.feature-card p,
.security-card p,
.workflow-card p,
.roadmap-card p,
.launch-panel p,
.security-hero p {
	color: var(--muted);
	line-height: 1.8;
	font-size: 1rem;
}

.sync-dot {
	width: 0.82rem;
	height: 0.82rem;
	border-radius: 999px;
	background: radial-gradient(circle, #fff 0%, var(--red) 45%, rgba(255, 77, 109, 0.2) 100%);
	box-shadow: 0 0 20px rgba(255, 77, 109, 0.6);
	animation: pulse 3.2s ease-in-out infinite;
}

.sync-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin-top: 1.35rem;
}

.sync-grid div {
	padding: 1rem;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.sync-grid strong {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.98rem;
}

.sync-grid span {
	display: block;
	color: var(--muted);
	line-height: 1.6;
	font-size: 0.92rem;
}

.section-head {
	max-width: 720px;
	margin-bottom: 2rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.feature-card {
	padding: 1.45rem;
}

.feature-card h3,
.security-card h3 {
	margin: 0 0 0.8rem;
	font-size: 1.3rem;
	line-height: 1.15;
	letter-spacing: -0.04em;
}

.feature-index {
	display: inline-flex;
	margin-bottom: 1.2rem;
	color: var(--gold);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.82rem;
	letter-spacing: 0.16em;
}

.security-section {
	padding-top: 2rem;
}

.security-layout {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 1rem;
	align-items: start;
}

.security-head {
	grid-column: 1 / -1;
}

.security-hero {
	padding: 1.9rem;
}

.security-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	list-style: none;
	padding: 0;
	margin: 1.4rem 0 0;
}

.security-tags li {
	padding: 0.65rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.94rem;
	color: var(--muted-strong);
}

.security-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.security-card {
	padding: 1.35rem;
}

.workflow-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 1rem;
}

.code-window {
	margin-top: 1.3rem;
	padding: 1.15rem;
	border-radius: 1.2rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-family: 'IBM Plex Mono', monospace;
}

.code-window p {
	margin: 0.22rem 0;
}

.code-window .prompt {
	display: inline-block;
	min-width: 4.6rem;
	color: #9fc1ff;
}

.milestone-list {
	display: grid;
	gap: 1rem;
	margin-top: 1.3rem;
}

.milestone {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.95rem;
	align-items: start;
	padding: 0.9rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.milestone:first-child {
	border-top: 0;
	padding-top: 0;
}

.milestone span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: rgba(66, 101, 255, 0.18);
	color: #d7e4ff;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.8rem;
}

.milestone strong {
	display: block;
	font-size: 1.02rem;
	margin-bottom: 0.32rem;
}

.launch-section {
	padding-top: 1rem;
}

.launch-panel {
	padding: 2rem;
	text-align: center;
}

.launch-panel h2 {
	max-width: 12ch;
	margin: 0.2rem auto 1rem;
}

.launch-panel > p {
	max-width: 720px;
	margin: 0 auto;
}

.launch-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	margin-top: 1.8rem;
}

.launch-note {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.88rem;
	letter-spacing: 0.03em;
	color: #d1dbef;
	margin-top: 1.5rem;
}

.site-footer {
	padding: 1.8rem 0 2.8rem;
}

.footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--muted);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.4rem;
}

.footer-row a {
	color: #dbe5ff;
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 700ms ease,
		transform 700ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes twinkle {
	0%,
	100% {
		opacity: 0.3;
		transform: scale(0.86);
	}
	50% {
		opacity: 1;
		transform: scale(1.2);
	}
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(0.88);
		box-shadow: 0 0 14px rgba(255, 77, 109, 0.46);
	}
	50% {
		transform: scale(1.08);
		box-shadow: 0 0 22px rgba(255, 77, 109, 0.8);
	}
}

@media (max-width: 1080px) {
	.hero-stats,
	.feature-grid,
	.security-cards,
	.workflow-grid,
	.hero-panels,
	.security-layout {
		grid-template-columns: 1fr 1fr;
	}

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

	.security-layout,
	.workflow-grid,
	.hero-panels {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.section {
		padding: 4.4rem 0;
	}

	.header-row {
		flex-wrap: wrap;
		min-height: 4.8rem;
		padding: 0.85rem 0;
	}

	.site-nav {
		display: none;
	}

	.hero {
		padding-top: 4.1rem;
	}

	.hero-stats,
	.feature-grid,
	.security-cards,
	.sync-grid {
		grid-template-columns: 1fr;
	}

	.sync-grid div {
		padding: 0.92rem;
	}

	.hero-actions .button,
	.launch-actions .button {
		width: 100%;
	}

	.hero-actions,
	.launch-actions {
		flex-direction: column;
	}

	.brand-copy small {
		display: none;
	}

	.footer-row {
		flex-direction: column;
		align-items: flex-start;
	}
}
