:root {
	--rx-red: #ff3b3b;
	--rx-red-soft: #ff6b6b;
	--rx-black: #0f1117;
	--rx-panel: #1e232b;
	--rx-muted: #6b7280;
	--rx-white: #f7f7f8;
	--rx-ink: #111318;
	--rx-line: rgba(247, 247, 248, .12);
	--rx-line-dark: rgba(15, 17, 23, .12);
	--rx-glow: rgba(255, 59, 59, .36);
	--rx-shadow: 0 24px 70px rgba(15, 17, 23, .22);
	--rx-radius: 8px;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--rx-white);
	background:
		radial-gradient(circle at 12% 0%, rgba(255, 59, 59, .22), transparent 30rem),
		linear-gradient(180deg, #08090d 0%, var(--rx-black) 44%, #151922 100%);
	overflow-x: hidden;
}

body.rx-light {
	color: var(--rx-ink);
	background:
		radial-gradient(circle at 88% 0%, rgba(255, 59, 59, .12), transparent 24rem),
		linear-gradient(180deg, #ffffff 0%, var(--rx-white) 54%, #eceef2 100%);
}

a {
	color: inherit;
}

img {
	max-width: 100%;
}

.rx-page {
	min-height: 100vh;
}

.rx-nav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(15, 17, 23, .82);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--rx-line);
}

.rx-nav.rx-nav-floating {
	position: sticky;
	top: 14px;
	margin: 14px 18px 0;
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	box-shadow: 0 18px 52px rgba(0, 0, 0, .34);
}

.rx-nav.rx-nav-floating > .container {
	max-width: min(1680px, calc(100% - 32px));
}

.rx-light .rx-nav {
	background: rgba(247, 247, 248, .92);
	border-bottom-color: var(--rx-line-dark);
}

.rx-nav .navbar-brand img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: var(--rx-radius);
}

.rx-brand-word,
.rx-display,
.rx-section-title,
.rx-title-font {
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	letter-spacing: 0;
}

.rx-brand-word {
	color: #ffffff;
	font-weight: 800;
}

.rx-light .rx-brand-word {
	color: var(--rx-ink);
}

.rx-nav .nav-link {
	color: rgba(247, 247, 248, .72);
	font-weight: 800;
	font-size: .93rem;
}

.rx-light .rx-nav .nav-link {
	color: #47505e;
}

.rx-nav .nav-link:hover,
.rx-nav .nav-link:focus,
.rx-nav .nav-link.active {
	color: #ffffff;
}

.rx-light .rx-nav .nav-link:hover,
.rx-light .rx-nav .nav-link:focus,
.rx-light .rx-nav .nav-link.active {
	color: var(--rx-red);
}

.navbar-toggler {
	border-color: rgba(247, 247, 248, .22);
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 4px rgba(255, 59, 59, .22);
}

.rx-nav .navbar-toggler-icon {
	filter: invert(1);
}

.rx-light .rx-nav .navbar-toggler-icon {
	filter: none;
}

.rx-nav:not(.rx-nav-floating) + main {
	padding-top: clamp(2.25rem, 4vw, 3.75rem) !important;
}

.rx-btn,
.rx-btn-secondary,
.rx-btn-ghost,
.rx-btn-danger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	border-radius: var(--rx-radius);
	min-height: 46px;
	padding: 12px 18px;
	font-weight: 900;
	text-decoration: none;
	transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
	cursor: pointer;
}

.rx-btn {
	border: 1px solid rgba(255, 107, 107, .42);
	color: #ffffff;
	background: linear-gradient(135deg, var(--rx-red) 0%, #d82929 100%);
	box-shadow: 0 16px 36px rgba(255, 59, 59, .28);
}

.rx-btn:hover,
.rx-btn:focus {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 20px 44px rgba(255, 59, 59, .36);
}

.rx-btn-secondary {
	border: 1px solid rgba(247, 247, 248, .18);
	color: #ffffff;
	background: rgba(247, 247, 248, .08);
}

.rx-btn-secondary:hover,
.rx-btn-secondary:focus {
	color: #ffffff;
	background: rgba(247, 247, 248, .14);
	border-color: rgba(247, 247, 248, .28);
}

.rx-btn-ghost {
	border: 1px solid var(--rx-line-dark);
	color: var(--rx-ink);
	background: #ffffff;
}

.rx-btn-ghost:hover,
.rx-btn-ghost:focus {
	color: var(--rx-red);
	border-color: rgba(255, 59, 59, .42);
}

.rx-btn-danger {
	border: 1px solid rgba(255, 59, 59, .3);
	color: #ffffff;
	background: #b92020;
}

.rx-chip,
.rx-kicker,
.rx-status-pill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	border-radius: var(--rx-radius);
	font-weight: 900;
}

