:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --link: #111111;
  --rule: #eaeaea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --text: #ededed;
    --muted: #8a8a8a;
    --link: #ededed;
    --rule: #222222;
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 96px 24px 128px;
}

@media (min-width: 900px) {
  main {
    margin-left: max(24px, calc(50% - 460px));
    margin-right: auto;
  }
}

h1 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 120ms ease;
}

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

.intro {
  margin-bottom: 64px;
}

.intro p {
  color: var(--muted);
  max-width: 48ch;
}

.headshot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.section {
  margin-bottom: 56px;
}

.section:last-child {
  margin-bottom: 0;
}

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

.list li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.list .title {
  grid-column: 1;
  font-weight: 500;
}

.list .desc {
  grid-column: 1;
  color: var(--muted);
  font-size: 15px;
}

.list .meta {
  grid-column: 2;
  grid-row: 1;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  align-self: start;
}

@media (max-width: 480px) {
  main {
    padding: 64px 20px 96px;
  }
  .list .meta {
    font-size: 12px;
  }
}

.egg {
  position: fixed;
  bottom: 16px;
  right: 20px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 120ms ease;
}

.egg:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
