@font-face {
	font-family: 'Pixelify Sans';
	src: url('/fonts/pixelify-sans.ttf') format('truetype');
	font-weight: 400 700;
	font-display: swap;
}
@font-face {
	font-family: 'DM Sans';
	src: url('/fonts/dm-sans.ttf') format('truetype');
	font-weight: 100 1000;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Mono';
	src: url('/fonts/ibm-plex-mono.ttf') format('truetype');
	font-weight: 400;
	font-display: swap;
}

/* The dashboard's palette. */
:root {
	--canvas: #e4f1fa;
	--surface: #fffef6;
	--raised: #edf3f4;
	--ink: #233b59;
	--heading: #183d64;
	--muted: #4d657c;
	--line: #c3d2df;
	--border-strong: #7d98b1;
	--accent: #285fc4;
	--accent-hover: #194da8;
	--accent-soft: #e0ecff;
	--success: #32724a;
	--danger: #a73d41;
	--night: #17283d;
	--night-bar: #10203a;
	--night-line: #2f4a69;
	--night-text: #d5e6f3;
	--night-muted: #7b93ad;
	--terminal-green: #9fe0b4;
	--sky-shadow: #1f5c9e;
	--pixel-shadow: #9db4c9;
	--grass: #59904c;
	--dirt: #795d48;
	--sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--pixel: 'Pixelify Sans', 'IBM Plex Mono', monospace;
	--mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
	--page: 1160px;
	--gutter: 40px;
	font-family: var(--sans);
	font-size: 15px;
	color: var(--ink);
	background: var(--canvas);
	color-scheme: light;
	font-synthesis: none;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--canvas);
}
/* Clouds near the edge would otherwise widen the page on phones. */
main {
	overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
dl,
dd {
	margin: 0;
	padding: 0;
}
ul {
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
code {
	font: 0.92em var(--mono);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
::selection {
	background: #badcff;
}
.visually-hidden,
.sprites {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
img,
.cloud {
	image-rendering: pixelated;
	shape-rendering: crispEdges;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 2px;
	font: 600 13px var(--sans);
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s;
}
.button.small {
	min-height: 36px;
	padding: 0 14px;
	font-size: 12px;
}
.primary {
	border: 2px solid #214c89;
	box-shadow:
		inset 0 2px #79a9ff,
		3px 3px 0 #254465;
	background: var(--accent);
	color: #fff;
}
.primary:hover:not(:disabled) {
	background: var(--accent-hover);
}
.primary:disabled {
	opacity: 0.6;
	cursor: wait;
}

/* Every box on the page is a panel: parchment, a title bar and an offset pixel shadow. */
.panel {
	position: relative;
	overflow: hidden;
	border: 2px solid var(--ink);
	border-radius: 2px;
	background: var(--surface);
	box-shadow: 5px 5px 0 var(--pixel-shadow);
}
.panel-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	background: var(--raised);
	border-bottom: 2px solid var(--ink);
	font: 12px var(--mono);
	color: var(--muted);
}
.lights {
	width: 8px;
	height: 8px;
	margin-right: 30px;
	background: #d9655f;
	box-shadow:
		12px 0 #e0a640,
		24px 0 #6fae5d;
}
.panel.dark {
	background: var(--night);
}
.dark .panel-bar {
	padding-bottom: 0;
	align-items: end;
	background: var(--night-bar);
	border-bottom: 1px solid var(--night-line);
}
.dark .lights {
	align-self: center;
}
.panel-bar button {
	padding: 8px 14px;
	border: 0;
	border-radius: 2px 2px 0 0;
	background: none;
	color: var(--night-muted);
	font: 12px var(--mono);
	cursor: pointer;
}
.panel-bar button[aria-selected='true'] {
	background: var(--night);
	color: #fff;
}
.dark pre {
	margin: 0;
	padding: 20px 24px;
	overflow-x: auto;
	color: var(--night-text);
	font: 13px/1.75 var(--mono);
}
.dark .output {
	padding-top: 14px;
	padding-bottom: 16px;
	border-top: 1px dashed var(--night-line);
	background: #12233a;
	color: var(--terminal-green);
}
.kw {
	color: #a4c8ff;
}
.str {
	color: #f4d891;
}
.fn {
	color: var(--terminal-green);
}
.com {
	color: var(--night-muted);
}

/* Hero over the pixel landscape. */
.hero {
	padding: 28px var(--gutter) 200px;
	/* A light tint keeps the white text readable over the clouds. */
	background:
		linear-gradient(rgba(24, 77, 140, 0.34), rgba(24, 77, 140, 0.12) 55%, transparent 80%),
		#3ea0f5 url('/art/northvm-world.png') 70% bottom / cover no-repeat;
	image-rendering: pixelated;
	border-bottom: 2px solid #7a9cba;
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: var(--page);
	margin: 0 auto;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 600 30px var(--pixel);
	color: #fff;
	text-shadow: 2px 2px 0 var(--sky-shadow);
}
.brand > span {
	color: #fff2b4;
	margin-left: -7px;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-shadow: 1px 1px 0 var(--sky-shadow);
}
.nav-links > a:not(.button):hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.nav-links .button {
	text-shadow: none;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 56px;
	align-items: center;
	max-width: var(--page);
	margin: 72px auto 0;
}
.badge {
	display: inline-block;
	padding: 3px 9px;
	border: 2px solid #fff2b4;
	color: #fff2b4;
	font: 12px var(--mono);
	box-shadow: 2px 2px 0 var(--sky-shadow);
}
.hero h1 {
	margin: 20px 0 18px;
	font: 600 54px/1.05 var(--pixel);
	letter-spacing: -1px;
	color: #fff;
	text-shadow: 3px 3px 0 var(--sky-shadow);
}
.lede {
	max-width: 520px;
	font-size: 17px;
	line-height: 1.6;
	color: #f2f9ff;
	text-shadow: 1px 1px 0 var(--sky-shadow);
}

/* Waitlist form, in the hero and near the end. */
.waitlist-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
	max-width: 500px;
}
.waitlist-form input[type='email'] {
	flex: 1 1 220px;
	min-height: 44px;
	padding: 0 14px;
	border: 2px solid var(--border-strong);
	border-radius: 2px;
	background: var(--surface);
	box-shadow: 3px 3px 0 #c7d8df;
	font: 14px var(--sans);
	color: var(--ink);
}
/* Turnstile shows a widget here only when it needs a click. */
.captcha {
	flex-basis: 100%;
}
.form-status {
	flex-basis: 100%;
	min-height: 20px;
	font-size: 13px;
	color: var(--muted);
}
.hero .form-status {
	color: #fff;
	text-shadow: 1px 1px 0 var(--sky-shadow);
}
.form-status.done {
	color: var(--success);
}
.form-status.failed {
	color: var(--danger);
}
.hero .form-status.done,
.hero .form-status.failed {
	display: inline-block;
	flex-basis: auto;
	padding: 4px 10px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	text-shadow: none;
}

/* Clouds drift slowly behind the sections. */
.cloud {
	position: absolute;
	top: var(--top);
	left: var(--left);
	width: var(--size);
	height: calc(var(--size) * 20 / 48);
	pointer-events: none;
	animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
	to {
		transform: translateX(28px);
	}
}
@keyframes bob {
	to {
		transform: translateY(-6px);
	}
}
@keyframes blink {
	50% {
		opacity: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
	}
}

.section {
	position: relative;
	max-width: calc(var(--page) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 112px var(--gutter) 0;
}
.section-head {
	position: relative;
	max-width: 620px;
	margin-bottom: 36px;
}
main h2 {
	font: 600 34px/1.15 var(--pixel);
	letter-spacing: -0.5px;
	color: var(--heading);
}
.section-head p {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted);
}
.section h3 {
	font-size: 15.5px;
	font-weight: 650;
	color: var(--heading);
}
.art {
	display: block;
	width: 240px;
	height: auto;
	margin-top: 32px;
	animation: bob 3s steps(3) infinite alternate;
}

/* Heading on the left, panel on the right. */
.split {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 56px;
	align-items: start;
}

/* A strip of sky with one floating island per sandbox. */
.islands {
	padding-top: 104px;
	background: linear-gradient(var(--canvas), #cbe6fa 40%, #d8edfb 75%, var(--canvas));
}
.islands-copy {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	text-align: center;
}
.islands-copy p {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted);
}
.sky {
	position: relative;
	max-width: calc(var(--page) + 2 * var(--gutter));
	height: 450px;
	margin: 20px auto 0;
}
.isle {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: min(var(--w), 30vw);
	display: grid;
	justify-items: center;
	gap: 12px;
	animation: bob 2.4s steps(3) var(--delay) infinite alternate;
}
.isle img {
	width: 100%;
	height: auto;
}
.isle.flip img {
	transform: scaleX(-1);
}
/* Each island's tag names a use case and the command it's running. */
.tag {
	display: grid;
	grid-template-columns: 7px auto;
	align-items: center;
	gap: 3px 8px;
	padding: 6px 10px 7px;
	border: 2px solid var(--ink);
	background: var(--surface);
	box-shadow: 3px 3px 0 var(--pixel-shadow);
	white-space: nowrap;
}
.tag b {
	font-size: 13px;
	font-weight: 650;
	color: var(--heading);
}
.tag code {
	grid-column: 2;
	font-size: 11px;
	color: var(--muted);
}
.tag i {
	width: 7px;
	height: 7px;
	background: #6fae5d;
	box-shadow: 0 0 0 2px #d4ecc8;
}

/* A small picture of the dashboard. */
.mock-body {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	min-height: 320px;
}
.mock-list {
	border-right: 2px solid var(--ink);
	padding: 10px 0;
}
.mock-list li {
	display: grid;
	grid-template-columns: 8px 1fr;
	gap: 2px 10px;
	align-items: center;
	padding: 10px 14px;
	border-left: 3px solid transparent;
}
.mock-list li.current {
	background: var(--accent-soft);
	border-left-color: var(--accent);
}
.mock-list i {
	width: 8px;
	height: 8px;
	background: #6fae5d;
	box-shadow: 0 0 0 2px #d4ecc8;
}
.mock-list i.stopped {
	background: var(--border-strong);
	box-shadow: none;
}
.mock-list b {
	font: 12.5px var(--mono);
	color: var(--heading);
}
.mock-list small {
	grid-column: 2;
	font-size: 11.5px;
	color: var(--muted);
}
.mock-terminal {
	margin: 0;
	padding: 18px 20px;
	overflow-x: auto;
	background: var(--night);
	color: var(--night-text);
	font: 12.5px/1.7 var(--mono);
}
.prompt,
.pass {
	color: var(--terminal-green);
}
.cursor {
	display: inline-block;
	width: 8px;
	height: 15px;
	vertical-align: text-bottom;
	background: var(--night-text);
	animation: blink 1s steps(1) infinite;
}

.faq details {
	border-bottom: 1px solid var(--line);
}
.faq details:last-child {
	border-bottom: 0;
}
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 650;
	color: var(--heading);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '+';
	font: 600 18px var(--pixel);
	color: var(--accent);
}
.faq details[open] summary::after {
	content: '−';
}
.faq details p {
	padding: 0 22px 20px;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--muted);
}