.rx-kicker {
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	color: #ffffff;
	background: rgba(255, 255, 255, .08);
	text-transform: uppercase;
	font-size: .78rem;
	letter-spacing: .08em;
}

.rx-chip {
	padding: 8px 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .07);
	color: rgba(247, 247, 248, .84);
	font-size: .86rem;
}

.rx-status-pill {
	width: max-content;
	padding: 7px 10px;
	background: rgba(255, 59, 59, .12);
	color: #ffb5b5;
	text-transform: capitalize;
	font-size: .86rem;
}

.rx-status-pill.rx-status-ok {
	background: rgba(44, 191, 132, .13);
	color: #67e8b4;
}

.rx-section {
	padding: 92px 0;
	position: relative;
}

.rx-section-tight {
	padding: 54px 0;
}

.rx-section-title {
	font-size: clamp(2rem, 4.2vw, 4.6rem);
	line-height: .98;
	font-weight: 800;
	margin: 0;
}

.rx-section-lead {
	max-width: 720px;
	color: rgba(247, 247, 248, .72);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.75;
	margin: 14px 0 0;
}

.rx-light .rx-section-lead {
	color: #535c69;
}

.rx-card,
.rx-panel {
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	background: rgba(30, 35, 43, .78);
	box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}

.rx-light .rx-card,
.rx-light .rx-panel {
	border-color: var(--rx-line-dark);
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 18px 52px rgba(15, 17, 23, .09);
}

.rx-panel {
	padding: clamp(22px, 3vw, 34px);
}

.rx-card-hover {
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.rx-card-hover:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 59, 59, .45);
	box-shadow: 0 26px 74px rgba(255, 59, 59, .12), 0 18px 54px rgba(0, 0, 0, .2);
}

.rx-hero {
	position: relative;
	min-height: calc(100vh - 84px);
	padding: clamp(92px, 10vh, 124px) 0 72px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(8, 9, 13, .98) 0%, rgba(8, 9, 13, .86) 38%, rgba(8, 9, 13, .18) 74%),
		var(--rx-hero-image) center/cover no-repeat;
}

.rx-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 18vh;
	background: linear-gradient(180deg, rgba(15, 17, 23, 0), var(--rx-black));
	pointer-events: none;
}

.rx-hero-content {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.rx-hero h1 {
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	font-size: clamp(3rem, 6.2vw, 5.7rem);
	line-height: .9;
	font-weight: 800;
	margin: 22px 0 18px;
}

.rx-hero-copy {
	color: rgba(247, 247, 248, .78);
	font-size: clamp(1rem, 1.8vw, 1.24rem);
	line-height: 1.7;
	max-width: 680px;
}

.rx-hero-actions,
.rx-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.rx-hero-actions {
	margin-top: 28px;
}

.rx-hero-stats,
.rx-metric-grid,
.rx-plan-grid,
.rx-feature-grid,
.rx-qa-grid {
	display: grid;
	gap: 16px;
}

.rx-hero-stats {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 28px;
	max-width: 760px;
}

.rx-stat,
.rx-metric {
	padding: 18px;
	min-height: 118px;
}

.rx-stat {
	min-height: 96px;
}

.rx-stat strong,
.rx-metric strong {
	display: block;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 900;
	line-height: 1.05;
}

.rx-stat span,
.rx-metric span {
	color: rgba(247, 247, 248, .64);
	font-weight: 700;
}

.rx-plan-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.rx-plan-card {
	position: relative;
	overflow: hidden;
	padding: 26px;
}

.rx-plan-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, var(--rx-red), var(--rx-red-soft));
}

