:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --text: #17201d;
  --muted: #5b6863;
  --line: #dfe7e4;
  --accent: #25866e;
  --accent-soft: #e3f2ed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1513;
    --surface: #161e1b;
    --text: #e6ecea;
    --muted: #9aa8a3;
    --line: #26312d;
    --accent: #5cc4a7;
    --accent-soft: #1b2e28;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

header.site a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

header.site img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 40px 0 8px;
}

h3 {
  font-size: 16px;
  margin: 24px 0 4px;
}

p, ul { margin: 0 0 14px; }

ul { padding-left: 22px; }

li { margin-bottom: 6px; }

a { color: var(--accent); }

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.summary {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 8px;
}

.summary ul { margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.card h3 { margin-top: 0; }

.card p:last-child { margin-bottom: 0; }

.lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 28px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 600;
  text-decoration: none;
}

footer.site {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer.site a { color: var(--muted); }
