:root {
  color-scheme: light dark;
  --bg: #f6faf7;
  --surface: #ffffff;
  --text: #0f1f17;
  --muted: #55665c;
  --line: #d9e6de;
  --brand: #14804a;
  --brand-ink: #ffffff;
  --brand-soft: #e3f3ea;
  --accent: #14804a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1611;
    --surface: #13211a;
    --text: #e8f2ec;
    --muted: #9db3a6;
    --line: #23362b;
    --brand: #3dd68c;
    --brand-ink: #06150d;
    --brand-soft: #173326;
    --accent: #3dd68c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 760px; 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; min-height: 60px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.links { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }

main { padding: 32px 0 56px; }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.badge {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font-weight: 600; text-decoration: none;
}

.steps { display: grid; gap: 12px; margin: 32px 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 16px 16px 60px; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.steps strong { display: block; }

.callout {
  background: var(--brand-soft); border-radius: 14px; padding: 16px 18px; margin: 24px 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
.updated { color: var(--muted); margin-top: 0; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 4px; }

.table-wrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 24px 0 40px; }
footer.site p { margin: 4px 0; }
