@font-face {
	font-family: "Geist";
	src: url("/fonts/geist-5.3.0-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "JetBrains Mono";
	src: url("/fonts/jetbrains-mono-5.3.0-latin.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	color-scheme: light;
	--sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--page: #e9e9f4;
	--page-glow: #f6f6fd;
	--surface: #ffffff;
	--surface-soft: #f7f7fa;
	--surface-sunken: #f2f1f5;
	--surface-head: #fafafc;

	--ink: #1c1c1e;
	--ink-2: #3c3c43;
	--muted: #5b5a6e;
	--quiet: #6b6b72;
	--subtle: #8a8a90;
	--faint: #9a9aa0;
	--ghost: #a0a0a6;

	--line: #dcdbe2;
	--line-soft: #e4e3e9;
	--line-faint: #eceaf0;
	--line-row: #f0eff4;
	--line-bar: #dedde3;

	--accent: #5e5ce6;
	--accent-strong: #4b48d6;
	--accent-soft: #eceafc;
	--accent-on-dark: #a8a6ff;
	--accent-gradient: linear-gradient(160deg, #7a78f0, #4b48d6);

	--green: #34c759;
	--orange: #ff9f0a;
	--red: #ff3b30;
	--red-text: #c8342b;
	--green-text: #1f7a35;
	--orange-text: #b25000;

	--brand-vault: #5d42c5;
	--brand-registry: #1d9f4f;
	--brand-cli: #2376e3;
	--brand-firewall: #f2270c;

	--shadow-float: 0 18px 40px rgba(60, 58, 120, 0.16), 0 0 0 1px rgba(28, 28, 30, 0.05);
	--shadow-card: 0 12px 30px rgba(60, 58, 120, 0.14), 0 0 0 1px rgba(28, 28, 30, 0.06);
	--shadow-tile: 0 10px 28px rgba(60, 58, 120, 0.12), 0 0 0 1px rgba(28, 28, 30, 0.06);

	--gutter: 40px;
	--content: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--sans);
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

h1,
h2,
h3,
p {
	margin: 0;
}

code,
kbd,
pre {
	font-family: var(--mono);
}

p code,
h3 code {
	font-size: 0.93em;
}

.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.i {
	flex: none;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.i-solid {
	fill: currentColor;
	stroke: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 20;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

/* Page frame */

.shell {
	min-height: 100vh;
	margin: 0 auto;
	padding: 16px;
	overflow-x: clip;
	background: radial-gradient(900px 500px at 50% 0%, var(--page-glow) 0%, var(--page) 70%);
}

.frame {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
	border-radius: 20px;
	background: var(--surface);
	box-shadow: 0 1px 0 rgba(28, 28, 30, 0.04), 0 30px 80px rgba(60, 58, 120, 0.1);
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-sm {
	height: 38px;
	padding: 0 16px;
	font-size: 13.5px;
}

.btn-sm .i {
	width: 14px;
	height: 14px;
}

.btn-lg {
	height: 46px;
	padding: 0 20px;
	font-size: 14.5px;
}

.btn-lg .i {
	width: 15px;
	height: 15px;
}

.btn-dark {
	background: var(--ink);
	color: #fff;
}

.btn-dark:hover {
	background: var(--accent);
}

.btn-lift {
	box-shadow: 0 10px 30px rgba(28, 28, 30, 0.25);
}

.btn-outline {
	padding: 0 18px;
	border-color: var(--line);
	color: var(--ink-2);
}

.btn-outline:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn-light,
.btn-ghost-dark {
	height: 44px;
	padding: 0 18px;
	font-size: 14px;
}

.btn-light {
	background: #fff;
	color: var(--ink);
}

.btn-light:hover {
	background: var(--accent-soft);
}

.btn-ghost-dark {
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.btn-ghost-dark:hover {
	border-color: #fff;
}

/* Top bar */

.topbar {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 22px var(--gutter);
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
}

.brand-logo {
	flex: none;
	width: 28px;
	height: 28px;
}

.mark-vault { color: var(--brand-vault); }
.mark-registry { color: var(--brand-registry); }
.mark-cli { color: var(--brand-cli); }
.mark-firewall { color: var(--brand-firewall); }

.brand-name {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.topnav {
	display: flex;
	gap: 24px;
	margin-left: auto;
	font-size: 14px;
	color: var(--ink-2);
}

.topnav a {
	transition: color 0.15s ease;
}

.topnav a:hover {
	color: var(--ink);
}

/* Hero */

.hero {
	position: relative;
	padding: 72px var(--gutter) 0;
}

.hero-glow {
	position: absolute;
	top: 62%;
	left: 50%;
	width: 900px;
	height: 420px;
	background: radial-gradient(closest-side, rgba(120, 170, 255, 0.35), rgba(94, 92, 230, 0.18) 55%, rgba(255, 255, 255, 0) 100%);
	filter: blur(30px);
	transform: translateX(-50%);
	pointer-events: none;
}

.hero-copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.pill {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 30px;
	padding: 0 12px 0 8px;
	border: 1px solid var(--line-soft);
	border-radius: 15px;
	background: var(--surface-sunken);
	color: var(--ink-2);
	font-size: 12.5px;
}

.pill-tag {
	display: flex;
	align-items: center;
	height: 18px;
	padding: 0 7px;
	border-radius: 9px;
	background: var(--accent);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero h1 {
	color: var(--ink);
	font-size: 64px;
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.lede {
	max-width: 560px;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.5;
	text-wrap: pretty;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 4px;
}

/* Hero: floating environment chips */

.flyers {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: none;
	pointer-events: none;
}

@media (min-width: 1212px) {
	.flyers {
		display: block;
	}
}

.flyer {
	position: absolute;
	animation: float var(--float-duration) ease-in-out var(--float-delay) infinite;
}

.flyer-0 { top: 190px; left: calc(50% - 600px); --tilt: -7deg; --float-duration: 6s; --float-delay: 0s; }
.flyer-1 { top: 440px; left: calc(50% - 640px); --tilt: 5deg; --float-duration: 7s; --float-delay: -2s; }
.flyer-2 { top: 330px; left: calc(50% - 500px); --tilt: -3deg; --float-duration: 6.5s; --float-delay: -4s; }
.flyer-3 { top: 170px; right: calc(50% - 590px); --tilt: 6deg; --float-duration: 7.5s; --float-delay: -1s; }
.flyer-4 { top: 320px; right: calc(50% - 480px); --tilt: -5deg; --float-duration: 6.2s; --float-delay: -3s; }
.flyer-5 { top: 450px; right: calc(50% - 640px); --tilt: 4deg; --float-duration: 7.2s; --float-delay: -5s; }

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.flyer {
		animation: none;
	}
}

.flyer-move {
	will-change: transform;
}

.flyer-chip {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border-radius: 22px;
	background: var(--surface);
	transform: rotate(var(--tilt));
}

.flyer-chip::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: var(--shadow-float);
	opacity: var(--lift, 1);
	pointer-events: none;
}

.flyer-name {
	color: var(--ink);
	font-family: var(--mono);
	font-size: 15px;
	font-weight: 600;
}

.flyer-count {
	color: var(--ghost);
	font-family: var(--mono);
	font-size: 12px;
}

.swatch {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 3px;
}

.swatch-sm {
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 2px;
}

.swatch-green { background: var(--green); }
.swatch-orange { background: var(--orange); }
.swatch-red { background: var(--red); }
.swatch-json { width: 8px; height: 8px; background: #f4b400; }

.dot {
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }
.dot-red { background: var(--red); }

/*
 * Scroll-driven flight state at the top of the page. site.js takes over from
 * here, so these values must match its progress = 0 frame.
 */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (min-width: 1212px) {
	.app {
		transform: translateY(28px) scale(0.95);
	}

	.hero [data-flyer-target] {
		opacity: 0.12;
	}

	.side-env.is-current {
		background: transparent;
	}

	.hero.is-landed .side-env.is-current {
		background: var(--accent-soft);
	}
}

/* Hero: app window */

.app {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	max-width: var(--content);
	height: 560px;
	margin: 84px auto 0;
	overflow: hidden;
	border-radius: 20px;
	background: var(--surface);
	box-shadow: 0 -1px 0 rgba(28, 28, 30, 0.04), 0 30px 80px rgba(60, 58, 120, 0.22), 0 0 0 1px rgba(28, 28, 30, 0.08);
	transform-origin: 50% 0;
	user-select: none;
}

.app-titlebar {
	display: flex;
	flex: none;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 14px;
	border-bottom: 1px solid var(--line-bar);
	background: var(--surface-sunken);
}

.traffic {
	display: flex;
	flex: none;
	gap: 8px;
}

.traffic span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ff5f57;
}

.traffic span:nth-child(2) { background: #febc2e; }
.traffic span:nth-child(3) { background: #28c840; }

.app-crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin-left: 8px;
	color: var(--subtle);
	font-size: 13px;
	white-space: nowrap;
}

.app-crumb b {
	color: var(--ink);
	font-weight: 600;
}

.app-logo {
	flex: none;
	width: 20px;
	height: 20px;
}

.vault-chip {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 22px;
	padding: 0 8px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #e7e6ee;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 10.5px;
	white-space: nowrap;
}

.vault-chip .i {
	width: 11px;
	height: 11px;
	color: var(--accent);
}

.app-actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.bar-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: var(--surface);
	color: var(--ink-2);
	font-size: 12px;
	white-space: nowrap;
}

.bar-btn .i {
	width: 12px;
	height: 12px;
	stroke-width: 1.9;
}

.bar-btn kbd {
	color: #a8a8ae;
	font-size: 10px;
}

.app-body {
	display: flex;
	flex: 1;
	min-height: 0;
}

.app-side {
	display: flex;
	flex: none;
	flex-direction: column;
	width: 280px;
	border-right: 1px solid var(--line-soft);
	background: var(--surface-soft);
}

.side-search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 30px;
	margin: 14px 14px 10px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--faint);
	font-size: 12.5px;
}

.side-search .i {
	width: 13px;
	height: 13px;
}

.side-search kbd {
	margin-left: auto;
	color: #b0b0b6;
	font-size: 10px;
}

.side-label {
	padding: 2px 16px 6px;
	color: var(--faint);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.side-list + .side-label {
	padding-top: 16px;
}

.side-list {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 0 8px;
}

.side-row {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 9px;
	border-radius: 7px;
	color: var(--ink-2);
	font-size: 13px;
}

.side-row .i {
	width: 14px;
	height: 14px;
	color: var(--faint);
}

.side-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.side-count {
	margin-left: auto;
	color: var(--ghost);
	font-family: var(--mono);
	font-size: 10.5px;
}

.side-row.is-active {
	background: var(--accent-soft);
}

.side-row.is-active .side-name {
	color: #2c2b4a;
	font-weight: 600;
}

.side-row.is-active .i,
.side-row.is-active .side-count {
	color: var(--accent);
}

.side-envs {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 2px 0 6px 26px;
}

.side-env {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 28px;
	padding: 0 9px;
	border-radius: 6px;
	color: var(--ink-2);
	font-family: var(--mono);
	font-size: 11.5px;
}

.side-env.is-current {
	background: var(--accent-soft);
}

.side-env-count {
	margin-left: auto;
	color: var(--ghost);
	font-size: 10.5px;
}

.view-glyph {
	flex: none;
	width: 14px;
	font-size: 13px;
	text-align: center;
}

.view-drift { color: var(--orange); }
.view-missing { color: var(--red); }

.view-badge {
	margin-left: auto;
	padding: 1px 6px;
	border-radius: 8px;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
}

.view-badge-drift { background: var(--orange); }
.view-badge-missing { background: var(--red); }

.side-account {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding: 12px 14px;
	border-top: 1px solid var(--line-soft);
	background: var(--surface-sunken);
}

.avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #d9d8e4;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
}

.account-text {
	display: flex;
	flex-direction: column;
}

.account-text b {
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
}

.account-text small {
	color: var(--faint);
	font-size: 10.5px;
}

.app-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	background: var(--surface);
}

.main-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 20px 12px;
	border-bottom: 1px solid var(--line-faint);
}

.main-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.main-title {
	color: var(--ink);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.015em;
	white-space: nowrap;
}

.main-meta {
	color: var(--subtle);
	font-size: 12.5px;
	white-space: nowrap;
}

.main-tools {
	display: flex;
	gap: 6px;
	margin-left: auto;
}

.tool-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 27px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 7px;
	color: var(--ink-2);
	font-size: 12px;
	white-space: nowrap;
}

.tool-btn .i {
	width: 12px;
	height: 12px;
	stroke-width: 1.9;
}

.tool-icon {
	justify-content: center;
	width: 27px;
	padding: 0;
}

.tool-icon .i {
	width: 13px;
	height: 13px;
}

.tool-primary {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
	font-weight: 600;
}

.tool-primary .i {
	stroke-width: 2.4;
}

.filter-row {
	display: flex;
	gap: 6px;
}

.filter {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 11px;
	border: 1px solid var(--line);
	border-radius: 13px;
	color: var(--ink-2);
	font-size: 12px;
	white-space: nowrap;
}

.filter.is-on {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
	font-weight: 600;
}

.mx-row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	height: 44px;
	border-bottom: 1px solid var(--line-row);
}

.mx-row.is-selected {
	background: #f6f5fd;
}

.mx-head {
	align-items: center;
	height: 34px;
	border-bottom-color: var(--line-soft);
	background: var(--surface-head);
}

.mx-head .mx-key {
	color: var(--quiet);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.mx-key {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 0 20px;
}

.key-name {
	min-width: 0;
	overflow: hidden;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mx-row.is-selected .key-name {
	font-weight: 700;
}

.mx-env-cell {
	display: flex;
	align-items: center;
	height: 100%;
	min-width: 0;
	padding: 0 8px;
	border-left: 1px solid var(--line-faint);
}

.mx-env-cell.is-editing {
	background: #fff5f4;
}

.mx-env {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	height: 24px;
	padding: 0 6px;
	border-radius: 6px;
	color: var(--ink-2);
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 700;
	white-space: nowrap;
}

.mx-env .swatch-sm {
	width: 7px;
	height: 7px;
}

.mx-env-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mx-env .i {
	width: 10px;
	height: 10px;
	color: var(--accent);
}

.mx-val {
	min-width: 0;
	padding: 0 14px;
	overflow: hidden;
	border-left: 1px solid var(--line-row);
	color: var(--ink-2);
	font-family: var(--mono);
	font-size: 12px;
	line-height: 43px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mx-val.is-masked {
	color: var(--quiet);
	letter-spacing: 0.1em;
	text-overflow: clip;
}

.mx-val.is-editing {
	background: #fffaf9;
}

.mx-val.is-unset {
	color: var(--red-text);
	font-weight: 600;
}

.mx-val.is-editing.is-unset {
	background: #fff2f1;
}

/* Sections */

.section {
	max-width: calc(var(--content) + 2 * var(--gutter));
	margin-inline: auto;
	padding: 112px var(--gutter) 40px;
}

.section-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 640px;
}

.eyebrow {
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.eyebrow-dark {
	color: var(--accent-on-dark);
}

h2 {
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.section-lede {
	max-width: 460px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.5;
	text-wrap: pretty;
}

/* Features */

#features .section-head {
	align-items: center;
	justify-content: center;
	margin: 0 auto 40px;
	text-align: center;
}

.bento {
	overflow: hidden;
	border: 1px solid var(--line-faint);
	border-radius: 24px;
	background: var(--surface-soft);
}

.bento-row {
	display: grid;
	gap: 1px;
	background: var(--line-faint);
}

.bento-row-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid var(--line-faint);
}

.bento-row-2 {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.tile {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
	min-height: 360px;
	padding: 32px;
	background: var(--surface-soft);
}

.tile-art {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.tile-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tile h3 {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.tile p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
	text-wrap: pretty;
}

.mini-matrix {
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: var(--surface);
	box-shadow: 0 14px 34px rgba(60, 58, 120, 0.12), 0 0 0 1px rgba(28, 28, 30, 0.06);
}

.mini-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	border-bottom: 1px solid var(--line-row);
	color: var(--ink-2);
	font-family: var(--mono);
	font-size: 11px;
}

.mini-row:last-child {
	border-bottom: 0;
}

.mini-row.is-masked {
	color: var(--quiet);
}

.mini-head {
	height: 30px;
	border-bottom-color: var(--line-soft);
	background: var(--surface-head);
	color: var(--quiet);
	font-size: 10px;
	font-weight: 700;
}

.mini-key {
	color: var(--ink);
	font-weight: 700;
}

.text-green { color: var(--green-text); }
.text-orange { color: var(--orange-text); }
.text-red { color: var(--red-text); }

.tile-art-rings::before,
.tile-art-rings::after {
	content: "";
	position: absolute;
	border: 1px solid var(--line-soft);
	border-radius: 50%;
}

.tile-art-rings::before {
	width: 300px;
	height: 300px;
}

.tile-art-rings::after {
	width: 200px;
	height: 200px;
}

.drift-cards {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 300px;
}

.drift-card {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	background: var(--surface);
	box-shadow: var(--shadow-card);
	color: var(--ink);
	font-size: 12.5px;
}

.drift-card .dot {
	width: 8px;
	height: 8px;
}

.drift-card-a { transform: rotate(-3deg); }
.drift-card-b { transform: rotate(2deg); }

.drift-key {
	min-width: 0;
	overflow: hidden;
	font-family: var(--mono);
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.drift-state {
	flex: none;
	margin-left: auto;
	color: var(--quiet);
	white-space: nowrap;
}

.drift-state-missing {
	color: var(--red-text);
	font-weight: 600;
}

.tile-art-lock {
	border-radius: 12px;
	background-image: repeating-linear-gradient(90deg, #e9e8f0 0 1px, transparent 1px 40px);
}

.ghost-card {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 120px;
	height: 150px;
	padding: 14px;
	border-radius: 14px;
	background: var(--surface);
	box-shadow: 0 10px 30px rgba(60, 58, 120, 0.1), 0 0 0 1px rgba(28, 28, 30, 0.05);
}

.ghost-card-a { transform: rotate(-8deg) translateX(-70px); }
.ghost-card-b { transform: rotate(8deg) translateX(70px); }

.ghost-card span {
	height: 6px;
	border-radius: 3px;
	background: var(--line-soft);
}

.ghost-card span:first-child {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: var(--accent-soft);
}

.ghost-card span:last-child {
	width: 60%;
}

.lock-badge {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 22px;
	background: var(--accent-gradient);
	box-shadow: 0 18px 40px rgba(94, 92, 230, 0.4);
	color: #fff;
}

.lock-badge .i {
	width: 38px;
	height: 38px;
	stroke-width: 2.2;
}

.term {
	overflow: hidden;
	border-radius: 12px;
}

.term-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
}

.term-body {
	margin: 0;
	overflow-x: auto;
	font-size: 13px;
	white-space: pre;
}

.term-body code {
	font-size: inherit;
}

.term-dark {
	width: 100%;
	max-width: 620px;
	background: var(--ink);
	box-shadow: 0 20px 50px rgba(28, 28, 30, 0.3);
}

.term-dark .term-bar {
	height: 34px;
	background: #2a2a2e;
}

.term-dark .traffic span {
	width: 10px;
	height: 10px;
}

.term-dark .term-title {
	margin-left: 8px;
	color: #9a9aa0;
	font-size: 11px;
}

.term-dark .term-body {
	padding: 18px 20px;
	color: #d1d1d6;
	line-height: 1.8;
}

.term-dark b,
.term-dark .t-cmd,
.term-dark .t-file {
	color: #fff;
}

.term-dark .t-prompt,
.term-dark .t-dim {
	color: #8e8e93;
}

.t-flag { color: var(--accent-on-dark); }
.t-ok { color: var(--green); }

.io-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 260px;
}

.io-row {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 14px;
	border-radius: 10px;
	background: var(--surface);
	box-shadow: var(--shadow-tile);
}

.io-row .i {
	width: 14px;
	height: 14px;
	color: var(--accent);
}

.io-name {
	color: var(--ink);
	font-family: var(--mono);
	font-size: 12.5px;
}

.io-state {
	margin-left: auto;
	color: var(--quiet);
	font-size: 11px;
}

.io-state-ok {
	color: var(--green-text);
	font-weight: 600;
}

.io-state-mono {
	color: var(--quiet);
	font-family: var(--mono);
	font-size: 10px;
}

/* How it works */

.how {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	align-items: center;
	gap: 64px;
}

.how-copy {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.steps {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	display: flex;
	gap: 18px;
}

.step-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--accent-soft);
	color: var(--accent);
}

.step-icon .i {
	width: 18px;
	height: 18px;
}

.step-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.step h3 {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.step p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
	text-wrap: pretty;
}

.how-art {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	min-height: 460px;
}

.how-glow {
	position: absolute;
	inset: -20px -10px;
	background: radial-gradient(closest-side, rgba(94, 92, 230, 0.14), rgba(94, 92, 230, 0));
	pointer-events: none;
}

.editor {
	position: relative;
	margin-right: 40px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--surface);
	box-shadow: 0 20px 50px rgba(60, 58, 120, 0.14), 0 0 0 1px rgba(28, 28, 30, 0.08);
}

.editor-bar,
.term-light .term-bar {
	height: 40px;
	border-bottom: 1px solid var(--line-bar);
	background: var(--surface-sunken);
}

.editor-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
}

.editor-bar .traffic,
.term-light .traffic {
	gap: 7px;
}

.editor-bar .traffic span,
.term-light .traffic span {
	width: 11px;
	height: 11px;
}

.editor-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	color: var(--quiet);
	font-family: var(--mono);
	font-size: 12px;
	white-space: nowrap;
}

.editor-tab.is-active {
	margin-left: 10px;
	border-right: 1px solid var(--line-bar);
	border-left: 1px solid var(--line-bar);
	background: var(--surface);
	color: var(--ink);
}

.editor-body {
	margin: 0;
	padding: 14px 16px 18px 0;
	overflow-x: auto;
	color: var(--ink-2);
	font-size: 13px;
	line-height: 1.8;
	white-space: pre;
}

.editor-body code {
	font-size: inherit;
}

.code-line {
	display: block;
	padding-left: 36px;
	text-indent: -36px;
}

.ln {
	display: inline-block;
	width: 36px;
	padding-right: 12px;
	color: #b0b0b6;
	font-size: 11.5px;
	text-align: right;
	text-indent: 0;
	user-select: none;
}

.j-key { color: var(--accent); }
.j-str { color: #1a7f37; }

.term-light {
	position: relative;
	margin: -28px 0 0 40px;
	border-radius: 14px;
	background: var(--surface);
	box-shadow: 0 24px 60px rgba(60, 58, 120, 0.18), 0 0 0 1px rgba(28, 28, 30, 0.08);
}

.term-light .term-title {
	margin-left: 10px;
	color: var(--quiet);
	font-family: var(--mono);
	font-size: 12px;
}

.term-light .term-body {
	padding: 16px 18px 20px;
	color: var(--ink-2);
	line-height: 1.9;
}

.term-light b {
	color: var(--ink);
}

.term-light .t-prompt { color: var(--faint); }
.term-light .t-dim { color: var(--quiet); }

.t-cursor {
	display: inline-block;
	width: 8px;
	height: 15px;
	background: var(--accent);
	vertical-align: -2px;
}

@media (prefers-reduced-motion: no-preference) {
	.t-cursor {
		animation: blink 1.1s steps(1, end) infinite;
	}
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

/* Security */

.security {
	padding-bottom: 112px;
}

.security-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
	padding: 64px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--ink);
	color: #fff;
}

.security-glow {
	position: absolute;
	top: -120px;
	right: -120px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(94, 92, 230, 0.55), rgba(94, 92, 230, 0));
	pointer-events: none;
}

