/* DAX Interactive: one small stylesheet for every page. Colours are set
   once here, with a dark version for phones and computers set to dark mode. */
:root {
	--background: #f7f6f2;
	--surface: #ffffff;
	--text: #1d1d22;
	--muted: #5b5b66;
	--accent: #2f6fd6;
	--border: #e2e0d8;
}

@media (prefers-color-scheme: dark) {
	:root {
		--background: #15161a;
		--surface: #1e2026;
		--text: #ececf0;
		--muted: #a4a4b0;
		--accent: #7aa7ff;
		--border: #30323a;
	}
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--background);
	color: var(--text);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header, main, footer {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 16px;
}

header {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	align-items: baseline;
	justify-content: space-between;
	padding-top: 24px;
	padding-bottom: 8px;
}

header .name {
	font-weight: 700;
	font-size: 20px;
	color: var(--text);
	text-decoration: none;
}

nav a { margin-left: 16px; }
nav a:first-child { margin-left: 0; }

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

h1 { font-size: 34px; line-height: 1.2; margin: 32px 0 8px; }
h2 { font-size: 22px; margin: 32px 0 8px; }

.lead { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px 20px;
	margin: 16px 0;
}

table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }

footer {
	margin-top: 48px;
	padding-top: 16px;
	padding-bottom: 32px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 15px;
}

/* Phone screenshots side by side; they shrink to fit narrow screens. */
.screenshots {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin: 24px 0;
}
.screenshots img {
	width: 100%;
	max-width: 260px;
	min-width: 0;
	height: auto;
	border-radius: 16px;
	border: 1px solid var(--border);
}

li { margin: 4px 0; }
