:root {
  --teal: #0f9d8f;
  --teal-dark: #0b7a6f;
  --ink: #1d2b2a;
  --muted: #5c6b6a;
  --line: #e4ebea;
  --bg: #ffffff;
  --bg-soft: #f5f9f8;
  --max: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 18px/1.7 Georgia, "Iowan Old Style", "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--teal-dark); }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; border-radius: 10px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
header.site img { height: 30px; width: auto; border-radius: 0; }
header.site .tagline {
  font: 400 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--muted); margin: 0;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.25; color: var(--ink); }
article h1 { font-size: 2rem; margin: 0 0 .3em; }
article h2 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
article h3 { font-size: 1.15rem; margin: 1.5em 0 .4em; }

.meta {
  font: 400 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--muted); margin: 0 0 1.5em;
}

article table {
  width: 100%; border-collapse: collapse; margin: 1.5em 0;
  font-size: .95rem;
}
article th, article td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
article th { background: var(--bg-soft); }
article blockquote {
  margin: 1.5em 0; padding: .2em 1.2em; border-left: 3px solid var(--teal);
  color: var(--muted); font-style: italic;
}
article hr { border: none; border-top: 1px solid var(--line); margin: 2.5em 0; }
article code { background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

.cta {
  display: inline-block; margin: .5em 0 1em;
  background: var(--teal); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-weight: bold;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.cta:hover { background: var(--teal-dark); color: #fff; }

/* Index */
.hero { padding: 3rem 0 1.5rem; }
.hero h1 { font-size: 2.4rem; margin: 0 0 .3em; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 0; }
ul.posts { list-style: none; padding: 0; margin: 1rem 0 3rem; }
ul.posts li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
ul.posts a { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; text-decoration: none; }
ul.posts p { margin: .4em 0 0; color: var(--muted); font-size: .98rem; }

footer.site {
  border-top: 1px solid var(--line); margin-top: 3rem;
  font: 400 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--muted);
}
footer.site .wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  article h1, .hero h1 { font-size: 1.7rem; }
}
