*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --accent: #2563eb;
  --border: #e5e5e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --text: #f5f5f5;
    --text-muted: #a3a3a3;
    --accent: #60a5fa;
    --border: #262626;
  }
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.hero {
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

.projects h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-list li {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.project-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.project-list a:hover {
  color: var(--accent);
}

.project-list .description {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
