.home-landing {
	padding: clamp(1rem, 2vh, 1.5rem);
}

.home-grid {
	width: min(1280px, 100%);
	margin: 0 auto;
	display: grid;
	gap: 1rem;
}

.home-intro-panel,
.home-explore-panel,
.home-card {
	border: 1px solid color-mix(in srgb, var(--vp-c-brand-1) 10%, var(--vp-c-divider));
	border-radius: 24px;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--vp-c-brand-1) 4%, var(--vp-c-bg-elv)) 0%, var(--vp-c-bg-elv) 100%);
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.home-intro-panel,
.home-explore-panel {
	padding: clamp(1.25rem, 2.4vw, 2rem);
	min-width: 0;
}

.home-intro-panel {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	background:
		radial-gradient(circle at top right, color-mix(in srgb, var(--vp-c-brand-1) 18%, transparent) 0%, transparent 48%),
		linear-gradient(180deg, color-mix(in srgb, var(--vp-c-brand-1) 6%, var(--vp-c-bg-elv)) 0%, var(--vp-c-bg-elv) 100%);
}

.home-intro-panel::after {
	content: "";
	position: absolute;
	inset: auto -12% -22% auto;
	width: 17rem;
	height: 17rem;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--vp-c-brand-1) 20%, transparent) 0%, transparent 68%);
	pointer-events: none;
}

.home-eyebrow,
.home-panel-kicker,
.home-card-label {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--vp-c-brand-2);
}

.home-intro-panel h1,
.home-panel-header h2,
.home-card-title,
.home-summary,
.home-card p {
	margin: 0;
}

.home-intro-panel h1 {
	font-size: clamp(2.2rem, 10vw, 3.3rem);
	line-height: 0.94;
	max-width: 8ch;
	color: var(--vp-c-text-1);
}

.home-summary {
	max-width: 34rem;
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	line-height: 1.55;
	color: var(--vp-c-text-2);
}

.home-primary-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.home-primary-link,
.home-inline-link,
.home-card {
	text-decoration: none;
}

.home-primary-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.78rem 1.1rem;
	border-radius: 999px;
	border: 1px solid var(--vp-c-divider);
	background: color-mix(in srgb, var(--vp-c-bg) 72%, white 28%);
	color: var(--vp-c-text-1);
	font-weight: 700;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-primary-link:hover,
.home-inline-link:hover,
.home-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--vp-c-brand-1) 44%, var(--vp-c-divider));
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-primary-link-brand {
	background: linear-gradient(135deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
	color: white;
	border-color: transparent;
}

.home-icon-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.home-icon-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 11rem);
	aspect-ratio: 1;
	padding: 0.85rem;
}

.home-icon-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.home-panel-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.home-panel-header h2 {
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	line-height: 1.1;
	color: var(--vp-c-text-1);
	margin-top: 0.35rem;
}

.home-inline-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--vp-c-divider);
	color: var(--vp-c-text-2);
	font-size: 0.9rem;
	white-space: nowrap;
	transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-card-grid {
	display: grid;
	gap: 0.85rem;
}

.home-card-grid {
	grid-template-columns: 1fr;
	justify-items: center;
	margin-bottom: 0.85rem;
}

.home-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.85rem;
	padding: 1rem 1.05rem;
	width: 100%;
	max-width: 24rem;
	color: var(--vp-c-text-1);
	background: color-mix(in srgb, var(--vp-c-bg) 76%, white 24%);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	min-height: auto;
}

.home-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.home-card-leading {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
}

.home-card-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--vp-c-brand-1);
	flex-shrink: 0;
}


.home-card-title {
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.2;
}

.home-card-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0.48rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--vp-c-brand-1) 30%, var(--vp-c-divider));
	background: color-mix(in srgb, var(--vp-c-brand-1) 10%, var(--vp-c-bg));
	font-size: 0.63rem;
	line-height: 1;
	white-space: nowrap;
}

.home-card p {
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--vp-c-text-2);
}

@media (min-width: 42rem) {
	.home-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-items: stretch;
	}

	.home-card {
		max-width: 100%;
		min-height: 10.5rem;
	}

	.home-card-top {
		flex-wrap: nowrap;
	}

	.home-panel-header {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.home-icon-frame {
		width: min(100%, 15rem);
		padding: 1rem;
	}

	.home-primary-actions {
		flex-direction: row;
	}

	.home-primary-link,
	.home-inline-link {
		width: auto;
	}
}

@media (min-width: 64rem) {
	.home-landing {
		padding: 0.25rem 0.9rem 0.2rem;
	}

	.home-grid {
		grid-template-columns: 1fr;
		min-height: calc(100vh - 3.5rem - 2.8rem);
		align-items: stretch;
		gap: 0.55rem;
	}

	.home-intro-panel {
		display: grid;
		grid-template-columns: minmax(0, 1.22fr) minmax(13rem, 0.78fr);
		grid-template-areas:
			"eyebrow icon"
			"title icon"
			"summary icon"
			"actions icon";
		align-items: center;
		gap: 0.3rem 0.8rem;
		padding: 0.78rem 0.95rem;
	}

	.home-intro-panel > :nth-child(1) {
		grid-area: eyebrow;
	}

	.home-intro-panel > :nth-child(2) {
		grid-area: title;
	}

	.home-intro-panel > :nth-child(3) {
		grid-area: summary;
	}

	.home-intro-panel > :nth-child(4) {
		grid-area: actions;
	}

	.home-intro-panel > :nth-child(5) {
		grid-area: icon;
		align-self: stretch;
		margin-top: 0;
	}

	.home-intro-panel h1 {
		font-size: clamp(2.2rem, 3.6vw, 3.3rem);
	}

	.home-summary {
		max-width: 52rem;
		font-size: 0.94rem;
		line-height: 1.45;
	}

	.home-primary-actions {
		gap: 0.55rem;
	}

	.home-primary-link {
		padding: 0.68rem 0.95rem;
		font-size: 0.95rem;
	}

	.home-explore-panel {
		display: flex;
		flex-direction: column;
		/* justify-content: space-between; */
		/* padding: 0.78rem 0.95rem; */
	}

	.home-card-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin-bottom: 0;
		gap: 0.65rem;
		justify-items: center;
	}

	.home-panel-header {
		margin-bottom: 0.42rem;
	}

	.home-panel-header h2 {
		font-size: 1.38rem;
	}

	.home-card {
		min-height: 7.75rem;
		/* padding: 0.72rem 0.8rem; */
		gap: 0.45rem;
		max-width: 17.5rem;
	}

	.home-card-title {
		font-size: 1rem;
	}

	.home-card-label {
		font-size: 0.58rem;
	}

	.home-card p {
		font-size: 0.82rem;
		line-height: 1.32;
	}

	body.vp-shell-body .site-footer {
		margin-top: 0;
		padding: 0.2rem 0.9rem 0.25rem;
		font-size: 0.72rem;
		min-height: 2rem;
	}
}
