:root {
	--ink: #0c1220;
	--mute: #5c6b7c;
	--line: rgba(12, 18, 32, 0.1);
	--bg: #f5f7f8;
	--paper: #ffffff;
	--brand: #009be2;
	--brand-deep: #0077ad;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font: Inter, 'Noto Sans SC', sans-serif;
	--max: 1120px;
}

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

html {
	scroll-padding-top: 5.5rem;
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
}

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

.skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--brand);
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 100;
}

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

.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0.85rem max(1.5rem, calc((100% - 1240px) / 2));
	background: transparent;
	border-bottom: 1px solid transparent;
	transition:
		background-color 0.45s var(--ease),
		border-color 0.45s var(--ease);
}

.nav.is-scrolled {
	background: rgba(255, 255, 255, 0.92);
	border-bottom-color: var(--line);
	backdrop-filter: blur(16px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	font-size: 1.05rem;
}

.brand img,
.foot-brand img {
	width: auto;
	height: 36px;
}

.foot-brand img {
	height: 26px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.35rem;
	font-size: 0.92rem;
	color: var(--mute);
}

.nav-links a {
	transition: color 0.35s var(--ease);
}

.nav-links a:hover {
	color: var(--ink);
}

.nav-cta {
	color: #fff !important;
	background: var(--ink);
	padding: 0.48rem 0.9rem;
	border-radius: 999px;
	font-weight: 500;
	transition:
		background-color 0.4s var(--ease),
		transform 0.45s var(--ease) !important;
}

.nav-cta:hover {
	background: #1b2838;
	color: #fff !important;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 6.5rem 1.5rem 4.5rem;
	text-align: center;
}

.hero > :not(.hero-atmosphere) {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.hero-atmosphere {
	position: absolute;
	inset: -3.5rem -16vw auto;
	height: 460px;
	pointer-events: none;
	z-index: 0;
	overflow: visible;
}

.hero-paint {
	display: block;
	width: 100%;
	height: 100%;
}

html.motion .hero-paint {
	animation: hero-paint 18s ease-in-out infinite;
}

@keyframes hero-paint {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(0, 10px, 0);
	}
}

.eyebrow {
	margin: 0 0 1.1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand-deep);
}

.hero h1 {
	margin: 0;
	font-size: clamp(2.7rem, 6.4vw, 4.75rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.lede {
	margin: 1.35rem auto 0;
	max-width: 34rem;
	color: var(--mute);
	font-size: 1.125rem;
	line-height: 1.7;
}

.lede.tight {
	margin: 1rem 0 0;
	text-align: left;
}

.cta-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem 0.35rem;
	margin-top: 2rem;
	align-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	transition:
		transform 0.5s var(--ease),
		background-color 0.4s var(--ease),
		color 0.35s var(--ease),
		box-shadow 0.5s var(--ease);
}

.btn:hover {
	transform: translate3d(0, -1px, 0);
}

.btn:active {
	transform: translate3d(0, 0, 0);
	transition-duration: 0.16s;
}

.btn-primary {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 155, 226, 0.28);
}

.btn-primary:hover {
	background: #12a7ee;
	box-shadow: 0 12px 28px rgba(0, 155, 226, 0.34);
}

.btn-quiet {
	color: var(--ink);
	padding-inline: 0.95rem;
}

.btn-quiet:hover {
	color: var(--brand-deep);
}

.btn-light {
	background: #fff;
	color: var(--ink);
}

.btn-light:hover {
	background: #f3f7fb;
}

.stage-wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.5rem 5rem;
}

html.motion .stage {
	animation: stage-float 8s ease-in-out infinite;
}

@keyframes stage-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(0, -8px, 0);
	}
}

