:root {
	color-scheme: dark;
	--ground: #0a0a0d;
	--surface: #16161b;
	--text: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.72);
	--rule: rgba(255, 255, 255, 0.14);
	--accent: #ff2d55;
	--on-accent: #0b0b0d;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
}

main,
header,
footer {
	max-width: 44rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

header a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.02em;
}

header img {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.6rem;
}

h1 {
	font-size: 2.25rem;
	line-height: 1.15;
	margin: 1rem 0;
}

h2 {
	font-size: 1.35rem;
	margin: 2.5rem 0 0.75rem;
}

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

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

strong {
	color: var(--text);
}

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

a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.hero {
	padding: 2rem 0 1rem;
}

.hero img {
	width: 8rem;
	height: 8rem;
	border-radius: 1.8rem;
}

.lede {
	font-size: 1.25rem;
	color: var(--text);
}

.button {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.7rem 1.2rem;
	border-radius: 0.6rem;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
	text-decoration: none;
}

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

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

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

th {
	color: var(--text);
}

td {
	color: var(--text-secondary);
}

footer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	padding-bottom: 2.5rem;
	border-top: 1px solid var(--rule);
	font-size: 0.9rem;
}

footer p {
	margin: 0.25rem 0;
}
