/* Headings and the text styles pages share. */

h1 {
	margin: 0 0 var(--s3);
	font-size: clamp(28px, 5vw, 44px);
	letter-spacing: -0.012em;
}

h2 {
	margin: 0 0 var(--s4);
	font-size: clamp(18px, 2.6vw, 22px);
	letter-spacing: 0.02em;
}

h3 {
	margin: 0 0 var(--s2);
	font-size: 1.1rem;
	font-weight: 500;
}

h4 {
	margin: 0 0 var(--s2);
	font-size: 0.9rem;
	font-weight: 600;
}

.lead {
	margin: 0 0 var(--s4);
	color: var(--muted);
	max-width: 64ch;
}

.mono {
	font-family: var(--font-mono);
	font-size: 0.92rem;
	color: var(--muted);
}

.quiet {
	color: var(--muted);
}

.meta {
	font-size: 0.85rem;
	margin: var(--s2) 0;
}

.block-text {
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	color: var(--muted);
	padding-bottom: 6px;
	border-bottom: 1px solid var(--hairline);
	display: inline-block;
	margin-bottom: var(--s6);
	user-select: none;
	--selection-line: none;
}

.left-rule {
	border-left: 2px solid var(--accent);
	padding-left: var(--s5);
	max-width: 70ch;
}

nobr {
	white-space: nowrap;
}

@media (max-height: 480px) {
	.block-text {
		margin-bottom: var(--s4);
	}
}

/* Lucide copyright icon in place of the ©, which Comic Mono lacks. 0.8em
   matches the capital height, and the offset centres it on the capitals. */
.copyright-icon {
	width: 0.8em;
	height: 0.8em;
	vertical-align: -0.054em;
}
