/**
 * Documentation page — scoped to .page-documents only.
 */

/* ── Shared ── */
.page-documents .ll-docs-page__lead {
	margin: 0 0 2.5rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #5b6b7c;
	text-wrap: pretty;
}

.page-documents .ll-docs-page__section-header {
	margin: 0 0 2rem;
}

.page-documents .ll-docs-page__section-header .ll-section-eyebrow,
.page-documents .ll-docs-page__section-header .ll-gap__tier-badge,
.page-documents .ll-docs-page__section-header .ll-badge {
	margin-bottom: 0.75rem;
}

.page-documents .ll-docs-page__section-title {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ll-navy);
	text-wrap: balance;
}

.page-documents .ll-docs-page__section-lead {
	margin: 0.75rem 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #5b6b7c;
	text-wrap: pretty;
}

.page-documents .ll-docs-page__section-lead a {
	font-weight: 600;
}

.page-documents .ll-docs-page__articles {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.page-documents .ll-docs-card {
	padding: 1.375rem 1.5rem;
	border-radius: 16px;
	border: 1px solid var(--ll-surface);
	background: #fff;
	box-shadow: 0 4px 20px rgba(2, 12, 42, 0.04);
}

.page-documents .ll-docs-card--free {
	border-color: rgba(0, 163, 42, 0.2);
	background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.page-documents .ll-docs-card--free::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3px;
	margin: -0.25rem 0 1rem;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--ll-success), #5cd675);
}

.page-documents .ll-docs-card--pro {
	border-color: rgba(0, 102, 255, 0.22);
	background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.page-documents .ll-docs-card--pro::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3px;
	margin: -0.25rem 0 1rem;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--ll-primary), #4d94ff);
}

.page-documents .ll-docs-card__head {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	margin-bottom: 0.75rem;
}

.page-documents .ll-docs-card__step {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 800;
	color: #fff;
	background: var(--ll-primary);
	box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.page-documents .ll-docs-card__title {
	margin: 0 0 0.5rem;
	font-family: "DM Sans", sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ll-navy);
}

.page-documents .ll-docs-card__head .ll-docs-card__title {
	margin-bottom: 0;
}

.page-documents .ll-docs-card .ll-card__meta {
	display: inline-block;
	margin: 0 0 0.625rem;
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.page-documents .ll-docs-card--free .ll-card__meta {
	color: #2d6a3e;
	background: linear-gradient(145deg, #f4fbf6 0%, #e8f7ec 100%);
	border: 1px solid rgba(0, 163, 42, 0.28);
}

.page-documents .ll-docs-card--pro .ll-card__meta {
	color: var(--ll-primary);
	background: rgba(0, 102, 255, 0.07);
	border: 1px solid rgba(0, 102, 255, 0.12);
}

.page-documents .ll-docs-card__lead {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #5b6b7c;
}

.page-documents .ll-docs-page__steps {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--ll-navy);
}

.page-documents .ll-docs-page__steps li {
	margin-bottom: 0.5rem;
}

.page-documents .ll-docs-page__steps li:last-child {
	margin-bottom: 0;
}

.page-documents .ll-docs-card__footer {
	margin: 1rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #5b6b7c;
}

.page-documents .ll-docs-card__footer a {
	font-weight: 600;
}

/* ── Section backgrounds ── */
.page-documents .ll-docs-page__intro {
	position: relative;
	overflow: hidden;
	background: #fff;
}

.page-documents .ll-docs-page__intro::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 50% at 0% 0%, rgba(0, 102, 255, 0.05) 0%, transparent 55%),
		radial-gradient(ellipse 55% 45% at 100% 100%, rgba(0, 163, 42, 0.04) 0%, transparent 50%);
	pointer-events: none;
}

.page-documents .ll-docs-page__intro .ll-container {
	position: relative;
	z-index: 1;
}

.page-documents .ll-docs-page__intro .ll-docs-page__section-header {
	max-width: 40rem;
	margin-inline: auto;
	margin-bottom: 2rem;
	text-align: center;
}

.page-documents .ll-docs-page__intro .ll-docs-page__articles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 900px) {
	.page-documents .ll-docs-page__intro .ll-docs-page__articles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.page-documents .ll-docs-page__intro .ll-docs-page__articles .ll-docs-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.page-documents .ll-docs-page__intro .ll-docs-page__articles .ll-docs-card .ll-docs-card__footer {
	margin-top: auto;
}

.page-documents .ll-docs-page__free {
	position: relative;
	overflow: hidden;
}

.page-documents .ll-docs-page__free::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 45% at 0% 100%, rgba(0, 163, 42, 0.05) 0%, transparent 50%),
		radial-gradient(ellipse 50% 40% at 100% 0%, rgba(0, 102, 255, 0.04) 0%, transparent 45%);
	pointer-events: none;
}

.page-documents .ll-docs-page__free .ll-container {
	position: relative;
	z-index: 1;
}

.page-documents .ll-docs-page__pro {
	background: #fff;
}

.page-documents .ll-docs-page__footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding-block: 0.5rem 1rem;
	text-align: center;
}

.page-documents .ll-docs-page__footer-note {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #5b6b7c;
}

.page-documents .ll-docs-page__footer-note a {
	font-weight: 600;
}

@media (max-width: 640px) {
	.page-documents .ll-docs-page__lead {
		margin-bottom: 1.75rem;
	}

	.page-documents .ll-docs-page__section-header {
		margin-bottom: 1.5rem;
	}

	.page-documents .ll-docs-card {
		padding: 1.125rem 1.25rem;
	}

	.page-documents .ll-docs-page__footer-inner .ll-btn {
		width: 100%;
		justify-content: center;
	}
}
