/* Shared by the three public pages. Served from the same origin as the app, so
   no external font or stylesheet request — the CSP that protects the embedded
   app would block them anyway. */

:root {
	--bg: #ffffff;
	--surface: #f6f6f7;
	--text: #202223;
	--muted: #6d7175;
	--line: #e1e3e5;
	--accent: #2c6ecb;
	--accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #16181a;
		--surface: #1f2225;
		--text: #e3e5e7;
		--muted: #9ea4a9;
		--line: #303538;
		--accent: #5b9bf5;
		--accent-text: #0d1013;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-text-size-adjust: 100%;
}

.wrap {
	max-width: 46rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

header.site {
	border-bottom: 1px solid var(--line);
	padding: 1.25rem 0;
}

header.site .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: baseline;
	justify-content: space-between;
}

.brand {
	font-weight: 650;
	font-size: 1.0625rem;
	color: var(--text);
	text-decoration: none;
}

nav a {
	color: var(--muted);
	text-decoration: none;
	margin-left: 1.25rem;
	font-size: 0.9375rem;
}

nav a:hover {
	color: var(--text);
}

main {
	padding: 3rem 0 4rem;
}

h1 {
	font-size: 2rem;
	line-height: 1.25;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

h2 {
	font-size: 1.25rem;
	margin: 2.5rem 0 0.75rem;
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1rem;
	margin: 1.75rem 0 0.5rem;
}

p, li {
	color: var(--text);
}

.lead {
	font-size: 1.125rem;
	color: var(--muted);
	margin: 0 0 2rem;
}

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

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 0.625rem;
	padding: 1.25rem 1.375rem;
	margin: 1.5rem 0;
}

.card h3 {
	margin-top: 0;
}

.card :last-child {
	margin-bottom: 0;
}

.steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 1.5rem 0;
}

.steps li {
	counter-increment: step;
	position: relative;
	padding-left: 2.75rem;
	margin-bottom: 1.25rem;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0.0625rem;
	width: 1.875rem;
	height: 1.875rem;
	border-radius: 50%;
	background: var(--accent);
	color: var(--accent-text);
	display: grid;
	place-items: center;
	font-size: 0.875rem;
	font-weight: 650;
}

.cta {
	display: inline-block;
	background: var(--accent);
	color: var(--accent-text);
	text-decoration: none;
	padding: 0.6875rem 1.375rem;
	border-radius: 0.5rem;
	font-weight: 600;
	margin-top: 0.5rem;
}

/* Long documents read better with a little more air between clauses. */
.legal h2 {
	margin-top: 2.75rem;
	padding-top: 0.25rem;
	border-top: 1px solid var(--line);
}

.legal ul {
	padding-left: 1.25rem;
}

.legal li {
	margin-bottom: 0.5rem;
}

.updated {
	color: var(--muted);
	font-size: 0.9375rem;
	margin-bottom: 2rem;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	font-size: 0.9375rem;
}

/* Tables scroll inside their own container rather than widening the page. */
.scroll {
	overflow-x: auto;
	margin: 1rem 0;
}

th, td {
	text-align: left;
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

th {
	font-weight: 600;
	white-space: nowrap;
}

footer.site {
	border-top: 1px solid var(--line);
	padding: 2rem 0 3rem;
	color: var(--muted);
	font-size: 0.9375rem;
}

footer.site a {
	color: var(--muted);
	margin-right: 1.25rem;
}

@media (max-width: 32rem) {
	h1 { font-size: 1.625rem; }
	nav a { margin: 0 1.25rem 0 0; }
	header.site .wrap { display: block; }
	nav { margin-top: 0.5rem; display: block; }
}
