/* Brand skin for the hero demo. Loaded after demo/css/demo.css, which is never edited.
   Only the demo's own --fop-* variables and font-family are set here. */
.fop-demo {
	--fop-ink: var(--c-navy);
	--fop-muted: var(--c-slate);
	--fop-card: var(--c-white);
	--fop-line: var(--c-line);
	--fop-accent: var(--c-teal-600);
	--fop-accent-ink: var(--c-white);
	--fop-urgent: var(--st-failed-fg);
	--fop-dark: var(--c-navy);
	--fop-dark-ink: var(--c-white);
	font-family: var(--font-body);
}

/* In the navy hero the launcher pill is white at rest. Once a conversation plays, the
   hero wraps the demo in a white panel and the pill returns to navy. */
.hero__demo .fop-demo {
	--fop-dark: var(--c-white);
	--fop-dark-ink: var(--c-navy);
}
.hero__demo:has(.fop-stage:not([hidden]), .fop-ending:not([hidden]), .fop-error:not([hidden])) .fop-demo {
	--fop-dark: var(--c-navy);
	--fop-dark-ink: var(--c-white);
}

/* Owner request: the disclosure line sits straight on the hero, no dark strip. It is
   white on the navy hero and slate on the white playing panel, and
   stays in place under the demo so it never floats over the conversation. */
.hero__demo .fop-footer {
	position: static;
	background: transparent;
	color: var(--c-white);
	text-align: left;
	padding-inline: 0;
}
.hero__demo:has(.fop-stage:not([hidden]), .fop-ending:not([hidden]), .fop-error:not([hidden])) .fop-footer {
	color: var(--c-slate);
}
