/*
 * LockerForge hubs: landing pages, articles, docs, solutions, resources, roundups,
 * search, company pages and shared content blocks. Loads after main.css.
 */

/* 1. Shared ------------------------------------------------------------------ */
html {
	scroll-padding-top: calc(var(--lf-header-h) + 1.25rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.lf-prose p:empty {
	display: none;
}

.lf-section--tight {
	padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0;
}

.lf-section--hub,
.lf-section--search {
	padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--lf-section);
}

.lf-subhead {
	font-size: var(--lf-step-2);
	font-weight: 680;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.lf-listhead {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin-bottom: var(--lf-s-5);
	padding-bottom: var(--lf-s-4);
	border-bottom: 1px solid var(--lf-line);
}

.lf-listhead__count {
	color: var(--lf-text-3);
	font-size: .875rem;
	font-variant-numeric: tabular-nums;
}

.lf-listhead .lf-link-arrow {
	margin-left: auto;
	font-size: .875rem;
}

.lf-version {
	display: inline-flex;
	align-items: center;
	padding: .2rem .5rem;
	border: 1px solid rgba(255, 106, 43, .35);
	border-radius: 6px;
	background: rgba(255, 106, 43, .08);
	color: var(--lf-accent-text);
	font-family: var(--lf-mono);
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.lf-pill--mono {
	font-family: var(--lf-mono);
}

.lf-tag--level {
	border-color: transparent;
}

.lf-tag--beginner {
	background: rgba(22, 163, 74, .1);
	color: #13692f;
}

.lf-tag--intermediate {
	background: rgba(217, 119, 6, .12);
	color: #8a4a04;
}

.lf-tag--advanced {
	background: rgba(220, 38, 38, .1);
	color: #a11d1d;
}

@media (prefers-color-scheme: dark) {
	.lf-tag--beginner {
		color: #6ee79a;
	}

	.lf-tag--intermediate {
		color: #fbbf5d;
	}

	.lf-tag--advanced {
		color: #fca5a5;
	}
}

.lf-chips-inline {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.lf-btn__aside {
	opacity: .7;
	font-weight: 500;
}

/* Breadcrumbs */
.lf-crumbs {
	margin-bottom: var(--lf-s-5);
	font-size: .8125rem;
}

.lf-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	min-width: 0;
	color: var(--lf-text-3);
}

.lf-crumbs li + li::before {
	content: "/";
	opacity: .5;
}

.lf-crumbs a {
	color: var(--lf-text-2);
	text-decoration: none;
}

.lf-crumbs a:hover {
	color: var(--lf-accent-text);
	text-decoration: underline;
}

.lf-crumbs [aria-current] {
	overflow: hidden;
	max-width: 32ch;
	color: var(--lf-text-3);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lf-crumbs--dark li,
.lf-crumbs--dark [aria-current] {
	color: var(--lf-slate-400);
}

.lf-crumbs--dark a {
	color: var(--lf-slate-200);
}

.lf-crumbs--dark a:hover {
	color: var(--lf-ember-300);
}

/* 2. Hub landing ------------------------------------------------------------ */
.lf-hub-head {
	position: relative;
	padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
	border-bottom: 1px solid var(--lf-line);
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(255, 106, 43, .08), transparent 60%),
		var(--lf-surface);
}

.lf-hub-head__title {
	max-width: 20ch;
	font-size: var(--lf-step-5);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1;
}

.lf-hub-head__title--search {
	max-width: 28ch;
	font-size: var(--lf-step-4);
	overflow-wrap: anywhere;
}

.lf-hub-head__intro {
	max-width: 58ch;
	margin-top: var(--lf-s-5);
	color: var(--lf-text-2);
	font-size: var(--lf-step-1);
}

.lf-hub-head__search {
	margin-top: var(--lf-s-6);
}

.lf-hub-head__hint {
	margin-top: .75rem;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-hub-head__hint a {
	color: inherit;
	font-weight: 600;
}

.lf-hub-head--dark {
	overflow: hidden;
	isolation: isolate;
	border-bottom: 0;
	background: var(--lf-ink-900);
	color: var(--lf-white);
}

.lf-hub-head--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(50% 80% at 85% 10%, rgba(255, 106, 43, .16), transparent 70%),
		radial-gradient(40% 70% at 0% 100%, rgba(92, 108, 255, .12), transparent 70%);
}

.lf-hub-head--dark::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(70% 90% at 70% 20%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 90% at 70% 20%, #000, transparent 75%);
}

.lf-hub-head--dark .lf-hub-head__intro {
	color: var(--lf-slate-300);
}

.lf-hub-head--dark .lf-hub-head__hint {
	color: var(--lf-slate-400);
}

/* Large search */
.lf-search--xl {
	max-width: 46rem;
	padding: .45rem .45rem .45rem 3.1rem;
	border-radius: 14px;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45);
}

.lf-search--xl .lf-search__input {
	height: 50px;
	font-size: 1.0625rem;
}

.lf-search--xl .lf-search__icon {
	left: 1.1rem;
}

.lf-search--xl .lf-search__submit {
	min-height: 48px;
	padding-inline: 1.3rem;
	background: var(--lf-ember);
	color: var(--lf-ink-900);
}

.lf-search--xl .lf-search__submit:hover {
	background: var(--lf-ember-300);
}

.lf-hub-head--dark .lf-search {
	border-color: rgba(255, 255, 255, .14);
	background: var(--lf-ink-800);
}

.lf-hub-head--dark .lf-search__input {
	color: var(--lf-white);
}

.lf-hub-head--dark .lf-search__input::placeholder,
.lf-hub-head--dark .lf-search__icon {
	color: var(--lf-slate-400);
}

/* Filter chips */
.lf-chipset {
	display: grid;
	gap: .7rem;
	margin-top: var(--lf-s-6);
}

.lf-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem .75rem;
}

.lf-hub-head > .lf-wrap > .lf-chips {
	margin-top: var(--lf-s-6);
}

.lf-chips__label {
	min-width: 5.5rem;
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lf-chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-chip {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 34px;
	padding: 0 .85rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: 999px;
	background: var(--lf-surface);
	color: var(--lf-text-2);
	font-size: .8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s var(--lf-ease), background-color .2s var(--lf-ease), color .2s var(--lf-ease);
}

.lf-chip:hover {
	border-color: var(--lf-text-3);
	color: var(--lf-text);
}

.lf-chip[aria-current] {
	border-color: var(--lf-ink-900);
	background: var(--lf-ink-900);
	color: var(--lf-white);
}

.lf-chip__count {
	padding: .1rem .4rem;
	border-radius: 999px;
	background: var(--lf-surface-2);
	color: var(--lf-text-3);
	font-size: .6875rem;
	font-variant-numeric: tabular-nums;
}

.lf-hub-head--dark .lf-chips__label {
	color: var(--lf-slate-400);
}

.lf-hub-head--dark .lf-chip {
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .04);
	color: var(--lf-slate-200);
}

.lf-hub-head--dark .lf-chip:hover {
	border-color: rgba(255, 255, 255, .34);
	color: var(--lf-white);
}

.lf-hub-head--dark .lf-chip[aria-current] {
	border-color: var(--lf-ember);
	background: var(--lf-ember);
	color: var(--lf-ink-900);
}

.lf-hub-head--dark .lf-chip__count {
	background: rgba(255, 255, 255, .08);
	color: var(--lf-slate-300);
}

@media (prefers-color-scheme: dark) {
	.lf-chip[aria-current] {
		border-color: var(--lf-white);
		background: var(--lf-white);
		color: var(--lf-ink-900);
	}
}

@media (max-width: 639px) {
	.lf-chips {
		flex-wrap: nowrap;
		align-items: flex-start;
		flex-direction: column;
		gap: .45rem;
	}

	.lf-chips ul {
		flex-wrap: nowrap;
		width: calc(100% + var(--lf-gutter));
		margin-right: calc(var(--lf-gutter) * -1);
		padding-right: var(--lf-gutter);
		padding-bottom: 2px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.lf-chips ul::-webkit-scrollbar {
		display: none;
	}

	.lf-chip {
		white-space: nowrap;
	}
}

/* Featured row */
.lf-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(1rem, .6rem + 1.2vw, 1.75rem);
}

.lf-featured > :first-child {
	grid-row: span 2;
}

.lf-featured > :only-child {
	grid-column: 1 / -1;
}

.lf-featured > .lf-card:not(:first-child) {
	flex-direction: row;
}

.lf-featured > .lf-card:not(:first-child) .lf-card__media {
	flex: none;
	width: 42%;
	margin: 7px 0 7px 7px;
	aspect-ratio: auto;
}

.lf-featured > .lf-card:not(:first-child) .lf-card__excerpt {
	-webkit-line-clamp: 2;
}

.lf-card--feature .lf-card__media {
	aspect-ratio: 16 / 9;
}

.lf-card--feature .lf-card__title {
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	letter-spacing: -.03em;
}

.lf-card--feature .lf-card__excerpt {
	font-size: 1rem;
	-webkit-line-clamp: 3;
}

.lf-featured--plain {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lf-featured--plain > :first-child {
	grid-row: auto;
}

@media (max-width: 899px) {
	.lf-featured,
	.lf-featured--plain {
		grid-template-columns: minmax(0, 1fr);
	}

	.lf-featured > :first-child {
		grid-row: auto;
	}
}

@media (max-width: 519px) {
	.lf-featured > .lf-card:not(:first-child) {
		flex-direction: column;
	}

	.lf-featured > .lf-card:not(:first-child) .lf-card__media {
		width: auto;
		margin: 7px 7px 0;
		aspect-ratio: 16 / 10;
	}
}

/* Resource cards */
.lf-file {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1.1rem;
}

.lf-file__type {
	--lf-ft: 222;
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 54px;
	border-radius: 8px 14px 8px 8px;
	background: hsl(var(--lf-ft) 40% 18%);
	color: hsl(var(--lf-ft) 90% 82%);
	font-family: var(--lf-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .04em;
}

.lf-file__type::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 14px;
	height: 14px;
	border-radius: 0 14px 0 6px;
	background: rgba(255, 255, 255, .18);
}

.lf-file__type--zip {
	--lf-ft: 262;
}

.lf-file__type--pdf {
	--lf-ft: 4;
}

.lf-file__type--json,
.lf-file__type--php,
.lf-file__type--js {
	--lf-ft: 150;
}

.lf-file__type--css,
.lf-file__type--html {
	--lf-ft: 200;
}

.lf-file__type--fig,
.lf-file__type--svg {
	--lf-ft: 28;
}

.lf-file__meta {
	color: var(--lf-text-3);
	font-family: var(--lf-mono);
	font-size: .75rem;
	font-variant-numeric: tabular-nums;
}

.lf-file__name {
	min-width: 0;
	overflow-wrap: anywhere;
	font-family: var(--lf-mono);
	font-size: .8125rem;
	font-weight: 600;
}

.lf-file--lg .lf-file__type {
	width: 56px;
	height: 66px;
	font-size: .8125rem;
}

.lf-card--resource .lf-card__body {
	padding: 1.4rem 1.4rem 1.3rem;
}

/* Solution rows */
.lf-rows {
	overflow: hidden;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
}

.lf-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem;
	padding: 1.2rem 1.4rem;
	transition: background-color .2s var(--lf-ease);
}

.lf-row + .lf-row {
	border-top: 1px solid var(--lf-line);
}

.lf-row:hover {
	background: var(--lf-surface-2);
}

.lf-row:focus-within {
	box-shadow: inset 3px 0 0 var(--lf-ember);
}

.lf-row__title {
	font-size: 1.0625rem;
	font-weight: 650;
	letter-spacing: -.015em;
	line-height: 1.3;
}

.lf-row .lf-card__link::after {
	border-radius: 0;
}

.lf-row__text {
	margin-top: .3rem;
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.5;
}

.lf-row__error {
	margin-top: .55rem;
}

.lf-row__error code {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	padding: .25rem .5rem;
	border-radius: 6px;
	background: rgba(220, 38, 38, .07);
	color: #a11d1d;
	font-family: var(--lf-mono);
	font-size: .75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: top;
}

@media (prefers-color-scheme: dark) {
	.lf-row__error code {
		background: rgba(248, 113, 113, .1);
		color: #fca5a5;
	}
}

.lf-row__side {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.lf-row__arrow {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--lf-line);
	border-radius: 50%;
	color: var(--lf-text-3);
	transition: transform .25s var(--lf-ease), color .2s var(--lf-ease), border-color .2s var(--lf-ease);
}

.lf-row:hover .lf-row__arrow {
	transform: translateX(3px);
	border-color: var(--lf-ember);
	color: var(--lf-accent-text);
}

@media (max-width: 639px) {
	.lf-row {
		grid-template-columns: minmax(0, 1fr);
		gap: .75rem;
		padding: 1.1rem;
	}

	.lf-row__arrow {
		display: none;
	}

	.lf-row__side:not(:has(.lf-tag)) {
		display: none;
	}
}

/* Docs landing */
.lf-docgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
	gap: clamp(1rem, .6rem + 1.2vw, 1.75rem);
}

