:root {
	--fg: #0f1419;
	--muted: #5c6b7a;
	--link: #1a6b9c;
	--bg: #f6f8fa;
	--card: #fff;
	--border: #e1e8ed;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--fg);
	background: var(--bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.wrap {
	max-width: 40rem;
	margin: 0 auto;
	padding: 3rem 1.25rem 4rem;
}

h1 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
}

.lede {
	font-size: 1.125rem;
	color: var(--muted);
	margin: 0 0 2rem;
}

a {
	color: var(--link);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.primary {
	display: inline-block;
	padding: 0.6rem 1.1rem;
	background: var(--link);
	color: #fff !important;
	border-radius: 0.5rem;
	font-weight: 600;
}

.primary:hover {
	text-decoration: none;
	filter: brightness(1.05);
}

.prose p {
	margin: 0 0 1rem;
}

.prose h2 {
	font-size: 1.2rem;
	margin: 2rem 0 0.75rem;
}

footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	font-size: 0.9rem;
	color: var(--muted);
}

footer .dot {
	margin: 0 0.35rem;
}

.prose {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	padding: 1.5rem 1.25rem 2rem;
}

/* —— Landing home (index) —— */
body.home {
	color-scheme: dark;
	--fg: #e8edf2;
	--muted: #8b9aab;
	--link: #5eead4;
	--link-hover: #99f6e4;
	--bg: #060a0f;
	--card: #101820;
	--border: rgba(255, 255, 255, 0.08);
	--glow: rgba(45, 212, 191, 0.35);
	color: var(--fg);
	background: var(--bg);
	position: relative;
	min-height: 100vh;
}

body.home a:hover {
	color: var(--link-hover);
}

body.home .bg-mesh {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 80% 50% at 20% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
		radial-gradient(ellipse 60% 40% at 100% 20%, rgba(99, 102, 241, 0.1), transparent 50%),
		radial-gradient(ellipse 50% 30% at 50% 100%, rgba(20, 184, 166, 0.08), transparent 45%),
		var(--bg);
}

body.home > header,
body.home > main,
body.home > footer {
	position: relative;
	z-index: 1;
}

body.home .site-top {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(12px);
	background: rgba(6, 10, 15, 0.75);
	border-bottom: 1px solid var(--border);
}

body.home .site-top-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 0.9rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

body.home .brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--fg);
}

body.home .brand-mark {
	display: block;
	flex-shrink: 0;
	border-radius: 7px;
}

body.home .brand:hover {
	text-decoration: none;
	color: var(--link);
}

