:root {
  color-scheme: light;
  --paper: #e7e7df;
  --card: #f6f6f0;
  --ink: #161a14;
  --muted: #565c4f;
  --brass: #7a5716;
  --line: #cbccc0;
  --sage: #4c6647;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(76, 102, 71, 0.14), transparent 58%),
    radial-gradient(720px 380px at 100% 0%, rgba(122, 87, 22, 0.10), transparent 52%),
    var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--brass);
  font-weight: 650;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.wrap {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(122, 87, 22, 0.28);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

nav a { color: var(--muted); font-weight: 600; }
nav a:hover { color: var(--ink); }

main {
  padding: 28px 0 72px;
}

.kicker {
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

h2 {
  margin-top: 32px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.lede, .updated, p, li {
  color: var(--muted);
}

.updated { margin: 0 0 22px; font-size: 0.92rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.card p { margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
}
