:root {
	--paper: #f4f0ea;
	--ink: #101010;
	--text: #101010;
	--panel: #fffdf9;
	--dot: #101010;
	--yellow: #ffe600;
	--mint: #00e889;
	--cyan: #00d9f5;
	--pink: #ff5588;
	--line: 3px solid var(--ink);
	--shadow: 6px 6px 0 var(--ink);
	--mono: "Courier New", Courier, monospace;
	--display: Impact, "Arial Black", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	background-color: var(--paper);
	background-image: radial-gradient(var(--dot) 0.65px, transparent 0.65px);
	background-size: 15px 15px;
	font-family: var(--mono);
	font-size: 14px;
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 3px dashed var(--pink);
	outline-offset: 4px;
}

.wrap {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.ticker {
	overflow: hidden;
	border-bottom: var(--line);
	background: var(--yellow);
	font-weight: 900;
	white-space: nowrap;
}

.ticker-track {
	display: flex;
	width: max-content;
	gap: 34px;
	padding: 10px 0;
	animation: ticker 28s linear infinite;
}

.ticker-track span {
	letter-spacing: 0;
}

@keyframes ticker {
	to {
		transform: translateX(-50%);
	}
}

.topbar {
	border-bottom: 4px solid var(--ink);
	background: var(--paper);
}

.nav {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	font: 30px/1 var(--display);
	letter-spacing: 0;
}

.brand-mark {
	color: #efb900;
	font-size: 26px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 36px);
}

.nav-links a {
	text-decoration: none;
	font-weight: 800;
}

.nav-links a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 8px;
	border: 2px solid var(--ink);
	background: transparent;
	color: var(--text);
	cursor: pointer;
	font-size: 11px;
	font-weight: 900;
}

.theme-track {
	width: 40px;
	height: 22px;
	display: flex;
	align-items: center;
	padding: 2px;
	border: 2px solid var(--ink);
	background: var(--mint);
}

.theme-knob {
	width: 14px;
	height: 14px;
	display: block;
	border: 2px solid var(--ink);
	background: #fff;
	transition: transform 140ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-knob {
	transform: translateX(16px);
}

.button {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 10px 16px;
	border: var(--line);
	background: var(--yellow);
	box-shadow: 4px 4px 0 var(--ink);
	color: var(--ink);
	cursor: pointer;
	font-weight: 900;
	text-decoration: none;
	transition: transform 110ms ease, box-shadow 110ms ease;
}

.button:hover {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--ink);
}

.button:active {
	transform: translate(4px, 4px);
	box-shadow: 0 0 0 var(--ink);
}

.button-dark {
	background: var(--ink);
	color: white;
	box-shadow: 4px 4px 0 var(--mint);
}

.button-dark:hover {
	box-shadow: 2px 2px 0 var(--mint);
}

.menu-toggle {
	display: none;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	align-items: center;
	gap: clamp(38px, 7vw, 94px);
	padding-block: clamp(58px, 9vw, 112px) clamp(70px, 10vw, 120px);
}

.hero-copy {
	position: relative;
	z-index: 1;
}

.eyebrow {
	display: inline-block;
	padding: 7px 10px;
	border: 2px solid var(--ink);
	background: var(--mint);
	box-shadow: 3px 3px 0 var(--ink);
	font-weight: 900;
	transform: rotate(-2deg);
}

h1 {
	max-width: 610px;
	margin: 25px 0 18px;
	font: clamp(58px, 8.3vw, 106px)/.86 var(--display);
	letter-spacing: 0;
	text-transform: uppercase;
}

h1 span {
	color: var(--pink);
	-webkit-text-stroke: 2px var(--ink);
}

.hero-copy>p {
	max-width: 440px;
	margin: 25px 0 28px;
	font-size: 16px;
	line-height: 1.7;
	font-weight: 700;
}

.hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.micro-note {
	font-size: 12px;
	font-weight: 700;
}

.terminal-wrap {
	padding: 0 10px 10px 0;
	transform: rotate(1.2deg);
}

.terminal {
	overflow: hidden;
	border: 4px solid var(--ink);
	background: var(--panel);
	box-shadow: 10px 10px 0 var(--ink);
}

.terminal-bar {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	border-bottom: var(--line);
	background: var(--cyan);
	font-weight: 900;
}

.window-dots {
	display: flex;
	gap: 6px;
}

.window-dots i {
	width: 13px;
	height: 13px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--pink);
}

.window-dots i:nth-child(2) {
	background: var(--yellow);
}

.window-dots i:nth-child(3) {
	background: var(--mint);
}

.terminal-content {
	padding: clamp(19px, 4vw, 34px);
}

.terminal-content pre {
	overflow-x: auto;
	margin: 0;
	color: var(--text);
	font: 600 clamp(12px, 1.5vw, 15px)/1.9 var(--mono);
}

