:root {
  --bg: #fafaf9;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --link: #1a1a1a;
  --link-hover: #6b6b6b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --fg: #e8e8e8;
    --muted: #888;
    --link: #e8e8e8;
    --link-hover: #888;
  }
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 4rem 1.5rem;
}

main {
  max-width: 36rem;
  width: 100%;
}

header {
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.identity {
  color: var(--muted);
  font-size: 1rem;
}

.working-on {
  margin-bottom: 2.5rem;
}

.working-on p {
  font-size: 1rem;
}

.working-on strong {
  font-weight: 600;
}

.links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

.links a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.links a:hover {
  color: var(--link-hover);
  border-color: var(--link-hover);
}

footer {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}
