/* Socialens landing page ("/" for visitors). Loaded only by landing.html.

   Built on the app's own tokens from style.css (--primary, --heading, --surface
   and friends), so both themes work without a second palette. The hero and the
   "How we measure" band are deliberately the same brand blue and navy in both
   themes: they carry the app icon's colours, and the icon does not change with
   the theme either.

   Motion rule for this file: nothing is hidden at rest. Every entrance starts
   from its keyframes' "from" state via animation-fill-mode: both, so when
   style.css switches animations off for prefers-reduced-motion, each element
   simply sits in its final, visible state. No scroll-triggered reveals: a
   full-page capture (a reviewer's screenshot tool, say) never scrolls, and would
   record every section below the fold as blank. */

.lp {
	--lp-max: 1180px;
	--lp-gutter: clamp(1rem, 4vw, 2rem);
	--lp-nav-h: 4.5rem;
	--lp-section-y: clamp(4.5rem, 9vw, 7.5rem);
	--lp-hero-a: #1e40af;
	--lp-hero-b: #172554;
	--lp-hero-c: #0b1220;
	--lp-amber: #f59e0b;
	--lp-amber-hover: #fbbf24;
	--lp-on-amber: #0b1220;
	--lp-on-dark: #ffffff;
	--lp-on-dark-soft: #cbd8f0;
	--lp-on-dark-muted: #a9bddf;
	--lp-surface-alt: #eef3fb;
	--lp-stage: #e8effa;
	--lp-card-border: rgb(30 64 175 / 0.12);
	--lp-shadow-lg:
		0 1px 2px rgb(15 23 42 / 0.06), 0 18px 40px -14px rgb(15 23 42 / 0.28),
		0 60px 110px -40px rgb(23 37 84 / 0.55);
	--lp-shadow-md: 0 1px 2px rgb(15 23 42 / 0.05), 0 12px 28px -14px rgb(15 23 42 / 0.2);
	--lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	background: var(--bg);
}

:root[data-theme="dark"] .lp {
	--lp-surface-alt: #0e1628;
	--lp-stage: #0d1526;
	--lp-card-border: rgb(147 197 253 / 0.16);
	--lp-shadow-lg:
		0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -14px rgb(0 0 0 / 0.6),
		0 60px 110px -40px rgb(0 0 0 / 0.8);
	--lp-shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 28px -14px rgb(0 0 0 / 0.55);
}

@media (prefers-reduced-motion: no-preference) {
	html:has(> body.lp) {
		scroll-behavior: smooth;
	}
}

/* style.css sizes main and footer for the dashboard; this page runs edge to edge. */
.lp main {
	max-width: none;
	margin: 0;
	padding: 0;
}
/* A signed banner is near impossible on this page, but it must not hide
   under the absolutely positioned nav if one ever arrives. */
.lp main > .banner {
	margin: calc(var(--lp-nav-h) + 1rem) var(--lp-gutter) 0;
}

.lp-wrap {
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0 var(--lp-gutter);
}

.lp-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* ---------- Type ---------- */

.lp h1,
.lp h2,
.lp h3 {
	text-wrap: balance;
}
.lp h2 {
	font-size: clamp(1.95rem, 2.1vw + 1.2rem, 3rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	font-weight: 600;
	margin: 0 0 1rem;
}
/* style.css makes h3 a small uppercase label for the dashboard. Here it is a
   real heading again. */
.lp h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: -0.012em;
	text-transform: none;
	font-weight: 600;
	color: var(--heading);
	margin: 0 0 0.5rem;
}
.lp p {
	line-height: 1.65;
}