.lf-docset {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
	box-shadow: var(--lf-card-shadow);
}

.lf-docset__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--lf-line);
}

.lf-docset__thumb {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	background: var(--lf-surface-2);
}

.lf-docset__thumb img,
.lf-docset__thumb .lf-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lf-docset__thumb .lf-cover__label,
.lf-backbuy__thumb .lf-cover__label {
	display: none;
}

.lf-docset__thumb--general {
	background: var(--lf-ink-900);
	color: var(--lf-ember-300);
}

.lf-docset__title {
	font-size: 1.1875rem;
	font-weight: 680;
	letter-spacing: -.02em;
}

.lf-docset__meta {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-top: .3rem;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-docset__list {
	display: grid;
	gap: .1rem;
	margin: .9rem 0 1.2rem;
	padding: 0;
	list-style: none;
}

.lf-docset__list a {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-inline: -.55rem;
	padding: .5rem .55rem;
	border-radius: 8px;
	color: var(--lf-text);
	font-size: .9375rem;
	font-weight: 550;
	text-decoration: none;
}

.lf-docset__list a:hover {
	background: var(--lf-surface-2);
	color: var(--lf-accent-text);
}

.lf-docset__list .lf-icon {
	color: var(--lf-text-3);
}

.lf-docset .lf-link-arrow {
	align-self: flex-start;
	margin-top: auto;
	font-size: .875rem;
}

/* Still stuck */
.lf-stuck-wrap {
	padding-bottom: var(--lf-section);
}

.lf-stuck {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 1rem + 3vw, 4rem);
	overflow: hidden;
	isolation: isolate;
	margin-top: var(--lf-s-7);
	padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
	border-radius: var(--lf-r-xl);
	background: var(--lf-ink-900);
	color: var(--lf-white);
}

.lf-stuck::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(60% 100% at 100% 0%, rgba(255, 106, 43, .2), transparent 70%);
}

.lf-stuck .lf-eyebrow {
	margin-bottom: .75rem;
}

.lf-stuck__title {
	max-width: 24ch;
	font-size: var(--lf-step-3);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.lf-stuck__lede {
	margin-top: .9rem;
	color: var(--lf-slate-300);
}

.lf-stuck__list {
	display: grid;
	gap: .45rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--lf-slate-200);
	font-size: .9375rem;
}

.lf-stuck__list li {
	display: flex;
	gap: .5rem;
}

.lf-stuck__list .lf-icon {
	color: var(--lf-ember-300);
}

.lf-stuck__action {
	display: grid;
	justify-items: start;
	gap: .75rem;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--lf-r-lg);
	background: rgba(255, 255, 255, .04);
}

@media (max-width: 899px) {
	.lf-stuck {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Newsletter */
.lf-newsletter-wrap {
	padding-block: var(--lf-s-6) var(--lf-s-8);
}

.lf-article__main .lf-newsletter-wrap {
	padding-bottom: 0;
}

.lf-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.25rem, 1rem + 2vw, 3rem);
	padding: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-xl);
	background:
		radial-gradient(70% 140% at 100% 0%, rgba(255, 106, 43, .1), transparent 60%),
		var(--lf-surface);
	box-shadow: var(--lf-card-shadow);
}

.lf-wrap--narrow .lf-newsletter,
.lf-article__main .lf-newsletter {
	grid-template-columns: minmax(0, 1fr);
}

