:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --underline: #d4d4d8;
  --underline-hover: #18181b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --underline: #3f3f46;
    --underline-hover: #f4f4f5;
  }
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  padding: 5.5rem 1.5rem 4rem;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 560px;
  margin: 0 auto;
}

h1 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1.5rem;
}

a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}

/* Future sections for posts or projects */
.list-section {
  margin-top: 3.5rem;
}

.list-section h2 {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

.list-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-section li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
}

.meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}