:root {
  --ink: #14213d;
  --text: #2b2f3a;
  --muted: #5d6475;
  --line: #e3e5ea;
  --bg: #fbfaf7;
  --accent: #0f766e;
  --accent-ink: #0b5a54;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
header.top {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}
header.top .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }
.hero { padding: 88px 0 56px; }
.kicker {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 18px;
}
h1 {
  font-size: clamp(34px, 6vw, 52px); line-height: 1.12; color: var(--ink);
  margin: 0 0 24px; font-weight: 700; letter-spacing: -.01em;
}
.lede { font-size: 21px; color: var(--text); margin: 0 0 12px; }
section { padding: 44px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px; font-weight: 600;
}
p { margin: 0 0 16px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.facts li { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: var(--muted); }
.facts strong { display: block; font-size: 26px; color: var(--ink); font-family: Georgia, serif; line-height: 1.2; }
.cards { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.card p { margin: 0; color: var(--text); font-size: 17px; }
.card .tag { font-family: system-ui, -apple-system, sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; display: block; }
.btn {
  display: inline-block; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; font-weight: 600;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 8px; text-decoration: none;
}
.btn:hover { background: var(--accent-ink); color: #fff; }
footer { padding: 32px 0 56px; border-top: 1px solid var(--line); font-family: system-ui, -apple-system, sans-serif; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { body { font-size: 17px; } .hero { padding-top: 56px; } nav a { margin-left: 14px; } }

/* writing */
.post-meta { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.post h1 { font-size: clamp(30px, 5vw, 42px); }
.post h2 { font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); font-family: Georgia, serif; margin: 36px 0 12px; }
.post blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.post pre, .post code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
.post pre { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; overflow-x: auto; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.post-list li:first-child { border-top: 0; }
.post-list h3 { margin: 0 0 4px; font-size: 21px; }
.post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h3 a:hover { text-decoration: underline; }
.post-list p { margin: 0; font-size: 17px; }
.post-list .date { font-family: system-ui, -apple-system, sans-serif; font-size: 13px; color: var(--muted); display: block; margin-bottom: 4px; }
