:root {
  --bg: #111;
  --text: #d4d4d4;
  --text-muted: #777;
  --link: #6cb4ee;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fff;
    --text: #222;
    --text-muted: #666;
    --link: #1a5c9e;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

main {
  max-width: 540px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

h1 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 15%, transparent);
}

.links a {
  font-size: 0.9rem;
  color: var(--link);
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

section {
  margin-bottom: 2rem;
}

h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

section > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

ul {
  list-style: none;
}

ul li {
  padding: 0.2rem 0;
}

ul li a {
  color: var(--link);
  text-decoration: none;
  font-size: 0.9rem;
}

ul li a:hover {
  text-decoration: underline;
}

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

a:hover {
  text-decoration: underline;
}