.lp-kicker {
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--link);
	margin: 0 0 0.9rem;
}
.lp-section-head {
	max-width: 46rem;
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.lp-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.lp-section-lede {
	font-size: clamp(1.05rem, 0.3vw + 1rem, 1.175rem);
	color: var(--muted);
	margin: 0;
}

/* ---------- Buttons ---------- */

.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 12px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 180ms ease-out,
		border-color 180ms ease-out,
		color 180ms ease-out,
		box-shadow 180ms ease-out,
		transform 180ms ease-out;
}
.lp-btn:active {
	transform: translateY(1px);
}
.lp-btn .lp-icon {
	transition: transform 180ms ease-out;
}
.lp-btn:hover .lp-icon {
	transform: translateX(3px);
}
.lp-btn-cta {
	background: var(--lp-amber);
	color: var(--lp-on-amber);
	box-shadow:
		0 10px 26px -10px rgb(245 158 11 / 0.7),
		inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.lp-btn-cta:hover {
	background: var(--lp-amber-hover);
	color: var(--lp-on-amber);
	box-shadow:
		0 14px 32px -10px rgb(245 158 11 / 0.8),
		inset 0 1px 0 rgb(255 255 255 / 0.45);
}
.lp-btn-ghost {
	color: var(--lp-on-dark);
	border-color: rgb(255 255 255 / 0.32);
	background: rgb(255 255 255 / 0.05);
}
.lp-btn-ghost:hover {
	color: var(--lp-on-dark);
	background: rgb(255 255 255 / 0.13);
	border-color: rgb(255 255 255 / 0.5);
}
.lp-btn-outline {
	color: var(--link);
	background: var(--surface);
	border-color: var(--border-strong);
}
.lp-btn-outline:hover {
	color: var(--link-hover);
	background: var(--surface-raised);
	border-color: var(--link);
}
.lp-btn-sm {
	min-height: 40px;
	padding: 0.5rem 1rem;
	font-size: 0.925rem;
	border-radius: 10px;
}
.lp-short {
	display: none;
}

/* On the blue surfaces the app's blue focus ring would vanish. */
.lp-nav :focus-visible,
.lp-hero :focus-visible,
.lp-dark :focus-visible,
.lp-final :focus-visible {
	outline-color: var(--lp-amber-hover);
	outline-offset: 3px;
}

/* ---------- Nav ---------- */

.lp-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	color: var(--lp-on-dark);
}
.lp-nav-inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--lp-nav-h);
}
.lp-nav .brand,
.lp-nav .brand svg {
	color: var(--lp-on-dark);
}
.lp-nav .brand {
	font-size: 1.15rem;
}
.lp-nav .brand svg {
	width: 24px;
	height: 24px;
}
.lp-nav-links ul {
	display: flex;
	gap: 0.15rem;
	list-style: none;
	margin: 0 0 0 1rem;
	padding: 0;
}
.lp-nav-links a,
.lp-signin {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.8rem;
	border-radius: 9px;
	color: rgb(255 255 255 / 0.84);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	transition:
		background-color 160ms ease-out,
		color 160ms ease-out;
}
.lp-nav-links a:hover,
.lp-signin:hover {
	color: var(--lp-on-dark);
	background: rgb(255 255 255 / 0.1);
}
.lp-nav-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.lp-nav .theme-toggle {
	margin-left: 0;
	min-height: 40px;
	min-width: 40px;
	border-radius: 10px;
	color: rgb(255 255 255 / 0.85);
	border-color: rgb(255 255 255 / 0.22);
	background: transparent;
}
.lp-nav .theme-toggle:hover {
	color: var(--lp-on-dark);
	background: rgb(255 255 255 / 0.1);
}
@media (max-width: 920px) {
	.lp-nav-links {
		display: none;
	}
}
@media (max-width: 520px) {
	.lp-long {
		display: none;
	}
	.lp-short {
		display: inline;
	}
	.lp-nav-inner {
		gap: 0.5rem;
	}
	.lp-signin {
		padding: 0 0.55rem;
	}
}
.lp-signin,
.lp-nav .lp-btn {
	white-space: nowrap;
}
/* At phone width the bar cannot hold the brand, the theme toggle, Sign in and
   the trial button; they wrapped to two lines each at 375px. The toggle is the
   one to drop: the choice persists from any other page. */
@media (max-width: 420px) {
	.lp-nav .theme-toggle {
		display: none;
	}
	.lp-nav .brand {
		font-size: 1rem;
	}
}
@media (max-width: 360px) {
	.lp-nav .brand {
		font-size: 0;
		gap: 0;
	}
}

/* ---------- Hero ---------- */

