:root {
  --text: #111;
  --muted: #555;
  --border: #e5e5e5;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.nav {
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav .name {
  font-weight: 600;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero p {
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--muted);
}

h1, h2, h3 {
  font-weight: 600;
}

h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.work .item {
  margin-bottom: 2rem;
}

.work h3 {
  margin-bottom: 0.4rem;
}

.work p {
  max-width: 680px;
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.closing {
  margin-top: 4rem;
  max-width: 620px;
  color: var(--muted);
}

.footer {
  max-width: 860px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.email {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.email:hover {
  text-decoration: underline;
}
