:root {
	color-scheme: dark;
	--bg: #0b1020;
	--panel: #121933;
	--panel-border: rgba(255, 255, 255, 0.08);
	--text: #edf2ff;
	--muted: #9aa7c7;
	--accent: #7c9cff;
	--accent-strong: #5b7cfa;
	--success: #5ee1a2;
	--danger: #ff7b7b;
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	--font: Inter, "Segoe UI", system-ui, sans-serif;
	--radius: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background:
		radial-gradient(circle at top, rgba(124, 156, 255, 0.18), transparent 35%),
		linear-gradient(180deg, #0b1020 0%, #090d18 100%);
	min-height: 100vh;
	line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover { color: #a8bdff; }

.skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--panel);
	padding: 0.5rem 1rem;
	z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem clamp(1rem, 4vw, 2rem);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: rgba(11, 16, 32, 0.82);
	border-bottom: 1px solid var(--panel-border);
}

.brand {
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--text);
}

.site-header nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.2rem;
}

.site-header nav a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.92rem;
}

.site-header nav a:hover { color: var(--text); }

.page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 20px 64px;
}

.hero {
	display: grid;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 28px;
}

@media (min-width: 900px) {
	.hero {
		grid-template-columns: 1.05fr 1.1fr;
		gap: 28px;
	}
}

.hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	color: var(--accent);
}

.brand-mark {
	margin: 0 0 10px;
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.hero h1 {
	margin: 0 0 12px;
	font-size: clamp(1.35rem, 2.8vw, 1.85rem);
	font-weight: 600;
	line-height: 1.3;
	max-width: 22ch;
}

.lede {
	margin: 0 0 20px;
	color: var(--muted);
	max-width: 40ch;
	line-height: 1.6;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-media {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--panel-border);
	box-shadow: var(--shadow);
	background: var(--panel);
	min-height: 280px;
}

.hero-media img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	object-position: center;
}

.button,
.btn {
	border: 0;
	border-radius: 999px;
	padding: 11px 18px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: 0.98rem;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.button:hover,
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

.button.primary,
.btn.primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	color: white;
}

.button.secondary,
.btn.ghost {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	border: 1px solid var(--panel-border);
}

.section,
.panel {
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(1.4rem, 3vw, 1.85rem);
	margin-bottom: 20px;
}

.section-head {
	max-width: 52ch;
	margin-bottom: 1.25rem;
}

.section-head h2,
.panel h2 {
	margin: 0 0 8px;
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.section-head p,
.panel > p {
	margin: 0;
	color: var(--muted);
}

.feature-list,
.integration-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

@media (min-width: 800px) {
	.feature-list,
	.integration-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.feature-list li,
.integration-grid li {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	padding: 14px 16px;
}

.feature-list strong,
.integration-grid strong {
	display: block;
	margin-bottom: 6px;
}

.feature-list span,
.integration-grid span {
	color: var(--muted);
	font-size: 0.95rem;
}

.board-rail,
.board-preview-grid {
	display: grid;
	gap: 12px;
	margin: 0 0 1.25rem;
}

@media (min-width: 800px) {
	.board-rail,
	.board-preview-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.board-rail figure,
.board-preview-grid figure {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid var(--panel-border);
	background: #060a14;
}

.board-rail img,
.board-preview-grid img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
}

.center { text-align: center; }

.atmosphere {
	display: grid;
	gap: 16px;
	align-items: stretch;
}

@media (min-width: 900px) {
	.atmosphere {
		grid-template-columns: 1.25fr 0.85fr;
		align-items: center;
	}
}

.atmosphere-media {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--panel-border);
}

.atmosphere-copy h2 {
	margin: 0 0 8px;
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.atmosphere-copy p {
	margin: 0;
	color: var(--muted);
}

.waitlist {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.waitlist-form .fields {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

@media (min-width: 640px) {
	.waitlist-form .fields {
		grid-template-columns: 1fr 1fr;
	}
	.waitlist-form .fields .full { grid-column: 1 / -1; }
}

.waitlist-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.88rem;
	color: var(--muted);
}

.waitlist-form label em {
	font-style: normal;
	opacity: 0.8;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
	font: inherit;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid var(--panel-border);
	background: rgba(0, 0, 0, 0.25);
	color: var(--text);
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
	outline: 2px solid rgba(124, 156, 255, 0.45);
	border-color: var(--accent);
}

.botcheck-label,
.botcheck {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
}

.fine {
	font-size: 0.85rem;
	color: var(--muted);
	margin: 12px 0 0;
}

.site-footer {
	padding: 28px 20px 40px;
	text-align: center;
	color: var(--muted);
	border-top: 1px solid var(--panel-border);
	max-width: 1200px;
	margin: 0 auto;
}

.site-footer p { margin: 6px 0; }
.site-footer strong { color: var(--text); }

/* Light motion — same calm fade as board loads feel */
.js .hero-copy,
.js .hero-media,
.js .section {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .hero.is-in .hero-copy,
.js .hero.is-in .hero-media,
.js .section.is-in {
	opacity: 1;
	transform: none;
}

.js .hero.is-in .hero-media { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .hero-copy,
	.js .hero-media,
	.js .section {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.button:hover,
	.btn:hover { transform: none; }
}
