/* Convera landing: steps, pricing, FAQ, closing call to action, footer. */

/* Four steps */
.steps {
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 12px;
}

.step {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border-radius: 24px;
	background: var(--sidebar);
	color: var(--sidebar-accent-foreground);
}

.step-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.step-num {
	font-size: 48px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--sidebar-primary);
}

.step h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
}

.step p {
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: var(--sidebar-foreground);
}

/* Pricing */
.plans {
	gap: 16px;
}

.plan {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px;
	border-radius: 28px;
	transition:
		translate 0.25s ease,
		box-shadow 0.25s ease;
}

/* translate, not transform: the scroll reveal animates transform. */
.plan:hover {
	translate: 0 -6px;
	box-shadow: 0 24px 48px -16px rgb(7 8 155 / 0.25);
}

.plan-dark {
	background: var(--sidebar);
	color: var(--sidebar-accent-foreground);
	--plan-muted: var(--sidebar-foreground);
	--plan-check: var(--status-closing);
}

.plan-light {
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--border);
	--plan-muted: var(--muted-foreground);
	--plan-check: var(--success);
}

.plan-light:hover {
	box-shadow:
		inset 0 0 0 1px var(--border),
		0 24px 48px -16px rgb(7 8 155 / 0.25);
}

.plan-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.plan-head h3 {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 800;
}

.plan-badge {
	padding: 4px 12px;
	border-radius: 9999px;
	background: var(--status-lead);
	color: var(--on-solid);
	font-size: 12px;
	font-weight: 800;
}

.price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 4px;
	color: var(--plan-muted);
}

.price b {
	font-size: 48px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--foreground);
}

.plan-dark .price b {
	color: var(--sidebar-accent-foreground);
}

.plan-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.plan-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.plan-list .icon {
	color: var(--plan-check);
}

/* FAQ as a chat */
.faq-grid {
	gap: 48px;
	align-items: start;
}

.faq-chat {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	border-radius: 28px;
	background: var(--background);
	border: 1px solid var(--border);
}

.lb-faq summary {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	cursor: pointer;
}

.lb-faq summary::-webkit-details-marker {
	display: none;
}

.lb-faq summary:focus-visible {
	outline: none;
}

.lb-faq summary:focus-visible .faq-q {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}

.faq-q {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 85%;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 20px 4px 20px 20px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	transition: transform 0.2s ease;
}

.lb-faq summary:hover .faq-q {
	transform: translateY(-2px);
}

.lb-chev {
	display: flex;
	opacity: 0.8;
	transition: transform 0.2s ease;
}

.lb-faq[open] .lb-chev {
	transform: rotate(180deg);
}

.lb-ans {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	margin-top: 10px;
}

.ans-avatar {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 9999px;
	background: var(--success-soft);
	color: var(--success);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ans-wrap {
	display: grid;
	max-width: 80%;
}

.lb-ans-typing,
.lb-ans-text {
	grid-area: 1 / 1;
	border-radius: 4px 20px 20px 20px;
	background: var(--card);
	border: 1px solid var(--border);
}

.lb-ans-typing {
	align-self: end;
	justify-self: start;
	padding: 14px 16px;
}

.lb-ans-text {
	margin: 0;
	padding: 12px 16px;
	font-size: 16px;
	line-height: 24px;
}

.lb-ans-text b {
	display: block;
	font-size: 12px;
	color: var(--success);
}

/* Closing call to action */
.cta-section {
	padding: 0 0 112px;
}

.lb-ctabox {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding: 40px 24px;
	border-radius: 36px;
	background: var(--sidebar);
	color: var(--sidebar-accent-foreground);
}

.cta-track {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cta-seg {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 0;
}

.cta-seg::after {
	content: "";
	flex-grow: 1;
	height: 2px;
	background: var(--sidebar-border);
}

.lb-seqlight {
	display: flex;
	animation: lb-light 3.2s infinite;
	animation-delay: var(--d, 0s);
}

.lb-seqlight .dot {
	width: 14px;
	height: 14px;
}

.lb-chipglow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border-radius: 9999px;
	background: var(--status-closing);
	color: var(--sidebar);
	font-size: 14px;
	font-weight: 800;
	animation: lb-glow 3.2s ease-in-out 2s infinite;
}

.cta-title {
	max-width: 820px;
	line-height: 1;
	letter-spacing: -0.045em;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.cta-note {
	font-size: 14px;
	color: var(--sidebar-foreground);
}

/* Footer */
.site-footer {
	padding: 56px 0 32px;
	border-top: 1px solid var(--border);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.lb-foot {
	gap: 40px;
}

.foot-brand {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 340px;
}

.foot-brand .brand-mark {
	background: var(--primary-soft);
}

.foot-brand p {
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: var(--muted-foreground);
}

.foot-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.foot-col h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted-foreground);
}

.foot-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.foot-col a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--foreground);
	text-decoration: none;
	font-size: 15px;
}

.foot-col a:hover {
	color: var(--primary);
}

.copyright {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted-foreground);
}
