/* global reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-muted: #666;
  --color-accent: #0070f3;
  --font-sans: system-ui, -apple-system, sans-serif;
  --max-width: 720px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

header {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 1.5rem;
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

header nav a:first-child {
  font-weight: 700;
  margin-right: auto;
}

main {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 0.5rem; }

ul { list-style: none; }
ul li { padding: 0.75rem 0; border-bottom: 1px solid #e5e5e5; }
ul li:last-child { border-bottom: none; }

time { color: var(--color-muted); font-size: 0.875rem; margin-left: 0.5rem; }

article h1 { margin-bottom: 0.25rem; }
article time { display: block; margin-bottom: 2rem; }
article p { margin-bottom: 1rem; }
