:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #17212b;
  --muted: #5b6b7a;
  --line: #e2e8f0;
  --brand: #2f7d64;
  --brand-ink: #ffffff;
  --accent: #eef5f2;
  --radius: 12px;
  --maxw: 1040px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151b;
    --surface: #17212b;
    --ink: #eaf1f8;
    --muted: #9fb0c0;
    --line: #26333f;
    --brand: #4cae8e;
    --accent: #16241e;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 720px; }
.center { text-align: center; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--accent), var(--bg));
  padding: 72px 0 56px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 12px;
}
h1 {
  font-size: 2.15rem;
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 20ch;
}
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.lead { color: var(--muted); }

.button {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
}
.button:hover { text-decoration: none; opacity: 0.92; }
.cta { margin-top: 26px; }

/* Features */
.features { padding: 56px 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h2 { font-size: 1.05rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Steps */
.steps { padding: 8px 0 64px; }
.steps h2 { font-size: 1.5rem; margin: 0 0 20px; }
.steps-list { padding-left: 20px; margin: 0; max-width: 68ch; }
.steps-list li { margin: 0 0 12px; color: var(--muted); }
.steps-list strong { color: var(--ink); }

/* Generic page */
.page { padding: 56px 0 64px; }
.page h1 { font-size: 1.9rem; }
.page h2 { font-size: 1.25rem; margin-top: 32px; }
.bullets { color: var(--muted); padding-left: 20px; }
.bullets li { margin-bottom: 8px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code404 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 4px;
  line-height: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0;
  margin-top: 24px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  .hero { padding: 52px 0 40px; }
}