.rx-plan-card.featured {
	border-color: rgba(255, 59, 59, .55);
	box-shadow: 0 26px 74px rgba(255, 59, 59, .18), 0 18px 54px rgba(0, 0, 0, .22);
}

.rx-plan-tier {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: var(--rx-radius);
	padding: 9px 12px;
	background: rgba(255, 255, 255, .08);
	color: #ffffff;
	font-weight: 900;
	margin-bottom: 16px;
}

.rx-light .rx-plan-tier {
	background: #12151c;
}

.rx-plan-card.featured .rx-plan-tier {
	background: var(--rx-red);
}

.rx-price {
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 900;
	margin: 18px 0;
	line-height: 1;
}

.rx-price small {
	font-size: .95rem;
	color: rgba(247, 247, 248, .58);
	font-weight: 800;
}

.rx-light .rx-price small {
	color: #667085;
}

.rx-list {
	list-style: none;
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
}

.rx-list li {
	display: flex;
	gap: 10px;
	color: rgba(247, 247, 248, .74);
}

.rx-light .rx-list li {
	color: #3f4855;
}

.rx-list i {
	color: var(--rx-red-soft);
	margin-top: 2px;
}

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

.rx-feature-card {
	padding: 22px;
	min-height: 220px;
	overflow: hidden;
}

.rx-feature-icon {
	width: 48px;
	height: 48px;
	display: inline-grid;
	place-items: center;
	border-radius: var(--rx-radius);
	color: #ffffff;
	background: linear-gradient(135deg, var(--rx-red), #9d1515);
	font-size: 1.35rem;
	margin-bottom: 16px;
}

.rx-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
	gap: clamp(24px, 4vw, 58px);
	align-items: center;
}

.rx-media-frame {
	overflow: hidden;
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	background: #08090d;
	box-shadow: var(--rx-shadow);
}

.rx-media-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-mission-hero {
	position: relative;
	overflow: hidden;
	min-height: 340px;
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	background:
		linear-gradient(90deg, rgba(15, 17, 23, .96), rgba(15, 17, 23, .72), rgba(15, 17, 23, .22)),
		var(--rx-hero-image) center/cover no-repeat;
	box-shadow: var(--rx-shadow);
}

.rx-mission-content {
	position: relative;
	z-index: 2;
	padding: clamp(26px, 5vw, 56px);
	max-width: 820px;
}

.rx-mission-hero h1 {
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	font-size: clamp(2.25rem, 5vw, 5rem);
	line-height: .94;
	font-weight: 800;
	margin: 14px 0;
}

.rx-mission-hero p {
	color: rgba(247, 247, 248, .74);
	line-height: 1.75;
	max-width: 720px;
}

.rx-metric-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 18px 0;
}

.rx-metric i {
	width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	border-radius: var(--rx-radius);
	color: #ffffff;
	background: var(--rx-red);
	font-size: 1.25rem;
	margin-bottom: 14px;
}

.rx-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
	gap: 18px;
	margin-bottom: 18px;
}

.rx-server-row {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto auto auto;
	gap: 14px;
	align-items: center;
	padding: 18px 0;
	border-top: 1px solid var(--rx-line);
}

.rx-light .rx-server-row {
	border-top-color: var(--rx-line-dark);
}

.rx-server-row:first-of-type {
	border-top: 0;
}

.rx-spec-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: var(--rx-radius);
	background: rgba(255, 59, 59, .12);
	color: #ffc5c5;
	font-weight: 850;
}

.rx-light .rx-spec-badge {
	background: #fff1f1;
	color: #9e1d1d;
}

.rx-empty {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 22px;
	align-items: center;
	padding: 22px;
	border: 1px dashed rgba(255, 59, 59, .32);
	border-radius: var(--rx-radius);
	background: rgba(255, 59, 59, .06);
}

.rx-empty img {
	max-height: 168px;
	object-fit: contain;
}

.rx-quick-list {
	display: grid;
	gap: 12px;
}