.lp-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--lp-on-dark);
	padding: calc(var(--lp-nav-h) + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(4.5rem, 9vw, 7.5rem);
	background:
		radial-gradient(1100px 620px at 85% -12%, rgb(59 130 246 / 0.4), transparent 62%),
		radial-gradient(820px 520px at -8% 112%, rgb(245 158 11 / 0.16), transparent 62%),
		linear-gradient(165deg, var(--lp-hero-a) 0%, var(--lp-hero-b) 56%, var(--lp-hero-c) 100%);
}
/* A faint measuring grid, faded out toward the edges. */
.lp-hero::before,
.lp-final::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.055) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 65% 40%, #000 25%, transparent 78%);
	mask-image: radial-gradient(ellipse 75% 65% at 65% 40%, #000 25%, transparent 78%);
}
.lp-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}
.lp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.6rem;
	padding: 0.4rem 0.85rem 0.4rem 0.65rem;
	border: 1px solid rgb(255 255 255 / 0.18);
	border-radius: 999px;
	background: rgb(255 255 255 / 0.06);
	color: var(--lp-on-dark-soft);
	font-size: 0.875rem;
	line-height: 1.3;
}
.lp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lp-amber);
	box-shadow: 0 0 0 4px rgb(245 158 11 / 0.22);
	flex: none;
}
.lp-hero h1 {
	color: var(--lp-on-dark);
	font-size: clamp(2.6rem, 4.3vw + 1rem, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.034em;
	font-weight: 600;
	margin: 0 0 1.5rem;
}
.lp-hl {
	position: relative;
	display: inline-block;
	color: var(--lp-amber-hover);
	white-space: nowrap;
}
.lp-hl-line {
	position: absolute;
	left: 0;
	bottom: -0.16em;
	width: 100%;
	height: 0.3em;
	overflow: visible;
	fill: none;
	stroke: var(--lp-amber);
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.lp-hl-line polyline {
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 100;
	animation: lp-draw 900ms var(--lp-ease) 450ms both;
}
.lp-lede {
	font-size: clamp(1.075rem, 0.45vw + 1rem, 1.25rem);
	color: var(--lp-on-dark-soft);
	max-width: 35em;
	margin: 0 0 2rem;
}
.lp-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.lp-fineprint {
	margin: 1.4rem 0 0;
	max-width: 34em;
	font-size: 0.9rem;
	color: var(--lp-on-dark-muted);
}
.lp-fineprint a {
	color: var(--lp-on-dark);
	text-decoration-color: rgb(255 255 255 / 0.45);
	text-underline-offset: 0.18em;
}
.lp-fineprint a:hover {
	color: var(--lp-amber-hover);
}

.lp-hero-visual {
	position: relative;
	margin: 0;
	padding: 0 0 2rem;
}
.lp-lens {
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 46%;
	width: min(135%, 720px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	pointer-events: none;
	overflow: visible;
}
.lp-lens-ring {
	fill: none;
	stroke: rgb(255 255 255 / 0.2);
	stroke-width: 2;
}
.lp-lens-ring-inner {
	stroke: rgb(255 255 255 / 0.08);
	stroke-width: 1.5;
}
.lp-trace {
	fill: none;
	stroke: var(--lp-amber);
	stroke-width: 9;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.9;
	stroke-dasharray: 100;
	animation: lp-draw 1600ms var(--lp-ease) 250ms both;
}
.lp-trace-static {
	stroke-dasharray: none;
	animation: none;
	opacity: 0.55;
}
.lp-trace-dot {
	fill: #ffffff;
	animation: lp-pop 400ms var(--lp-ease) 1650ms both;
}
.lp-lens-final .lp-trace-dot {
	animation: none;
	opacity: 0.7;
}
.lp-sample {
	position: absolute;
	right: 0.25rem;
	bottom: 0;
	font-size: 0.78rem;
	color: var(--lp-on-dark-muted);
	letter-spacing: 0.01em;
}

/* ---------- Product mock pieces (shared by hero and features) ---------- */

.lp-mock {
	position: relative;
}
.m-card {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--lp-card-border);
	border-radius: 16px;
	box-shadow: var(--lp-shadow-lg);
	text-align: left;
}
.m-main {
	position: relative;
	max-width: 480px;
	margin-left: auto;
	padding: 1.15rem 1.2rem 1.25rem;
	animation: lp-rise 700ms var(--lp-ease) 80ms both;
}
/* Stacked under the main card and tucked over its bottom edge only. Floated
   over the card's lower half, it hid the reels/feed labels, the hashtags and
   the formula note, which are the parts of the preview worth reading. */
.m-float {
	position: relative;
	width: 17rem;
	margin: -1.25rem 0 0 -1.25rem;
	padding: 0.95rem 1rem 1rem;
	animation: lp-rise 700ms var(--lp-ease) 380ms both;
}
.m-head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}
.m-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #92400e, #f59e0b);
	color: #ffffff;
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.78rem;
	font-weight: 600;
}
.m-id {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.m-handle {
	font-weight: 600;
	color: var(--heading);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.m-sub,
.m-muted {
	font-size: 0.76rem;
	font-weight: 400;
	color: var(--muted);
}
.m-window {
	margin-left: auto;
	flex: none;
	padding: 0.22rem 0.6rem;
	border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 9%, transparent);
	color: var(--link);
	font-size: 0.72rem;
	font-weight: 600;
	white-space: nowrap;
}
.m-coverage {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.75rem 0 0.9rem;
	color: var(--muted);
	font-size: 0.76rem;
	line-height: 1.3;
}
.m-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}
.m-stats-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.m-stat {
	min-width: 0;
	padding: 0.6rem 0.7rem;
	border-radius: 10px;
	background: var(--surface-raised);
}
.m-label {
	display: block;
	color: var(--muted);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}