.lf-newsletter__eyebrow {
	color: var(--lf-accent-text);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.lf-newsletter__title {
	margin-top: .5rem;
	font-size: var(--lf-step-2);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.15;
}

.lf-newsletter__lede {
	margin-top: .5rem;
	color: var(--lf-text-2);
	font-size: .9375rem;
}

.lf-newsletter__row {
	display: flex;
	gap: .5rem;
}

.lf-newsletter__input {
	flex: 1;
	min-width: 0;
	min-height: 46px;
	padding: 0 1rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: var(--lf-r);
	background: var(--lf-surface);
	color: var(--lf-text);
	font-size: 1rem;
}

.lf-newsletter__input:focus {
	border-color: var(--lf-ember);
	outline: none;
	box-shadow: 0 0 0 4px rgba(255, 106, 43, .14);
}

.lf-newsletter__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lf-newsletter__note,
.lf-newsletter__msg {
	margin-top: .6rem;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-newsletter__msg.is-ok {
	color: #13692f;
	font-weight: 600;
}

.lf-newsletter__msg.is-error {
	color: #a11d1d;
	font-weight: 600;
}

@media (max-width: 719px) {
	.lf-newsletter {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 419px) {
	.lf-newsletter__row {
		flex-direction: column;
	}
}

/* 3. Articles ----------------------------------------------------------------- */
.lf-progress {
	position: fixed;
	top: var(--lf-header-h);
	left: 0;
	right: 0;
	z-index: 99;
	height: 3px;
	pointer-events: none;
}

.admin-bar .lf-progress {
	top: calc(var(--lf-header-h) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .lf-progress {
		top: calc(var(--lf-header-h) + 46px);
	}
}

.lf-progress__bar {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--lf-ember-600), var(--lf-ember));
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.lf-article {
	display: grid;
	grid-template-columns: minmax(0, 46rem);
	justify-content: center;
	gap: clamp(2rem, 1rem + 3vw, 4.5rem);
	padding-bottom: var(--lf-s-8);
}

.lf-article--toc {
	grid-template-columns: 15.5rem minmax(0, 46rem);
}

.lf-article__aside {
	position: relative;
}

.lf-toc-wrap,
.lf-article__aside > .lf-toc {
	position: sticky;
	top: calc(var(--lf-header-h) + 2rem);
}

.lf-toc-wrap__summary,
.lf-docnav-wrap__summary {
	display: none;
}

.lf-article__figure {
	margin: 0 0 var(--lf-s-6);
}

.lf-article__figure img {
	width: 100%;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
}

/* Table of contents */
.lf-toc__title {
	margin-bottom: .75rem;
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lf-toc__list {
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--lf-line);
	list-style: none;
}

.lf-toc__item a {
	display: flex;
	gap: .6rem;
	margin-left: -1px;
	padding: .38rem 0 .38rem .9rem;
	border-left: 2px solid transparent;
	color: var(--lf-text-2);
	font-size: .875rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color .2s var(--lf-ease), border-color .2s var(--lf-ease);
}

.lf-toc__item a:hover {
	color: var(--lf-text);
}

.lf-toc__item a.is-active {
	border-left-color: var(--lf-ember);
	color: var(--lf-text);
	font-weight: 600;
}

.lf-toc__item--h3 a {
	padding-left: 1.9rem;
	font-size: .8125rem;
}

.lf-toc__num {
	flex: none;
	color: var(--lf-text-3);
	font-family: var(--lf-mono);
	font-size: .75rem;
	line-height: 1.6;
}

.lf-toc__item a.is-active .lf-toc__num {
	color: var(--lf-accent-text);
}

@media (max-width: 1023px) {
	.lf-article,
	.lf-article--toc {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--lf-s-5);
	}

	.lf-article__aside,
	.lf-article__main {
		width: 100%;
		max-width: 46rem;
		margin-inline: auto;
	}

	.lf-toc-wrap,
	.lf-article__aside > .lf-toc {
		position: static;
	}

	.lf-toc-wrap {
		border: 1px solid var(--lf-line);
		border-radius: var(--lf-r-lg);
		background: var(--lf-surface);
	}

	.lf-toc-wrap__summary,
	.lf-docnav-wrap__summary {
		display: flex;
		align-items: center;
		gap: .6rem;
		min-height: 50px;
		padding: 0 1.1rem;
		font-size: .9375rem;
		font-weight: 650;
		cursor: pointer;
		list-style: none;
	}

	.lf-toc-wrap__summary::-webkit-details-marker,
	.lf-docnav-wrap__summary::-webkit-details-marker {
		display: none;
	}

	.lf-toc-wrap__summary::after,
	.lf-docnav-wrap__summary::after {
		content: "";
		width: 8px;
		height: 8px;
		margin-left: auto;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform .2s var(--lf-ease);
	}

	[open] > .lf-toc-wrap__summary::after,
	[open] > .lf-docnav-wrap__summary::after {
		transform: rotate(225deg) translateY(-2px);
	}

	.lf-toc-wrap .lf-toc {
		padding: 0 1.1rem 1.1rem;
	}

	.lf-toc-wrap .lf-toc__title {
		display: none;
	}
}

/* Inline table of contents (2.0.3): top of long tutorials, solutions and posts */
.lf-prose .lf-toc-inline {
	margin: 0 0 var(--lf-s-6);
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
	font-size: 1rem;
	line-height: 1.5;
}

.lf-prose .lf-toc-inline + * {
	margin-top: 0;
}

.lf-toc-inline__summary {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 50px;
	padding: .35rem 1.15rem;
	cursor: pointer;
	list-style: none;
}

.lf-toc-inline__summary::-webkit-details-marker {
	display: none;
}

.lf-toc-inline__summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-left: .25rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s var(--lf-ease);
}

.lf-toc-inline[open] > .lf-toc-inline__summary::after {
	transform: rotate(225deg) translateY(-2px);
}

.lf-toc-inline__summary:focus-visible {
	outline: 2px solid var(--lf-ember);
	outline-offset: 2px;
	border-radius: var(--lf-r-lg);
}

.lf-toc-inline__label {
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lf-toc-inline__count {
	margin-left: auto;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-toc--inline {
	padding: 0 1.15rem 1.1rem;
}

.lf-prose .lf-toc--inline ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-prose .lf-toc--inline li {
	margin: 0;
}

.lf-prose .lf-toc--inline li::marker {
	content: none;
}

.lf-prose .lf-toc--inline a {
	color: var(--lf-text-2);
	text-decoration: none;
}

.lf-prose .lf-toc--inline a:hover,
.lf-prose .lf-toc--inline a:focus-visible {
	color: var(--lf-text);
}

.lf-prose .lf-toc--inline a.is-active {
	color: var(--lf-text);
}

.lf-toc--inline .lf-toc__sub {
	margin: 0;
}

.lf-toc--inline .lf-toc__item--h3 a {
	padding-left: 2.6rem;
}

/* Headings reached from a table of contents never hide under the sticky header:
   html already reserves the header height with scroll-padding-top (top of this file),
   and scroll-margin-top adds breathing room on top of it. */
.lf-prose h2[id],
.lf-prose h3[id] {
	scroll-margin-top: 1rem;
}

/* Tested-on box */
.lf-tested {
	margin-bottom: var(--lf-s-6);
	padding: 1.1rem 1.25rem 1.2rem;
	border: 1px solid rgba(22, 163, 74, .25);
	border-radius: var(--lf-r-lg);
	background: linear-gradient(180deg, rgba(22, 163, 74, .06), transparent 80%), var(--lf-surface);
}

.lf-tested__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .55rem;
	font-size: .9375rem;
}

.lf-tested__icon {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
}

.lf-tested__icon .lf-icon {
	width: 15px;
	height: 15px;
	stroke-width: 2.5;
}

.lf-tested__date {
	margin-left: auto;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-tested__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: .75rem 1.25rem;
	margin: .9rem 0 0;
	padding-top: .9rem;
	border-top: 1px dashed var(--lf-line-strong);
}

.lf-tested__grid dt {
	color: var(--lf-text-3);
	font-size: .6875rem;
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lf-tested__grid dd {
	margin: .2rem 0 0;
	font-family: var(--lf-mono);
	font-size: .8125rem;
	font-weight: 600;
}

.lf-tested__plugins {
	grid-column: 1 / -1;
}

.lf-tested__plugins ul {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin: .1rem 0 0;
	padding: 0;
	list-style: none;
}

.lf-tested__plugins li {
	padding: .2rem .5rem;
	border: 1px solid var(--lf-line);
	border-radius: 6px;
	background: var(--lf-surface-2);
	font-weight: 500;
}

/* Code blocks with copy button */
.lf-code {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: var(--lf-r-lg);
	background: var(--lf-ink-900);
}

.lf-prose .lf-code {
	margin-top: 1.25em;
}

.lf-code__bar {
	display: flex;
	align-items: center;
	gap: .5rem;
	min-height: 40px;
	padding: 0 .5rem 0 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	background: var(--lf-ink-850);
}

.lf-code__lang {
	color: var(--lf-slate-400);
	font-family: var(--lf-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lf-code__copy {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 30px;
	margin-left: auto;
	padding: 0 .65rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 7px;
	background: transparent;
	color: var(--lf-slate-200);
	font-size: .75rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s var(--lf-ease), color .2s var(--lf-ease), border-color .2s var(--lf-ease);
}

.lf-code__copy:hover {
	border-color: rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .06);
	color: var(--lf-white);
}

.lf-code__copy.is-copied {
	border-color: rgba(110, 231, 154, .5);
	color: #6ee79a;
}

.lf-code pre,
.lf-prose .lf-code pre {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.lf-code pre:focus-visible {
	outline: 2px solid var(--lf-focus);
	outline-offset: -2px;
}

.lf-prose .wp-block-code {
	padding: 1.25rem 1.4rem;
}

/* Steps (pattern group and list style) */
.lf-prose .lf-steps {
	counter-reset: lfstep;
	margin-top: 2em;
}

.lf-prose .lf-step {
	position: relative;
	padding: 0 0 2rem 3.5rem;
	counter-increment: lfstep;
}

.lf-prose .lf-step + .lf-step {
	margin-top: 0;
}

.lf-prose .lf-step::before {
	content: counter(lfstep);
	position: absolute;
	top: -.1rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--lf-ink-900);
	color: var(--lf-white);
	font-size: .875rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.lf-prose .lf-step::after {
	content: "";
	position: absolute;
	top: 2.5rem;
	bottom: .4rem;
	left: 1.1rem;
	width: 1px;
	background: var(--lf-line-strong);
}

.lf-prose .lf-step:last-child {
	padding-bottom: 0;
}

.lf-prose .lf-step:last-child::after {
	display: none;
}

.lf-prose .lf-step > :first-child {
	margin-top: 0;
}

.lf-prose .lf-step > * + * {
	margin-top: .8em;
}

.lf-prose .lf-step h3 {
	font-size: 1.1875rem;
}

@media (prefers-color-scheme: dark) {
	.lf-prose .lf-step::before {
		background: var(--lf-white);
		color: var(--lf-ink-900);
	}
}

@media (max-width: 479px) {
	.lf-prose .lf-step {
		padding-left: 2.9rem;
	}

	.lf-prose .lf-step::before {
		width: 2rem;
		height: 2rem;
	}

	.lf-prose .lf-step::after {
		left: 1rem;
	}
}

.lf-prose ol.is-style-lf-steps {
	counter-reset: lfli;
	padding-left: 0;
	list-style: none;
}

.lf-prose ol.is-style-lf-steps > li {
	position: relative;
	padding-left: 2.6rem;
	counter-increment: lfli;
}

.lf-prose ol.is-style-lf-steps > li::before {
	content: counter(lfli);
	position: absolute;
	top: .15em;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.7rem;
	height: 1.7rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: 50%;
	color: var(--lf-accent-text);
	font-size: .8125rem;
	font-weight: 700;
}

.lf-prose ul.is-style-lf-checks {
	padding-left: 0;
	list-style: none;
}

.lf-prose ul.is-style-lf-checks > li {
	position: relative;
	padding-left: 1.9rem;
}

.lf-prose ul.is-style-lf-checks > li::before {
	content: "";
	position: absolute;
	top: .45em;
	left: .3rem;
	width: .45rem;
	height: .8rem;
	border-right: 2px solid #16a34a;
	border-bottom: 2px solid #16a34a;
	transform: rotate(45deg);
}

/* Callout */
.lf-prose .lf-callout {
	padding: 1.1rem 1.25rem;
	border: 1px solid rgba(255, 106, 43, .25);
	border-left: 3px solid var(--lf-ember);
	border-radius: var(--lf-r);
	background: rgba(255, 106, 43, .06);
	font-size: .98rem;
}

.lf-prose .lf-callout > * + * {
	margin-top: .6em;
}

/* FAQ */
.lf-prose .lf-faq {
	margin-top: 2.5em;
}

.lf-prose .lf-faq > h2 {
	margin-bottom: .6em;
}

.lf-prose .lf-faq .wp-block-details {
	margin-top: 0;
	border-bottom: 1px solid var(--lf-line);
}

.lf-prose .lf-faq > h2 + .wp-block-details {
	border-top: 1px solid var(--lf-line);
}

.lf-prose .wp-block-details summary {
	position: relative;
	padding: 1rem 2.5rem 1rem 0;
	font-weight: 650;
	letter-spacing: -.01em;
	cursor: pointer;
	list-style: none;
}

.lf-prose .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.lf-prose .wp-block-details summary::before,
.lf-prose .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: .5rem;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--lf-text-3);
	transition: transform .25s var(--lf-ease);
}

.lf-prose .wp-block-details summary::after {
	transform: rotate(90deg);
}

.lf-prose .wp-block-details[open] summary::after {
	transform: rotate(0deg);
}

.lf-prose .wp-block-details summary:hover {
	color: var(--lf-accent-text);
}

.lf-prose .wp-block-details > :not(summary) {
	margin: 0 0 1rem;
	color: var(--lf-text-2);
}

/* Comparison table */
.lf-prose .wp-block-table {
	overflow-x: auto;
}

.lf-prose .is-style-lf-compare table {
	overflow: hidden;
	border: 1px solid var(--lf-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--lf-r-lg);
}

.lf-prose .is-style-lf-compare thead {
	border: 0;
}

.lf-prose .is-style-lf-compare thead th {
	border-bottom: 0;
	background: var(--lf-ink-900);
	color: var(--lf-white);
	font-size: .8125rem;
	font-weight: 650;
	letter-spacing: .02em;
}

.lf-prose .is-style-lf-compare tbody tr:nth-child(even) td {
	background: var(--lf-surface-2);
}

.lf-prose .is-style-lf-compare tbody td:first-child {
	font-weight: 650;
}

.lf-prose .is-style-lf-compare tbody tr:last-child td {
	border-bottom: 0;
}

.lf-prose figure.wp-block-table figcaption {
	margin-top: .6rem;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

/* Product card block */
.lf-pcard {
	position: relative;
	display: grid;
	grid-template-columns: 13rem minmax(0, 1fr);
	gap: 1.25rem;
	margin-top: 1.5em;
	padding: .6rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
	box-shadow: var(--lf-card-shadow);
	font-size: 1rem;
	line-height: 1.55;
}

.lf-pcard__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 11px;
	background: var(--lf-surface-2);
}

.lf-pcard__media img,
.lf-prose .lf-pcard__media img {
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	object-position: top center;
}

.lf-pcard__body {
	display: flex;
	flex-direction: column;
	padding: .5rem .75rem .5rem 0;
}

.lf-prose .lf-pcard__body > * {
	margin-top: 0;
}

.lf-pcard__top {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-bottom: .55rem !important;
}

.lf-pcard__top:empty {
	display: none;
}

.lf-pcard__badge {
	display: inline-flex;
	align-items: center;
	padding: .3rem .65rem;
	border-radius: 999px;
	background: var(--lf-ember);
	color: var(--lf-ink-900);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.1;
}

.lf-pcard__title {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.lf-prose .lf-pcard__title a {
	color: var(--lf-text);
	text-decoration: none;
}

.lf-prose .lf-pcard__title a:hover {
	color: var(--lf-accent-text);
}

.lf-pcard__text {
	margin-top: .4rem !important;
	color: var(--lf-text-2);
	font-size: .9375rem;
}

.lf-pcard__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: auto !important;
	padding-top: .9rem;
}

.lf-prose .lf-pcard__actions .lf-btn {
	color: var(--lf-white);
	text-decoration: none;
}

.lf-pcard__price {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}

.lf-pcard__rank {
	position: absolute;
	top: -.85rem;
	left: -.85rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 3px solid var(--lf-bg);
	border-radius: 50%;
	background: var(--lf-ink-900);
	color: var(--lf-white);
	font-family: var(--lf-mono);
	font-size: .875rem;
	font-weight: 700;
}

.lf-block-note {
	padding: .75rem 1rem;
	border: 1px dashed var(--lf-line-strong);
	border-radius: var(--lf-r);
	color: var(--lf-text-3);
	font-size: .875rem;
}

@media (prefers-color-scheme: dark) {
	.lf-pcard__rank {
		background: var(--lf-white);
		color: var(--lf-ink-900);
	}

	.lf-prose .lf-pcard__actions .lf-btn {
		color: var(--lf-ink-900);
	}
}

@media (max-width: 599px) {
	.lf-pcard {
		grid-template-columns: minmax(0, 1fr);
		gap: .75rem;
	}

	.lf-pcard__body {
		padding: .25rem .5rem .5rem;
	}

	.lf-pcard__rank {
		top: -.7rem;
		left: -.5rem;
	}
}

/* Roundup */
.lf-glance {
	margin-bottom: var(--lf-s-7);
	padding: 1.25rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-xl);
	background: var(--lf-surface);
	box-shadow: var(--lf-card-shadow);
}

.lf-glance__title {
	margin-bottom: .75rem;
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lf-glance__scroll {
	overflow-x: auto;
}

.lf-glance__scroll:focus-visible {
	outline: 2px solid var(--lf-focus);
	outline-offset: 2px;
}

.lf-glance__table {
	width: 100%;
	min-width: 32rem;
	border-collapse: collapse;
	font-size: .9375rem;
}

.lf-glance__table th,
.lf-glance__table td {
	padding: .75rem .6rem;
	border-bottom: 1px solid var(--lf-line);
	text-align: left;
	vertical-align: middle;
}

.lf-glance__table thead th {
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.lf-glance__table tbody tr:last-child > * {
	border-bottom: 0;
}

.lf-glance__table tbody th a {
	color: var(--lf-text);
	font-weight: 650;
	text-decoration: none;
}

.lf-glance__table tbody th a:hover {
	color: var(--lf-accent-text);
	text-decoration: underline;
}

.lf-glance__rank {
	width: 2.5rem;
	color: var(--lf-accent-text);
	font-family: var(--lf-mono);
	font-weight: 700;
}

.lf-glance__price {
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lf-prose .lf-entry-item {
	margin-top: 3.5em;
	padding-top: 2.5em;
	border-top: 1px solid var(--lf-line);
}

.lf-prose .lf-entry-item > h2 {
	margin-top: 0;
}

.lf-prose .lf-entry-item > * + * {
	margin-top: 1em;
}

.lf-prose .lf-proscons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.25em;
}

.lf-prose .lf-proscons > .wp-block-column {
	margin: 0;
	padding: 1rem 1.15rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r);
	background: var(--lf-surface);
}

.lf-prose .lf-proscons h4 {
	margin: 0 0 .5rem;
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lf-prose .lf-pros h4 {
	color: #13692f;
}

.lf-prose .lf-cons h4 {
	color: #8a4a04;
}

@media (prefers-color-scheme: dark) {
	.lf-prose .lf-pros h4 {
		color: #6ee79a;
	}

	.lf-prose .lf-cons h4 {
		color: #fbbf5d;
	}
}

.lf-prose .lf-proscons ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9375rem;
}

.lf-prose .lf-proscons li {
	position: relative;
	padding-left: 1.3rem;
}

.lf-prose .lf-proscons li::before {
	position: absolute;
	left: 0;
	font-weight: 700;
}

.lf-prose .lf-pros li::before {
	content: "+";
	color: #16a34a;
}

.lf-prose .lf-cons li::before {
	content: "\2212";
	color: #d97706;
}

@media (max-width: 599px) {
	.lf-prose .lf-proscons {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Changelog */
.lf-changelog {
	margin-top: var(--lf-s-7);
	padding-top: var(--lf-s-6);
	border-top: 1px solid var(--lf-line);
}

.lf-changelog__title {
	margin-bottom: var(--lf-s-5);
	font-size: var(--lf-step-2);
	font-weight: 680;
	letter-spacing: -.025em;
}

.lf-changelog__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-release {
	position: relative;
	padding: 0 0 1.75rem 1.75rem;
}

.lf-release::before {
	content: "";
	position: absolute;
	top: .45rem;
	left: 0;
	width: 9px;
	height: 9px;
	border: 2px solid var(--lf-line-strong);
	border-radius: 50%;
	background: var(--lf-surface);
}

.lf-release::after {
	content: "";
	position: absolute;
	top: 1.2rem;
	bottom: .2rem;
	left: 5.5px;
	width: 1px;
	background: var(--lf-line);
}

.lf-release:last-child::after {
	display: none;
}

.lf-release.is-latest::before {
	border-color: var(--lf-ember);
	background: var(--lf-ember);
	box-shadow: 0 0 0 4px rgba(255, 106, 43, .15);
}

.lf-release__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem .65rem;
}

.lf-release__latest {
	padding: .2rem .5rem;
	border-radius: 999px;
	background: var(--lf-ink-900);
	color: var(--lf-white);
	font-size: .6875rem;
	font-weight: 650;
	letter-spacing: .04em;
}

@media (prefers-color-scheme: dark) {
	.lf-release__latest {
		background: var(--lf-white);
		color: var(--lf-ink-900);
	}
}

.lf-release__date {
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-release__items {
	display: grid;
	gap: .45rem;
	margin: .8rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.5;
}

.lf-release__items li {
	display: flex;
	align-items: baseline;
	gap: .6rem;
}

.lf-kind {
	flex: none;
	min-width: 4.9rem;
	padding: .15rem .45rem;
	border-radius: 5px;
	background: var(--lf-surface-2);
	color: var(--lf-text-2);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-align: center;
	text-transform: uppercase;
}

.lf-kind--added,
.lf-kind--new {
	background: rgba(22, 163, 74, .1);
	color: #13692f;
}

.lf-kind--fixed {
	background: rgba(37, 99, 235, .1);
	color: #1d4ed8;
}

.lf-kind--improved,
.lf-kind--changed {
	background: rgba(124, 58, 237, .1);
	color: #6d28d9;
}

.lf-kind--security,
.lf-kind--removed {
	background: rgba(220, 38, 38, .1);
	color: #a11d1d;
}

@media (prefers-color-scheme: dark) {
	.lf-kind--added,
	.lf-kind--new {
		color: #6ee79a;
	}

	.lf-kind--fixed {
		color: #93b4fd;
	}

	.lf-kind--improved,
	.lf-kind--changed {
		color: #c4a8ff;
	}

	.lf-kind--security,
	.lf-kind--removed {
		color: #fca5a5;
	}
}

/* Author box */
.lf-author {
	display: flex;
	gap: 1.1rem;
	margin-block: var(--lf-s-6);
	padding: 1.4rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
}

.lf-author__avatar img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
}

.lf-author__label {
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lf-author__name {
	margin-top: .15rem;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.lf-author__name a {
	text-decoration: none;
}

.lf-author__name a:hover {
	color: var(--lf-accent-text);
}

.lf-author__bio {
	margin-top: .4rem;
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.55;
}

.lf-author__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem 1.1rem;
	margin-top: .65rem;
	font-size: .875rem;
}

.lf-author__links a {
	color: var(--lf-accent-text);
}

.lf-author__more {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 600;
	text-decoration: none;
}

.lf-author__more .lf-icon {
	width: 15px;
	height: 15px;
}

.lf-author__more:hover {
	text-decoration: underline;
}

.lf-article__main > .lf-author,
.lf-solution > .lf-author {
	margin-top: var(--lf-s-7);
}

/* Byline beside the date in the entry header */
.lf-byline {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0;
	color: var(--lf-text-2);
	font-size: .875rem;
}

.lf-byline__avatar {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.lf-byline__name {
	color: var(--lf-text);
	font-weight: 600;
	text-decoration: none;
}

.lf-byline__name:hover,
.lf-byline__name:focus-visible {
	color: var(--lf-accent-text);
	text-decoration: underline;
}

@media (max-width: 479px) {
	.lf-author {
		flex-direction: column;
	}
}

/* Related rails */
.lf-related {
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
	border-top: 1px solid var(--lf-line);
	background: var(--lf-surface-2);
}

.lf-related__head {
	margin-bottom: var(--lf-s-6);
}

.lf-related__title {
	font-size: var(--lf-step-3);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.lf-rail + .lf-rail {
	margin-top: var(--lf-s-7);
}

.lf-rail__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: var(--lf-s-4);
}

.lf-rail__title {
	font-size: 1.0625rem;
	font-weight: 680;
	letter-spacing: -.015em;
}

.lf-rail__head .lf-link-arrow {
	font-size: .875rem;
}

.lf-related .lf-card--compact .lf-card__title {
	font-size: 1.125rem;
}

.lf-related .lf-card--compact .lf-card__top {
	margin-bottom: 1rem;
}

/* 4. Solutions --------------------------------------------------------------- */
.lf-solution {
	display: grid;
	gap: 1rem;
	padding-bottom: var(--lf-s-8);
}

.lf-panel {
	min-width: 0;
	padding: 1.4rem 1.5rem 1.5rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
}

.lf-panel__label {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: .9rem;
	color: var(--lf-text-2);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lf-panel__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
}

.lf-panel__icon .lf-icon {
	width: 17px;
	height: 17px;
}

.lf-panel--symptom .lf-panel__icon {
	background: rgba(220, 38, 38, .1);
	color: #b91c1c;
}

.lf-panel--cause .lf-panel__icon {
	background: rgba(217, 119, 6, .12);
	color: #a35a06;
}

.lf-panel--fix {
	border-color: rgba(22, 163, 74, .3);
	box-shadow: 0 0 0 4px rgba(22, 163, 74, .05);
}

.lf-panel--fix .lf-panel__icon {
	background: rgba(22, 163, 74, .12);
	color: #15803d;
}

@media (prefers-color-scheme: dark) {
	.lf-panel--symptom .lf-panel__icon {
		color: #fca5a5;
	}

	.lf-panel--cause .lf-panel__icon {
		color: #fbbf5d;
	}

	.lf-panel--fix .lf-panel__icon {
		color: #6ee79a;
	}
}

.lf-panel__text {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.lf-panel__text > * + * {
	margin-top: .8em;
}

.lf-panel .lf-prose {
	max-width: none;
}

.lf-panel .lf-prose > :first-child {
	margin-top: 0;
}

.lf-error-msg {
	overflow-x: auto;
	margin: 0;
	padding: 1rem 1.2rem;
	background: var(--lf-ink-900);
	color: #fca5a5;
	font-family: var(--lf-mono);
	font-size: .8125rem;
	line-height: 1.65;
	white-space: pre-wrap;
	word-break: break-word;
}

.lf-panel .lf-code {
	margin-top: 1rem;
	border-radius: var(--lf-r);
}

.lf-panel > .lf-error-msg {
	margin-top: 1rem;
	border-radius: var(--lf-r);
}

.lf-solution .lf-stuck {
	margin-top: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
}

/* 5. Resources ----------------------------------------------------------------- */
.lf-dlcard .lf-file {
	margin-bottom: 1.25rem;
}

.lf-dlcard__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .8rem 1rem;
	margin: 0 0 1.25rem;
	padding: 1rem 0;
	border-block: 1px solid var(--lf-line);
}

.lf-dlcard__facts dt {
	color: var(--lf-text-3);
	font-size: .6875rem;
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lf-dlcard__facts dd {
	margin: .15rem 0 0;
	font-size: .9375rem;
	font-weight: 600;
}

.lf-dlcard__note {
	margin-top: .75rem;
	color: var(--lf-text-3);
	font-size: .8125rem;
	text-align: center;
}

.lf-entry--resource .lf-product-body {
	padding-top: var(--lf-s-6);
}

/* 6. Docs --------------------------------------------------------------------- */
.lf-docs {
	display: grid;
	grid-template-columns: 16rem minmax(0, 46rem);
	justify-content: center;
	gap: clamp(2rem, 1rem + 3vw, 4.5rem);
	padding-block: var(--lf-s-7) var(--lf-s-8);
}

.lf-docs__nav {
	position: relative;
}

.lf-docnav-wrap {
	position: sticky;
	top: calc(var(--lf-header-h) + 1.5rem);
	max-height: calc(100vh - var(--lf-header-h) - 3rem);
	overflow-y: auto;
	padding-right: .5rem;
}

.lf-docnav__product {
	margin-bottom: .75rem;
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lf-docnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-docnav__list > li > a {
	font-weight: 650;
}

.lf-docnav .children {
	margin: .2rem 0 .4rem .75rem;
	padding-left: .6rem;
	border-left: 1px solid var(--lf-line);
}

.lf-docnav a {
	display: block;
	padding: .38rem .6rem;
	border-radius: 7px;
	color: var(--lf-text-2);
	font-size: .875rem;
	line-height: 1.4;
	text-decoration: none;
}

.lf-docnav a:hover {
	background: var(--lf-surface-2);
	color: var(--lf-text);
}

.lf-docnav .current_page_item > a {
	background: rgba(255, 106, 43, .1);
	color: var(--lf-accent-text);
	font-weight: 650;
}

.lf-docnav .current_page_ancestor > a {
	color: var(--lf-text);
}

.lf-docnav a.lf-docnav__all {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: 1.25rem;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-doc-head {
	margin-bottom: var(--lf-s-6);
	padding-bottom: var(--lf-s-5);
	border-bottom: 1px solid var(--lf-line);
}

.lf-doc-head__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem .7rem;
	margin-bottom: var(--lf-s-4);
}

.lf-doc-head__meta a.lf-tag {
	text-decoration: none;
}

.lf-doc-head__meta a.lf-tag:hover {
	border-color: var(--lf-line-strong);
	color: var(--lf-text);
}

.lf-doc-head__date {
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-doc-head__title {
	font-size: var(--lf-step-4);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1.05;
}

.lf-doc-head .lf-entry-head__lede {
	font-size: var(--lf-step-1);
}

.lf-doc-toc {
	margin-bottom: var(--lf-s-6);
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
}

.lf-doc-toc .lf-toc__list {
	columns: 2;
	column-gap: 1.5rem;
	border-left: 0;
}

.lf-doc-toc .lf-toc__item {
	break-inside: avoid;
}

.lf-doc-toc .lf-toc__item a {
	padding-left: 0;
	border-left: 0;
}

.lf-doc-toc .lf-toc__item--h3 a {
	padding-left: .9rem;
}

.lf-docpager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: var(--lf-s-7);
}

.lf-docpager__link {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
	text-decoration: none;
	transition: border-color .2s var(--lf-ease);
}

.lf-docpager__link:hover {
	border-color: var(--lf-ember);
}

.lf-docpager__link--next {
	grid-column: 2;
	align-items: flex-end;
	text-align: right;
}

.lf-docpager__label {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lf-docpager__title {
	font-weight: 650;
	letter-spacing: -.01em;
}

.lf-backbuy {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: var(--lf-s-6);
	padding: 1rem 1.1rem;
	border-radius: var(--lf-r-lg);
	background: var(--lf-ink-900);
	color: var(--lf-white);
}

.lf-backbuy__thumb {
	flex: none;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 11px;
	background: var(--lf-ink-700);
}

.lf-backbuy__thumb img,
.lf-backbuy__thumb .lf-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lf-backbuy__text {
	flex: 1;
	min-width: 0;
}

.lf-backbuy__eyebrow {
	color: var(--lf-slate-400);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lf-backbuy__name {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .2rem .6rem;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.lf-backbuy__price {
	color: var(--lf-ember-300);
	font-size: .9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 1023px) {
	.lf-docs {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--lf-s-5);
		padding-top: var(--lf-s-5);
	}

	.lf-docs__nav,
	.lf-docs__main {
		width: 100%;
		max-width: 46rem;
		margin-inline: auto;
	}

	.lf-docnav-wrap {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: 1px solid var(--lf-line);
		border-radius: var(--lf-r-lg);
		background: var(--lf-surface);
	}

	.lf-docnav-wrap__summary .lf-icon {
		color: var(--lf-accent-text);
	}

	.lf-docnav {
		padding: 0 1.1rem 1.1rem;
	}

	.lf-docnav__product {
		display: none;
	}
}

@media (max-width: 599px) {
	.lf-doc-toc .lf-toc__list {
		columns: 1;
	}

	.lf-docpager {
		grid-template-columns: minmax(0, 1fr);
	}

	.lf-docpager__link--next {
		grid-column: auto;
	}

	.lf-backbuy {
		flex-wrap: wrap;
	}

	.lf-backbuy .lf-btn {
		width: 100%;
	}
}

/* 7. Product page additions ------------------------------------------------------ */
.lf-product-head .lf-crumbs {
	margin-bottom: var(--lf-s-5);
}

.lf-product-head__pills {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.lf-product-head__pills:empty {
	display: none;
}

.lf-product-main {
	min-width: 0;
}

.lf-product-main .lf-changelog {
	max-width: 46rem;
}

.lf-buybox__links {
	display: grid;
	gap: .2rem;
	margin: var(--lf-s-4) 0 0;
	padding: var(--lf-s-4) 0 0;
	border-top: 1px solid var(--lf-line);
	list-style: none;
}

.lf-buybox__links a {
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .45rem 0;
	color: var(--lf-text);
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
}

.lf-buybox__links a:hover {
	color: var(--lf-accent-text);
}

.lf-buybox__links .lf-icon {
	color: var(--lf-accent-text);
}

/* 8. Search ------------------------------------------------------------------- */
.lf-errnote {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	max-width: 46rem;
	margin-top: var(--lf-s-5);
	padding: .9rem 1.1rem;
	border: 1px solid rgba(251, 191, 93, .35);
	border-radius: var(--lf-r);
	background: rgba(251, 191, 93, .08);
	color: var(--lf-slate-200);
	font-size: .9375rem;
	line-height: 1.5;
}

.lf-errnote__icon {
	flex: none;
	color: #fbbf5d;
}

.lf-errnote code {
	padding: .1rem .4rem;
	border-radius: 5px;
	background: rgba(255, 255, 255, .08);
	color: var(--lf-white);
	font-family: var(--lf-mono);
	font-size: .8125rem;
	overflow-wrap: anywhere;
}

.lf-results {
	scroll-margin-top: calc(var(--lf-header-h) + 1.5rem);
}

.lf-results + .lf-results {
	margin-top: var(--lf-s-7);
}

.lf-results--troubleshooting .lf-rows {
	border-color: rgba(255, 106, 43, .35);
}

.lf-section--search .lf-stuck {
	margin-top: var(--lf-s-8);
}

/* 9. Store pages (shell; EDD form details live in edd.css) ------------------------- */
.lf-store-head {
	padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem) var(--lf-s-5);
	border-bottom: 1px solid var(--lf-line);
	background: var(--lf-surface);
}

.lf-store-head__secure {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: #15803d;
	font-size: .8125rem;
	font-weight: 650;
}

@media (prefers-color-scheme: dark) {
	.lf-store-head__secure {
		color: #6ee79a;
	}
}

.lf-store-head__title {
	margin-top: .4rem;
	font-size: var(--lf-step-4);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1.05;
}

.lf-steps-bar {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	margin: var(--lf-s-5) 0 0;
	padding: 0;
	list-style: none;
	color: var(--lf-text-3);
	font-size: .875rem;
	font-weight: 600;
}

.lf-steps-bar li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.lf-steps-bar .lf-steps-bar__num {
	display: grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: 50%;
	font-size: .75rem;
}

.lf-steps-bar .is-done {
	color: var(--lf-text-2);
}

.lf-steps-bar .is-done .lf-steps-bar__num {
	border-color: #16a34a;
	background: #16a34a;
	color: #fff;
}

.lf-steps-bar .is-current {
	color: var(--lf-text);
}

.lf-steps-bar .is-current .lf-steps-bar__num {
	border-color: var(--lf-ember);
	background: var(--lf-ember);
	color: var(--lf-ink-900);
}

.lf-store-body {
	padding-block: var(--lf-s-6) var(--lf-section);
}

/* 10. About ------------------------------------------------------------------- */
.lf-about-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
	background: var(--lf-ink-900);
	color: var(--lf-white);
}

.lf-about-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(45% 70% at 85% 25%, rgba(255, 106, 43, .18), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(92, 108, 255, .12), transparent 70%);
}

.lf-about-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: end;
	gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.lf-about-hero__text {
	padding-bottom: clamp(2rem, 1rem + 3vw, 4rem);
}

.lf-about-hero__title {
	max-width: 16ch;
	font-size: var(--lf-step-5);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1;
}

.lf-about-hero__lede {
	max-width: 50ch;
	margin-top: var(--lf-s-5);
	color: var(--lf-slate-300);
	font-size: var(--lf-step-1);
	line-height: 1.6;
}

.lf-about-hero__portrait {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, .1);
	border-bottom: 0;
	border-radius: var(--lf-r-xl) var(--lf-r-xl) 0 0;
	background: var(--lf-ink-800);
}

.lf-about-hero__portrait img,
.lf-about-hero__portrait .lf-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lf-proof__list--dark {
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.lf-proof__list--dark li {
	border-left-color: rgba(255, 255, 255, .1);
}

.lf-proof__list--dark .lf-proof__value span {
	color: var(--lf-slate-400);
}

.lf-proof__list--dark .lf-proof__label {
	color: var(--lf-slate-300);
}

@media (max-width: 899px) {
	.lf-about-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.lf-about-hero__portrait {
		max-width: 26rem;
		aspect-ratio: 16 / 11;
	}

	.lf-proof__list--dark li:nth-child(n + 3) {
		border-top-color: rgba(255, 255, 255, .1);
	}
}

.lf-about__body {
	padding-top: var(--lf-s-8);
}

.lf-prose--story > p:first-child,
.lf-prose--story > h2:first-child + p {
	font-size: 1.25rem;
	line-height: 1.6;
	letter-spacing: -.01em;
}

.lf-prose .lf-timeline {
	margin-top: 3em;
	padding: 1.75rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-xl);
	background: var(--lf-surface);
}

.lf-prose .lf-timeline > h2 {
	margin: 0 0 1.25rem;
	font-size: var(--lf-step-2);
}

.lf-prose .lf-milestone {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	column-gap: 1.25rem;
	margin-top: 0;
	padding-bottom: 1.25rem;
}

.lf-prose .lf-milestone > * {
	grid-column: 2;
	margin: 0;
}

.lf-prose .lf-milestone > .lf-milestone__year {
	grid-column: 1;
	grid-row: 1 / span 3;
	color: var(--lf-accent-text);
	font-family: var(--lf-mono);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.6;
}

.lf-prose .lf-milestone h3 {
	margin: 0;
	font-size: 1.0625rem;
}

.lf-prose .lf-milestone p:not(.lf-milestone__year) {
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.6;
}

.lf-prose .lf-milestone + .lf-milestone {
	padding-top: 1.25rem;
	border-top: 1px dashed var(--lf-line-strong);
}

.lf-prose .lf-milestone:last-child {
	padding-bottom: 0;
}

@media (max-width: 479px) {
	.lf-prose .lf-timeline {
		padding: 1.25rem;
	}

	.lf-prose .lf-milestone {
		grid-template-columns: minmax(0, 1fr);
	}

	.lf-prose .lf-milestone > *,
	.lf-prose .lf-milestone > .lf-milestone__year {
		grid-column: 1;
		grid-row: auto;
	}
}

/* 11. Roadmap ------------------------------------------------------------------ */
.lf-roadmap-page__updated,
.lf-legal__updated {
	margin-top: var(--lf-s-4);
	color: var(--lf-text-3);
	font-size: .875rem;
}

.lf-roadmap-page__body {
	padding-block: var(--lf-s-7) var(--lf-s-6);
}

.lf-roadmap-page__body > * + * {
	margin-top: var(--lf-s-5);
}

.lf-roadmap-page__body > p {
	max-width: 60ch;
	color: var(--lf-text-2);
}

.lf-roadmap {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, .6rem + 1.2vw, 1.5rem) !important;
}

.lf-roadmap > .wp-block-column {
	margin: 0 !important;
}

.lf-lane {
	--lf-lane: var(--lf-ember);
	padding: 1.25rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-xl);
	background: var(--lf-surface-2);
}

.lf-lane--next {
	--lf-lane: #6c7bff;
}

.lf-lane--later {
	--lf-lane: var(--lf-slate-400);
}

.lf-lane > h2 {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.lf-lane > h2::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--lf-lane);
	box-shadow: 0 0 0 4px rgba(128, 128, 128, .15);
}

.lf-lane > p {
	margin: .35rem 0 0;
	color: var(--lf-text-3);
	font-size: .875rem;
}

.lf-lane__items {
	display: grid;
	gap: .6rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.lf-lane__items li {
	padding: .9rem 1rem;
	border: 1px solid var(--lf-line);
	border-left: 3px solid var(--lf-lane);
	border-radius: var(--lf-r);
	background: var(--lf-surface);
	box-shadow: var(--lf-card-shadow);
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.5;
}

.lf-lane__items li strong {
	display: block;
	margin-bottom: .2rem;
	color: var(--lf-text);
	font-weight: 650;
}

.lf-lane__items li:empty {
	display: none;
}

@media (max-width: 899px) {
	.lf-roadmap {
		grid-template-columns: minmax(0, 1fr);
	}
}

.lf-suggest {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-bottom: var(--lf-section);
	padding: 1.5rem 1.75rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-xl);
	background:
		radial-gradient(60% 140% at 100% 0%, rgba(255, 106, 43, .1), transparent 60%),
		var(--lf-surface);
}

.lf-suggest__title {
	font-size: var(--lf-step-2);
	font-weight: 700;
	letter-spacing: -.03em;
}

.lf-suggest p {
	margin-top: .3rem;
	color: var(--lf-text-2);
}

/* 12. Support ------------------------------------------------------------------ */
.lf-support__body {
	padding-block: var(--lf-s-7) var(--lf-section);
}

.lf-door {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-xl);
	background: var(--lf-surface);
	box-shadow: var(--lf-card-shadow-hover);
}

.lf-door__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.lf-door__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 1.25rem;
	border-radius: 14px;
	background: var(--lf-ink-900);
	color: var(--lf-ember-300);
}

.lf-door__title {
	font-size: var(--lf-step-3);
	font-weight: 700;
	letter-spacing: -.035em;
}

.lf-door__note {
	margin: .75rem 0 1.5rem;
	color: var(--lf-text-2);
}

.lf-door__checklist {
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	border-left: 1px solid var(--lf-line);
	background: var(--lf-surface-2);
}

.lf-door__checklist h3 {
	color: var(--lf-text-3);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lf-door__checklist ol {
	display: grid;
	gap: .85rem;
	margin: 1.1rem 0 0;
	padding: 0;
	counter-reset: lfdoor;
	list-style: none;
}

.lf-door__checklist li {
	position: relative;
	padding-left: 2.4rem;
	counter-increment: lfdoor;
	line-height: 1.5;
}

.lf-door__checklist li::before {
	content: counter(lfdoor);
	position: absolute;
	top: -.05rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.7rem;
	height: 1.7rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: 50%;
	background: var(--lf-surface);
	color: var(--lf-accent-text);
	font-size: .75rem;
	font-weight: 700;
}

@media (max-width: 899px) {
	.lf-door {
		grid-template-columns: minmax(0, 1fr);
	}

	.lf-door__checklist {
		border-top: 1px solid var(--lf-line);
		border-left: 0;
	}
}

.lf-selfserve {
	margin-top: var(--lf-s-8);
}

.lf-selfserve .lf-subhead {
	margin-bottom: var(--lf-s-5);
}

.lf-tile {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.4rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	background: var(--lf-surface);
	text-decoration: none;
	transition: border-color .2s var(--lf-ease), transform .3s var(--lf-ease), box-shadow .3s var(--lf-ease);
}

.lf-tile:hover {
	transform: translateY(-2px);
	border-color: var(--lf-line-strong);
	box-shadow: var(--lf-card-shadow-hover);
}

.lf-tile__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: .6rem;
	border-radius: 11px;
	background: rgba(255, 106, 43, .1);
	color: var(--lf-accent-text);
}

.lf-tile__title {
	font-size: 1.0625rem;
	font-weight: 680;
	letter-spacing: -.015em;
}

.lf-tile__text {
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.5;
}

.lf-support__content {
	margin-top: var(--lf-s-8);
}

/* 13. Legal -------------------------------------------------------------------- */
.lf-legal .lf-article {
	padding-top: var(--lf-s-7);
}

.lf-prose--legal {
	font-size: 1rem;
	line-height: 1.7;
}

.lf-prose--legal h2 {
	font-size: var(--lf-step-2);
}

.lf-article__aside > .lf-legal__others {
	margin-top: var(--lf-s-6);
}

.lf-legal__others ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-legal__others a {
	display: block;
	padding: .3rem 0;
	color: var(--lf-text-2);
	font-size: .875rem;
	text-decoration: none;
}

.lf-legal__others a:hover {
	color: var(--lf-accent-text);
}

.lf-legal__contact {
	margin-top: var(--lf-s-7);
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--lf-line);
	border-radius: var(--lf-r-lg);
	color: var(--lf-text-2);
	font-size: .9375rem;
}

.lf-legal__contact a {
	color: var(--lf-accent-text);
	font-weight: 600;
}

@media (min-width: 1024px) {
	.lf-legal .lf-article__aside {
		position: sticky;
		top: calc(var(--lf-header-h) + 2rem);
		align-self: start;
	}

	.lf-legal .lf-article__aside > .lf-toc {
		position: static;
	}
}

@media (max-width: 1023px) {
	.lf-legal .lf-article__aside .lf-toc {
		padding: 1.1rem 1.25rem;
		border: 1px solid var(--lf-line);
		border-radius: var(--lf-r-lg);
	}

	.lf-legal__others {
		display: none;
	}
}

/* Print: clean article output */
@media print {
	.lf-header,
	.lf-footer,
	.lf-progress,
	.lf-related,
	.lf-article__aside,
	.lf-docs__nav,
	.lf-newsletter-wrap,
	.lf-stuck,
	.lf-code__bar {
		display: none !important;
	}

	.lf-article,
	.lf-docs {
		display: block;
	}
}

/* Featured row with exactly two items: two equal cards. */
.lf-featured:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lf-featured:has(> :nth-child(2):last-child) > :first-child {
	grid-row: auto;
}

.lf-featured:has(> :nth-child(2):last-child) > .lf-card:not(:first-child) {
	flex-direction: column;
}

.lf-featured:has(> :nth-child(2):last-child) > .lf-card:not(:first-child) .lf-card__media {
	width: auto;
	margin: 7px 7px 0;
	aspect-ratio: 16 / 9;
}

@media (max-width: 899px) {
	.lf-featured:has(> :nth-child(2):last-child) {
		grid-template-columns: minmax(0, 1fr);
	}
}

.lf-section--hub:has(+ .lf-stuck-wrap),
.lf-section--hub:has(+ .lf-newsletter-wrap) {
	padding-bottom: var(--lf-s-6);
}

.lf-stuck-wrap > .lf-stuck {
	margin-top: 0;
}

.lf-prose pre,
.lf-error-msg {
	tab-size: 4;
}

/* Featured resource preview panel */
.lf-dlart {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	min-height: 15rem;
	margin: 7px 7px 0;
	border-radius: calc(var(--lf-r-lg) - 4px);
	background:
		radial-gradient(60% 80% at 80% 10%, rgba(255, 106, 43, .28), transparent 60%),
		radial-gradient(50% 70% at 10% 100%, rgba(124, 92, 255, .22), transparent 60%),
		var(--lf-ink-900);
}

.lf-dlart img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lf-dlart__sheet {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 9.5rem;
	height: 12rem;
	padding: 1.1rem;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px 26px 12px 12px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	transform: rotate(-4deg);
	transition: transform .4s var(--lf-ease);
}

.lf-dlart__sheet--back {
	position: absolute;
	transform: rotate(7deg) translate(18px, 6px);
	opacity: .5;
}

.lf-card--resource-feature:hover .lf-dlart__sheet:not(.lf-dlart__sheet--back) {
	transform: rotate(-2deg) translateY(-4px);
}

.lf-dlart__lines {
	display: grid;
	gap: .55rem;
}

.lf-dlart__lines i {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .16);
}