.stage {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background:
		radial-gradient(520px 280px at 88% 0%, rgba(0, 155, 226, 0.22), transparent 60%),
		linear-gradient(180deg, #101826 0%, #0b121c 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.4) inset,
		0 30px 80px rgba(12, 18, 32, 0.12);
	color: #e8eef4;
}

.stage-bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-bar span {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.stage-bar span:first-child {
	background: #ff5f57;
}

.stage-bar span:nth-child(2) {
	background: #febc2e;
}

.stage-bar span:nth-child(3) {
	background: #28c840;
}

.stage-bar em {
	margin-left: 0.45rem;
	font-style: normal;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: rgba(232, 238, 244, 0.55);
}

.app {
	display: grid;
	grid-template-columns: 168px 1fr;
	min-height: 320px;
}

.rail {
	padding: 1.25rem 1rem 1.5rem;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.rail p {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(232, 238, 244, 0.4);
}

.rail b {
	display: block;
	margin: 0.15rem 0;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	font-weight: 500;
	font-size: 0.92rem;
	color: rgba(232, 238, 244, 0.72);
	transition: background-color 0.55s var(--ease), color 0.55s var(--ease);
}

.rail b.on {
	background: rgba(0, 155, 226, 0.18);
	color: #fff;
}

.sheet {
	padding: 1.25rem 1.35rem 1.5rem;
}

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

.sheet-head h2 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.chip {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #7fd4ff;
	border: 1px solid rgba(0, 155, 226, 0.4);
	border-radius: 999px;
	padding: 0.2rem 0.55rem;
}

.tr {
	display: grid;
	grid-template-columns: 1.1fr 1fr 0.8fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.85rem 0.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.92rem;
	font-variant-numeric: tabular-nums;
	border-radius: 8px;
	transition: background-color 0.6s var(--ease);
}

.tr.on {
	background: rgba(0, 155, 226, 0.14);
}

.tr.th {
	color: rgba(232, 238, 244, 0.42);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	padding-bottom: 0.55rem;
}

.tr.on span:first-child {
	color: #fff;
}

.tag {
	justify-self: start;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.18rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #d5e4f0;
}

.tag-wait {
	background: rgba(254, 188, 46, 0.15);
	color: #ffd978;
}

.tag-ok {
	background: rgba(0, 155, 226, 0.2);
	color: #8fd8ff;
}

.block {
	max-width: var(--max);
	margin: 0 auto;
	padding: 5rem 1.5rem;
}

.block-head h2,
.block-split h2,
.close h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.grid {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
}

.grid li {
	padding: 1.6rem 1.4rem 0.4rem 0;
	border-right: 1px solid var(--line);
}

.grid li:last-child {
	border-right: 0;
	padding-right: 0;
}

.grid li:not(:first-child) {
	padding-left: 1.4rem;
}

.num {
	display: block;
	margin-bottom: 1.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--brand);
}

.grid h3,
.row h3 {
	margin: 0 0 0.45rem;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.grid p,
.row p {
	margin: 0;
	color: var(--mute);
}

.schemes {
	margin-top: 3rem;
	display: grid;
	gap: 1.25rem;
}

.scheme {
	margin: 0;
	padding: 1.35rem 1.35rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
}

.scheme figcaption {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--brand-deep);
}

.axes p {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ink);
}

.axes {
	display: grid;
	gap: 1.25rem;
}

.phase {
	list-style: none;
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0.35rem 0 0.2rem 0.7rem;
	overflow-x: auto;
}

.phase li {
	position: relative;
	flex: 1 0 5.6rem;
	padding: 1.35rem 0.75rem 0 0;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.phase li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.28rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 0 0 4px rgba(0, 155, 226, 0.12);
}

.phase li:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 0.7rem;
	right: 0.15rem;
	top: 0.5rem;
	height: 1px;
	background: var(--line);
}

.phase li span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--mute);
}

.phase li.end::before {
	background: var(--ink);
	box-shadow: none;
}

.scheme-note {
	margin: 0.85rem 0 0;
	color: var(--mute);
	font-size: 0.88rem;
}

.block-split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3rem;
	align-items: start;
	border-top: 1px solid var(--line);
}

.rows {
	display: flex;
	flex-direction: column;
}

.row {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	align-items: flex-end;
	padding: 1.35rem 0;
	border-top: 1px solid var(--line);
	transition: background-color 0.4s var(--ease);
}

.rows .row:last-child {
	border-bottom: 1px solid var(--line);
}

.row span {
	flex: none;
	color: var(--brand-deep);
	font-weight: 600;
	font-size: 0.92rem;
	transition: color 0.35s var(--ease);
}

.row:hover span {
	color: var(--brand);
}

.close {
	max-width: var(--max);
	margin: 0 auto 4rem;
	padding: 4.5rem 1.5rem;
	text-align: center;
	color: #f4f7fb;
	background:
		radial-gradient(480px 180px at 50% 0%, rgba(0, 155, 226, 0.35), transparent 70%),
		#0c1420;
	border-radius: 20px;
	width: calc(100% - 3rem);
}

.close p {
	margin: 0.85rem 0 1.6rem;
	color: rgba(244, 247, 251, 0.68);
}

.eyebrow.light {
	color: #7fd4ff;
}

.foot {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.5rem 2.5rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
	color: var(--mute);
	font-size: 0.88rem;
}

.foot-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink);
	font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
	html.motion .stage,
	html.motion .hero-paint {
		animation: none;
	}
}

@media (max-width: 860px) {
	.hero {
		padding-top: 4.2rem;
		text-align: left;
	}

	.hero > :not(.hero-atmosphere) {
		margin-left: 0;
	}

	.lede {
		margin-left: 0;
	}

	.cta-row {
		justify-content: flex-start;
	}

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

	.rail {
		display: flex;
		gap: 0.25rem;
		align-items: center;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		padding: 0.75rem;
		overflow: auto;
	}

	.rail p {
		display: none;
	}

	.rail b {
		margin: 0;
		white-space: nowrap;
	}

	.grid,
	.block-split {
		grid-template-columns: 1fr;
	}

	.grid li,
	.grid li:not(:first-child) {
		padding: 1.35rem 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.45rem;
	}

	.close {
		width: calc(100% - 2rem);
		padding: 3.2rem 1.25rem;
	}

	.nav-links a:not(.nav-cta) {
		display: none;
	}
}
