:root {
	--cases-primary: #003d88;
	--cases-primary-dark: #082149;
	--cases-accent: #00b01d;
	--cases-bg: #f5f8fc;
	--cases-surface: #ffffff;
	--cases-text: #22324f;
	--cases-text-soft: #607089;
	--cases-text-muted: #95a3b8;
	--cases-border: #e5edf7;
	--cases-shadow: 0 22px 54px rgba(6, 45, 102, 0.08);
	--cases-shadow-soft: 0 10px 28px rgba(8, 33, 73, 0.07);
	--cases-radius-xl: 28px;
	--cases-radius-lg: 20px;
	--cases-radius-md: 14px;
	--cases-transition: 240ms ease;
	--cases-shell-width: min(1328px, calc(100% - 296px));
}

body.gh-page--cases {
	margin-top: 0;
	background: #ffffff;
	color: var(--cases-text);
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	text-rendering: optimizeLegibility;
}

.cases-page {
	overflow: clip;
	background: #ffffff;
}

.cases-shell {
	width: var(--cases-shell-width);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.cases-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: transform var(--cases-transition), box-shadow var(--cases-transition), background-color var(--cases-transition), color var(--cases-transition), border-color var(--cases-transition);
	cursor: pointer;
	white-space: nowrap;
}

.cases-button:hover {
	transform: translateY(-2px);
}

.cases-button--primary,
.cases-button--submit {
	background: var(--cases-primary);
	color: #ffffff;
	box-shadow: 0 18px 34px rgba(0, 61, 136, 0.18);
}

.cases-button--primary:hover,
.cases-button--submit:hover {
	background: #0d4ea7;
	box-shadow: 0 20px 38px rgba(0, 61, 136, 0.24);
}

.cases-button--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	color: #ffffff;
}

.cases-button--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.5);
}

.cases-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.cases-chip--hero {
	background: rgba(0, 176, 29, 0.18);
	border: 1px solid rgba(0, 176, 29, 0.3);
	color: #d6ffe1;
}

.cases-chip__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cases-accent);
	box-shadow: 0 0 0 5px rgba(0, 176, 29, 0.12);
}

.cases-section-heading {
	display: grid;
	gap: 14px;
	justify-items: center;
	text-align: center;
	margin-bottom: 34px;
	justify-content: start;
}

.cases-section-heading--left {
	justify-items: start;
	text-align: left;
}

.cases-section-heading__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cases-accent);
}

.cases-section-heading__eyebrow--light {
	color: #a9f3b7;
}

.cases-section-heading__title {
	margin: 0;
	font-size: 42px;
	line-height: 1.18;
	font-weight: 600;
	color: var(--cases-text);
}

.cases-section-heading__desc {
	margin: 0;
	max-width: 760px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--cases-text-soft);
}

.cases-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 520ms ease, transform 520ms ease;
	will-change: opacity, transform;
}

.cases-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.cases-toast {
	position: fixed;
	left: 50%;
	bottom: 34px;
	transform: translateX(-50%) translateY(16px);
	min-width: 220px;
	max-width: min(calc(100% - 32px), 420px);
	padding: 14px 18px;
	border-radius: 999px;
	background: rgba(8, 33, 73, 0.94);
	color: #ffffff;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	box-shadow: 0 18px 42px rgba(8, 33, 73, 0.25);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--cases-transition), transform var(--cases-transition);
	z-index: 30;
}

.cases-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@media (max-width: 968px) {
	:root {
		--cases-shell-width: min(1328px, calc(100% - 56px));
	}

	.cases-section-heading__title {
		font-size: 34px;
	}
}

@media (max-width: 750px) {
	:root {
		--cases-shell-width: calc(100% - 32px);
	}

	.cases-button {
		width: 100%;
	}

	.cases-section-heading {
		justify-items: start;
		text-align: left;
	}

	.cases-section-heading__title {
		font-size: 28px;
	}

	.cases-section-heading__desc {
		font-size: 15px;
	}
}