.lf-dlart__lines i:nth-child(2) {
	width: 80%;
}

.lf-dlart__lines i:nth-child(3) {
	width: 90%;
}

.lf-dlart__lines i:nth-child(4) {
	width: 55%;
}

.lf-dlart__name {
	position: absolute;
	right: 1rem;
	bottom: .9rem;
	left: 1rem;
	overflow: hidden;
	color: rgba(255, 255, 255, .6);
	font-family: var(--lf-mono);
	font-size: .75rem;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lf-card--resource-feature .lf-card__body {
	padding-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
	.lf-dlart__sheet {
		transition: none;
	}
}

/* At a glance on phones: drop the platform column so it fits without scrolling. */
@media (max-width: 599px) {
	.lf-glance {
		padding: 1rem .9rem;
	}

	.lf-glance__table {
		min-width: 0;
		font-size: .875rem;
	}

	.lf-glance__table th:nth-child(4),
	.lf-glance__table td:nth-child(4) {
		display: none;
	}

	.lf-glance__table th,
	.lf-glance__table td {
		padding: .65rem .4rem;
	}
}

/* 2.0.2: support routing --------------------------------------------------------- */

/* "Questions? Contact support" note (checkout, store pages, legal pages) */
.lf-help-note {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .35rem .65rem;
	margin: var(--lf-s-6) 0 0;
	padding: .6rem .7rem .6rem .65rem;
	border: 1px solid var(--lf-line);
	border-radius: 999px;
	background: var(--lf-surface);
	box-shadow: var(--lf-card-shadow);
	color: var(--lf-text-2);
	font-size: .9375rem;
	line-height: 1.3;
}

.lf-help-note__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--lf-surface-2);
	color: var(--lf-accent-text);
}

