:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --text: #1d2a24;
  --muted: #5b6b63;
  --line: #e3e0d6;
  --brand: #1f6f50;
  --brand-ink: #ffffff;
  --accent: #c99a3b;
  --soft: #e9f2ec;
  --radius: 14px;
  --max: 920px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1613;
    --surface: #16201c;
    --text: #e6ece8;
    --muted: #9fb0a7;
    --line: #26332d;
    --brand: #3fa57c;
    --brand-ink: #08110d;
    --accent: #e0b65c;
    --soft: #1b2a23;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
a { color: var(--brand); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.logo svg { flex: none; }
nav.top { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--brand); }

.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.2; margin: 0 0 12px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 24px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

section { padding: 28px 0; }
section h2 { font-size: 22px; margin: 0 0 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.note {
  background: var(--soft); border-left: 4px solid var(--brand); border-radius: 8px;
  padding: 12px 16px; margin: 16px 0;
}
dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }

article.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; margin: 28px 0; }
article.doc h1 { font-size: clamp(24px, 5vw, 32px); margin: 0 0 4px; }
article.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
article.doc h2 { font-size: 19px; margin: 28px 0 8px; }
article.doc ul, article.doc ol { padding-left: 22px; }
article.doc li { margin: 4px 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
footer.site a { color: var(--muted); }