.code-muted {
	color: #777;
}

.code-pink {
	color: #c12558;
}

.code-blue {
	color: #00687b;
}

.code-green {
	color: #087c48;
}

.terminal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 21px;
}

.terminal-footer small {
	font-weight: 700;
}

.copy-hero {
	min-height: 38px;
	padding: 7px 11px;
	font-size: 12px;
}

.feature-band {
	padding: 0 0 clamp(80px, 10vw, 122px);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.feature {
	min-height: 145px;
	padding: 20px;
	border: var(--line);
	background: var(--paper);
	box-shadow: var(--shadow);
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.feature:nth-child(2) {
	background: var(--mint);
	transform: translateY(9px);
}

.feature:nth-child(3) {
	background: var(--cyan);
	transform: translateY(-5px);
}

.feature:hover {
	transform: translate(3px, 3px);
	box-shadow: 3px 3px 0 var(--ink);
}

.feature h2 {
	margin: 0 0 13px;
	font: 25px/1 var(--display);
	text-transform: uppercase;
}

.feature p {
	max-width: 250px;
	margin: 0;
	font-weight: 700;
	line-height: 1.5;
}

.feature-icon {
	margin-right: 7px;
}

.vault-section {
	padding: clamp(38px, 6vw, 70px) 0 90px;
	border-top: 4px solid var(--ink);
	background: var(--paper);
}

.vault-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.section-kicker {
	display: block;
	margin-bottom: 8px;
	color: #48443d;
	font-weight: 900;
}

.vault-heading h2 {
	margin: 0;
	font: clamp(40px, 6vw, 68px)/.95 var(--display);
	text-transform: uppercase;
}

.vault-count {
	flex: 0 0 auto;
	padding: 9px 12px;
	border: 2px solid var(--ink);
	background: var(--pink);
	box-shadow: 3px 3px 0 var(--ink);
	font-weight: 900;
}

.vault-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 28px;
}

.search-wrap {
	position: relative;
	flex: 1 1 330px;
	max-width: 430px;
}

.search-icon {
	position: absolute;
	top: 50%;
	left: 13px;
	transform: translateY(-50%);
	font-size: 19px;
}

.search-input {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px 10px 42px;
	border: var(--line);
	background: var(--panel);
	color: var(--text);
	box-shadow: 4px 4px 0 var(--ink);
	font-weight: 700;
}

.filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.filter-button {
	min-height: 40px;
	padding: 7px 12px;
	border: 2px solid var(--ink);
	background: transparent;
	cursor: pointer;
	font-weight: 900;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
	background: var(--yellow);
	box-shadow: 3px 3px 0 var(--ink);
}

.snippet-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.snippet-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: var(--line);
	background: var(--panel);
	box-shadow: 5px 5px 0 var(--ink);
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.snippet-card:hover {
	transform: translate(3px, 3px);
	box-shadow: 2px 2px 0 var(--ink);
}

.snippet-head {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 16px 13px;
	border-bottom: 2px solid var(--ink);
}

.snippet-title {
	margin: 0;
	font: 24px/1 var(--display);
	text-transform: uppercase;
}

.snippet-number {
	font-weight: 900;
}

.snippet-category {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 7px;
	border: 1.5px solid var(--ink);
	background: var(--mint);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.preview {
	min-height: 170px;
	display: grid;
	place-items: center;
	padding: 22px 15px;
	border-bottom: 2px solid var(--ink);
	background-color: #efebe5;
	background-image: linear-gradient(45deg, #d6d1c9 25%, transparent 25%, transparent 75%, #d6d1c9 75%), linear-gradient(45deg, #d6d1c9 25%, transparent 25%, transparent 75%, #d6d1c9 75%);
	background-position: 0 0, 7px 7px;
	background-size: 14px 14px;
}

.preview-button {
	border: 3px solid var(--ink);
	padding: 13px 18px;
	background: var(--yellow);
	color: #101010;
	box-shadow: 5px 5px 0 var(--ink);
	font-weight: 900;
	transform: rotate(-3deg);
}

.preview-card {
	width: min(190px, 100%);
	padding: 13px;
	border: 3px solid var(--ink);
	background: var(--pink);
	color: #101010;
	box-shadow: 5px 5px 0 var(--ink);
	transform: rotate(2deg);
	font-weight: 900;
}

.preview-card b {
	display: block;
	margin-bottom: 6px;
	font: 20px/1 var(--display);
}

.preview-loader {
	width: 48px;
	aspect-ratio: 1;
	border: 7px solid var(--ink);
	border-right-color: var(--mint);
	border-radius: 50%;
	animation: spin 850ms linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.preview-badge {
	padding: 8px 11px;
	border: 2px solid var(--ink);
	background: var(--cyan);
	color: #101010;
	box-shadow: 4px 4px 0 var(--ink);
	font-weight: 900;
	transform: rotate(4deg);
}

.preview-toggle {
	width: 68px;
	height: 38px;
	display: flex;
	align-items: center;
	padding: 4px;
	border: 3px solid var(--ink);
	background: var(--mint);
	box-shadow: 4px 4px 0 var(--ink);
}

.preview-toggle i {
	width: 24px;
	height: 24px;
	border: 2px solid var(--ink);
	background: white;
}

.preview-glitch {
	color: var(--pink);
	font: 29px/1 var(--display);
	text-shadow: 3px 2px 0 var(--cyan), -2px -1px 0 var(--ink);
	transform: skew(-5deg);
}

.preview-outline,
.preview-pill {
	padding: 11px 16px;
	border: 3px solid var(--ink);
	background: transparent;
	color: #101010;
	box-shadow: 4px 4px 0 var(--ink);
	font-weight: 900;
}

.preview-pill {
	border-radius: 999px;
	background: var(--mint);
}

.preview-profile,
.preview-price {
	width: min(205px, 100%);
	padding: 15px;
	border: 3px solid var(--ink);
	background: var(--cyan);
	color: #101010;
	box-shadow: 5px 5px 0 var(--ink);
	font-weight: 700;
}

.preview-profile b,
.preview-price b {
	display: block;
	margin-bottom: 7px;
	font: 22px/1 var(--display);
}

.preview-note {
	max-width: 220px;
	padding: 18px;
	border: 3px solid var(--ink);
	background: var(--yellow);
	color: #101010;
	box-shadow: 5px 5px 0 var(--ink);
	transform: rotate(-2deg);
	font-weight: 900;
}

.preview-dots,
.preview-bars {
	display: flex;
	align-items: center;
	gap: 7px;
}

.preview-dots i {
	width: 14px;
	aspect-ratio: 1;
	border: 2px solid var(--ink);
	background: var(--pink);
	animation: hop 600ms ease-in-out infinite alternate;
}

.preview-dots i:nth-child(2) {
	animation-delay: 150ms;
}

.preview-dots i:nth-child(3) {
	animation-delay: 300ms;
}

@keyframes hop {
	to {
		transform: translateY(-10px);
	}
}

.preview-bars {
	height: 42px;
}

.preview-bars i {
	width: 9px;
	height: 18px;
	border: 2px solid var(--ink);
	background: var(--cyan);
	animation: signal 700ms ease-in-out infinite alternate;
}

.preview-bars i:nth-child(2) {
	animation-delay: 180ms;
}

.preview-bars i:nth-child(3) {
	animation-delay: 360ms;
}

@keyframes signal {
	to {
		height: 38px;
	}
}

.preview-progress {
	width: 190px;
	max-width: 100%;
	height: 22px;
	border: 3px solid var(--ink);
	background: white;
}

.preview-progress i {
	display: block;
	width: 68%;
	height: 100%;
	border-right: 3px solid var(--ink);
	background: var(--mint);
}

.preview-tooltip {
	padding: 9px 12px;
	border: 2px solid var(--ink);
	background: white;
	color: #101010;
	box-shadow: 3px 3px 0 var(--ink);
	font-weight: 900;
}

.preview-check {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 900;
}

.preview-check i {
	width: 23px;
	height: 23px;
	border: 3px solid var(--ink);
	background: var(--mint);
	box-shadow: inset 0 0 0 4px white;
}

.snippet-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 13px 15px;
}

.snippet-foot small {
	color: var(--text);
	opacity: .78;
	font-weight: 700;
}

.copy-snippet {
	min-height: 38px;
	padding: 7px 10px;
	font-size: 11px;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 40px 20px;
	border: var(--line);
	background: var(--yellow);
	box-shadow: var(--shadow);
	text-align: center;
	font-weight: 900;
}

footer {
	border-top: 4px solid var(--ink);
	background: var(--yellow);
}

.footer-inner {
	min-height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-weight: 900;
}

.footer-mark {
	font: 25px/1 var(--display);
}

.toast {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 5;
	max-width: calc(100vw - 44px);
	padding: 13px 18px;
	border: var(--line);
	background: var(--mint);
	box-shadow: 5px 5px 0 var(--ink);
	font-weight: 900;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
	opacity: 1;
	transform: translateY(0);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body[data-theme="dark"] {
	--paper: #080b10;
	--ink: #000;
	--text: #f4f0ea;
	--panel: #111820;
	--dot: rgba(0, 229, 255, .36);
	color-scheme: dark;
}

body[data-theme="dark"] .topbar {
	border-color: var(--cyan);
}

body[data-theme="dark"] .ticker,
body[data-theme="dark"] .terminal-bar,
body[data-theme="dark"] .eyebrow,
body[data-theme="dark"] .snippet-category,
body[data-theme="dark"] .vault-count,
body[data-theme="dark"] .toast {
	color: #000;
}

body[data-theme="dark"] .section-kicker {
	color: #c1cbd4;
}

body[data-theme="dark"] .filter-button:hover,
body[data-theme="dark"] .filter-button[aria-pressed="true"] {
	color: #000;
}

body[data-theme="dark"] .terminal,
body[data-theme="dark"] .feature,
body[data-theme="dark"] .snippet-card,
body[data-theme="dark"] .search-input,
body[data-theme="dark"] .filter-button,
body[data-theme="dark"] .empty-state {
	border-color: var(--cyan);
	box-shadow: 5px 5px 0 var(--pink);
}

body[data-theme="dark"] .terminal {
	box-shadow: 10px 10px 0 var(--pink);
}

body[data-theme="dark"] .snippet-card:hover,
body[data-theme="dark"] .feature:hover {
	box-shadow: 2px 2px 0 var(--pink);
}

body[data-theme="dark"] .snippet-head,
body[data-theme="dark"] .preview {
	border-color: var(--cyan);
}

body[data-theme="dark"] .feature:nth-child(2),
body[data-theme="dark"] .feature:nth-child(3) {
	color: #000;
}

body[data-theme="dark"] .terminal-content pre {
	color: var(--text);
}

body[data-theme="dark"] .code-muted {
	color: #b7c1cc;
}

body[data-theme="dark"] .code-pink {
	color: #ff5588;
}

body[data-theme="dark"] .code-blue {
	color: #00d9f5;
}

body[data-theme="dark"] .code-green {
	color: #00e889;
}

body[data-theme="dark"] .preview {
	background-color: #1d2730;
	background-image: linear-gradient(45deg, #303d48 25%, transparent 25%, transparent 75%, #303d48 75%), linear-gradient(45deg, #303d48 25%, transparent 25%, transparent 75%, #303d48 75%);
}

body[data-theme="dark"] .preview-outline {
	border-color: var(--cyan);
	background: #111820;
	color: var(--text);
}

body[data-theme="dark"] .preview-check {
	color: var(--text);
}

body[data-theme="dark"] footer {
	color: #000;
}

body[data-theme="dark"] .theme-toggle {
	border-color: var(--cyan);
}

body[data-theme="dark"] .theme-track {
	border-color: var(--cyan);
	background: var(--pink);
}

body[data-theme="dark"] .theme-knob {
	border-color: var(--cyan);
	background: #000;
}

@media (max-width: 850px) {
	.hero {
		gap: 36px;
	}

	.feature-grid {
		gap: 15px;
	}

	.feature {
		padding: 16px;
	}

	.feature h2 {
		font-size: 21px;
	}

	.snippet-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vault-controls {
		align-items: stretch;
		flex-direction: column;
	}

	.search-wrap {
		max-width: none;
	}
}

@media (max-width: 650px) {
	.wrap {
		width: min(100% - 30px, 500px);
	}

	.nav {
		min-height: 66px;
		flex-wrap: wrap;
		gap: 0;
		padding-block: 12px;
	}

	.brand {
		font-size: 27px;
	}

	.menu-toggle {
		display: inline-flex;
		min-height: 40px;
		align-items: center;
		padding: 7px 10px;
		border: 2px solid var(--ink);
		background: var(--yellow);
		box-shadow: 3px 3px 0 var(--ink);
		font-weight: 900;
	}

	.nav-links {
		display: none;
		order: 3;
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding-top: 14px;
	}

	.nav-links.open {
		display: flex;
	}

	.nav-links a {
		padding: 12px 4px;
		border-top: 1px solid var(--ink);
	}

	.nav-links .button {
		margin-top: 8px;
	}

	.theme-toggle {
		align-self: flex-start;
		margin: 10px 0;
	}

	.hero {
		grid-template-columns: 1fr;
		gap: 44px;
		padding-block: 58px 76px;
	}

	h1 {
		max-width: 500px;
		font-size: clamp(61px, 16vw, 88px);
	}

	.terminal-wrap {
		margin-inline: 5px 10px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.feature {
		min-height: auto;
	}

	.feature:nth-child(2),
	.feature:nth-child(3) {
		transform: none;
	}

	.feature:nth-child(2):hover,
	.feature:nth-child(3):hover {
		transform: translate(3px, 3px);
	}

	.vault-heading {
		align-items: start;
		flex-direction: column;
	}

	.snippet-grid {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.preview {
		min-height: 160px;
	}

	.footer-inner {
		align-items: start;
		flex-direction: column;
		justify-content: center;
		padding-block: 20px;
		gap: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}