html.slide main {
	view-transition-name: main;
}
html.slide::view-transition-old(main) {
	animation: 250ms ease-in-out fade-slide-out both;
}
html.slide::view-transition-new(main) {
	animation: 250ms ease-in-out fade-slide-in both;
}
html.slide.back::view-transition-old(main) {
	animation: 250ms ease-in-out fade-slide-out-reverse both;
}
html.slide.back::view-transition-new(main) {
	animation: 250ms ease-in-out fade-slide-in-reverse both;
}
html.zoom main {
	view-transition-name: main;
}
html.zoom.forward::view-transition-old(main) {
	animation: 260ms cubic-bezier(.25,1,.5,1) zoom-out both;
}
html.zoom.forward::view-transition-new(main) {
	animation: 260ms cubic-bezier(.25,1,.5,1) zoom-in both;
}
html.zoom.back::view-transition-old(main) {
	animation: 260ms cubic-bezier(.25,1,.5,1) zoom-out-reverse both;
}
html.zoom.back::view-transition-new(main) {
	animation: 260ms cubic-bezier(.25,1,.5,1) zoom-in-reverse both;
}
html.flip main {
	view-transition-name: main;
}
html.flip::view-transition-old(main) {
	animation: 250ms ease-in-out flip-out both;
}
html.flip::view-transition-new(main) {
	animation: 250ms ease-in-out flip-in both;
}
html.flip.back::view-transition-old(main) {
	animation: 250ms ease-in-out flip-out-reverse both;
}
html.flip.back::view-transition-new(main) {
	animation: 250ms ease-in-out flip-in-reverse both;
}
html.glide main {
	view-transition-name: main;
}
html.glide::view-transition-old(main) {
	animation: 250ms ease-out fade-slide-out both;
}
html.glide::view-transition-new(main) {
	animation: 250ms ease-out fade-slide-in both;
}
html.glide.back::view-transition-old(main) {
	animation: 250ms ease-out fade-slide-out-reverse both;
}
html.glide.back::view-transition-new(main) {
	animation: 250ms ease-out fade-slide-in-reverse both;
}
html.ripple main {
	view-transition-name: main;
}
html.ripple::view-transition-old(main) {
	animation: 250ms ease ripple-out both;
}
html.ripple::view-transition-new(main) {
	animation: 250ms ease ripple-in both;
}
html.ripple.back::view-transition-old(main) {
	animation: 250ms ease ripple-out-reverse both;
}
html.ripple.back::view-transition-new(main) {
	animation: 250ms ease ripple-in-reverse both;
}
@font-face {
	font-family: Inter;
	src: url('/Inter.ttf') format('truetype');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'JetBrains Mono';
	src: url('/JetBrainsMono.ttf') format('truetype');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
:root {
	--bg: #0d1117;
	--surface: #161b22;
	--elevated: #1c2230;
	--border: #2a3340;
	--text: #e6edf3;
	--muted: #8b949e;
	--primary: #16c784;
	--on-primary: #04130c;
	--code-bg: #0a0e16;
	--code-text: #c9d4e3;
	--radius: 14px;
	--head-h: 60px;
	--max: 1180px;
	--shadow: 0 18px 50px rgba(0,0,0,.45);
}
body[data-theme=neon] {
	--bg: #000000;
	--surface: #131313;
	--elevated: #1b1b1b;
	--border: #2f2f2f;
	--text: #f0f0f0;
	--muted: #8a8a8a;
	--primary: #00ffea;
	--on-primary: #06201d;
}
body[data-theme=crimson] {
	--bg: #0b0b0b;
	--surface: #171010;
	--elevated: #1f1414;
	--border: #3a2222;
	--text: #f5e6e6;
	--muted: #b58a8a;
	--primary: #ff4d4d;
	--on-primary: #1a0606;
}
body[data-theme=cobalt] {
	--bg: #0f172a;
	--surface: #16223b;
	--elevated: #1c2c4a;
	--border: #294067;
	--text: #dce7f7;
	--muted: #8aa0c4;
	--primary: #3b82f6;
	--on-primary: #06122b;
}
body[data-theme=aura] {
	--bg: #152339;
	--surface: #1d2f4a;
	--elevated: #243a5c;
	--border: #355080;
	--text: #e4eefb;
	--muted: #95afd2;
	--primary: #7eb3ff;
	--on-primary: #0a1424;
}
body[data-theme=zen] {
	--bg: #eef3e7;
	--surface: #ffffff;
	--elevated: #f6faf0;
	--border: #d6e2c8;
	--text: #28331f;
	--muted: #6c7d5d;
	--primary: #4f8a32;
	--on-primary: #ffffff;
	--shadow: 0 18px 50px rgba(40,60,20,.14);
}
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scrollbar-color: var(--border) transparent;
	scrollbar-width: thin;
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: Inter, system-ui, sans-serif;
	line-height: 1.6;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
}
code,
pre {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.deck {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 3rem);
}
.deck-head {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--head-h);
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.deck-brand {
	display: flex;
	align-items: center;
	gap: .55rem;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: -.01em;
}
.deck-mark {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--primary);
	color: var(--on-primary);
	font-weight: 800;
}
.deck-wordmark {
	color: var(--muted);
	font-weight: 600;
}
.deck-tools {
	display: flex;
	align-items: center;
	gap: .7rem;
}
.lang-toggle {
	display: inline-flex;
	border: 1px solid var(--border);
	border-radius: 999px;
	overflow: hidden;
}
.lang-btn {
	padding: .28rem .7rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--muted);
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.lang-btn.is-active {
	background: var(--primary);
	color: var(--on-primary);
}
.theme-picker {
	display: flex;
	align-items: center;
	gap: .45rem;
	flex-direction: row-reverse;
}
.theme-picker-toggle {
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	transition: transform .25s ease, border-color .2s ease;
}
.theme-picker-toggle:hover {
	transform: rotate(35deg);
	border-color: var(--primary);
}
.theme-picker-list {
	display: flex;
	gap: .35rem;
	padding: .35rem .45rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: blur(8px);
	opacity: 0;
	transform: translateX(.4rem) scale(.96);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.theme-picker:hover .theme-picker-list,
.theme-picker:focus-within .theme-picker-list {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.theme-swatch {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	border: 2px solid transparent;
	text-decoration: none;
}
.theme-swatch i {
	width: .7rem;
	height: .7rem;
	border-radius: 50%;
}
.theme-swatch.is-active {
	border-color: #fff;
}
.deck-progress {
	height: 3px;
	margin: 0 -.2rem;
	background: color-mix(in srgb, var(--border) 60%, transparent);
	border-radius: 3px;
	overflow: hidden;
}
.deck-progress-bar {
	display: block;
	height: 100%;
	background: var(--primary);
	border-radius: 3px;
	transition: width .4s cubic-bezier(.4,0,.2,1);
}
.cover {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(2rem, 7vh, 5rem) 0 4rem;
}
.cover-kicker {
	color: var(--primary);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.cover-title {
	font-size: clamp(3.5rem, 12vw, 7rem);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	margin: .6rem 0;
}
.cover-dot {
	color: var(--primary);
}
.cover-sub {
	max-width: 40rem;
	color: var(--muted);
	font-size: clamp(1rem, 2.4vw, 1.2rem);
}
.cover-start {
	display: inline-block;
	margin-top: 1.8rem;
	padding: .8rem 1.6rem;
	border-radius: 999px;
	background: var(--primary);
	color: var(--on-primary);
	font-weight: 700;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .2s ease;
}
.cover-start:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px color-mix(in srgb, var(--primary) 40%, transparent);
}
.chapter-grid {
	display: grid;
	gap: .8rem;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	width: 100%;
	margin-top: 3.5rem;
	text-align: left;
}
.chapter-card {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.chapter-card:hover {
	border-color: var(--primary);
	transform: translateY(-3px);
	background: var(--elevated);
}
.chapter-number {
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .75rem;
}
.chapter-title {
	font-weight: 700;
}
.chapter-teaser {
	display: -webkit-box;
	color: var(--muted);
	font-size: .85rem;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.slide {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: clamp(1.4rem, 4vh, 2.6rem) 0 1.4rem;
}
.slide-head {
	margin-bottom: 1.4rem;
}
.slide-count {
	color: var(--primary);
	font-family: 'JetBrains Mono', monospace;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
}
.slide-title {
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -.025em;
	margin: .25rem 0 .4rem;
}
.slide-concept {
	max-width: 44rem;
	color: var(--muted);
	font-size: clamp(1rem, 2.2vw, 1.15rem);
}
.slide-body {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.2rem;
	align-items: stretch;
}
.slide-code {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--code-bg);
	border: 1px solid color-mix(in srgb, var(--border) 80%, #000 20%);
	box-shadow: var(--shadow);
}
.code-chrome {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .6rem .8rem;
	background: rgba(255,255,255,.03);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.code-chrome i {
	width: .65rem;
	height: .65rem;
	border-radius: 50%;
	background: #ff5f57;
}
.code-chrome i:nth-child(2) {
	background: #febc2e;
}
.code-chrome i:nth-child(3) {
	background: #28c840;
}
.code-tag {
	margin-left: auto;
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .72rem;
}
.slide-code pre {
	margin: 0;
	padding: 1.1rem 1.2rem;
	overflow: auto;
	flex: 1;
}
.slide-code code {
	color: var(--code-text);
	font-size: .86rem;
	line-height: 1.7;
	white-space: pre;
	font-variant-ligatures: none;
}
.slide-live {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	padding: 1.4rem;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--border);
}
.slide-todo {
	color: var(--muted);
	text-align: center;
	font-style: italic;
}
.pager {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.6rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--border);
}
.pager-link {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	flex: 1;
	padding: .7rem .9rem;
	border: 1px solid var(--border);
	border-radius: 10px;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
}
.pager-link:hover {
	border-color: var(--primary);
	background: var(--surface);
}
.pager-next {
	text-align: right;
}
.pager-dir {
	color: var(--primary);
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.pager-label {
	color: var(--text);
	font-weight: 600;
	font-size: .95rem;
}
.pager-link.is-disabled {
	flex: 1;
	visibility: hidden;
}
.pager-home {
	color: var(--muted);
	font-weight: 600;
	font-size: .85rem;
	text-decoration: none;
	padding: .5rem .8rem;
	border-radius: 8px;
	white-space: nowrap;
}
.pager-home:hover {
	color: var(--primary);
}
.layers {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	width: 100%;
}
.layer {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: .8rem 1rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--elevated);
}
.layer-n {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	border-radius: 8px;
	background: color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--primary);
	font-weight: 800;
}
.layer-text {
	display: flex;
	flex-direction: column;
}
.layer-h {
	font-weight: 700;
}
.layer-d {
	color: var(--muted);
	font-size: .85rem;
}
.browser {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--bg);
}
.browser-bar {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .55rem .7rem;
	background: var(--elevated);
	border-bottom: 1px solid var(--border);
}
.browser-bar i {
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background: var(--muted);
	opacity: .5;
}
.browser-url {
	margin-left: .6rem;
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .76rem;
}
.browser-page {
	padding: 2.2rem 1.5rem;
	text-align: center;
}
.hello-h {
	font-size: 2rem;
	font-weight: 800;
}
.hello-p {
	color: var(--muted);
	margin-top: .4rem;
}
.profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
	padding: 1.6rem;
	border-radius: 14px;
	background: var(--elevated);
	border: 1px solid var(--border);
}
.profile-avatar {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--primary);
	color: var(--on-primary);
	font-weight: 800;
	font-size: 1.2rem;
}
.profile-name {
	font-weight: 700;
	font-size: 1.2rem;
}
.profile-role {
	color: var(--muted);
}
.profile-meta {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-top: .4rem;
}
.profile-shout {
	font-family: 'JetBrains Mono', monospace;
	font-size: .78rem;
	color: var(--muted);
}
.profile-badge {
	padding: .15rem .6rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 20%, transparent);
	color: var(--primary);
	font-size: .75rem;
	font-weight: 700;
}
.tasklist {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	width: 100%;
}
.task {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .7rem .9rem;
	border-radius: 10px;
	background: var(--elevated);
	border: 1px solid var(--border);
}
.task-name {
	font-weight: 600;
}
.task-badge {
	padding: .15rem .6rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--muted) 24%, transparent);
	color: var(--muted);
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
}
.task-badge.is-done {
	background: color-mix(in srgb, var(--primary) 20%, transparent);
	color: var(--primary);
}
.prop-cards {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	width: 100%;
}
.prop-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: .8rem;
	padding: .7rem .9rem;
	border-radius: 10px;
	background: var(--elevated);
	border: 1px solid var(--border);
}
.prop-kind {
	padding: .12rem .5rem;
	border-radius: 6px;
	background: color-mix(in srgb, var(--primary) 16%, transparent);
	color: var(--primary);
	font-family: 'JetBrains Mono', monospace;
	font-size: .7rem;
	font-weight: 700;
}
.prop-name {
	font-family: 'JetBrains Mono', monospace;
	font-weight: 600;
}
.prop-val {
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .9rem;
}
.route-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .6rem;
	width: 100%;
}
.route-url {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-family: 'JetBrains Mono', monospace;
}
.route-verb {
	padding: .12rem .5rem;
	border-radius: 6px;
	background: color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--primary);
	font-weight: 700;
	font-size: .8rem;
}
.route-path b {
	color: var(--primary);
}
.route-arrow {
	color: var(--muted);
}
.route-bind {
	display: flex;
	gap: .5rem;
}
.route-seg,
.route-var {
	padding: .25rem .7rem;
	border-radius: 8px;
	background: var(--elevated);
	border: 1px solid var(--border);
	font-family: 'JetBrains Mono', monospace;
	font-size: .85rem;
}
.route-var {
	color: var(--primary);
	border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.route-result {
	color: var(--muted);
	font-size: .9rem;
}
.rulechips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	width: 100%;
}
.rulechip {
	padding: .5rem .8rem;
	border-radius: 999px;
	background: var(--elevated);
	border: 1px solid var(--border);
	font-size: .85rem;
}
.rule-tok {
	color: var(--primary);
	font-family: 'JetBrains Mono', monospace;
	font-weight: 700;
}
.poll,
.stream-demo,
.apply-demo {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}
.poll-results {
	display: flex;
	flex-direction: column;
	gap: .8rem;
}
.poll-option {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .2rem .6rem;
	align-items: center;
}
.poll-name {
	font-weight: 600;
}
.poll-pct {
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .85rem;
}
.poll-track {
	grid-column: 1 / -1;
	height: 9px;
	border-radius: 5px;
	background: color-mix(in srgb, var(--border) 70%, transparent);
	overflow: hidden;
}
.poll-bar {
	display: block;
	height: 100%;
	border-radius: 5px;
	background: var(--primary);
	transition: width .45s cubic-bezier(.4,0,.2,1);
}
.poll-choices {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.poll-form {
	margin: 0;
}
.poll-btn {
	padding: .5rem 1rem;
	border-radius: 9px;
	border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
	background: color-mix(in srgb, var(--primary) 14%, transparent);
	color: var(--text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.poll-btn:hover {
	background: color-mix(in srgb, var(--primary) 26%, transparent);
}
.apply-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.apply-btn {
	padding: .45rem .9rem;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--elevated);
	color: var(--text);
	font-family: 'JetBrains Mono', monospace;
	font-size: .82rem;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}
.apply-btn:hover {
	border-color: var(--primary);
	color: var(--primary);
}
.apply-btn-reset {
	margin-left: auto;
}
.apply-sandbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	min-height: 5.5rem;
	padding: 1.1rem;
	border-radius: 12px;
	border: 1px dashed var(--border);
	background: var(--bg);
	transition: background .25s ease, border-color .25s ease;
}
.apply-sandbox.is-flash {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.apply-msg {
	color: var(--text);
	font-family: 'JetBrains Mono', monospace;
	font-size: .9rem;
}
.apply-chip {
	padding: .2rem .55rem;
	border-radius: 6px;
	background: color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--primary);
	font-family: 'JetBrains Mono', monospace;
	font-size: .8rem;
}
.stream-run {
	align-self: flex-start;
	padding: .6rem 1.3rem;
	border-radius: 9px;
	border: none;
	background: var(--primary);
	color: var(--on-primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.stream-run:hover {
	filter: brightness(1.06);
}
.stream-bar-wrap {
	height: 14px;
	border-radius: 7px;
	background: color-mix(in srgb, var(--border) 70%, transparent);
	overflow: hidden;
}
.stream-bar {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 7px;
	background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #ffffff));
	transition: width .1s linear;
}
.stream-foot {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .85rem;
}
.theme-demo,
.trans-demo {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}
.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.theme-chip {
	padding: .5rem 1rem;
	border-radius: 999px;
	border: 1px solid;
	font-weight: 700;
	font-size: .85rem;
	text-decoration: none;
	opacity: .6;
	transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease;
}
.theme-chip:hover {
	opacity: 1;
	transform: translateY(-2px);
}
.theme-chip.is-active {
	opacity: 1;
	box-shadow: 0 0 0 2px var(--text);
}
.theme-sample {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	padding: 1.2rem;
	border-radius: 12px;
	background: var(--elevated);
	border: 1px solid var(--border);
}
.theme-sample-top {
	display: flex;
	align-items: center;
	gap: .5rem;
}
.theme-sample-dot {
	width: .8rem;
	height: .8rem;
	border-radius: 50%;
	background: var(--primary);
}
.theme-sample p {
	color: var(--muted);
	font-size: .9rem;
}
.theme-sample-btn {
	align-self: flex-start;
	padding: .5rem 1.1rem;
	border-radius: 8px;
	border: none;
	background: var(--primary);
	color: var(--on-primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.trans-hint,
.trans-foot {
	color: var(--muted);
	font-size: .9rem;
}
.trans-swatch {
	padding: .5rem 1.1rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--elevated);
	color: var(--text);
	font-weight: 600;
	font-size: .88rem;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.trans-swatch:hover {
	border-color: var(--primary);
	color: var(--primary);
}
.trans-swatch.is-active {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 16%, transparent);
	color: var(--primary);
}
.fields-form,
.crud {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	width: 100%;
}
.field {
	display: flex;
	flex-direction: column;
	gap: .3rem;
}
.field-label {
	color: var(--muted);
	font-size: .8rem;
	font-weight: 600;
}
.field-input {
	padding: .6rem .8rem;
	border-radius: 9px;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	font: inherit;
	transition: border-color .15s ease;
}
.field-input:focus {
	outline: none;
	border-color: var(--primary);
}
.field-input.is-error {
	border-color: #ff5f57;
}
.field-submit {
	align-self: flex-start;
	padding: .55rem 1.2rem;
	border-radius: 9px;
	border: none;
	background: var(--primary);
	color: var(--on-primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.fields-msg {
	min-height: 1.2rem;
}
.field-err {
	color: #ff7b72;
	font-size: .85rem;
}
.field-success {
	padding: 1rem;
	border-radius: 10px;
	background: color-mix(in srgb, var(--primary) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
}
.crud-form {
	display: flex;
	gap: .5rem;
}
.crud-form .field-input {
	flex: 1;
}
.crud-table {
	width: 100%;
	border-collapse: collapse;
}
.crud-row {
	border-bottom: 1px solid var(--border);
}
.crud-id {
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .8rem;
	padding: .5rem .6rem .5rem 0;
	width: 3rem;
}
.crud-text {
	padding: .5rem .6rem;
}
.crud-actions {
	text-align: right;
}
.crud-del {
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
}
.crud-del:hover {
	border-color: #ff5f57;
	color: #ff5f57;
}
.crud-empty {
	color: var(--muted);
	font-style: italic;
}
.charts-demo {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}
.charts-out {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}
.chart-block {
	display: flex;
	align-items: center;
	gap: .8rem;
}
.chart-label {
	width: 3.2rem;
	flex-shrink: 0;
	color: var(--muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: .78rem;
}
.chart-svg {
	flex: 1;
}
.chart-block.is-donut .chart-svg {
	flex: 0 0 auto;
}
.md-demo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .8rem;
	width: 100%;
	min-height: 15rem;
}
.md-src {
	padding: 1rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--code-bg);
	color: var(--code-text);
	font-family: 'JetBrains Mono', monospace;
	font-size: .85rem;
	line-height: 1.6;
	resize: vertical;
	font-variant-ligatures: none;
}
.md-src:focus {
	outline: none;
	border-color: var(--primary);
}
.md-out {
	padding: 1rem 1.2rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--surface);
	overflow: auto;
}
.md-out h1 {
	font-size: 1.5rem;
	margin-bottom: .5rem;
}
.md-out h2 {
	font-size: 1.2rem;
	margin: .8rem 0 .4rem;
}
.md-out p {
	margin-bottom: .6rem;
}
.md-out ul {
	padding-left: 1.2rem;
	margin-bottom: .6rem;
}
.md-out code {
	padding: .1rem .35rem;
	border-radius: 4px;
	background: color-mix(in srgb, var(--primary) 14%, transparent);
	color: var(--primary);
	font-family: 'JetBrains Mono', monospace;
	font-size: .85em;
}
.rt {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}
.rt-top {
	display: flex;
	align-items: center;
	gap: .8rem;
	flex-wrap: wrap;
}
.rt-badge {
	padding: .25rem .8rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 16%, transparent);
	border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
	font-size: .85rem;
	white-space: nowrap;
}
.rt-badge b {
	color: var(--primary);
}
.rt-hint {
	color: var(--muted);
	font-size: .85rem;
}
.rt-feed {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .3rem;
	max-height: 7rem;
	overflow-y: auto;
}
.rt-ev-row {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	color: var(--muted);
}
.rt-ev {
	padding: .05rem .45rem;
	border-radius: 5px;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	background: color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--primary);
}
.rt-ev.disconnect {
	background: color-mix(in srgb, #fb8c4b 20%, transparent);
	color: #fb8c4b;
}
.rt-ev-row time {
	margin-left: auto;
}
.ai-demo {
	display: flex;
	flex-direction: column;
	gap: .9rem;
	width: 100%;
}
.ai-prompt,
.ai-row {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
}
.ai-you,
.ai-bot {
	flex-shrink: 0;
	padding: .2rem .6rem;
	border-radius: 7px;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
}
.ai-you {
	background: var(--elevated);
	color: var(--muted);
}
.ai-bot {
	background: color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--primary);
}
.ai-answer {
	flex: 1;
	min-height: 3.6rem;
	padding: .8rem 1rem;
	border-radius: 10px;
	background: var(--elevated);
	border: 1px solid var(--border);
	line-height: 1.7;
}
.ai-answer.is-typing::after {
	content: '▋';
	color: var(--primary);
	animation: ai-blink 1s steps(2) infinite;
}
.i18n-demo {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}
.i18n-row {
	display: flex;
	gap: .5rem;
}
.i18n-btn {
	padding: .5rem 1.1rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--elevated);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.i18n-btn.is-active {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 16%, transparent);
	color: var(--primary);
}
.i18n-sample {
	font-size: 1.1rem;
}
.i18n-note {
	color: var(--muted);
	font-size: .9rem;
}
.platform-demo {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	width: 100%;
}
.platform-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .7rem;
}
.platform-card {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: .9rem 1rem;
	border-radius: 11px;
	background: var(--elevated);
	border: 1px solid var(--border);
}
.platform-h {
	font-weight: 700;
}
.platform-d {
	color: var(--muted);
	font-size: .85rem;
}
.platform-cta {
	display: flex;
	gap: .8rem;
	flex-wrap: wrap;
}
.platform-restart {
	padding: .6rem 1.2rem;
	border-radius: 9px;
	background: var(--primary);
	color: var(--on-primary);
	font-weight: 700;
	text-decoration: none;
}
.platform-link {
	padding: .6rem 1.2rem;
	border-radius: 9px;
	border: 1px solid var(--border);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}
.platform-link:hover {
	border-color: var(--primary);
	color: var(--primary);
}
@keyframes fade-slide-out{
	0% {
		opacity: 1;
		transform: translateX(0);
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity: 0;
		transform: translateX(20px);
		opacity: 0;
		transform: translateX(100dvw);
	}
}
@keyframes fade-slide-in{
	0% {
		opacity: 0;
		transform: translateX(-20px);
		transform: translateX(-100dvw);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
		transform: translateX(0);
	}
}
@keyframes fade-slide-out-reverse{
	0% {
		opacity: 1;
		transform: translateX(0);
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity: 0;
		transform: translateX(-20px);
		opacity: 0;
		transform: translateX(-100dvw);
	}
}
@keyframes fade-slide-in-reverse{
	0% {
		opacity: 0;
		transform: translateX(20px);
		transform: translateX(100dvw);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
		transform: translateX(0);
	}
}
@keyframes zoom-out{
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.05);
	}
}
@keyframes zoom-in{
	0% {
		opacity: 0;
		transform: scale(.96);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
@keyframes zoom-out-reverse{
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(.96);
	}
}
@keyframes zoom-in-reverse{
	0% {
		opacity: 0;
		transform: scale(1.05);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
@keyframes flip-out{
	0% {
		transform: perspective(1600px) rotateY(0deg);
		opacity: 1;
	}
	49.9% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		transform: perspective(1600px) rotateY(180deg);
		opacity: 0;
	}
}
@keyframes flip-in{
	0% {
		transform: perspective(1600px) rotateY(-180deg);
		opacity: 0;
	}
	50% {
		opacity: 0;
	}
	50.1% {
		opacity: 1;
	}
	100% {
		transform: perspective(1600px) rotateY(0deg);
		opacity: 1;
	}
}
@keyframes flip-out-reverse{
	0% {
		transform: perspective(1600px) rotateY(0deg);
		opacity: 1;
	}
	49.9% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		transform: perspective(1600px) rotateY(-180deg);
		opacity: 0;
	}
}
@keyframes flip-in-reverse{
	0% {
		transform: perspective(1600px) rotateY(180deg);
		opacity: 0;
	}
	50% {
		opacity: 0;
	}
	50.1% {
		opacity: 1;
	}
	100% {
		transform: perspective(1600px) rotateY(0deg);
		opacity: 1;
	}
}
@keyframes ripple-out{
	0% {
		opacity: 1;
		transform: scale(1);
		filter: blur(0px);
	}
	100% {
		opacity: 0;
		transform: scale(1.5);
		filter: blur(3px);
	}
}
@keyframes ripple-in{
	0% {
		opacity: 0;
		transform: scale(.5);
		filter: blur(3px);
	}
	100% {
		opacity: 1;
		transform: scale(1);
		filter: blur(0px);
	}
}
@keyframes ripple-out-reverse{
	0% {
		opacity: 1;
		transform: scale(1);
		filter: blur(0px);
	}
	100% {
		opacity: 0;
		transform: scale(.5);
		filter: blur(3px);
	}
}
@keyframes ripple-in-reverse{
	0% {
		opacity: 0;
		transform: scale(1.5);
		filter: blur(3px);
	}
	100% {
		opacity: 1;
		transform: scale(1);
		filter: blur(0px);
	}
}
@keyframes ai-blink{
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}
@media (max-width: 700px){
	.md-demo {
		grid-template-columns: 1fr;
	}
	.platform-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 860px){
	.slide-body {
		grid-template-columns: 1fr;
	}
	.deck-wordmark {
		display: none;
	}
}
@media (max-width: 540px){
	.pager-label {
		display: none;
	}
	.chapter-grid {
		grid-template-columns: 1fr 1fr;
	}
}
