:root {
	--bg: #ffffff;
	--bg-alt: #f6f7f9;
	--text: #1e1e1e;
	--muted: #5b6270;
	--line: #e2e4e8;
	--accent: #3858e9;
	--accent-text: #ffffff;
	--accent-soft: #eef1fd;
	--code-bg: #16181d;
	--code-text: #e6e8ec;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .10);
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #121418;
		--bg-alt: #1a1d23;
		--text: #eceef2;
		--muted: #a3a9b6;
		--line: #2c3039;
		--accent: #7b93ff;
		--accent-text: #0e1220;
		--accent-soft: #1f2640;
		--code-bg: #0b0c0f;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .4);
		color-scheme: dark;
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
:not(pre) > code { background: var(--accent-soft); padding: .1em .35em; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
section { padding: 72px 0; }
section:nth-of-type(even) { background: var(--bg-alt); }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--text); }

.hero { padding-top: 64px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.meta { color: var(--muted); font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.center .actions { justify-content: center; }
.button {
	display: inline-block; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--accent);
	background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button-ghost { background: transparent; color: var(--accent); }
.button-muted { background: transparent; border-color: var(--line); color: var(--muted); cursor: default; }
.button-muted:hover { filter: none; }

.shot { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.shot-hero { margin-top: 40px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; gap: 48px; }
.steps > li { counter-increment: step; display: grid; gap: 24px; }
.step-text { max-width: 760px; position: relative; padding-left: 56px; }
.step-text::before {
	content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
	background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center;
}
.steps .shot { max-width: 900px; margin-left: 56px; }
.step-text p, .split p, .cli p, .problem p { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }

.grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid li { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.grid p { color: var(--muted); font-size: .95rem; margin: 0; }

pre { margin: 0; background: var(--code-bg); color: var(--code-text); border-radius: 10px; padding: 20px; overflow-x: auto; font-size: .9rem; line-height: 1.7; }
pre .c { color: #8a93a6; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 12px 0 0; }

.foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .95rem; }
.foot p { margin: 0 0 .4em; }
.small { font-size: .85rem; }

@media (max-width: 800px) {
	section { padding: 48px 0; }
	.two-col { grid-template-columns: 1fr; gap: 24px; }
	.top nav a:not(:last-child) { display: none; }
	.step-text { padding-left: 48px; }
	.steps .shot { margin-left: 0; }
}