.lf-help-note__icon .lf-icon {
	width: 16px;
	height: 16px;
}

.lf-help-note__link {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	min-height: 32px;
	padding: 0 .85rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: 999px;
	background: var(--lf-surface-2);
	color: var(--lf-text);
	font-size: .875rem;
	font-weight: 650;
	text-decoration: none;
	transition: background-color .2s var(--lf-ease), color .2s var(--lf-ease), border-color .2s var(--lf-ease);
}

.lf-help-note__link .lf-icon {
	width: 15px;
	height: 15px;
	transition: transform .2s var(--lf-ease);
}

.lf-help-note__link:hover {
	border-color: var(--lf-ink-900);
	background: var(--lf-ink-900);
	color: var(--lf-white);
}

.lf-help-note__link .lf-icon {
	color: var(--lf-accent-text);
}

.lf-help-note__link:hover .lf-icon {
	color: currentColor;
}

.lf-help-note__link:hover .lf-icon {
	transform: translateX(2px);
}

.lf-help-note__link:focus-visible {
	outline: 2px solid var(--lf-focus);
	outline-offset: 2px;
}

@media (max-width: 479px) {
	.lf-help-note {
		display: flex;
		border-radius: var(--lf-r-lg);
	}

	.lf-help-note__text {
		flex: 1;
	}

	.lf-help-note__link {
		width: 100%;
		justify-content: center;
		min-height: 40px;
	}
}

