:root {
	--accent: #5f82ff;
	--accent-light: #eef2ff;
	--warn: #d64545;
	--warn-light: #fdeeee;
	--ok: #2f9e62;
	--ok-light: #ebf7f0;
	--grey: #8a8f98;
	--grey-light: #f3f4f6;
}

/* Tighter heading spacing to leave room for visuals */
.reveal > .slides section.visual h1 {
	margin-bottom: 50px;
}

.reveal > .slides section .lead {
	margin-top: -20px;
	margin-bottom: 40px;
	font-size: 0.9em;
	color: #555;
}

.reveal > .slides .stage {
	width: 1680px;
	box-sizing: border-box;
}

/* Flow diagrams */
.reveal .flow {
	display: flex;
	align-items: center;
	gap: 24px;
}

.reveal .flow .arrow {
	font-size: 1.6em;
	color: var(--grey);
	flex: 0 0 auto;
}

.reveal .box {
	border: 3px solid #222;
	border-radius: 14px;
	padding: 22px 26px;
	background: #fff;
	text-align: center;
	line-height: 1.25;
}

.reveal .box .label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.reveal .box small {
	display: block;
	font-size: 0.7em;
	color: #555;
}

.reveal .box.accent {
	border-color: var(--accent);
	background: var(--accent-light);
}

.reveal .box.warn {
	border-color: var(--warn);
	background: var(--warn-light);
}

.reveal .box.ok {
	border-color: var(--ok);
	background: var(--ok-light);
}

.reveal .box.open {
	border: 3px dashed var(--grey);
	background: var(--grey-light);
	color: #666;
}

.reveal .chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 14px;
}

.reveal .chips.stacked {
	flex-direction: column;
	align-items: flex-start;
}

.reveal .chips.stacked .chip {
	white-space: normal;
}

.reveal .slides #intro-slide h2 {
	font-size: 1.2em;
	line-height: 1.3;
}

.reveal .chip {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--accent);
	font-size: 0.62em;
	white-space: nowrap;
}

.reveal .chip.warn {
	border-color: var(--warn);
}

.reveal .chip.grey {
	border-color: var(--grey);
	color: #555;
}

/* Key statement */
.reveal .claim {
	margin-top: 50px;
	padding: 16px 28px;
	border-left: 10px solid var(--accent);
	background: var(--accent-light);
	font-size: 1.1em;
	font-weight: 600;
}

.reveal .claim.warn {
	border-left-color: var(--warn);
	background: var(--warn-light);
}

/* Tile grids */
.reveal .tiles {
	display: grid;
	gap: 28px;
}

.reveal .tiles.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.reveal .tiles.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.reveal .tiles.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

.reveal .tile {
	border-top: 8px solid var(--accent);
	background: var(--grey-light);
	border-radius: 6px;
	padding: 20px 24px;
	line-height: 1.25;
}

.reveal .tile .icon {
	font-size: 1.6em;
	line-height: 1;
	margin-bottom: 10px;
}

.reveal .tile .label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.reveal .tile p {
	margin: 0;
	font-size: 0.72em;
	color: #333;
}

.reveal .tile.warn {
	border-top-color: var(--warn);
}

.reveal .tile.ok {
	border-top-color: var(--ok);
}

.reveal .tile.grey {
	border-top-color: var(--grey);
}

/* Inline SVG diagrams */
.reveal svg.diagram {
	display: block;
	font-family: "TNG DIN", Arial, sans-serif;
}

/* Watermark example */
.reveal .mark {
	background: #ffe58a;
	border-radius: 4px;
	padding: 0 4px;
}

.reveal .box code.zw {
	display: inline-block;
	font-size: 0.75em;
	color: #333;
	background: #ffe58a;
	border-radius: 4px;
	padding: 2px 8px;
}

/* Escalation staircase on the limits slide */
.reveal .stairs {
	display: grid;
	grid-template-columns: 	repeat(4, 1fr);
	align-items: end;
		gap: 24px;
}

.reveal .stairs .step {
	background: var(--accent-light);
	border: 3px solid var(--accent);
	border-radius: 10px 10px 0 0;
	padding: 16px;
	font-size: 0.68em;
	line-height: 1.25;
	display: flex;
	flex-direction: column;
}

.reveal .stairs .step .label {
	font-weight: 600;
	font-size: 1.15em;
	margin-bottom: 6px;
}

.reveal .stairs .step .tool {
	color: #555;
}

.reveal .stairs .step .still {
	margin-top: auto;
	padding-top: 10px;
	border-top: 2px solid rgba(0, 0, 0, 0.15);
}

.reveal .stairs .s1 { height: 250px; }
.reveal .stairs .s2 { height: 330px; }
.reveal .stairs .s3 { height: 410px; }
.reveal .stairs .s4 { height: 490px; border-color: var(--warn); background: var(--warn-light); }
