:root {
	--bg: #100e17;
	--line: #2a2538;
	--text: #e9e5f2;
	--muted: #a39db3;
	--accent: #f2b84b;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 Inter, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

main { max-width: 760px; margin: 0 auto; padding: 0 20px; }

h1, h2 { font-family: Cinzel, Georgia, serif; font-weight: 700; line-height: 1.2; margin: 0 0 8px; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.5rem; }
p { margin: 0 0 12px; color: var(--muted); }

.intro { text-align: center; padding: 72px 0 40px; }
.intro.small { padding: 40px 0 8px; }
.intro .lead { color: var(--text); font-size: 1.3rem; margin-top: 16px; }
.download {
	display: inline-block;
	margin-top: 28px;
	padding: 11px 22px;
	border: 1px solid var(--accent);
	border-radius: 6px;
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
}
.download:hover { background: rgba(242, 184, 75, 0.08); }

section { padding: 40px 0; border-top: 1px solid var(--line); }
.intro.small + section { border-top: none; }
section img { display: block; max-width: 100%; height: auto; margin-top: 16px; border-radius: 6px; }

.notes p { font-size: 0.95rem; }

code, kbd {
	font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--text);
	background: #1b1826;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 0.1em 0.35em;
}

footer { text-align: center; padding: 32px 20px 48px; border-top: 1px solid var(--line); }
footer p { margin: 2px 0; font-size: 0.9rem; }
footer .fine { font-size: 0.8rem; opacity: 0.7; }

@media (max-width: 520px) {
	h1 { font-size: 2.1rem; }
	.intro { padding-top: 48px; }
}

/* The examples: tabs over one screenshot at a time. */
.show { text-align: center; border-top: none; padding-top: 8px; }
/* Wider than the text column, so the planner's whole window is readable. */
.show { width: min(1120px, calc(100vw - 40px)); position: relative; left: 50%; transform: translateX(-50%); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 20px; }
.tabs button {
	font: 600 0.95rem Inter, system-ui, sans-serif;
	color: var(--muted);
	background: none;
	border: 0;
	border-radius: 5px;
	padding: 7px 16px;
	cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--bg); background: var(--accent); }
/* One height for every example, so switching doesn't move the page. */
.slide { display: none; margin: 0; height: 560px; }
.slide.active { display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* Each example's screenshots side by side, wrapping on narrow screens. */
.shots { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; min-height: 0; }
.slide a { display: flex; min-height: 0; }
.slide img { max-width: 100%; max-height: 500px; width: auto; height: auto; border-radius: 6px; object-fit: contain; }
.slide figcaption { margin-top: 14px; color: var(--muted); }

a { color: var(--accent); }

.report { display: grid; gap: 12px; margin-top: 16px; }
.report label { display: grid; gap: 6px; color: var(--text); font-size: 0.95rem; }
.report input, .report textarea {
	font: 0.95rem Inter, system-ui, sans-serif;
	color: var(--text);
	background: #1b1826;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 8px 10px;
}
.report textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
.report button {
	justify-self: start;
	font: 600 0.95rem Inter, system-ui, sans-serif;
	color: var(--bg);
	background: var(--accent);
	border: 0;
	border-radius: 6px;
	padding: 9px 20px;
	cursor: pointer;
}
.report .status { margin: 0; }
