
:root {
  --bg: #fdfdfb;
  --bg-soft: #f0fdf4;
  --accent: #15803d;
  --accent-dark: #14532d;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #dcfce7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: inline-block; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
header.site .row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
header.site .brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em;
}
header.site .brand:hover { color: var(--accent); }
header.site .brand-mark {
  width: 38px; height: 38px;
  background: var(--accent); color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
header.site nav a {
  margin-left: 22px; color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: 14px;
}
header.site nav a:hover { color: var(--accent); }

.hero-strip {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
}
.hero-strip .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero-strip h1 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-strip p.sub {
  font-size: 18px; color: var(--muted); margin: 0; max-width: 640px; line-height: 1.55;
}
.hero-strip .meta {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.hero-strip .meta strong { color: var(--text); }

main { padding: 44px 0 60px; }
article h2 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: clamp(24px, 3.5vw, 30px);
  line-height: 1.2;
  margin: 44px 0 14px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.005em;
}
article h2:first-child { margin-top: 0; }
article h3 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--text);
  font-weight: 700;
}
article p { margin: 0 0 18px; }
article ul, article ol { padding-left: 24px; margin: 0 0 22px; }
article li { margin-bottom: 10px; }
article strong { color: var(--text); font-weight: 700; }
article em { font-style: italic; }
article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
article a:hover { color: var(--accent-dark); }

.about-bio {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 40px 0;
  display: flex; gap: 18px; align-items: flex-start;
}
.about-bio .avatar {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Nunito Sans', system-ui, sans-serif; font-weight: 700; font-size: 18px;
}
.about-bio .text strong { display: block; color: var(--text); font-size: 15px; }
.about-bio .text p { font-size: 14px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0 32px;
}
.toc strong {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 8px;
}
.toc ul { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; font-size: 14px; }
.toc a { color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

footer.site {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 42px 0 36px;
  margin-top: 60px;
  font-size: 14px;
  color: var(--muted);
}
footer.site .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  footer.site .row { grid-template-columns: 2fr 1fr 1fr; }
}
footer.site h4 {
  color: var(--text);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 14px;
  margin: 0 0 12px;
  font-weight: 700;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
.foot-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .current { color: var(--text); font-weight: 600; }
