.lead-label {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin: 0 0 1.25rem;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
}

.lead-label::before {
	content: '';
	width: 2.75rem;
	height: 1px;
	background: var(--line-hi);
}

.guide {
	padding: 3.5rem 0 4.5rem;
}

.guide h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 4.25rem);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.028em;
}

.guide .lede {
	margin: 1.25rem 0 0;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.72;
}

.metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 2rem;
	background: var(--line);
	border: 1px solid var(--line-hi);
	border-radius: 12px;
	overflow: hidden;
}

.metric {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1rem 1.15rem;
	background: #f8faf9;
}

.metric strong {
	font-family: var(--font-display);
	font-weight: 400;
	font-style: italic;
	font-size: 1.35rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.metric span {
	color: var(--dim);
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.5625rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.45;
}

.panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 14px;
}

.panel {
	padding: 1.35rem 1.4rem 1.45rem;
	border: 1px solid var(--line-hi);
	border-radius: 12px;
	background: #f8faf9;
}

.panel small {
	display: block;
	margin-bottom: 0.55rem;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #047857;
}

.panel.avoid small {
	color: #be123c;
}

.guide .body {
	margin-top: 2.25rem;
}

.guide .body h2 {
	margin: 2.1rem 0 0.7rem;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	font-weight: 500;
	letter-spacing: -0.02em;
}

.guide .body h2:first-child {
	margin-top: 0;
}

.guide .body p,
.guide .body li {
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.72;
}

.guide .body p {
	margin: 0.7rem 0 0;
}

.guide .body ul,
.guide .body ol {
	margin: 0.7rem 0 0;
	padding-left: 1.25rem;
}

.guide .body li + li {
	margin-top: 0.4rem;
}

.guide .body pre {
	margin: 0.85rem 0 0;
	padding: 0.95rem 1rem;
	overflow: auto;
	border: 1px solid var(--line-hi);
	border-radius: 10px;
	background: #f8faf9;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.75rem;
	line-height: 1.65;
	color: var(--ink);
}

.guide .body pre code {
	font-size: inherit;
}

.panel p {
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

.panel code,
.guide code {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.8125em;
	color: var(--ink);
}

.guide .body a,
.guide .faq a {
	color: inherit;
	text-underline-offset: 0.15em;
}

.guide .faq {
	margin-top: 2.5rem;
}

.guide .faq h2 {
	margin-top: 0;
}

.guide .faq h3 {
	margin: 1.35rem 0 0.35rem;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.library {
	margin-top: 3rem;
}

.library h2 {
	margin: 0.35rem 0 1rem;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 400;
	letter-spacing: -0.026em;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 14px;
}

.card {
	display: block;
	min-height: 7.5rem;
	padding: 1.15rem 1.25rem 1.2rem;
	border: 1px solid var(--line-hi);
	border-radius: 12px;
	background: #f8faf9;
	text-decoration: none;
	color: inherit;
}

.card:hover {
	border-color: var(--ink);
}

.card-type {
	color: #e14a0e;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.card h3 {
	margin: 0.7rem 0 0.4rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.card p {
	margin: 0;
	color: var(--dim);
	font-size: 0.75rem;
	line-height: 1.55;
}

.stage .library {
	margin-top: 2.75rem;
}

@media (max-width: 720px) {
	.metrics,
	.panels,
	.cards {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
