:root {
	--bg-root: #0b0c0e;
	--bg-card: #141518;
	--border-subtle: #26272d;
	--text-primary: #ededed;
	--text-secondary: #8a8f98;
	--primary-color: #5e6ad2;
	--code-bg: #1a1b1f;
	--code-border: #26272d;
}

body {
	font-family:
		"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 24px;
	background-color: var(--bg-root);
	color: var(--text-primary);
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

.content {
	/* No container visible, just content */
	flex: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--text-primary);
	margin-top: 2.5em;
	margin-bottom: 0.75em;
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 600;
}

h1:first-child {
	margin-top: 0;
}

h1 {
	font-size: 2em;
	letter-spacing: -0.03em;
	border-bottom: 1px solid var(--border-subtle);
	padding-bottom: 0.5em;
}
h2 {
	font-size: 1.5em;
}
h3 {
	font-size: 1.25em;
}
h4 {
	font-size: 1.1em;
}

p {
	margin-bottom: 1.5em;
	color: #d4d4d4; /* Slightly softer than pure white */
}

/* Code */
code {
	background-color: rgba(255, 255, 255, 0.1);
	padding: 2px 5px;
	border-radius: 4px;
	font-family: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
	font-size: 0.9em;
	color: #e6e6e6;
}

pre {
	background-color: var(--code-bg);
	border: 1px solid var(--code-border);
	padding: 16px;
	border-radius: 8px;
	overflow-x: auto;
	margin-bottom: 1.5em;
}

pre code {
	background-color: transparent;
	padding: 0;
	color: inherit;
	font-size: 0.85em;
}

/* Lists */
ul,
ol {
	margin-bottom: 1.5em;
	padding-left: 1.5em;
	color: #d4d4d4;
}

li {
	margin-bottom: 0.5em;
}

/* Links */
a {
	color: var(--primary-color);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

a:hover {
	border-color: var(--primary-color);
}

/* Blockquotes */
blockquote {
	border-left: 3px solid var(--primary-color);
	margin: 0 0 1.5em 0;
	padding-left: 1.2em;
	color: var(--text-secondary);
	font-style: italic;
}

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
	font-size: 0.95em;
}

th,
td {
	padding: 10px;
	border-bottom: 1px solid var(--border-subtle);
	text-align: left;
}

th {
	color: var(--text-primary);
	font-weight: 600;
}

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

img {
	max-width: 100%;
	border-radius: 8px;
	margin-bottom: 1.5em;
}

hr {
	border: none;
	border-top: 1px solid var(--border-subtle);
	margin: 3em 0;
}

/* Checkboxes for task lists */
input[type="checkbox"] {
	margin-right: 0.5em;
	accent-color: var(--primary-color);
}

/* Footer */
footer {
	margin-top: 4rem;
	padding-top: 2rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--text-secondary);
}

footer a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s;
}

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