:root {
	color-scheme: dark;
	--bg: #101414;
	--surface: #172020;
	--line: #31403e;
	--text: #eff5ed;
	--muted: #9ba9a5;
	--lime: #c8ff6b;
	--progress: #9ab87a;
	--coral: #ff896b;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font:
		16px / 1.6 ui-monospace,
		SFMono-Regular,
		Menlo,
		monospace;
}
a {
	color: inherit;
}
a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 3px;
}
.skip-link {
	position: absolute;
	left: 1rem;
	top: -5rem;
	background: var(--lime);
	color: #101414;
	padding: 0.5rem 1rem;
	z-index: 3;
}
.skip-link:focus {
	top: 1rem;
}
.site-header,
.site-footer {
	max-width: 1180px;
	margin: auto;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.site-header {
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}
.public-header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
}
.wordmark {
	text-decoration: none;
	font-weight: 800;
	letter-spacing: 0.08em;
}
.wordmark span,
.eyebrow,
.success {
	color: var(--lime);
}
.wordmark .cursor {
	animation: cursor-blink 1s steps(1, end) infinite;
}
@keyframes cursor-blink {
	50% {
		opacity: 0;
	}
}
nav {
	display: flex;
	gap: 1rem;
	align-items: center;
}
.primary-nav {
	justify-content: center;
	flex-wrap: wrap;
}
.header-actions,
.account-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.header-actions {
	justify-content: flex-end;
	min-width: 0;
}
.account-nav {
	flex-wrap: wrap;
	justify-content: flex-end;
}
.account-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}
.account-name {
	max-width: 12rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.account-avatar {
	display: inline-grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: var(--lime);
	color: var(--bg);
	font-weight: bold;
}
nav a,
.link-button {
	color: var(--muted);
	text-decoration: none;
	font: inherit;
	font-size: 0.82rem;
}
.languages {
	white-space: nowrap;
}
.link-button {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}
.site-footer {
	border-top: 1px solid var(--line);
	justify-content: space-between;
	font-size: 0.78rem;
	color: var(--muted);
	flex-wrap: wrap;
}
main {
	max-width: 1180px;
	margin: auto;
	padding: 0 1.5rem;
}
.hero {
	padding: 7rem 0 4rem;
}
.eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.13em;
	font-weight: bold;
}
.hero h1 {
	font:
		clamp(2.75rem, 8vw, 6.6rem) / 0.96 ui-monospace,
		SFMono-Regular,
		monospace;
	letter-spacing: -0.08em;
	margin: 0.6rem 0 1.5rem;
	max-width: 1000px;
}
.hero h1 em {
	color: var(--lime);
	font-style: normal;
}
.lede {
	max-width: 650px;
	color: var(--muted);
	font-size: 1.1rem;
}
.actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 2rem 0 3.5rem;
}
.button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--lime);
	color: #101414;
	text-decoration: none;
	border: 1px solid var(--lime);
	padding: 0.75rem 1rem;
	font:
		700 0.9rem ui-monospace,
		SFMono-Regular,
		monospace;
	cursor: pointer;
}
.button.secondary {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
}
.terminal {
	background: #0a0e0e;
	border: 1px solid var(--line);
	max-width: 760px;
	box-shadow: 10px 10px 0 #26322e;
}
.terminal-bar {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	padding: 0.65rem 0.8rem;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.75rem;
}
.terminal-bar span {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--coral);
}
.terminal-bar span:nth-child(2) {
	background: #f4cc68;
}
.terminal-bar span:nth-child(3) {
	background: var(--lime);
}
.terminal-bar code {
	margin-left: 0.4rem;
}
.terminal pre {
	padding: 1.2rem;
	overflow: auto;
	margin: 0;
	line-height: 1.8;
}
.terminal b {
	color: var(--lime);
}
.muted {
	color: var(--muted);
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.features article {
	padding: 2.5rem 1.75rem;
	border-right: 1px solid var(--line);
}
.features article:last-child {
	border: 0;
}
.features span {
	color: var(--coral);
	font-weight: bold;
}
.features h2 {
	font-size: 1.25rem;
}
.features p,
.workflow p,
.difference p,
.simulator-copy > p {
	color: var(--muted);
}
.deployment-options {
	padding: 5rem 0;
	border-bottom: 1px solid var(--line);
}
.deployment-options h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
	margin: 0.5rem 0 2rem;
}
.deployment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.deployment-grid article {
	background: var(--surface);
	border: 1px solid var(--line);
	padding: clamp(1.25rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.deployment-grid h3 {
	font-size: 1.3rem;
	margin: 0 0 0.5rem;
}
.deployment-grid p {
	color: var(--muted);
	margin: 0 0 1.5rem;
}
.deployment-grid code {
	max-width: 100%;
	overflow-wrap: anywhere;
	margin-bottom: 1.5rem;
}
.deployment-grid .button {
	margin-top: auto;
}
.simulator {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 4rem;
	padding: 6rem 0;
	border-bottom: 1px solid var(--line);
}
.simulator h2 {
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.05em;
	margin: 0.6rem 0 1.5rem;
}
.simulator-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
	margin-top: 2rem;
}
.simulator-tabs button {
	appearance: none;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--muted);
	font: inherit;
	padding: 0.7rem 0.8rem;
	text-align: left;
	cursor: pointer;
}
.simulator-tabs button[aria-selected="true"] {
	border-color: var(--lime);
	background: var(--lime);
	color: #101414;
	font-weight: 700;
}
.simulator-output {
	min-width: 0;
}
.simulator-panel {
	max-width: none;
	min-height: 100%;
}
.simulator-panel[hidden] {
	display: none;
}
.simulator-caption {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.84rem;
	margin: 0;
	padding: 1rem 1.2rem;
}
.workflow,
.difference {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	padding: 6rem 0;
}
.workflow h2,
.difference h2,
.legal h1,
.downloads h1,
.commands h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.05em;
}
.workflow ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
}
.workflow li {
	background: var(--surface);
	padding: 1rem;
	overflow: auto;
}
.difference {
	border-top: 1px solid var(--line);
	display: block;
	max-width: 850px;
}
.text-link {
	color: var(--lime);
	font-weight: bold;
}
.legal,
.downloads,
.commands {
	padding: 5rem 0;
}
.portal {
	max-width: 800px;
	padding-top: 4rem;
	padding-bottom: 6rem;
}
.portal h1 {
	font-size: clamp(2rem, 6vw, 4rem);
	line-height: 1.1;
	margin: 0.5rem 0 1rem;
}
.portal > p:not(.eyebrow) {
	color: var(--muted);
}
.portal-projects {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}
.portal-projects li {
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 0;
	gap: 1rem;
}
.portal-projects a,
.portal-requests a {
	padding: 1rem 1.25rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	text-decoration: none;
}
.portal-projects span {
	color: var(--lime);
}
.portal section {
	border-top: 1px solid var(--line);
	margin-top: 2.5rem;
	padding-top: 1.25rem;
}
.portal progress {
	display: block;
	width: 100%;
	height: 1.5rem;
	margin: 0.4rem 0 1rem;
	appearance: none;
	border: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--lime);
	overflow: hidden;
}
.portal progress::-webkit-progress-bar {
	background: transparent;
}
.portal progress::-webkit-progress-value {
	background: var(--progress);
}
.portal progress::-moz-progress-bar {
	background: var(--progress);
}
.portal label {
	display: block;
}
.portal-requests li > label,
.portal-requests li > span {
	padding: 0 1.25rem;
}
.portal-requests li > progress {
	width: calc(100% - 2.5rem);
	margin: 0.4rem 1.25rem 1rem;
}
.portal-requests,
.portal-comments {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}
.portal-requests li,
.portal-comments li {
	background: var(--surface);
	border: 1px solid var(--line);
}
.portal-comments li {
	padding: 1rem 1.25rem;
}
.portal-requests span,
.portal-comments time {
	color: var(--muted);
}
.portal-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}
.portal-pagination a {
	color: var(--lime);
}
.portal-form {
	display: grid;
	gap: 0.75rem;
}
.portal-form input,
.portal-form textarea {
	width: 100%;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--line);
	padding: 0.75rem;
	font: inherit;
}
.portal-form input:focus-visible,
.portal-form textarea:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 2px;
}
.portal-form .button {
	justify-self: start;
}
.portal-error {
	color: var(--coral);
	border-left: 3px solid var(--coral);
	padding-left: 0.75rem;
}
.portal-markdown {
	overflow-wrap: anywhere;
}
.portal-markdown pre {
	overflow: auto;
	padding: 1rem;
	background: #0a0e0e;
}
.portal-markdown blockquote {
	border-left: 3px solid var(--lime);
	margin-left: 0;
	padding-left: 1rem;
}
.legal {
	max-width: 820px;
}
.downloads {
	max-width: 1180px;
}
.commands {
	max-width: 1180px;
}
.legal h2,
.downloads h2,
.commands h2 {
	margin-top: 2.5rem;
	font-size: 1.2rem;
}
.legal p {
	color: var(--muted);
}
.command-guide-intro {
	color: var(--muted);
}
.command-guide {
	display: grid;
	gap: 2.5rem;
	margin-top: 1.5rem;
}
.command-group {
	border-top: 1px solid var(--line);
	padding-top: 1rem;
}
.command-group h3 {
	color: var(--lime);
	font-size: 0.9rem;
	margin: 0 0 0.8rem;
}
.command-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.8rem;
	margin: 0;
}
.command-entry {
	background: var(--surface);
	border: 1px solid var(--line);
	margin: 0;
}
.command-entry dt {
	border-bottom: 1px solid var(--line);
	padding: 1rem;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 1rem;
}
.command-entry code {
	display: block;
	flex: 1;
	min-width: min(100%, 16rem);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.75;
	overflow-wrap: normal;
	word-break: normal;
}
.command-option {
	color: var(--coral);
	font-weight: 600;
}
.copy-command {
	background: transparent;
	border: 1px solid var(--lime);
	color: var(--lime);
	cursor: pointer;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 0.5rem;
	white-space: nowrap;
}
.copy-command:hover {
	background: var(--lime);
	color: #101414;
}
.copy-status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.command-entry dd {
	color: var(--muted);
	font-size: 0.84rem;
	margin: 0;
	padding: 1rem;
}
.install {
	background: #0a0e0e;
	border: 1px solid var(--line);
	padding: 1rem;
	overflow: auto;
}
.consent {
	position: fixed;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	width: min(680px, calc(100% - 2rem));
	background: #eef5eb;
	color: #101414;
	padding: 1.25rem;
	box-shadow: 8px 8px 0 var(--coral);
	display: flex;
	gap: 1.5rem;
	align-items: flex-end;
	z-index: 2;
}
.consent[hidden] {
	display: none;
}
.consent h2 {
	margin: 0;
	font-size: 1.1rem;
}
.consent p {
	margin: 0.35rem 0;
	font:
		0.85rem / 1.5 system-ui,
		sans-serif;
}
.consent-actions {
	display: flex;
	gap: 0.6rem;
	white-space: nowrap;
}
.consent .secondary {
	color: #101414;
	border-color: #74817a;
}
@media (prefers-reduced-motion: reduce) {
	.wordmark .cursor {
		animation: none;
	}
}
@media (max-width: 900px) {
	.public-header {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0.75rem;
	}
	.primary-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
	}
	.header-actions {
		grid-column: 2;
		grid-row: 1;
		flex-wrap: wrap;
	}
}
@media (max-width: 700px) {
	.site-header {
		gap: 0.75rem;
		flex-wrap: wrap;
	}
	.header-actions {
		display: grid;
		grid-column: 1 / -1;
		grid-row: 2;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
	}
	.languages {
		grid-column: 2;
		justify-content: flex-end;
	}
	.account-nav a {
		text-align: right;
	}
	.primary-nav {
		grid-row: 3;
	}
	.account-name {
		max-width: 40vw;
	}
	.hero {
		padding-top: 4rem;
	}
	.features,
	.workflow,
	.deployment-grid,
	.simulator {
		grid-template-columns: 1fr;
	}
	.features article {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}
	.workflow,
	.difference {
		gap: 1.5rem;
		padding: 4rem 0;
	}
	.consent {
		display: block;
	}
	.consent-actions {
		margin-top: 1rem;
	}
	.site-footer nav {
		flex-wrap: wrap;
	}
	.portal-projects a,
	.portal-requests a {
		flex-direction: column;
	}
}