.lf-legal__contact.lf-help-note {
	margin-top: var(--lf-s-6);
}

.lf-stuck__hint {
	color: var(--lf-slate-300);
	font-size: .875rem;
}

/* Support page: the form sits where the email used to be */
.lf-door__note {
	margin: .5rem 0 1.5rem;
}

.lf-door__missing {
	padding: 1rem;
	border: 1px dashed var(--lf-line-strong);
	border-radius: var(--lf-r);
	color: var(--lf-text-2);
}

.lf-contact {
	width: 100%;
}

.lf-contact__form {
	display: grid;
	gap: 1.1rem;
}

.lf-contact__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}

@media (max-width: 599px) {
	.lf-contact__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.lf-contact .lf-field {
	display: grid;
	gap: .4rem;
	margin: 0;
}

.lf-contact .lf-field label {
	color: var(--lf-text);
	font-size: .875rem;
	font-weight: 650;
}

.lf-field__req {
	color: var(--lf-accent-text);
}

.lf-contact input[type="text"],
.lf-contact input[type="email"],
.lf-contact select,
.lf-contact textarea {
	width: 100%;
	min-height: 48px;
	padding: .7rem 1rem;
	border: 1px solid var(--lf-line-strong);
	border-radius: var(--lf-r);
	background: var(--lf-surface);
	color: var(--lf-text);
	font: inherit;
	font-size: 1rem;
	transition: border-color .2s var(--lf-ease), box-shadow .2s var(--lf-ease);
}

.lf-contact textarea {
	min-height: 10rem;
	resize: vertical;
	line-height: 1.55;
}

.lf-contact select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) 50%, calc(100% - .8rem) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.lf-contact input:focus,
.lf-contact select:focus,
.lf-contact textarea:focus {
	border-color: var(--lf-ember);
	outline: none;
	box-shadow: 0 0 0 4px rgba(255, 106, 43, .16);
}

