:root {
  --bg: #121417;
  --surface: #1b1e23;
  --text: #d9dce1;
  --muted: #8b929c;
  --accent: #6cc4a1;
  --border: #2a2e35;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  max-width: 38em;
  margin: 0 auto;
  padding: 3em 1.25em 4em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, nav, footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 2em;
  font-weight: 700;
  margin: 0 0 0.2em;
  letter-spacing: -0.02em;
}

h1 a {
  color: var(--text);
  text-decoration: none;
}

h2 {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text);
  margin: 2.2em 0 0.6em;
}

.tagline {
  margin: 0 0 1.5em;
  color: var(--muted);
  font-size: 1.05em;
}

nav {
  font-size: 0.85em;
  margin-bottom: 2.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid var(--border);
}

nav a {
  margin-right: 1.25em;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

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

ul {
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

li::marker {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin-bottom: 1em;
}

footer {
  margin-top: 4em;
  padding-top: 1.5em;
  border-top: 1px solid var(--border);
  font-size: 0.8em;
  color: var(--muted);
}

::selection {
  background: var(--accent);
  color: var(--bg);
}
