/* The website, in the app's own look: dark slate green, the yellow glow, the map's dotted canvas behind,
   Geist. The slides' pictures keep their own styles (art.css, made from the app's). */
@font-face {
	font-family: Geist;
	src: url(geist.woff2) format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
:root {
	--bg: #132629;
	--ink: #e9f1ee;
	--muted: #a9bcb7;
	--quiet: #7f9792;
	--line: #ffffff1c;
	--yellow: #fffc4f;
	--green: #5fb497;
	--mono: ui-monospace, SFMono-Regular, Consolas, monospace;
	color-scheme: dark;
	font: 16px / 1.6 Geist, Inter, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--bg);
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-height: 100vh;
}
a {
	color: inherit;
	text-decoration-color: #fffc4f80;
	text-underline-offset: 3px;
}
a:hover {
	color: var(--yellow);
}
.hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* The glow and the dotted canvas, as on the app's Welcome. */
.backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(760px 460px at 50% 30%, #fffc4f0f, transparent 70%),
		radial-gradient(1400px 800px at 50% -18%, #24484c, transparent 66%);
}
.backdrop::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(#ffffff1c 1px, transparent 1.3px);
	background-size: 22px 22px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
}

/* ---------- the top and the foot ---------- */
/* The top floats over the page, so on the home page it sits on the hero's own landscape with no seam. */
.top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	max-width: 1080px;
	margin: 0 auto;
	padding: 18px 24px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 650;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.brand {
	color: var(--yellow);
	font-size: 22px;
	gap: 10px;
}
.brand svg {
	width: 48px;
	height: 48px;
}
.top nav {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 14.5px;
}
.top nav a {
	color: var(--muted);
	text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current] {
	color: var(--ink);
}
.top nav .nav-go {
	color: var(--bg);
	background: var(--yellow);
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 600;
}
.top nav .nav-go:hover {
	color: var(--bg);
	box-shadow: 0 0 24px #fffc4f55;
}
.foot {
	max-width: 1080px;
	margin: 0 auto;
	padding: 32px 24px 48px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	color: var(--quiet);
	font-size: 14px;
	border-top: 1px solid var(--line);
}
.foot p {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.foot svg {
	width: 20px;
	height: 20px;
}

/* ---------- words ---------- */
main {
	max-width: 1080px;
	margin: 0 auto;
	padding: var(--top-height) 24px 0;
}
:root {
	--top-height: 86px;
}
h1,
h2,
h3 {
	letter-spacing: -0.018em;
	line-height: 1.15;
	color: #fff;
}
h1 {
	font-size: clamp(34px, 6vw, 58px);
	font-weight: 700;
	margin: 18px 0 14px;
}
h2 {
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 650;
	margin: 0 0 10px;
}
h3 {
	font-size: 22px;
	font-weight: 650;
	margin: 0 0 8px;
}
p {
	margin: 0 0 14px;
	color: var(--muted);
}
.lede {
	font-size: 19px;
	max-width: 36em;
}
.small {
	font-size: 14px;
	color: var(--quiet);
}

/* ---------- the early-access form ---------- */
.form {
	display: flex;
	gap: 8px;
	width: min(460px, 100%);
	margin: 22px 0 12px;
}
.form input {
	flex: 1;
	min-width: 0;
	font: inherit;
	color: var(--ink);
	background: #ffffff0d;
	border: 1px solid #ffffff2e;
	border-radius: 10px;
	padding: 10px 14px;
}
.form input:focus {
	outline: 2px solid #fffc4f99;
	outline-offset: 1px;
}
.form button {
	font: inherit;
	font-weight: 600;
	color: var(--bg);
	background: var(--yellow);
	border: 0;
	border-radius: 10px;
	padding: 10px 18px;
	cursor: pointer;
}
.form button:hover {
	box-shadow: 0 0 28px #fffc4f66;
}

/* ---------- the download button ---------- */
.download {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	margin: 26px 0 12px;
	padding: 11px 28px 10px;
	line-height: 1.15;
	border-radius: 12px;
	background: var(--yellow);
	color: var(--bg);
	font-size: 18px;
	font-weight: 650;
	text-decoration: none;
}
/* What the download runs on, quietly, under the button's words; the trial, true of every download, sits
   below the buttons. */
.download small {
	margin-top: -1px;
	font-size: 11.5px;
	line-height: 1.3;
	font-weight: 500;
	opacity: 0.62;
}
.download:hover {
	color: var(--bg);
	box-shadow: 0 0 34px #fffc4f66;
}

/* ---------- the home page ---------- */
/* The stage: the icon's contour lines spread into a landscape, the app window in the middle of it, and the
   bug standing on the window's top edge. */
/* The hero is a band of its own, as Fork's is: a lighter green with the contours, reaching up behind the top,
   and ending in a straight edge that cuts the app window off about three quarters down. */
.stage {
	position: relative;
	margin: calc(-1 * var(--top-height)) calc(50% - 50vw) 0;
	padding: calc(var(--top-height) + 72px) 24px 0;
	display: grid;
	justify-items: center;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(900px 520px at 50% 70%, #fffc4f17, transparent 70%),
		url(landscape.svg) center 30% / cover no-repeat,
		linear-gradient(180deg, #1f3e41, #1a3537);
	border-bottom: 1px solid #ffffff1a;
	box-shadow: 0 30px 80px -40px #000c;
}
.stage h1 {
	max-width: 20em;
	font-size: clamp(32px, 4.4vw, 56px);
	text-wrap: balance;
}
.stage .tagline {
	margin: 0 auto;
	font-size: clamp(19px, 2vw, 23px);
	color: var(--muted);
}
.window {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #1b2c2d;
	box-shadow:
		0 0 0 1px #ffffff24,
		0 50px 120px -30px #000e,
		0 0 160px #fffc4f12;
}
.window img {
	display: block;
	width: 100%;
	height: auto;
}
.window-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	padding: 0 12px;
	background: #26393b;
	border-bottom: 1px solid #00000040;
}
.window-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ff5f57;
}
.window-bar span:nth-child(2) {
	background: #febc2e;
}
.window-bar span:nth-child(3) {
	background: #28c840;
}
.window-bar b {
	flex: 1;
	margin-right: 50px;
	font-size: 12px;
	font-weight: 500;
	color: #ffffff80;
	text-align: center;
}
.hero-window {
	position: relative;
	overflow: visible;
	width: min(1120px, 100%);
	margin-top: 120px;
}
.hero-window > .window-bar {
	border-radius: 12px 12px 0 0;
}
/* Three quarters of the screenshot: the rest is below the band's edge. */
.hero-shot {
	aspect-ratio: 1440 / 675;
	overflow: hidden;
}
.hero-window {
	border-radius: 12px 12px 0 0;
	box-shadow:
		0 0 0 1px #ffffff24,
		0 -10px 120px -20px #000c,
		0 0 160px #fffc4f14;
}
/* Its feet on the window's edge. */
.hero-bug {
	position: absolute;
	right: 9%;
	bottom: 100%;
	/* The drawing has room below the feet; this sets them on the edge at any size. */
	transform: translateY(18%);
	pointer-events: none;
}
.hero-bug svg {
	width: 220px;
	height: auto;
}
.credit {
	margin-top: 14px;
	text-align: center;
	font-size: 13px;
	color: var(--quiet);
}
/* A section: a window beside a heading and a line, taking turns down the page. */
.slide {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	padding: 56px 0;
}
/* Picture and words take turns down the page. */
.slide.flip > figure {
	order: 2;
}
.canvas {
	background-color: #f1ecdc;
	background-image: radial-gradient(#cfc6ac 0.8px, transparent 0.95px);
	background-size: 14px 14px;
}
.canvas svg {
	display: block;
	width: 100%;
	height: auto;
}
.art-still {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.art-moving {
		display: none;
	}
	.art-still {
		display: block;
	}
}
.more {
	list-style: none;
	padding: 24px 0 32px;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.more li {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #ffffff06;
}
.more h3 {
	font-size: 18px;
}
.more p {
	margin: 0;
	font-size: 15px;
}
.promise {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 48px 0 24px;
}
.promise-bug,
.signup-bug,
.result-bug {
	flex: none;
}

/* ---------- what it reads: a language a row, its frameworks beside it ---------- */
.reads {
	padding: 40px 0 16px;
}
.languages {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
}
.languages > li {
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: center;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.language {
	display: grid;
	grid-template-columns: 30px 1fr;
	column-gap: 14px;
	align-items: center;
}
.language .logo {
	grid-row: span 2;
	width: 30px;
	height: 30px;
	color: var(--ink);
}
.language b {
	font-size: 19px;
	font-weight: 650;
	color: #fff;
}
.language small {
	font-size: 13px;
	color: var(--quiet);
}
.frameworks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.frameworks li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #ffffff06;
	font-size: 14px;
	color: var(--muted);
}
.frameworks .logo {
	width: 15px;
	height: 15px;
}

/* ---------- early access, at the foot of every page ---------- */
.signup {
	display: grid;
	justify-items: center;
	text-align: center;
	max-width: 1080px;
	margin: 48px auto 0;
	padding: 56px 24px 64px;
}
.signup .form {
	margin-top: 8px;
}

/* ---------- the other pages ---------- */
.page {
	max-width: 720px;
	padding: 48px 0 24px;
}
.prose h2 {
	margin-top: 40px;
	font-size: 24px;
}
.prose ul {
	padding-left: 20px;
	color: var(--muted);
}
.prose li {
	margin: 6px 0;
}
.prose li::marker {
	color: var(--yellow);
}
.prose strong {
	color: var(--ink);
	font-weight: 600;
}
.page.wide {
	max-width: 1000px;
}
.plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 32px 0 20px;
}
.plans.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 760px;
}
.plan {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #ffffff06;
}
.plan .price {
	color: var(--muted);
}
.plan .price b {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--yellow);
}
.plan .price s {
	font-size: 20px;
	color: var(--quiet);
}
.plan .note {
	margin-top: -8px;
	font-size: 13px;
	color: var(--yellow);
}
.plan.featured {
	border-color: #fffc4f55;
	box-shadow: 0 0 60px #fffc4f14;
}
.plan ul {
	padding-left: 18px;
	margin: 0;
	color: var(--muted);
}
.plan li {
	margin: 6px 0;
}
.faq dt {
	color: #fff;
	font-weight: 600;
	margin-top: 22px;
}
.faq dd {
	margin: 6px 0 0;
	color: var(--muted);
}
.result {
	display: grid;
	justify-items: center;
	text-align: center;
	margin: 0 auto;
	padding-bottom: 72px;
}

/* ---------- small screens ---------- */
@media (max-width: 820px) {
	.slide {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 32px 0;
	}
	.slide.flip > figure {
		order: 0;
	}
	.hero-bug svg {
		width: 140px;
	}
	:root {
		--top-height: 128px;
	}
	/* Two rows at most: the form is just below, so the pill can go. */
	.top nav .nav-go {
		display: none;
	}
	.more,
	.plans,
	.plans.two,
	.languages > li {
		grid-template-columns: 1fr;
	}
	.languages > li {
		gap: 12px;
	}
	.promise {
		flex-direction: column;
		text-align: center;
	}
	.top nav {
		gap: 14px;
		flex-wrap: wrap;
	}
}
@media (max-width: 480px) {
	.form {
		flex-direction: column;
	}
}

/* On the hero, over the map's empty corner: what the picture is, in one line, so it reads as one image. */
.hero-caption {
	position: absolute;
	left: 28px;
	bottom: 28px;
	max-width: min(760px, 76%);
	margin: 0;
	padding: 12px 16px;
	text-align: left;
	border-radius: 10px;
	background: var(--yellow, #fffc4f);
	color: #132729;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	box-shadow: 0 10px 30px #0005;
}
@media (max-width: 700px) {
	.hero-caption {
		left: 12px;
		bottom: 12px;
		max-width: calc(100% - 24px);
		font-size: 13px;
	}
}

/* ---------- why not just ask Claude Code: three things a chat can't keep ---------- */
.why {
	padding: 56px 0 24px;
}
.why-list {
	list-style: none;
	margin: 24px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.why-list li {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #ffffff06;
}
.why-list h3 {
	font-size: 18px;
}
.why-list p {
	margin: 0;
	font-size: 15px;
}
@media (max-width: 820px) {
	.why-list {
		grid-template-columns: 1fr;
	}
}

/* ---------- the changelog ---------- */
.release {
	padding: 8px 0 4px;
	border-top: 1px solid var(--line);
}
.release h2 small {
	margin-left: 8px;
	font-size: 14px;
	font-weight: 400;
	color: var(--quiet);
}

/* ---------- the demo video ---------- */
.demo {
	padding: 64px 0 8px;
	text-align: center;
}
.demo > p {
	max-width: 640px;
	margin: 8px auto 24px;
}
.demo video {
	display: block;
	width: 100%;
	height: auto;
	background: #102224;
}