.rx-quick-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--rx-line-dark);
	border-radius: var(--rx-radius);
	background: #ffffff;
	color: var(--rx-ink);
	text-decoration: none;
	font-weight: 850;
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.rx-quick-link:hover,
.rx-quick-link:focus {
	color: var(--rx-red);
	border-color: rgba(255, 59, 59, .42);
	transform: translateY(-1px);
}

.rx-form .form-label {
	font-weight: 850;
	color: #222733;
}

.rx-form .form-control,
.rx-form .form-select {
	min-height: 52px;
	border-radius: var(--rx-radius);
	border: 1px solid var(--rx-line-dark);
}

.rx-form textarea.form-control {
	min-height: 172px;
}

.rx-form .form-control:focus,
.rx-form .form-select:focus {
	border-color: rgba(255, 59, 59, .6);
	box-shadow: 0 0 0 4px rgba(255, 59, 59, .13);
}

.rx-table th {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #697386;
}

.rx-table td,
.rx-table th {
	padding: 15px 10px;
}

.rx-auth-shell {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.rx-auth-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background:
		linear-gradient(90deg, rgba(8, 9, 13, .96), rgba(8, 9, 13, .74)),
		var(--rx-auth-image) center/cover no-repeat;
}

.rx-auth-card {
	display: grid;
	grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
	min-height: 710px;
	overflow: hidden;
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	background: rgba(247, 247, 248, .98);
	box-shadow: var(--rx-shadow);
}

.rx-auth-showcase {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	padding: clamp(32px, 4vw, 54px);
	color: #ffffff;
	background:
		linear-gradient(180deg, rgba(15, 17, 23, .2), rgba(15, 17, 23, .82)),
		var(--rx-auth-panel-image) center/cover no-repeat;
}

.rx-auth-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 4vw, 54px);
	color: var(--rx-ink);
}

.rx-brand-logo {
	width: 82px;
	height: 82px;
	border-radius: var(--rx-radius);
	overflow: hidden;
	background: #ffffff;
	display: inline-grid;
	place-items: center;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.rx-brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-alert {
	border: 1px solid rgba(255, 59, 59, .25);
	border-radius: var(--rx-radius);
	background: rgba(255, 59, 59, .09);
	color: #7f1d1d;
	padding: 14px 16px;
	font-weight: 750;
}

.rx-footer {
	padding: 30px 0;
	border-top: 1px solid var(--rx-line);
	color: rgba(247, 247, 248, .58);
	background: #08090d;
}

.rx-light .rx-footer {
	border-top-color: var(--rx-line-dark);
	color: #667085;
	background: #ffffff;
}

.rx-sticky-cta {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 70;
	display: none;
}

.rx-public .rx-sticky-cta {
	display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

@media (max-width: 1199px) {
	.rx-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	html {
		scroll-padding-top: 92px;
	}

	.rx-nav.rx-nav-floating {
		top: 8px;
		margin: 8px;
	}

	.rx-hero {
		min-height: auto;
		padding-top: 96px;
		background-position: 66% center;
	}

	.rx-hero-stats,
	.rx-plan-grid,
	.rx-metric-grid,
	.rx-dashboard-grid,
	.rx-split,
	.rx-qa-grid {
		grid-template-columns: 1fr;
	}

	.rx-dashboard-grid {
		gap: 16px;
	}

	.rx-server-row {
		grid-template-columns: 1fr;
	}

	.rx-auth-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.rx-auth-showcase {
		min-height: 330px;
	}
}

@media (max-width: 575px) {
	.rx-section {
		padding: 64px 0;
	}

	.rx-hero {
		padding-top: 74px;
	}

	.rx-hero h1 {
		font-size: clamp(2.8rem, 16vw, 4.2rem);
	}

	.rx-hero-stats,
	.rx-feature-grid,
	.rx-empty {
		grid-template-columns: 1fr;
	}

	.rx-auth-page {
		padding: 14px;
		align-items: flex-start;
	}

	.rx-auth-showcase,
	.rx-auth-panel {
		padding: 26px 20px;
	}

	.rx-sticky-cta {
		left: 14px;
		right: 14px;
		bottom: 14px;
	}

	.rx-sticky-cta .rx-btn {
		width: 100%;
	}
}
