/* A style demo: switcher chips over the sky, the live calculator in a frame below. */

.demo-hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	padding-bottom: clamp(16px, 3cqi, 40px);
}

.demo-hero .lead {
	max-width: 640px;
}

.demo-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-3);
}

.demo-crumbs a {
	color: var(--ink-2);
	text-decoration: none;
}

.demo-crumbs a:hover {
	color: var(--accent);
}

.demo-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.demo-switch .chip {
	background: rgba(255, 255, 255, 0.82);
}

.demo-switch .chip.is-active {
	background: var(--ink);
}

.demo-switch__new {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.demo-stage {
	padding-top: clamp(28px, 4cqi, 48px);
}

.demo-frame {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(14px, 2.4cqi, 32px);
	border-radius: 32px;
	background: #FFFFFF;
	box-shadow: var(--shadow-card);
}

.demo-frame__empty {
	padding: 48px 16px;
	text-align: center;
	color: var(--ink-3);
}

.demo-note {
	max-width: 720px;
	margin: 22px auto 0;
	text-align: center;
}

/* Soft draws its own white card; a dark color scheme needs a dark backdrop. */
.demo-frame--bare {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.demo-frame--dark {
	background: var(--night);
}
