:root {
	--rs-bg: #050609;
	--rs-ink: #f8fafc;
	--rs-muted: #aeb8c7;
	--rs-soft: rgba(248, 250, 252, 0.72);
	--rs-line: rgba(255, 255, 255, 0.14);
	--rs-surface: rgba(255, 255, 255, 0.07);
	--rs-surface-strong: rgba(255, 255, 255, 0.11);
	--rs-primary: #42f2d2;
	--rs-secondary: #ffb347;
	--rs-green: #22c55e;
	--rs-focus: #f8fafc;
	--rs-focus-ring: rgba(66, 242, 210, 0.34);
	--rs-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

* {
	box-sizing: border-box;
}

html {
	scroll-padding-top: 104px;
	scroll-behavior: smooth;
}

.rs-body {
	margin: 0;
	background: var(--rs-bg);
	color: var(--rs-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

.rs-home {
	min-height: 100vh;
	overflow: hidden;
	background:
		radial-gradient(circle at 14% 8%, rgba(66, 242, 210, 0.18), transparent 30%),
		radial-gradient(circle at 88% 18%, rgba(255, 179, 71, 0.14), transparent 28%),
		linear-gradient(180deg, #071014 0%, #050609 46%, #07080c 100%);
	color: var(--rs-ink);
}

.rs-header {
	position: sticky;
	top: 12px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1160px, calc(100% - 32px));
	margin: 0 auto;
	padding: 10px;
	border: 1px solid var(--rs-line);
	border-radius: 8px;
	background: rgba(5, 6, 9, 0.76);
	box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(18px);
}

.rs-brand,
.rs-nav-toggle,
.rs-nav a,
.rs-button {
	cursor: pointer;
}

.rs-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	border-radius: 8px;
	color: var(--rs-ink);
	font-weight: 850;
	text-decoration: none;
}

.rs-brand:focus-visible,
.rs-nav-toggle:focus-visible,
.rs-nav a:focus-visible,
.rs-button:focus-visible {
	outline: 2px solid var(--rs-focus);
	outline-offset: 4px;
	box-shadow: 0 0 0 7px var(--rs-focus-ring);
}

.rs-brand__mark {
	display: inline-grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(66, 242, 210, 0.42);
	border-radius: 8px;
	background: rgba(66, 242, 210, 0.12);
	color: var(--rs-primary);
}

.rs-brand__logo {
	display: block;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	object-fit: contain;
	filter: drop-shadow(0 0 18px rgba(66, 242, 210, 0.22));
}

.rs-brand__text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rs-nav {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	align-items: stretch;
	gap: 6px;
	padding: 6px;
	border: 1px solid var(--rs-line);
	border-radius: 8px;
	background: rgba(5, 6, 9, 0.94);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(18px);
}

.rs-nav.is-open {
	display: grid;
}

.rs-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	color: var(--rs-muted);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 180ms ease, background 180ms ease;
}

.rs-nav a:hover,
.rs-nav a:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: var(--rs-ink);
}

.rs-nav-toggle {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--rs-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--rs-ink);
}

.rs-nav-toggle__bar {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.rs-nav-toggle[aria-expanded="true"] .rs-nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.rs-nav-toggle[aria-expanded="true"] .rs-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.rs-nav-toggle[aria-expanded="true"] .rs-nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	word-wrap: normal !important;
}

.rs-hero,
.rs-section,
.rs-metrics,
.rs-case,
.rs-cta {
	width: min(1160px, calc(100% - 32px));
	margin: 0 auto;
}

.rs-reveal {
	opacity: 1;
	transform: none;
}

.rs-is-enhanced .rs-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 520ms ease, transform 520ms ease;
}

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

.rs-hero {
	display: grid;
	gap: 44px;
	align-items: center;
	min-height: calc(100vh - 76px);
	padding: 72px 0 92px;
}

.rs-hero__content {
	position: relative;
	z-index: 2;
	max-width: 720px;
}

.rs-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	color: var(--rs-primary);
	font-size: 0.78rem;
	font-weight: 850;
	line-height: 1.35;
	text-transform: uppercase;
}

.rs-kicker::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rs-secondary);
	box-shadow: 0 0 18px rgba(255, 179, 71, 0.72);
	content: "";
}

.rs-hero h1,
.rs-section h2,
.rs-case h2,
.rs-cta h2 {
	margin: 0;
	color: var(--rs-ink);
	font-weight: 900;
	line-height: 1.02;
}

.rs-hero h1 {
	max-width: 920px;
	font-size: 2.72rem;
}

.rs-hero__lead {
	max-width: 640px;
	margin: 22px 0 0;
	color: var(--rs-soft);
	font-size: 1.08rem;
	line-height: 1.72;
}

.rs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.rs-actions--center {
	justify-content: center;
}

.rs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	max-width: 100%;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 0.98rem;
	font-weight: 850;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.rs-button:hover,
