:root {
  --bg: #ffffff;
  --text: #16181d;
  --muted: #545a66;
  --border: #dcdfe5;
  --surface: #f4f5f8;
  --accent: #1d4ed8;
  --on-accent: #ffffff;
  --code-bg: #f0f1f5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --text: #e9eaee;
    --muted: #a3a8b3;
    --border: #2a2e37;
    --surface: #171a21;
    --accent: #8ab4ff;
    --on-accent: #0b1020;
    --code-bg: #171a21;
  }
}

* { 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, Arial, sans-serif;
}

a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.site-header, main, .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.wordmark {
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.hero { padding: 2.5rem 0 1.5rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 { margin: 0 0 0.75rem; font-size: 1.4rem; letter-spacing: -0.01em; }

section { margin: 2.5rem 0; }
.hero { margin: 0; }

.lead { margin: 0 0 1.5rem; font-size: 1.15rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.proof {
  margin: 1.5rem 0 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.stat { display: flex; flex-direction: column; }
.number { font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.label { margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; }

figcaption { margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }

.reasons, .steps { margin: 0; padding-left: 1.25rem; }
.reasons li, .steps li { margin-bottom: 0.75rem; }

pre {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
}

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre code { font-size: inherit; }

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.site-footer .fine { font-size: 0.8rem; }

@media (max-width: 30rem) {
  body { font-size: 16px; }
  .number { font-size: 2.75rem; }
}
