/*
 * Sales Lead Capture pages (event/conference forms).
 * Loads after hcp-landing/output.css and reuses its tokens
 * (--color-brand-*, --spacing-fluid-*, --text-*). Scoped to .lc-*.
 */

.lc-body {
	background-color: #F7F7F7;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.lc-header {
	position: relative;
	z-index: 20;
}

.lc-main {
	flex: 1 0 auto;
	padding-bottom: var(--spacing-fluid-xl);
}

/* Hero band: same gradient as the HCP hero */
.lc-hero {
	background-image: linear-gradient(180deg, var(--color-brand-dark), var(--color-brand-primary));
	color: #fff;
	padding-top: var(--spacing-fluid-xl);
	padding-bottom: calc(var(--spacing-fluid-xl) + 4rem);
}

.lc-hero--compact {
	padding-top: var(--spacing-fluid-md);
	padding-bottom: calc(var(--spacing-fluid-lg) + 4rem);
}

.lc-hero__inner {
	max-width: 760px;
}

.lc-hero__title {
	font-size: var(--text-4xl);
	font-weight: 300;
	line-height: 1.25;
	margin: 0;
	text-wrap: balance;
}

.lc-hero__lede {
	font-size: var(--text-lg);
	font-weight: 300;
	margin: 1rem 0 0;
	opacity: .9;
}

/* Content pulled up over the hero */
.lc-section {
	margin-top: -4rem;
	position: relative;
	z-index: 10;
}

/* Selector cards */
.lc-cards {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 760px;
	display: grid;
	gap: var(--spacing-fluid-xs);
}

#main .lc-cards {
	list-style: none;
	padding-left: 0;
	margin-top: 0;
}

@media (min-width: 48rem) {
	.lc-cards {
		grid-template-columns: 1fr 1fr;
	}
}

.lc-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	height: 100%;
	min-height: 11rem;
	padding: var(--spacing-fluid-md);
	background: #fff;
	border-radius: 23px;
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
	color: var(--color-brand-dark);
	text-decoration: none;
	position: relative;
	transition: transform .25s ease, box-shadow .25s ease;
}

.lc-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
}

.lc-card:focus-visible {
	outline: 3px solid var(--color-brand-secondary);
	outline-offset: 3px;
}

.lc-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 100%;
	background: rgb(88 200 225 / .15);
	color: var(--color-brand-primary);
}

.lc-card__icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

.lc-card__title {
	font-size: var(--text-2xl);
	font-weight: 700;
	line-height: 1.25;
	margin-top: auto;
	padding-right: 3.5rem;
}

/* Gradient arrow chip, matches .btn-link */
.lc-card__arrow {
	position: absolute;
	right: var(--spacing-fluid-md);
	bottom: var(--spacing-fluid-md);
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 16px 20px 20px 16px;
	background: url('../hcp-landing/src/images/arrow-up-right.svg') no-repeat center / 35%, linear-gradient(180deg, var(--color-brand-dark), var(--color-brand-primary));
	transition: transform .25s ease;
}

.lc-card:hover .lc-card__arrow {
	transform: translateX(3px);
}

/* Breadcrumb */
.lc-breadcrumb {
	margin-bottom: var(--spacing-fluid-sm);
	font-size: var(--text-sm);
}

#main .lc-breadcrumb ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
}

.lc-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.lc-breadcrumb li + li::before {
	content: '';
	width: .45rem;
	height: .45rem;
	border-top: 1.5px solid var(--color-brand-secondary);
	border-right: 1.5px solid var(--color-brand-secondary);
	transform: rotate(45deg);
	margin-right: .25rem;
}

.lc-breadcrumb a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--color-brand-secondary);
}

.lc-breadcrumb a:hover {
	text-decoration-thickness: 2px;
}

.lc-breadcrumb [aria-current] {
	opacity: .8;
}

/* Form card: same treatment as the HCP form panel */
.lc-form-card {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border-radius: 1.5rem;
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
	/* The HubSpot iframe carries its own inner padding, so keep this light. */
	padding: var(--spacing-fluid-xs) 0;
	overflow: hidden;
	min-height: 24rem;
}

.lc-alt {
	max-width: 760px;
	margin: var(--spacing-fluid-sm) auto 0;
	text-align: center;
	font-size: var(--text-sm);
}

.lc-alt a {
	color: var(--color-brand-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.lc-card,
	.lc-card__arrow {
		transition: none;
	}
}
