.landing-page {
	width: 100%;
	align-items: stretch;
	justify-content: flex-start;
	overflow: hidden;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page p,
.landing-page figure {
	margin: 0;
}

.landing-page h1,
.landing-page h2,
.landing-page h3 {
	color: var(--text);
	font-family: "Libre Baskerville", Georgia, serif;
	letter-spacing: 0;
}

.landing-page p {
	color: var(--muted);
	font-family: "Poppins", sans-serif;
	line-height: 1.75;
}

.landing-page a,
.landing-page button {
	cursor: pointer;
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
	outline: 3px solid rgba(196, 171, 159, 0.95);
	outline-offset: 4px;
}

.section-kicker {
	color: var(--accent) !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-align: center;
}

.landing-hero {
	padding-top: 150px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
	flex-direction: column;
}

#hero-title {
	font-size: clamp(4rem, 11vw, 9.4rem);
	padding-top: 32px !important;
}

.hero-lead {
	max-width: 720px;
	margin-top: 28px !important;
	color: rgba(244, 241, 234, 0.84) !important;
	font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
	text-align: center;
	padding-bottom: 20px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.landing-page .btn {
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 700;
	min-height: 54px;
	padding-inline: 24px;
	transition:
		background-color 220ms ease,
		border-color 220ms ease,
		color 220ms ease,
		box-shadow 220ms ease;
}

.landing-page .btn-cta {
	background: var(--accent-strong);
	border-color: var(--accent-strong);
	color: #f4f1ea !important;
	box-shadow: 0 18px 38px rgba(74, 106, 106, 0.28);
}

.landing-page .btn-cta:hover {
	background: #5a7a7a;
	border-color: #5a7a7a;
	color: #ffffff !important;
}

.landing-page .btn-ghost {
	border: 1px solid var(--border);
	color: var(--text);
	background: rgba(255, 255, 255, 0.055);
}

.landing-page .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
}

.landing-section {
	padding: clamp(68px, 9vw, 112px) 0;
}

.section-heading {
	max-width: 780px;
	margin-bottom: 38px;
	margin-inline: auto;
}

.section-heading h2,
.rules-grid div h2 {
	margin-top: 12px;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.08;
	text-align: center;
}

.section-heading p:not(.section-kicker),
.rules-grid div p:not(.section-kicker) {
	margin-top: 18px;
	font-size: 1.02rem;
	text-align: center;
}

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

.flow-card,
.role-card,
.rules-panel {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.045);
	padding: clamp(22px, 3vw, 32px);
	transition:
		background-color 220ms ease,
		border-color 220ms ease,
		box-shadow 220ms ease;
}

.flow-card:hover,
.role-card:hover {
	background: rgba(255, 255, 255, 0.075);
	border-color: rgba(196, 171, 159, 0.34);
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

.flow-card span {
	display: block;
	color: var(--accent);
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 1.05rem;
}

.flow-card i,
.role-card i {
	color: var(--accent);
	font-size: 1.5rem;
	margin-top: 26px;
}

.flow-card h3,
.role-card h3 {
	margin-top: 22px;
	font-size: clamp(1.22rem, 2vw, 1.62rem);
}

.flow-card p,
.role-card p {
	margin-top: 13px;
}

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

.rules-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
	gap: clamp(32px, 6vw, 82px);
	align-items: center;
}

.rules-panel {
	display: grid;
	gap: 16px;
	/* background: var(--panel-strong); */
}

.rules-panel div {
	display: grid;
	gap: 6px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.rules-panel div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.rules-panel strong {
	color: var(--text);
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: clamp(1.55rem, 3vw, 2.4rem);
	font-weight: 400;
}

.rules-panel span {
	color: var(--muted);
}

@media (max-width: 1100px) {
	.rules-grid {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 768px) {
	.landing-hero {
		min-height: auto;
		padding: 150px 0 58px;
		background-position: center;
	}

	#hero-title {
		font-size: clamp(3.1rem, 18vw, 5rem);
		text-align: center;
	}

	.hero-actions,
	.flow-grid,
	.roles-grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hero-actions .btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.landing-hero {
		padding-top: 132px;
	}

	.landing-page .btn {
		min-height: 50px;
		padding-inline: 16px;
	}

	.flow-card,
	.role-card,
	.rules-panel {
		padding: 20px;
	}
}

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

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