:root {
  --bg: #f7f5f0;
  --fg: #111827;
  --muted: #4b5563;
  --card: #ffffff;
  --line: #e5e1d8;
  --accent: #111827;
  --on-accent: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --fg: #f3f4f6;
    --muted: #9ca3af;
    --card: #181b22;
    --line: #2a2f3a;
    --accent: #f3f4f6;
    --on-accent: #111827;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 8px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { opacity: .88; }
.button:focus-visible { outline: 3px solid var(--muted); outline-offset: 3px; }
.button.small { padding: 8px 16px; font-size: 15px; }
.button.ghost { background: transparent; color: var(--fg); border: 2px solid var(--fg); }

.hero { padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; max-width: 16ch; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding-bottom: 72px; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.features h2 { font-size: 19px; margin: 0 0 8px; }
.features p { margin: 0; color: var(--muted); }

.example, .cta { padding-bottom: 72px; }
.example h2, .cta h2 { font-size: 28px; margin: 0 0 8px; }
.example p, .cta p { color: var(--muted); margin: 0 0 20px; max-width: 60ch; }
.cta { text-align: center; }
.cta p { margin-left: auto; margin-right: auto; }

.foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot nav { display: flex; gap: 16px; }

.legal { padding-top: 24px; padding-bottom: 64px; max-width: 70ch; }
.legal h1 { font-size: 36px; margin: 0 0 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