.m-value {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-top: 0.25rem;
	color: var(--heading);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 1.12rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}
.m-unit {
	color: var(--muted);
	font-family: "Fira Sans", system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
}
.m-detail {
	display: block;
	margin-top: 0.2rem;
	color: var(--muted);
	font-size: 0.7rem;
	line-height: 1.35;
}
.m-est {
	display: inline-block;
	padding: 0.05rem 0.32rem;
	border-radius: 4px;
	background: var(--warning-bg);
	color: var(--warning-text);
	font-family: "Fira Sans", system-ui, sans-serif;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.5;
	vertical-align: middle;
}
.m-up {
	color: var(--success-text);
}
.m-spark {
	display: block;
	width: 100%;
	height: 24px;
	margin-top: 0.3rem;
	overflow: visible;
}
.m-spark-area {
	fill: url(#m-spark-fill);
}
.m-spark-line {
	fill: none;
	stroke: var(--accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 100;
	animation: lp-draw 1200ms var(--lp-ease) 700ms both;
}
.m-split {
	margin-top: 1rem;
}
.m-split-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.5rem;
	margin: 0 0 0.45rem;
	color: var(--heading);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.3;
}
.m-bar-row {
	display: grid;
	grid-template-columns: 2.6rem 1fr 2.6rem;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.35rem;
	font-size: 0.76rem;
	line-height: 1.2;
}
.m-bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--surface-raised);
}
.m-bar i {
	display: block;
	width: var(--w, 50%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--primary), #60a5fa);
	transform-origin: left center;
	animation: lp-grow 900ms var(--lp-ease) 600ms both;
}
.m-bar-feed .m-bar i {
	background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}
