/* =============================================================================
 * LITSLINK BLOCKS — Pricing · 3 tiers (acf/ll-pricing-3tier)
 * Self-contained: block-scoped palette, literal font fallback. No global .block-head.
 * Light section, white blue-bordered cards, pill badge, blue amount, rounded CTA.
 * ========================================================================== */
.block-ll-pricing-3tier {
	--pr3-ink: #10151c;
	--pr3-muted: #5a6472;
	--pr3-body: #374151;
	--pr3-accent: #1690d3;
	--pr3-accent-dark: #1279b3;
	--pr3-badge-bg: #eff6ff;
	--pr3-section-bg: #f9fafb;
	--pr3-card-bg: #ffffff;
	--pr3-card-border: #cfe4f4;
	font-family: var(--ll-font, 'Montserrat', 'Montserrat-fallback', Arial, sans-serif);
	background: var(--pr3-section-bg);
	padding: 80px 0;
	box-sizing: border-box;
}
.block-ll-pricing-3tier *,
.block-ll-pricing-3tier *::before,
.block-ll-pricing-3tier *::after { box-sizing: border-box; }

.block-ll-pricing-3tier__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 70px;
}

/* Header */
.block-ll-pricing-3tier__head { text-align: center; margin: 0 auto 56px; max-width: 820px; }
.block-ll-pricing-3tier__eyebrow {
	margin: 0 0 12px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--pr3-muted);
}
.block-ll-pricing-3tier__title {
	margin: 0; font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--pr3-ink);
}
.block-ll-pricing-3tier__subtitle {
	margin: 16px auto 0; max-width: 640px; font-size: 16px; line-height: 1.7; color: var(--pr3-muted);
}

/* Grid */
.block-ll-pricing-3tier__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* Card */
.block-ll-pricing-3tier__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--pr3-card-bg);
	border: 1px solid var(--pr3-card-border, #cfe4f4);
	border-radius: 16px;
	padding: 32px 24px;
}
.block-ll-pricing-3tier__card--popular {
	border-color: var(--pr3-accent);
	box-shadow: 0 12px 40px rgba(22, 144, 211, 0.12);
}

/* "MOST POPULAR" pill — filled accent, white, centred over the top border */
.block-ll-pricing-3tier__badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 7px 18px;
	border-radius: 999px;
	background: var(--pr3-accent);
	font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: #ffffff;
}
/* The badge is a single-line pill straddling the card's top border (Figma nodes
   3987-6604 desktop / 4080-4260 mobile). At 11px a long phrase ("Most popular
   among our Clutch clients") still fits one line on the wide desktop card; the
   mobile overrides below shrink the font so it keeps to one line inside the
   narrower card instead of wrapping into a blob. */

.block-ll-pricing-3tier__tier {
	margin: 0;
	font-size: 19px; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .01em;
	color: var(--pr3-accent);
}
/* Compact tier title (matches the Figma eyebrow-sized label). Opt-in via the
   "Tier title size" option; base size above is the default. */
.block-ll-pricing-3tier__tier--compact {
	font-size: 14px;
	letter-spacing: .04em;
}
.block-ll-pricing-3tier__desc {
	margin: 16px 0 0;
	font-size: 16px; line-height: 1.6;
	color: var(--pr3-body);
}
.block-ll-pricing-3tier__amount {
	margin: 18px 0 0;
	font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.5px;
	color: var(--pr3-ink);
}
.block-ll-pricing-3tier__amount-star { color: var(--pr3-accent); }

/* Simple tiers (badge + title + description + amount + CTA — no duration/feature
   list, e.g. the Healthcare cut): descriptions vary in length, which otherwise
   leaves the price floating at a different height per card. Anchor the amount to
   the bottom of the card so all three prices align on one baseline, with a fixed
   gap down to the button (which already bottom-aligns via the grid). Scoped with
   :not(:has(...features)) so the feature-list layouts (Fintech, Real Estate) are
   untouched. */
.block-ll-pricing-3tier__card:not(:has(.block-ll-pricing-3tier__features)):not(:has(.block-ll-pricing-3tier__duration)) .block-ll-pricing-3tier__amount {
	margin-top: auto;
	padding-top: 18px;
}
.block-ll-pricing-3tier__card:not(:has(.block-ll-pricing-3tier__features)):not(:has(.block-ll-pricing-3tier__duration)) .block-ll-pricing-3tier__cta {
	margin-top: 24px;
}

/* Duration line — small clock glyph + text */
.block-ll-pricing-3tier__duration {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	font-size: 14px; font-weight: 500; line-height: 1.4;
	color: var(--pr3-muted);
}
.block-ll-pricing-3tier__clock {
	flex: 0 0 auto;
	color: var(--pr3-accent);
}

