/* ZHIHONG UI 2.0 — containers, section rhythm and shared layout primitives. */
.zh-ui2-container {
	inline-size: min(100% - (2 * var(--zh-ui2-gutter)), var(--zh-ui2-container));
	margin-inline: auto;
}

.zh-ui2-section { padding-block: var(--zh-ui2-section); }
.zh-ui2-section--surface { background: var(--zh-ui2-surface); }

.zh-ui2-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-block-end: clamp(2rem, 4vw, 3.5rem);
}

.zh-ui2-section-head > div { max-inline-size: 760px; }
.zh-ui2-section-head :where(h2, p) { margin-block: 0; }
.zh-ui2-section-head h2 { margin-block-start: 0.75rem; }
.zh-ui2-section-head h2 + p { margin-block-start: 1rem; }

.zh-ui2-home h1,
.zh-ui2-home h2,
.zh-ui2-home h3,
.zh-ui2-footer h2 {
	color: var(--zh-ui2-ink);
	font-family: var(--zh-ui2-font);
	font-weight: 780;
	letter-spacing: -0.035em;
	line-height: 1.06;
}

.zh-ui2-home h1 { font-size: clamp(2.65rem, 4.35vw, 4.35rem); margin-block: 0; }
.zh-ui2-home h2 { font-size: clamp(2.15rem, 3.7vw, 3.6rem); margin-block: 0; }
.zh-ui2-home h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; }
.zh-ui2-home p { color: var(--zh-ui2-muted); font-size: 1rem; line-height: 1.7; }

.zh-ui2-eyebrow {
	color: var(--zh-ui2-green);
	font-family: var(--zh-ui2-mono);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.4;
	margin-block: 0 0.9rem;
	text-transform: uppercase;
}

.zh-ui2-lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-inline-size: 650px; }
.zh-ui2-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
