:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1f2a24;
  --ink-soft: #4a574f;
  --muted: #7c8a82;
  --line: #e3e0d8;
  --accent: #2f6b4f;
  --accent-soft: #e8f0ec;
  --radius: 10px;
  --maxw: 720px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 30px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  font-size: 22px;
}
.brand-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tagline {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 56ch;
}

.toc {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.toc .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
.toc-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin-right: 4px;
}
.toc a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
}
.toc a:hover { color: var(--accent); }

main { padding: 10px 0 40px; }
.section { padding: 36px 0 8px; }
.section:first-child { padding-top: 24px; }
h1 {
  font-size: 34px;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 26px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
h3 { font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3 {
  color: var(--accent);
  font-family: system-ui, sans-serif;
  font-size: 28px;
  margin: 0 0 6px;
}
.card p { margin: 0; font-size: 14px; color: var(--muted); }

.species {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 20px;
}
.species h3 { margin-bottom: 8px; }
.latin {
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 18px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
}
.facts div { display: flex; flex-direction: column; }
.facts dt {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 20px;
}
.site-footer p { margin: 0; font-size: 14px; color: var(--muted); }
.site-footer .fine { margin-top: 6px; font-size: 12px; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  h1 { font-size: 28px; }
  .brand-name { font-size: 22px; }
}
.center { text-align: center; }
.pad-y { padding-top: 60px; padding-bottom: 80px; }
.home-link { color: var(--accent); }