.m-num {
	color: var(--heading);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.76rem;
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.m-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}
.m-tags li {
	display: inline-flex;
	align-items: baseline;
	gap: 0.3rem;
	padding: 0.2rem 0.55rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 6%, var(--surface));
	color: var(--link);
	font-size: 0.74rem;
	line-height: 1.4;
}
.m-tags b {
	color: var(--muted);
	font-family: "Fira Code", ui-monospace, monospace;
	font-weight: 500;
}
.m-note {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0.5rem 0.65rem;
	border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
	border-radius: 9px;
	background: color-mix(in srgb, var(--accent) 7%, var(--surface));
	color: var(--warning-text);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.68rem;
	line-height: 1.35;
}
.m-hash-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	margin-bottom: 0.7rem;
}
.m-hash {
	color: var(--heading);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.95rem;
	font-weight: 600;
}
.m-pill {
	padding: 0.18rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--success-text) 12%, transparent);
	color: var(--success-text);
	font-size: 0.66rem;
	font-weight: 600;
}
.m-rank {
	padding: 0.6rem 0.7rem;
	border-radius: 10px;
	background: var(--surface-raised);
}
.m-quota {
	display: block;
	margin-top: 0.8rem;
}
.m-quota-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
}
.m-quota-num {
	color: var(--heading);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.8rem;
	font-weight: 600;
}
.m-meter {
	display: block;
	height: 7px;
	margin-top: 0.4rem;
	overflow: hidden;
	border-radius: 999px;
	background: var(--surface-raised);
}
.m-meter i {
	display: block;
	width: var(--w, 40%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--accent), var(--lp-amber-hover));
	transform-origin: left center;
	animation: lp-grow 900ms var(--lp-ease) 900ms both;
}

/* ---------- Trust strip ---------- */

.lp-strip {
	border-bottom: 1px solid var(--border);
	background: var(--surface);
}
.lp-strip-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 2rem;
	list-style: none;
	margin: 0 auto;
	padding-top: 1.6rem;
	padding-bottom: 1.6rem;
}
.lp-strip-list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--muted);
	font-size: 0.925rem;
	line-height: 1.4;
}
.lp-strip-list .lp-icon {
	width: 38px;
	height: 38px;
	padding: 9px;
	border-radius: 11px;
	background: color-mix(in srgb, var(--primary) 9%, var(--surface));
	color: var(--link);
}
.lp-strip-list strong {
	color: var(--heading);
	font-weight: 600;
}
@media (max-width: 1000px) {
	.lp-strip-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.lp-strip-list {
		grid-template-columns: 1fr;
	}
}

/* ---------- Sections ---------- */

.lp-section {
	padding: var(--lp-section-y) 0;
}
.lp-section-alt {
	background: var(--lp-surface-alt);
}
.lp-section h2 {
	color: var(--heading);
}

/* ---------- Features ---------- */

.lp-feature {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.lp-feature + .lp-feature {
	margin-top: clamp(4.5rem, 9vw, 7.5rem);
}
.lp-feature-flip .lp-feature-copy {
	order: 2;
}
.lp-feature-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	color: var(--link);
	font-size: 0.95rem;
	font-weight: 600;
}
.lp-feature h3 {
	font-size: clamp(1.5rem, 1vw + 1.15rem, 2rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}
.lp-feature-copy > p:not(.lp-feature-kicker) {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--text);
}
.lp-checks,
.lp-included {
	display: grid;
	gap: 0.75rem;
	list-style: none;
	margin: 1.6rem 0 0;
	padding: 0;
}
.lp-checks li,
.lp-included li {
	display: grid;
	grid-template-columns: 1.5rem 1fr;
	align-items: start;
	gap: 0.6rem;
	color: var(--text);
	line-height: 1.5;
}
.lp-checks .lp-icon,
.lp-included .lp-icon {
	width: 1.5rem;
	height: 1.5rem;
	padding: 3px;
	margin-top: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--success-text) 13%, transparent);
	color: var(--success-text);
}
.lp-feature-visual {
	position: relative;
	margin: 0;
	padding-bottom: 1.9rem;
}
.lp-stage {
	position: relative;
	padding: clamp(1rem, 3vw, 2.25rem);
	border: 1px solid var(--border);
	border-radius: 22px;
	background:
		radial-gradient(420px 260px at 88% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
		radial-gradient(360px 220px at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
		var(--lp-stage);
	overflow: hidden;
}
.lp-feature-visual .lp-sample {
	right: 0.5rem;
	color: var(--muted);
}
.m-panel {
	padding: 1rem 1.1rem 1.1rem;
	box-shadow: var(--lp-shadow-md);
}
.m-panel-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	color: var(--heading);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
}
.m-panel-title .m-window {
	margin-left: 0;
}
.m-panel-sub {
	margin: 0.9rem 0 0.5rem;
	color: var(--heading);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.3;
}
.m-hash-head-lg .m-hash {
	font-size: 1.05rem;
}
.m-tabs {
	display: inline-flex;
	padding: 3px;
	border-radius: 9px;
	background: var(--surface-raised);
	font-size: 0.72rem;
	font-weight: 600;
}
.m-tabs span {
	padding: 0.25rem 0.6rem;
	border-radius: 7px;
	color: var(--muted);
}
.m-tabs .is-on {
	background: var(--surface);
	color: var(--heading);
	box-shadow: var(--shadow);
}
.m-tags-flat {
	margin-top: 0;
}
.m-quota-wide {
	margin-top: 1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--border);
}
.m-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8rem;
}
.m-table th {
	padding: 0.45rem 0.55rem;
	border-bottom: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-align: left;
	text-transform: uppercase;
	vertical-align: bottom;
}
.m-table td {
	padding: 0.6rem 0.55rem;
	border-bottom: 1px solid var(--border);
	color: var(--text);
	white-space: nowrap;
}
.m-table tr:last-child td {
	border-bottom: none;
}
.m-table .num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.m-table td.num {
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.78rem;
}
.m-table .m-you td {
	background: color-mix(in srgb, var(--primary) 7%, transparent);
}
.m-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.45rem;
	border-radius: 50%;
	vertical-align: middle;
}
.m-dot-a {
	background: var(--accent);
}
.m-dot-b {
	background: #94a3b8;
}
.m-dot-c {
	background: var(--primary);
}
.m-shared {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0.85rem 0 0;
	padding-top: 0.8rem;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.74rem;
}
.m-shared span {
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 8%, var(--surface));
	color: var(--link);
}
.m-private {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--success-text) 12%, transparent);
	color: var(--success-text);
	font-size: 0.7rem;
	font-weight: 600;
}

