:root {
  color-scheme: light;
  --ink: #262a28;
  --muted: #777c77;
  --line: #e2e5df;
  --accent: #315944;
  --paper: #fdfdfb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 auto;
  max-width: 820px;
  padding: 0 30px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 33px 0;
}
.brand {
  font-weight: 650;
  letter-spacing: -0.5px;
  font-size: 20px;
}
.site-header nav {
  display: flex;
  gap: 23px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
main {
  padding: 65px 0 85px;
  flex: 1;
  min-width: 0;
}
.intro {
  margin-bottom: 70px;
}
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 17px;
}
.intro h1,
.article-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 53px);
  letter-spacing: -1.6px;
  line-height: 1.15;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}
.intro > p:not(.eyebrow),
.description {
  font-size: 18px;
  line-height: 1.8;
  max-width: 620px;
  color: #626960;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
.section-heading h2 {
  font-size: 12px;
  letter-spacing: 0.4px;
  font-weight: 500;
  margin: 0;
  color: var(--muted);
}
.section-heading a {
  font-size: 12px;
  color: var(--accent);
}
.post-card {
  border-bottom: 1px solid var(--line);
  padding: 27px 0;
}
.post-card time,
.article-header time {
  font-size: 12px;
  color: var(--muted);
}
.post-card h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.4px;
  margin: 10px 0;
}
.post-card p {
  color: #6b7269;
  line-height: 1.75;
  font-size: 14px;
  margin: 10px 0 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  color: var(--muted);
  font-size: 11px;
}
.article-header {
  margin-bottom: 40px;
}
.article-header .back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
}
.article-header .description {
  margin: 22px 0 0;
}
.tags {
  font-size: 11px;
  color: var(--accent);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.prose {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.prose p {
  margin: 0 0 1.35em;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 1.8em 0 0.8em;
  font-weight: 600;
}
.prose h1 {
  font-size: 32px;
}
.prose h2 {
  font-size: 26px;
}
.prose h3 {
  font-size: 21px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img,
.prose video {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}
.prose pre {
  font-size: 13px;
  line-height: 1.7;
  background: #252c27;
  color: #f0f5ed;
  border-radius: 6px;
  padding: 22px;
  overflow: auto;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8em;
  background: #eef1e9;
  padding: 2px 5px;
  border-radius: 3px;
}
.prose pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose blockquote {
  margin: 1.5em 0;
  border-left: 3px solid #b6c6ad;
  padding-left: 22px;
  color: #687060;
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 15px;
  max-width: 100%;
  margin: 1.5em 0;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 9px 13px;
  text-align: left;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}
.draft-label {
  display: table;
  background: #f4ebd2;
  padding: 6px 9px;
  border-radius: 4px;
  font-size: 11px;
  color: #80662c;
}
.empty {
  color: var(--muted);
  font-size: 14px;
  padding-top: 20px;
}
@media (max-width: 540px) {
  body {
    padding: 0 22px;
  }
  .site-header {
    padding: 24px 0;
    gap: 16px;
  }
  main {
    padding-top: 40px;
  }
  .intro {
    margin-bottom: 50px;
  }
  .intro h1,
  .article-header h1 {
    letter-spacing: -1px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 12px;
  }
  .prose {
    font-size: 17px;
  }
  .article-header .description,
  .intro > p:not(.eyebrow) {
    font-size: 17px;
  }
}