/* Closing waitlist, a little patch of sky. */
.cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 56px 24px 44px;
	text-align: center;
	background: linear-gradient(#a9d6fb, #e9f5fd 75%);
}
.cta > :not(.cloud) {
	position: relative;
}
.cta .art {
	margin: 0 0 14px;
}
.cta > p {
	max-width: 460px;
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}
.cta .waitlist-form {
	width: 100%;
	justify-content: center;
}

/* The page ends on the ground, with the camp sitting on the grass. */
.footer {
	margin-top: 150px;
	background: var(--dirt);
	color: #f3e2bf;
	font: 11.5px var(--mono);
}
.ground {
	position: relative;
	height: 24px;
	background:
		repeating-linear-gradient(90deg, #9cc878 0 24px, #c8df8d 24px 32px, #9cc878 32px 56px, #72a961 56px 64px)
			top / 100% 8px no-repeat,
		var(--grass);
}
.ground img {
	position: absolute;
	bottom: 18px;
	left: max(var(--gutter), calc(50% - var(--page) / 2));
	width: 240px;
	height: auto;
}
.footer-row {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	max-width: calc(var(--page) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 22px var(--gutter) 28px;
}
.footer em {
	font-style: normal;
	margin-left: 8px;
	color: #c9ab84;
}

@media (max-width: 1000px) {
	.nav-links > a:not(.button) {
		display: none;
	}
	.hero-grid,
	.split {
		grid-template-columns: 1fr;
	}
	.hero-grid {
		gap: 40px;
		margin-top: 56px;
	}
	.split {
		gap: 0;
	}
	.split .art {
		display: none;
	}
}
@media (max-width: 640px) {
	:root {
		font-size: 14px;
		--gutter: 16px;
	}
	.hero {
		padding-bottom: 140px;
		background-position:
			0 0,
			40% bottom;
	}
	.brand {
		font-size: 24px;
	}
	.hero h1 {
		font-size: 38px;
	}
	.lede {
		font-size: 15px;
	}
	.dark pre,
	.mock-terminal {
		padding: 16px;
		font-size: 11.5px;
	}
	.mock-body {
		grid-template-columns: 1fr;
	}
	.mock-list {
		display: none;
	}
	.sky {
		height: 250px;
	}
	.isle:nth-child(n + 7),
	.tag code {
		display: none;
	}
	.section {
		padding-top: 80px;
	}
	main h2 {
		font-size: 27px;
	}
	.ground img {
		width: 180px;
	}
}