/* ---------- How we measure (dark band in both themes) ---------- */

.lp-dark {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--lp-on-dark-soft);
	background:
		radial-gradient(900px 520px at 12% 0%, rgb(30 64 175 / 0.5), transparent 62%),
		radial-gradient(700px 420px at 100% 100%, rgb(245 158 11 / 0.11), transparent 62%),
		var(--lp-hero-c);
}
.lp-dark .lp-section-head h2,
.lp-dark h3 {
	color: var(--lp-on-dark);
}
.lp-dark .lp-kicker {
	color: var(--lp-amber-hover);
}
.lp-dark .lp-section-lede {
	color: var(--lp-on-dark-muted);
}
.lp-formula {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid rgb(147 197 253 / 0.2);
	border-radius: 22px;
	background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.015));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}
.lp-formula-label {
	margin: 0 0 1rem;
	color: var(--lp-on-dark-muted);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lp-formula-math {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2em 0.45em;
	margin: 0 0 1.1rem;
	color: var(--lp-on-dark);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: clamp(1.3rem, 2.8vw + 0.4rem, 2.6rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.lp-op {
	color: var(--lp-amber);
}
.lp-formula-note {
	max-width: 50rem;
	margin: 0;
	color: var(--lp-on-dark-soft);
}
.lp-principles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lp-principles li {
	padding: 1.5rem 1.4rem;
	border: 1px solid rgb(147 197 253 / 0.15);
	border-radius: 18px;
	background: rgb(255 255 255 / 0.035);
	transition:
		border-color 200ms ease-out,
		background-color 200ms ease-out;
}
.lp-principles li:hover {
	border-color: rgb(251 191 36 / 0.4);
	background: rgb(255 255 255 / 0.06);
}
.lp-principles .lp-icon {
	color: var(--lp-amber);
}
.lp-principles h3 {
	margin: 1rem 0 0.5rem;
	font-size: 1.1rem;
}
.lp-principles p {
	margin: 0;
	color: var(--lp-on-dark-muted);
	font-size: 0.975rem;
	line-height: 1.6;
}

/* ---------- How it works ---------- */

.lp-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lp-steps li {
	position: relative;
	padding: 1.75rem 1.5rem 1.6rem;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.lp-step-num {
	display: block;
	color: var(--accent);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
}
.lp-steps h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0 0.5rem;
}
.lp-steps h3 .lp-icon {
	color: var(--link);
}
.lp-steps p {
	margin: 0;
	color: var(--muted);
}

.lp-requirements {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 1.25rem 2.5rem;
	align-items: start;
	margin-top: 1.5rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
	border-radius: 18px;
	background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.lp-req-intro p {
	margin: 0;
	color: var(--muted);
}
.lp-req-list {
	display: grid;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: req;
}
.lp-req-list li {
	display: grid;
	grid-template-columns: 1.75rem 1fr;
	align-items: center;
	gap: 0.75rem;
	color: var(--text);
	line-height: 1.45;
	counter-increment: req;
}
.lp-req-list li::before {
	content: counter(req);
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--lp-amber);
	color: var(--lp-on-amber);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.8rem;
	font-weight: 600;
}
.lp-req-list strong {
	color: var(--heading);
	font-weight: 600;
}
.lp-req-foot {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--muted);
}
.lp-req-foot a {
	font-weight: 600;
}

/* ---------- Pricing ---------- */

.lp-plans {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 52rem;
	margin: 0 auto;
}
.lp-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem 2rem 1.75rem;
	border: 1px solid var(--border);
	border-radius: 22px;
	background: var(--surface);
	box-shadow: var(--lp-shadow-md);
}
.lp-plan h3 {
	margin: 0;
	color: var(--muted);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.lp-price {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0.9rem 0 0.35rem;
	line-height: 1;
}
.lp-amount {
	color: var(--heading);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: clamp(2.6rem, 2vw + 2rem, 3.25rem);
	font-weight: 600;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
}
.lp-per {
	color: var(--muted);
	font-size: 1rem;
}
.lp-plan-note {
	margin: 0.5rem 0 1.75rem;
	color: var(--muted);
}
.lp-plan .lp-btn {
	width: 100%;
	margin-top: auto;
}
.lp-plan-featured {
	border: 2px solid var(--primary);
	box-shadow: 0 34px 70px -34px rgb(30 64 175 / 0.55);
}
:root[data-theme="dark"] .lp-plan-featured {
	border-color: var(--link);
}
.lp-badge {
	position: absolute;
	top: -0.85rem;
	right: 1.5rem;
	margin: 0;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: var(--lp-amber);
	color: var(--lp-on-amber);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 6px 16px -6px rgb(245 158 11 / 0.7);
}
.lp-included {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 2.5rem;
	max-width: 52rem;
	margin: 2.25rem auto 0;
}
.lp-price-foot {
	max-width: 42rem;
	margin: 2rem auto 0;
	color: var(--muted);
	font-size: 0.9rem;
	text-align: center;
}

/* ---------- FAQ ---------- */

.lp-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1rem, 5vw, 4.5rem);
	align-items: start;
}
.lp-faq .lp-section-head {
	margin-bottom: 0;
}
.lp-faq-list details {
	border-bottom: 1px solid var(--border);
}
.lp-faq-list details:first-child {
	border-top: 1px solid var(--border);
}
.lp-faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 44px;
	padding: 1.2rem 0.25rem;
	color: var(--heading);
	font-size: 1.075rem;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}