/* Feature checklist — blue tick + grey row */
.block-ll-pricing-3tier__features {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}
.block-ll-pricing-3tier__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px; line-height: 1.5;
	color: var(--pr3-body);
}
.block-ll-pricing-3tier__tick {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--pr3-accent);
}
/* Guaranteed gap between the feature list and the CTA when no "Best for:" line
   sits between them (Real Estate tiers). Scoped via :has(+ cta) so the Fintech
   layout (features → bestfor → cta) is untouched. Keeps the CTA's margin-top:auto
   bottom-alignment intact. */
.block-ll-pricing-3tier__features:has(+ .block-ll-pricing-3tier__cta) { margin-bottom: 28px; }

/* "Best for:" line */
.block-ll-pricing-3tier__bestfor {
	margin: 24px 0 0;
	font-size: 15px; line-height: 1.55;
	color: var(--pr3-muted);
}
.block-ll-pricing-3tier__bestfor strong {
	font-weight: 600;
	color: var(--pr3-ink);
}

/* CTA — fully rounded; outlined by default, filled on the popular tier */
.block-ll-pricing-3tier__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: auto;
	padding: 15px 28px;
	border: 1px solid var(--pr3-accent);
	border-radius: 999px;
	background: var(--pr3-card-bg);
	font-size: 16px; font-weight: 600; line-height: 1.25;
	color: var(--pr3-accent);
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}
/* CTA sticks to the card bottom (base rule `margin-top:auto`) so all three
   buttons align on one baseline — cards stretch to equal height via the grid.
   The last content block keeps a min gap above the button. */
.block-ll-pricing-3tier__bestfor { margin-bottom: 28px; }
.block-ll-pricing-3tier__cta svg { flex: 0 0 auto; }
.block-ll-pricing-3tier__cta:hover {
	background: var(--pr3-accent);
	color: #fff;
}
.block-ll-pricing-3tier__cta--accent {
	background: var(--pr3-accent);
	color: #fff;
}
.block-ll-pricing-3tier__cta--accent:hover {
	background: var(--pr3-accent-dark);
	border-color: var(--pr3-accent-dark);
}

/* Below-grid disclaimer */
.block-ll-pricing-3tier__note {
	margin: 28px 0 0;
	font-size: 14px; line-height: 1.6;
	color: var(--pr3-muted);
}

/* Scoping-call CTA banner */
.block-ll-pricing-3tier__banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 24px 0 0;
	padding: 28px 40px;
	background: var(--pr3-card-bg);
	border: 1px solid #e5e7eb;
	border-radius: 16px;
}
.block-ll-pricing-3tier__banner-text {
	margin: 0;
	font-size: 16px; line-height: 1.6;
	color: var(--pr3-ink);
	max-width: 620px;
}
.block-ll-pricing-3tier__banner-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 999px;
	background: var(--pr3-accent);
	color: #fff;
	font-size: 15px; font-weight: 600; line-height: 1;
	text-decoration: none;
	transition: background-color 0.18s ease;
	white-space: nowrap;
}
.block-ll-pricing-3tier__banner-cta:hover { background: var(--pr3-accent-dark); color: #fff; }
.block-ll-pricing-3tier__banner-cta svg { flex: 0 0 auto; }

/* Responsive */
@media (max-width: 1024px) {
	.block-ll-pricing-3tier { padding: 56px 0; }
	.block-ll-pricing-3tier__inner { padding: 0 40px; }
	.block-ll-pricing-3tier__head { margin-bottom: 40px; }
	.block-ll-pricing-3tier__title { font-size: 32px; }
	.block-ll-pricing-3tier__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
	.block-ll-pricing-3tier { padding: 44px 0; }
	.block-ll-pricing-3tier__inner { padding: 0 20px; }
	.block-ll-pricing-3tier__title { font-size: 26px; }
	.block-ll-pricing-3tier__card { padding: 24px 20px; }
	.block-ll-pricing-3tier__amount { font-size: 28px; }
	/* keep the straddle pill to ONE line inside the narrower card: scale the font
	   down with the viewport (never below 8px, never above the 11px desktop size)
	   and trim the padding, so a long phrase fits instead of wrapping. */
	.block-ll-pricing-3tier__badge { font-size: clamp(8px, 2.8vw, 11px); letter-spacing: .04em; padding: 6px 14px; }
	.block-ll-pricing-3tier__banner { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
	.block-ll-pricing-3tier__banner-cta { width: 100%; justify-content: center; }
}
