.rl-home {
	--rl-ink: #182026;
	--rl-muted: #60717a;
	--rl-paper: #f6f9f7;
	--rl-panel: #ffffff;
	--rl-line: #dbe5df;
	--rl-graphite: #111820;
	--rl-teal: #00a7b5;
	--rl-green: #2bbf7f;
	--rl-amber: #f3a93b;
	color: var(--rl-ink);
	background: var(--rl-paper);
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0;
}

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

.rl-home a {
	text-decoration: none;
}

.rl-home__inner {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.rl-eyebrow {
	margin: 0 0 12px;
	color: var(--rl-teal);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.rl-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #ffffff;
	background-image:
		linear-gradient(90deg, rgba(11, 17, 23, 0.94) 0%, rgba(11, 17, 23, 0.84) 34%, rgba(11, 17, 23, 0.30) 67%, rgba(11, 17, 23, 0.16) 100%),
		url("../images/realine-fx-ai-hero.png");
	background-position: center;
	background-size: cover;
}

.rl-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 167, 181, 0.8), transparent);
}

.rl-hero__inner {
	position: relative;
	z-index: 1;
	padding: 78px 0 70px;
}

.rl-hero__copy {
	max-width: 640px;
}

.rl-hero h1 {
	margin: 0;
	color: #ffffff;
	font-size: 3rem;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: 0;
}

.rl-hero__lead {
	max-width: 600px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.08rem;
}

.rl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.rl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-weight: 700;
	line-height: 1.3;
	transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.rl-button::after {
	content: ">";
	margin-left: 10px;
	font-size: 0.9em;
	line-height: 1;
}

.rl-button:hover,
.rl-button:focus {
	transform: translateY(-1px);
	text-decoration: none;
}

.rl-button--primary {
	color: #071014;
	background: linear-gradient(135deg, var(--rl-green), #7be0bc);
	border-color: rgba(255, 255, 255, 0.18);
}

.rl-button--ghost {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.30);
}

.rl-button--light {
	color: var(--rl-graphite);
	background: #ffffff;
	border-color: rgba(255, 255, 255, 0.55);
}

.rl-hero__signals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
	margin: 48px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	list-style: none;
}

.rl-hero__signals li {
	min-width: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

.rl-hero__signals span {
	display: block;
	color: #ffffff;
	font-weight: 800;
}

.rl-section {
	padding: 76px 0;
}

.rl-section__header {
	max-width: 760px;
	margin-bottom: 34px;
}

.rl-section__header h2,
.rl-roadmap__intro h2,
.rl-products h2 {
	margin: 0;
	color: var(--rl-ink);
	font-size: 2rem;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: 0;
}

.rl-section__header p,
.rl-roadmap__intro p,
.rl-products p {
	margin: 14px 0 0;
	color: var(--rl-muted);
}

.rl-section--tracks {
	background: #ffffff;
}

.rl-track-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.rl-track-card,
.rl-post-card {
	border: 1px solid var(--rl-line);
	border-radius: 8px;
	background: var(--rl-panel);
	box-shadow: 0 14px 36px rgba(24, 32, 38, 0.06);
}

.rl-track-card {
	padding: 26px;
}

.rl-track-card__label {
	display: inline-flex;
	margin: 0 0 18px;
	padding: 4px 10px;
	border-radius: 6px;
	color: #0f614f;
	background: rgba(43, 191, 127, 0.12);
	font-size: 0.82rem;
	font-weight: 700;
}

.rl-track-card h3,
.rl-step h3,
.rl-post-card h3 {
	margin: 0;
	color: var(--rl-ink);
	line-height: 1.45;
	font-weight: 800;
	letter-spacing: 0;
}

.rl-track-card h3 {
	font-size: 1.18rem;
}

.rl-track-card p:not(.rl-track-card__label) {
	margin: 14px 0 0;
	color: var(--rl-muted);
}

.rl-text-link {
	display: inline-flex;
	align-items: center;
	margin-top: 22px;
	color: #007b88;
	font-weight: 800;
}

.rl-text-link::after {
	content: ">";
	margin-left: 8px;
}

.rl-section--roadmap {
	background:
		linear-gradient(180deg, rgba(0, 167, 181, 0.08), transparent 52%),
		var(--rl-paper);
}

.rl-roadmap {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 44px;
	align-items: start;
}

.rl-step-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rl-step {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 18px;
	padding: 22px;
	border: 1px solid var(--rl-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.78);
}

.rl-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	color: #071014;
	background: var(--rl-amber);
	font-weight: 900;
}

.rl-step p {
	margin: 8px 0 0;
	color: var(--rl-muted);
}

.rl-section--products {
	padding: 52px 0;
	color: #ffffff;
	background:
		linear-gradient(135deg, rgba(0, 167, 181, 0.92), rgba(43, 191, 127, 0.90)),
		var(--rl-teal);
}

.rl-products {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px;
	align-items: center;
}

.rl-products .rl-eyebrow,
.rl-products h2,
.rl-products p {
	color: #ffffff;
}

.rl-products p {
	max-width: 720px;
	opacity: 0.88;
}

.rl-section--latest {
	background: #ffffff;
}

.rl-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.rl-post-card {
	overflow: hidden;
}

.rl-post-card__link {
	display: grid;
	height: 100%;
	color: inherit;
}

.rl-post-card__link:hover,
.rl-post-card__link:focus {
	text-decoration: none;
}

.rl-post-card__media {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #ffffff;
	background:
		linear-gradient(135deg, rgba(17, 24, 32, 0.82), rgba(0, 167, 181, 0.54)),
		var(--rl-graphite);
	font-weight: 800;
}

.rl-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rl-post-card__body {
	padding: 20px;
}

.rl-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 12px;
	color: var(--rl-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.rl-post-card__meta span {
	color: #007b88;
}

.rl-post-card h3 {
	font-size: 1rem;
}

.rl-post-card p {
	margin: 10px 0 0;
	color: var(--rl-muted);
	font-size: 0.92rem;
}

.rl-empty {
	margin: 0;
	color: var(--rl-muted);
}

.rl-section--notice {
	padding: 30px 0 54px;
	background: #ffffff;
}

.rl-notice {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--rl-line);
	color: var(--rl-muted);
}

.rl-notice strong {
	color: var(--rl-ink);
}

.rl-notice p {
	margin: 0;
}

@media (max-width: 991px) {
	.rl-hero {
		min-height: 540px;
		background-position: 64% center;
	}

	.rl-hero h1 {
		font-size: 2.45rem;
	}

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

	.rl-roadmap,
	.rl-products,
	.rl-notice {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.rl-home__inner {
		width: min(100% - 24px, 1120px);
	}

	.rl-hero {
		min-height: auto;
		background-position: 70% center;
	}

	.rl-hero__inner {
		padding: 54px 0 48px;
	}

	.rl-hero h1 {
		font-size: 2rem;
	}

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

	.rl-hero__actions,
	.rl-button {
		width: 100%;
	}

	.rl-track-grid,
	.rl-post-grid {
		grid-template-columns: 1fr;
	}

	.rl-hero__signals {
		display: none;
	}

	.rl-section {
		padding: 58px 0;
	}

	.rl-section__header h2,
	.rl-roadmap__intro h2,
	.rl-products h2 {
		font-size: 1.55rem;
	}

	.rl-track-card,
	.rl-step {
		padding: 20px;
	}

	.rl-step {
		grid-template-columns: 44px 1fr;
		gap: 14px;
	}

	.rl-step__num {
		width: 40px;
		height: 40px;
	}
}