.lp-faq-list summary::-webkit-details-marker {
	display: none;
}
.lp-faq-list summary::after {
	content: "";
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	margin-right: 0.35rem;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: translateY(-25%) rotate(45deg);
	transition: transform 200ms ease-out;
}
.lp-faq-list details[open] summary::after {
	transform: translateY(20%) rotate(225deg);
}
.lp-faq-list summary:hover {
	color: var(--link);
}
.lp-faq-list details p {
	max-width: 42rem;
	margin: 0 0 1.35rem;
	padding: 0 0.25rem;
	color: var(--text);
}

/* ---------- Final call to action ---------- */

.lp-final {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(4.5rem, 9vw, 7rem) 0;
	text-align: center;
	color: var(--lp-on-dark);
	background:
		radial-gradient(900px 520px at 50% -20%, rgb(59 130 246 / 0.45), transparent 62%),
		linear-gradient(165deg, var(--lp-hero-a) 0%, var(--lp-hero-b) 60%, var(--lp-hero-c) 100%);
}
.lp-final h2 {
	max-width: 22ch;
	margin-left: auto;
	margin-right: auto;
	color: var(--lp-on-dark);
}
.lp-final p {
	margin: 0 auto 2rem;
	color: var(--lp-on-dark-soft);
	font-size: 1.15rem;
}
.lp-final .lp-cta-row {
	justify-content: center;
}
.lp-lens-final {
	top: 50%;
	left: 82%;
	width: 640px;
	opacity: 0.8;
}

