@font-face {
	font-family: "LCT Mogi";
	src:
		url("../fonts/lct-mogi-a.woff2") format("woff2"),
		url("../fonts/lct-mogi-a.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Fraunces";
	src:
		url("../fonts/fraunces-soft-bold.woff2") format("woff2"),
		url("../fonts/fraunces-soft-bold.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Uncut Sans";
	src: url("../fonts/uncut-sans-variable.woff2") format("woff2-variations");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* enter.pollinations.ai palette */
	--bg: #d1fae5;
	/* emerald-100 */
	--surface: #ffffff;
	--border: #1f2937;
	/* gray-800 */
	--border-light: #d1d5db;
	/* gray-300 */
	--text: #052e16;
	/* green-950 */
	--muted: #4b5563;
	/* gray-600 */
	--accent: #052e16;
	/* green-950 */
	--accent-bg: #bbf7d0;
	/* green-200 */
	--accent-strong: #052e16;
	/* green-950 */
	--code-bg: #f0fdf4;
	/* green-50 */
}

body {
	font-family:
		"Uncut Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	font-weight: 400;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:hover {
	opacity: 0.7;
}

code {
	font-family: "SF Mono", "Fira Code", monospace;
}

.brand {
	font-weight: 600;
	color: var(--accent-strong);
}

h1 .brand,
h2 .brand,
h3 .brand {
	font-weight: inherit;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 16px;
}

@media (min-width: 640px) {
	.container {
		padding: 0 24px;
	}
}

@media (min-width: 768px) {
	.container {
		padding: 0 32px;
	}
}

/* Header */
header {
	padding: 16px 0;
	border-bottom: 2px solid var(--border);
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	font-family: "LCT Mogi", ui-sans-serif, sans-serif;
	font-size: 20px;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.logo .pollinations-logo {
	height: 32px;
	width: auto;
	/* Invert white SVG to near-black, then shift hue to dark green #052e16 */
	filter: brightness(0) saturate(100%) invert(10%) sepia(40%) saturate(2000%)
		hue-rotate(100deg) brightness(0.5);
}

.logo .openclaw-logo {
	height: 24px;
	width: auto;
}

.logo span {
	font-family: "Fraunces", ui-serif, serif;
	font-weight: normal;
}

.header-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
}

.header-links a {
	background: var(--accent-strong);
	color: #bbf7d0;
	text-decoration: none;
	padding: 6px 16px 8px;
	border-radius: 9999px;
	font-weight: 500;
	transition: filter 0.15s;
}

.header-links a:hover {
	filter: brightness(1.2);
	opacity: 1;
}

@media (max-width: 640px) {
	header .container {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
}

/* Hero */
.hero {
	padding: 64px 0 48px;
	text-align: center;
}

.hero h1 {
	font-family: "LCT Mogi", ui-sans-serif, sans-serif;
	font-size: clamp(32px, 5vw, 48px);
	font-weight: normal;
	line-height: 1.1;
	margin-bottom: 20px;
}

.hero p {
	font-size: 18px;
	color: var(--muted);
	max-width: 540px;
	margin: 0 auto 40px;
}

/* Setup box */
.setup-box {
	background: var(--surface);
	border: 2px solid var(--border);
	border-radius: 12px;
	padding: 32px;
	text-align: left;
	margin-bottom: 48px;
}

.step {
	margin-bottom: 32px;
	position: relative;
}

.step:last-child {
	margin-bottom: 0;
}

.step-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--accent-strong);
	color: #bbf7d0;
	font-family: "Fraunces", ui-serif, serif;
	font-size: 15px;
	font-weight: normal;
	flex-shrink: 0;
}

.step-label {
	font-family: "Fraunces", ui-serif, serif;
	font-size: 17px;
	font-weight: normal;
	color: var(--text);
}

.step-content {
	padding-left: 44px;
}

.step-text {
	font-size: 15px;
	color: var(--muted);
	margin-bottom: 12px;
}

.step-text a {
	font-weight: 600;
	color: var(--text);
}

.step-divider {
	border: none;
	border-top: 1px solid var(--border-light);
	margin: 0 0 32px;
}

/* Code block */
.code-block {
	position: relative;
	background: var(--code-bg);
	border: 2px solid var(--border);
	border-radius: 8px;
	font-family: "SF Mono", "Fira Code", monospace;
	font-size: 13px;
	color: var(--text);
	line-height: 1.5;
}

.code-inner {
	overflow-x: auto;
	padding: 16px 48px 16px 16px;
	white-space: pre;
}

.copy-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	background: var(--accent-strong);
	border: none;
	border-radius: 9999px;
	color: #bbf7d0;
	padding: 4px 12px 6px;
	font-size: 12px;
	font-family: "Uncut Sans", sans-serif;
	font-weight: 500;
	cursor: pointer;
	transition: filter 0.15s;
}

.copy-btn:hover {
	filter: brightness(1.2);
}

/* Sections */
.section {
	padding: 48px 0;
}

.section-title {
	font-family: "Fraunces", ui-serif, serif;
	font-size: 28px;
	font-weight: normal;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.section-subtitle {
	color: var(--muted);
	margin-bottom: 28px;
	font-size: 15px;
}

/* Footer */
footer {
	border-top: 2px solid var(--border);
	padding: 32px 0;
	text-align: center;
	color: var(--muted);
	font-size: 14px;
}

footer .links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

footer .links a {
	color: var(--text);
	font-weight: 500;
}

/* Event banner */
.event-banner {
	display: flex;
	gap: 20px;
	align-items: center;
	background: var(--surface);
	border: 2px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 32px;
	text-decoration: none;
	color: var(--text);
	transition: transform 0.15s;
}

.event-banner:hover {
	transform: translateY(-2px);
	opacity: 1;
}

.event-banner img {
	width: 140px;
	height: 140px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.event-date {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 2px;
}

.event-title {
	font-family: "Fraunces", ui-serif, serif;
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 4px;
}

.event-desc {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.4;
}

@media (max-width: 480px) {
	.event-banner {
		flex-direction: column;
		text-align: center;
	}

	.event-banner img {
		width: 100%;
		height: auto;
		max-height: 160px;
	}
}

.code-block + .step-text {
	margin-top: 16px;
}
.copy-btn:focus-visible,
a:focus-visible {
	outline: 3px solid var(--text);
	outline-offset: 3px;
}
#copy-status {
	min-height: 1.6em;
	color: var(--muted);
	font-size: 14px;
}
@media (max-width: 480px) {
	.setup-box {
		padding: 20px 16px;
	}
	.step-content {
		padding-left: 0;
	}
	.logo {
		gap: 5px;
		font-size: 17px;
	}
	.logo .pollinations-logo {
		height: 24px;
	}
}