.lf-field__help {
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-field.has-error input,
.lf-field.has-error select,
.lf-field.has-error textarea {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.lf-field__error {
	display: flex;
	align-items: center;
	gap: .35rem;
	color: #b91c1c;
	font-size: .8125rem;
	font-weight: 600;
}

.lf-field__error::before {
	content: "!";
	display: grid;
	flex: none;
	place-items: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #dc2626;
	color: #fff;
	font-size: .6875rem;
	font-weight: 800;
}

.lf-contact__about {
	margin: 0;
	padding: .7rem .9rem;
	border-radius: var(--lf-r);
	background: var(--lf-surface-2);
	color: var(--lf-text-2);
	font-size: .875rem;
}

.lf-contact__about a {
	color: var(--lf-text);
	font-weight: 650;
}

.lf-contact__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lf-contact__submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.25rem;
	margin-top: .25rem;
}

.lf-contact__submit .lf-btn {
	min-height: 50px;
	padding-inline: 1.6rem;
	border: 0;
	cursor: pointer;
}

.lf-contact__privacy {
	margin: 0;
	color: var(--lf-text-3);
	font-size: .8125rem;
}

.lf-contact__notice {
	position: relative;
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem 1rem 3.1rem;
	border: 1px solid;
	border-radius: var(--lf-r-lg);
}

.lf-contact__notice::before {
	position: absolute;
	top: 1rem;
	left: 1rem;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #fff;
	font-size: .8125rem;
	font-weight: 800;
}

.lf-contact__notice:focus {
	outline: none;
}

.lf-contact__notice--ok {
	border-color: rgba(22, 163, 74, .35);
	background: rgba(22, 163, 74, .07);
}

.lf-contact__notice--ok::before {
	content: "\2713";
	background: #16a34a;
}

.lf-contact__notice--error {
	border-color: rgba(220, 38, 38, .3);
	background: rgba(220, 38, 38, .06);
}

.lf-contact__notice--error::before {
	content: "!";
	background: #dc2626;
}

.lf-contact__notice-title {
	margin: 0;
	color: var(--lf-text);
	font-weight: 700;
}

.lf-contact__notice-text {
	margin: .2rem 0 0;
	color: var(--lf-text-2);
	font-size: .9375rem;
}