/* ---------- Footer ---------- */

.lp-footer {
	max-width: none;
	margin: 0;
	padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
	border-top: 1px solid var(--border);
	background: var(--surface);
	color: var(--muted);
	font-size: 0.95rem;
}
.lp-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr 0.9fr 1.4fr;
	gap: 2.5rem 2rem;
}
.lp-footer .brand {
	margin-bottom: 0.9rem;
	font-size: 1.1rem;
}
.lp-footer-brand p {
	max-width: 22rem;
	margin: 0;
}
/* Qualified past `.lp h2`, which sizes section headings and would otherwise
   blow these small column labels up to 3rem. */
.lp-footer h2.lp-footer-title {
	margin: 0 0 1rem;
	color: var(--heading);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}
.lp-footer ul {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lp-footer a {
	color: var(--text);
	text-decoration: none;
}
.lp-footer a:hover {
	color: var(--link);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}
.lp-footer-company p {
	margin: 0 0 0.6rem;
	line-height: 1.55;
}
.lp-footer-company strong {
	color: var(--heading);
	font-weight: 600;
}
.lp-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: 2.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	font-size: 0.85rem;
}
.lp-footer-legal p {
	margin: 0;
}
@media (pointer: coarse) {
	.lp-footer ul a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
	.lp-footer ul {
		gap: 0;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.lp-principles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lp-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 960px) {
	.lp-hero-grid,
	.lp-feature {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-feature-flip .lp-feature-copy {
		order: 0;
	}
	.lp-hero-visual {
		max-width: 560px;
		margin: 0 auto;
		width: 100%;
	}
	.m-main {
		margin-right: auto;
	}
	.lp-faq {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-faq .lp-section-head {
		margin-bottom: 1.5rem;
	}
}
@media (max-width: 860px) {
	.lp-steps {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-requirements {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 700px) {
	.lp-plans,
	.lp-included {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 640px) {
	.m-float {
		width: auto;
		max-width: 480px;
		margin: 1rem 0 0 auto;
	}
	.m-hide-sm {
		display: none;
	}
	.lp-lens {
		width: 150%;
		top: 38%;
	}
}
@media (max-width: 560px) {
	.lp-principles {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 440px) {
	.m-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.m-stats > .m-stat:last-child {
		grid-column: 1 / -1;
	}
	/* Qualified to outrank `.m-tags li`, which sets display on every chip. */
	.m-tags li.m-hide-xs {
		display: none;
	}
	.m-note {
		display: none;
	}
	.lp-cta-row .lp-btn {
		width: 100%;
	}
	/* The preview tables would otherwise outgrow their card on a small phone
	   and be clipped by the stage. Tighter cells and wrapping keep every
	   remaining column visible. */
	.m-table {
		font-size: 0.72rem;
	}
	.m-table th,
	.m-table td {
		padding-left: 0.35rem;
		padding-right: 0.35rem;
	}
	.m-table td {
		white-space: normal;
	}
	.m-table td.num {
		font-size: 0.7rem;
		white-space: nowrap;
	}
	.m-dot {
		display: none;
	}
}

/* ---------- Motion ---------- */

@keyframes lp-draw {
	from {
		stroke-dashoffset: 100;
	}
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes lp-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes lp-grow {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}
@keyframes lp-pop {
	from {
		opacity: 0;
		transform: scale(0.4);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
.lp-trace-dot {
	transform-box: fill-box;
	transform-origin: center;
}

@media print {
	.lp-nav,
	.lp-lens,
	.lp-final {
		display: none !important;
	}
	.lp-hero,
	.lp-dark {
		background: none !important;
		color: #000000 !important;
	}
	.lp-hero h1,
	.lp-dark h2,
	.lp-dark h3 {
		color: #000000 !important;
	}
}