.security-copy {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.security-copy p:not(.eyebrow) {
	max-width: 480px;
	color: #aeaeb2;
	font-size: 16px;
	line-height: 1.55;
	text-wrap: pretty;
}

.security-copy code {
	color: #fff;
}

.security-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.facts {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	color: #f2f2f7;
	font-size: 14px;
	line-height: 1.4;
}

.fact-tag {
	color: var(--accent-on-dark);
	font-family: var(--mono);
	font-size: 12px;
}

/* Closing and footer */

.closing {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 0 var(--gutter);
	text-align: center;
}

.closing-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.requirements {
	color: var(--quiet);
	font-size: 13px;
}

.footer {
	width: min(var(--content), 100% - 2 * var(--gutter));
	margin: 64px auto 0;
	border-top: 1px solid var(--line-faint);
	color: var(--quiet);
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
	gap: 40px;
	padding: 48px 0 52px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 300px;
}

.footer-brand p {
	font-size: 14px;
	line-height: 1.55;
	text-wrap: pretty;
}

.footer-nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.footer-heading {
	margin-bottom: 16px;
	color: var(--quiet);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	list-style: none;
}

.footer-list li {
	display: flex;
}

.footer-list a {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	transition: color 0.15s ease;
}

.footer-list a:hover {
	color: var(--ink);
}

.footer-icon-link {
	gap: 10px;
}

.footer-mark {
	flex: none;
	width: 20px;
	height: 20px;
}

.footer-social {
	fill: currentColor;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
	padding: 20px 0 36px;
	border-top: 1px solid var(--line-faint);
	font-size: 13px;
}

/* Responsive */

@media (max-width: 1100px) {
	.tool-label {
		display: none;
	}

	.tool-btn {
		justify-content: center;
		width: 27px;
		padding: 0;
	}
}

@media (max-width: 960px) {
	.footer-main {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.bento-row-3,
	.bento-row-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.tile {
		min-height: 320px;
	}

	.security-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		padding: 48px;
	}

	h2 {
		font-size: 34px;
	}
}

@media (max-width: 820px) {
	.topnav {
		display: none;
	}

	.topbar .btn {
		margin-left: auto;
	}

	.app-side {
		display: none;
	}

	.app {
		height: auto;
	}

	.vault-chip {
		display: none;
	}
}

@media (max-width: 640px) {
	:root {
		--gutter: 18px;
	}

	.shell {
		padding: 8px;
	}

	.frame {
		border-radius: 16px;
	}

	.topbar {
		gap: 16px;
		padding-block: 16px;
	}

	.hero {
		padding-top: 48px;
	}

	.hero-copy {
		gap: 18px;
	}

	.hero h1 {
		font-size: clamp(38px, 11vw, 52px);
	}

	.lede {
		font-size: 16.5px;
	}

	.cta-row {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 340px;
	}

	.app {
		margin-top: 48px;
	}

	.app-crumb > span:last-child,
	.bar-btn kbd {
		display: none;
	}

	.main-head {
		padding: 14px 12px 10px;
	}

	.main-meta,
	.tool-icon {
		display: none;
	}

	.mx-row {
		grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	}

	.mx-key {
		padding: 0 10px;
	}

	.key-name {
		font-size: 11px;
	}

	.mx-row .dot {
		display: none;
	}

	.mx-env-cell {
		padding: 0 2px;
	}

	.mx-env {
		font-size: 10.5px;
	}

	.mx-env .i {
		display: none;
	}

	.mx-val {
		padding: 0 8px;
		font-size: 11px;
	}

	.section {
		padding-top: 80px;
		padding-bottom: 24px;
	}

	h2 {
		font-size: 30px;
	}

	#features .section-head {
		margin-bottom: 28px;
	}

	.bento {
		border-radius: 18px;
	}

	.tile {
		min-height: 0;
		padding: 24px;
	}

	.tile-art {
		min-height: 200px;
	}

	.how {
		gap: 40px;
	}

	.how-art {
		min-height: 0;
	}

	.editor {
		margin-right: 0;
	}

	.editor-tab:not(.is-active) {
		display: none;
	}

	.term-light {
		margin: -20px 0 0 16px;
	}

	.term-body,
	.editor-body {
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}

	.term-dark .term-body {
		padding: 16px;
	}

	.editor-body {
		padding-right: 12px;
	}

	.security {
		padding-bottom: 72px;
	}

	.security-panel {
		padding: 32px 22px;
		border-radius: 18px;
	}

	.facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.closing h2 {
		font-size: 30px;
	}

	.footer {
		margin-top: 48px;
	}

	.footer-main {
		padding: 36px 0 40px;
	}

	.footer-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.footer-bottom {
		padding-bottom: 28px;
	}
}

@media (max-width: 420px) {
	.app-actions .bar-btn:first-child {
		display: none;
	}

	.term-body,
	.editor-body {
		font-size: 12px;
	}
}
.website-privacy {
  max-width: 820px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.website-privacy p { margin: 0 0 8px; }
.analytics-choice {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.analytics-choice:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.analytics-choice:disabled { cursor: default; text-decoration: none; }