.rs-button:focus-visible {
	transform: translateY(-2px);
}

.rs-button--primary {
	background: linear-gradient(135deg, var(--rs-primary), var(--rs-green) 56%, var(--rs-secondary));
	color: #06110f;
	box-shadow: 0 20px 48px rgba(66, 242, 210, 0.22);
}

.rs-button--secondary {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.07);
	color: var(--rs-ink);
}

.rs-button--secondary:hover,
.rs-button--secondary:focus-visible {
	border-color: rgba(66, 242, 210, 0.42);
	background: rgba(66, 242, 210, 0.1);
}

.rs-hero__visual {
	position: relative;
	display: grid;
	min-height: 340px;
	place-items: center;
}

.rs-dashboard {
	position: relative;
	width: min(100%, 560px);
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(66, 242, 210, 0.12), transparent 42%),
		linear-gradient(230deg, rgba(255, 179, 71, 0.1), transparent 42%),
		rgba(7, 11, 15, 0.9);
	box-shadow: var(--rs-shadow);
	backdrop-filter: blur(18px);
}

.rs-dashboard::before {
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(66, 242, 210, 0.5), transparent 32%, rgba(255, 179, 71, 0.42));
	content: "";
	opacity: 0.66;
}

.rs-dashboard__topbar {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	padding: 0 2px 12px;
	color: var(--rs-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
}

.rs-dashboard__topbar span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.28);
}

.rs-dashboard__topbar span:first-child {
	background: var(--rs-primary);
}

.rs-dashboard__topbar strong {
	margin-left: auto;
	color: var(--rs-soft);
}

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

.rs-dashboard__panel,
.rs-dashboard__footer {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
}

.rs-dashboard__panel {
	display: grid;
	min-height: 128px;
	padding: 18px;
}

.rs-dashboard__panel--wide {
	grid-column: 1 / -1;
	min-height: 210px;
}

.rs-dashboard__panel span,
.rs-dashboard__footer span {
	color: var(--rs-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.rs-dashboard__panel strong,
.rs-dashboard__footer strong {
	display: block;
	margin-top: 6px;
	color: var(--rs-ink);
	font-size: 1.02rem;
	line-height: 1.25;
}

.rs-dashboard__chart {
	display: flex;
	align-items: end;
	gap: 12px;
	height: 112px;
	margin-top: 24px;
}

.rs-dashboard__chart i {
	display: block;
	width: 100%;
	height: var(--rs-bar);
	border-radius: 8px 8px 3px 3px;
	background: linear-gradient(180deg, var(--rs-primary), rgba(34, 197, 94, 0.55));
	box-shadow: 0 0 24px rgba(66, 242, 210, 0.18);
}

.rs-dashboard__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 12px;
	padding: 16px 18px;
}

.rs-dashboard__orb {
	position: relative;
	width: 74px;
	height: 74px;
	flex: 0 0 74px;
}

.rs-ai-orb,
.rs-ai-orb canvas,
.rs-ai-orb__core {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.rs-ai-orb canvas {
	z-index: 2;
}

.rs-ai-orb__core {
	z-index: 1;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	background:
		radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 12%),
		radial-gradient(circle at 50% 50%, rgba(66, 242, 210, 0.32), transparent 36%),
		radial-gradient(circle at 48% 52%, rgba(255, 179, 71, 0.2), transparent 56%),
		rgba(255, 255, 255, 0.03);
	box-shadow:
		inset 0 0 34px rgba(255, 255, 255, 0.08),
		0 0 54px rgba(66, 242, 210, 0.24);
}

.rs-section {
	padding: 78px 0 58px;
}

.rs-section__head {
	max-width: 760px;
	margin-bottom: 30px;
}

.rs-section h2,
.rs-case h2,
.rs-cta h2 {
	font-size: 2rem;
}

.rs-card-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.rs-card {
	position: relative;
	min-height: 235px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid var(--rs-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.065);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(18px);
}

.rs-card::after {
	position: absolute;
	inset: auto 0 0;
	height: 4px;
	background: linear-gradient(90deg, var(--rs-primary), var(--rs-secondary));
	content: "";
	opacity: 0.72;
}

.rs-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 30px;
	margin-bottom: 28px;
	border: 1px solid rgba(66, 242, 210, 0.3);
	border-radius: 8px;
	background: rgba(66, 242, 210, 0.1);
	color: var(--rs-primary);
	font-size: 0.78rem;
	font-weight: 900;
}

.rs-card h3 {
	margin: 0;
	color: var(--rs-ink);
	font-size: 1.14rem;
	line-height: 1.25;
}

.rs-card p,
.rs-case__content p {
	margin: 14px 0 0;
	color: var(--rs-muted);
	font-size: 0.98rem;
	line-height: 1.65;
}

