:root {
  --bg: #f4f7f5;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #475569;
  --accent: #345040;
  --line: #dbe5de;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111713;
    --card: #18211b;
    --text: #e2e8f0;
    --muted: #a7b3ab;
    --accent: #a6c5b3;
    --line: #2a372e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
header.top {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 18px; }
.back {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 12px; background: var(--accent); color: var(--bg);
  text-decoration: none; font-weight: 600; font-size: 14px;
}
main {
  max-width: 760px;
  margin: 16px auto 32px;
  padding: 24px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}
@media (max-width: 600px) {
  main { margin: 12px 16px 24px; padding: 20px 16px; }
}
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 12px; color: var(--accent); }
h2 { font-size: 19px; line-height: 1.35; margin: 28px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 6px; }
p, li { color: var(--text); overflow-wrap: anywhere; }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
a { color: var(--accent); }
code { font-size: 0.92em; background: var(--bg); padding: 1px 5px; border-radius: 6px; }
.muted { color: var(--muted); font-size: 14px; }
.note {
  border-left: 4px solid var(--accent);
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
}
footer.bottom {
  max-width: 760px; margin: 0 auto; padding: 0 16px 32px;
  text-align: center; font-size: 13px; color: var(--muted);
}
footer.bottom a { color: var(--muted); }
