@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/share-tech-mono-400.woff2') format('woff2');
}

:root {
  font-family: 'Share Tech Mono', ui-monospace, 'SF Mono', Menlo, Consolas, 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.7;
  color: #222;
  background: #fff;
}

body {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px 48px;
}

header nav {
  display: flex;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 24px;
}

header nav .brand {
  font-weight: 700;
  margin-right: auto;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.lead {
  color: #555;
}

.meta {
  color: #888;
  font-size: 0.85em;
}

.content img {
  max-width: 100%;
}

.list {
  padding-left: 0;
  list-style: none;
}

.list li {
  margin-bottom: 10px;
}

.comments form label {
  display: block;
  margin: 8px 0;
}

.comments input,
.comments textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.comments textarea {
  min-height: 80px;
}

.comments button {
  padding: 8px 16px;
  cursor: pointer;
}

.button {
  display: inline-block;
  padding: 8px 16px;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
}

footer {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 0.9em;
}