.rs-metrics {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 38px;
	margin-bottom: 38px;
	overflow: hidden;
	border: 1px solid var(--rs-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.rs-metric {
	min-height: 116px;
	padding: 22px;
	background: rgba(5, 6, 9, 0.74);
}

.rs-metric__value {
	display: block;
	color: var(--rs-ink);
	font-size: 2.08rem;
	font-weight: 900;
	line-height: 1;
}

.rs-metric span {
	display: block;
	margin-top: 8px;
	color: var(--rs-muted);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
}

.rs-case {
	display: grid;
	gap: 30px;
	align-items: center;
	padding: 74px 0;
}

.rs-case__visual {
	min-width: 0;
}

.rs-case-board {
	position: relative;
	min-height: 340px;
	padding: 22px;
	border: 1px solid var(--rs-line);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(255, 179, 71, 0.14), transparent 38%),
		rgba(255, 255, 255, 0.07);
	box-shadow: var(--rs-shadow);
}

.rs-case-board__label {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	padding: 0 10px;
	border-radius: 8px;
	background: rgba(66, 242, 210, 0.12);
	color: var(--rs-primary);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.rs-case-board__screen {
	display: grid;
	gap: 12px;
	margin-top: 36px;
}

.rs-case-board__screen span {
	display: block;
	height: 42px;
	border-radius: 8px;
	background: linear-gradient(90deg, rgba(66, 242, 210, 0.42), rgba(255, 255, 255, 0.08));
}

.rs-case-board__screen span:nth-child(2) {
	width: 78%;
	background: linear-gradient(90deg, rgba(255, 179, 71, 0.38), rgba(255, 255, 255, 0.08));
}

.rs-case-board__screen span:nth-child(3) {
	width: 58%;
}

.rs-case-board__rows {
	display: grid;
	gap: 10px;
	margin-top: 34px;
}

.rs-case-board__rows i {
	display: block;
	height: 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.13);
}

.rs-case__content {
	max-width: 560px;
}

.rs-case__content .rs-button {
	margin-top: 26px;
}

.rs-cta {
	padding: 70px 0 96px;
	text-align: center;
}

.rs-cta__content {
	max-width: 900px;
	margin: 0 auto;
	padding: 38px 24px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(66, 242, 210, 0.16), transparent 46%),
		linear-gradient(220deg, rgba(255, 179, 71, 0.16), transparent 52%),
		rgba(255, 255, 255, 0.075);
	box-shadow: var(--rs-shadow);
	backdrop-filter: blur(20px);
}

.rs-home--fallback {
	display: grid;
	min-height: 100vh;
	place-items: center;
}

@media (min-width: 680px) {
	.rs-hero,
	.rs-section,
	.rs-metrics,
	.rs-case,
	.rs-cta {
		width: min(1160px, calc(100% - 48px));
	}

	.rs-hero h1 {
		font-size: 3.58rem;
	}

	.rs-section h2,
	.rs-case h2,
	.rs-cta h2 {
		font-size: 2.44rem;
	}
}

@media (min-width: 820px) {
	.rs-nav {
		display: inline-flex;
		position: static;
		align-items: center;
		background: rgba(5, 6, 9, 0.48);
		box-shadow: none;
		backdrop-filter: none;
	}

	.rs-nav-toggle {
		display: none;
	}

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

@media (min-width: 980px) {
	.rs-hero {
		grid-template-columns: minmax(0, 0.96fr) minmax(410px, 1.04fr);
		padding-top: 58px;
	}

	.rs-hero h1 {
		font-size: 4.64rem;
	}

	.rs-case {
		grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
	}
}

@media (max-width: 520px) {
	.rs-header {
		width: min(100% - 24px, 1160px);
		padding: 10px;
	}

	.rs-brand__text {
		max-width: 200px;
	}

	.rs-brand__logo {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.rs-hero,
	.rs-section,
	.rs-metrics,
	.rs-case,
	.rs-cta {
		width: min(100% - 24px, 1160px);
	}

	.rs-hero {
		min-height: auto;
		padding: 48px 0 58px;
	}

	.rs-hero h1 {
		font-size: 2.34rem;
	}

	.rs-hero__lead {
		font-size: 1rem;
	}

	.rs-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.rs-button {
		width: 100%;
	}

	.rs-dashboard {
		padding: 12px;
	}

	.rs-dashboard__panel {
		min-height: 112px;
		padding: 14px;
	}

	.rs-dashboard__panel--wide {
		min-height: 176px;
	}

	.rs-dashboard__chart {
		height: 78px;
		gap: 8px;
	}

	.rs-dashboard__footer {
		padding: 14px;
	}

	.rs-section {
		padding: 54px 0 42px;
	}

	.rs-metrics {
		grid-template-columns: 1fr;
	}

	.rs-case {
		padding: 56px 0;
	}

	.rs-case-board {
		min-height: 300px;
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.rs-reveal {
		opacity: 1;
		transform: none;
	}

	.rs-button:hover,
	.rs-button:focus-visible {
		transform: none;
	}
}
