/* Archivo 800 headlines, Instrument Sans body, JetBrains Mono meta. */

h1,
.rrt-h1 {
	font-family: var(--rrt-font-display);
	font-size: var(--rrt-fs-h1);
	font-weight: var(--rrt-font-weight-bold);
	line-height: var(--rrt-lh-tight);
	letter-spacing: var(--rrt-tracking-tight);
}

h2,
.rrt-h2 {
	font-family: var(--rrt-font-display);
	font-size: var(--rrt-fs-h2);
	font-weight: var(--rrt-font-weight-bold);
	line-height: var(--rrt-lh-snug);
	letter-spacing: var(--rrt-tracking-tight);
}

h3,
.rrt-h3 {
	font-family: var(--rrt-font-display);
	font-size: var(--rrt-fs-h3);
	font-weight: var(--rrt-font-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

h4,
.rrt-h4 {
	font-size: var(--rrt-fs-h4);
	font-weight: var(--rrt-font-weight-medium);
	line-height: var(--rrt-lh-snug);
}

p,
ul,
ol {
	font-size: var(--rrt-fs-body);
	line-height: var(--rrt-lh-relaxed);
}

p + p,
p + ul,
p + ol,
ul + p,
ol + p {
	margin-top: var(--rrt-space-md);
}

small,
.rrt-text-small {
	font-size: var(--rrt-fs-small);
}

.rrt-text-eyebrow {
	font-family: var(--rrt-font-mono);
	font-size: var(--rrt-fs-eyebrow);
	font-weight: var(--rrt-font-weight-regular);
	color: var(--rrt-color-text-muted);
}

/* Editor / WYSIWYG flow — applied to wrappers around editor output. */
.rrt-prose > * + * {
	margin-top: var(--rrt-space-md);
}

.rrt-prose h2 {
	margin-top: var(--rrt-space-2xl);
}

.rrt-prose h3 {
	margin-top: var(--rrt-space-xl);
}

.rrt-prose ul,
.rrt-prose ol {
	padding-left: var(--rrt-space-lg);
}

.rrt-prose blockquote {
	padding-left: var(--rrt-space-lg);
	border-left: 2px solid var(--rrt-color-border);
	font-style: italic;
	color: var(--rrt-color-text-muted);
}