body.home .top-nav {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

body.home .btn-cta,
body.home .btn-ghost {
	display: inline-block;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: 0.5rem;
	padding: 0.5rem 0.9rem;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.home .btn-cta {
	background: linear-gradient(145deg, #14b8a6, #0d9488);
	color: #021014 !important;
	text-decoration: none;
	box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25), 0 4px 24px -4px var(--glow);
}

body.home .btn-cta:hover {
	text-decoration: none;
	filter: brightness(1.08);
	box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.4), 0 6px 28px -4px var(--glow);
}

body.home .btn-ghost {
	color: var(--muted) !important;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
}

body.home .btn-ghost:hover {
	text-decoration: none;
	color: var(--fg) !important;
	background: rgba(255, 255, 255, 0.08);
}

body.home .btn-cta-wide {
	padding: 0.75rem 1.25rem;
	font-size: 1rem;
	text-align: center;
	white-space: nowrap;
}

body.home .store-badge {
	display: inline-block;
	line-height: 0;
	border-radius: 0.35rem;
	transition: opacity 0.15s ease;
	flex-shrink: 0;
}

body.home .store-badge:hover {
	opacity: 0.9;
	text-decoration: none;
}

body.home .store-badge:focus-visible {
	outline: 2px solid #5eead4;
	outline-offset: 3px;
}

body.home .store-badge img {
	display: block;
	height: 40px;
	width: auto;
}

body.home .store-badge-compact img {
	height: 32px;
}

body.home .foundrlist-badge {
	display: inline-block;
	line-height: 0;
	border-radius: 0.35rem;
	flex-shrink: 0;
	transition: opacity 0.15s ease;
}

body.home .foundrlist-badge:hover {
	opacity: 0.9;
	text-decoration: none;
}

body.home .foundrlist-badge:focus-visible {
	outline: 2px solid #5eead4;
	outline-offset: 3px;
}

body.home .foundrlist-badge img {
	display: block;
	width: 150px;
	height: 48px;
}

body.home .hero {
	padding: 2.5rem 1.25rem 3rem;
}

body.home .hero-inner {
	max-width: 44rem;
	margin: 0 auto;
}

body.home .hero-title {
	font-size: clamp(1.9rem, 4.2vw, 2.7rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 1.25rem;
	background: linear-gradient(180deg, #f8fafc 0%, #a8b8c8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

@supports not (background-clip: text) {
	body.home .hero-title {
		color: var(--fg);
		background: none;
		-webkit-text-fill-color: var(--fg);
	}
}

body.home .hero-sub {
	margin: 0 0 1.75rem;
	color: var(--muted);
	font-size: 1.1rem;
	line-height: 1.6;
}

body.home .hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

body.home .strip {
	padding: 2.5rem;
}

body.home .strip.foundrlist-strip {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

body.home .strip-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

body.home .foundrlist-strip-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem 1.25rem;
}

body.home .value-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 48rem) {
	body.home .value-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

body.home .value-card {
	background: rgba(16, 24, 32, 0.75);
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 1.35rem 1.15rem;
}

body.home .value-title {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
}

body.home .value-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

body.home .shots-strip {
	padding: 0 0 2rem;
}

body.home .section-head {
	margin-bottom: 1.75rem;
	max-width: 36rem;
}

body.home .section-title {
	font-size: clamp(1.35rem, 2.2vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.4rem;
}

body.home .shot-carousel {
	margin: 0 -1.25rem;
}

body.home .shot-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scroll-padding-inline: 1.25rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
	scrollbar-gutter: stable;
	padding-bottom: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
	body.home .shot-viewport {
		scroll-behavior: auto;
	}
}

@supports (scrollbar-color: auto) {
	body.home .shot-viewport {
		scrollbar-color: rgba(255, 255, 255, 0.18) rgba(0, 0, 0, 0.15);
	}
}

body.home .shot-viewport::-webkit-scrollbar {
	height: 6px;
}

body.home .shot-viewport::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

body.home .shot-viewport::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

body.home .shot-track {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 2rem;
	width: max-content;
	padding: 0.5rem 0 0.15rem;
	margin: 0 2rem;
}

body.home .shot-slide {
	flex: 0 0 auto;
	width: min(15rem, calc(100vw - 2.5rem));
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

body.home .shot {
	margin: 0;
}

body.home .phone-frame {
	border-radius: 1.5rem;
	overflow: hidden;
	background: #0a1018;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
		0 2px 0 rgba(255, 255, 255, 0.06) inset,
		0 24px 48px -16px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(0, 0, 0, 0.35);
}

body.home .phone-cap {
	width: 100%;
	height: auto;
	vertical-align: top;
	display: block;
}

body.home .shot-cap {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.4;
}

body.home .shot-carousel-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	flex-wrap: wrap;
	margin-top: 0.35rem;
	padding: 0.25rem 1.25rem 0;
}

body.home .shot-nav {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--fg);
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.home .shot-nav:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(45, 212, 191, 0.35);
}

body.home .shot-nav:focus-visible {
	outline: 2px solid #5eead4;
	outline-offset: 2px;
}

body.home .shot-nav span {
	pointer-events: none;
}

body.home .shot-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	flex: 1;
	min-width: 0;
}

body.home .shot-dot {
	appearance: none;
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

body.home .shot-dot[aria-selected="true"] {
	width: 1.4rem;
	background: #5eead4;
}

body.home .shot-dot:hover {
	background: rgba(255, 255, 255, 0.45);
}

body.home .shot-dot[aria-selected="true"]:hover {
	background: #7ef8e0;
}

body.home .cta-block {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(16, 24, 32, 0.4), rgba(6, 10, 15, 0.5));
}

body.home .cta-row {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 2.5rem 0;
}

body.home .cta-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

@media (min-width: 48rem) {
	body.home .cta-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
	}

	body.home .cta-row .store-badge {
		align-self: center;
	}
}

body.home .cta-title {
	font-size: 1.25rem;
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
}

body.home .cta-copy p {
	margin: 0;
	color: var(--muted);
}

body.home .mono {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.9em;
	color: #a7c4b8;
}

body.home .site-foot {
	padding: 3rem 1.5rem 4rem;
	text-align: center;
	font-size: 0.9rem;
}

body.home .foot-inner {
	color: var(--muted);
}

body.home .foot-inner a {
	color: #94a3b8;
}

body.home .foot-inner a:hover {
	color: var(--link);
}

body.home .foot-dot {
	margin: 0 0.35rem;
}