:root {
  --bg: #F4F3F1;
  --surface: #FFFFFF;
  --surface2: #ECEBE9;
  --ink: #1A1A1C;
  --muted: #6E6E73;
  --faint: #9A9A9E;
  --line: #E2E1DE;
  --accent: #D0432E;
  --radius: 20px;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -0.2px; }
.brand-sub { font-size: 12px; color: var(--faint); }

.nav {
  display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap;
}
.nav a {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px;
}
.nav a.active, .nav a:hover { color: var(--ink); border-color: var(--ink); }

h1 {
  font-size: 30px; font-weight: 700; letter-spacing: -0.6px; margin: 0 0 6px;
}
.version {
  font-size: 12.5px; color: var(--faint); margin-bottom: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
}

section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
section:last-child { border-bottom: none; }

h2 {
  font-size: 15px; font-weight: 700; margin: 0 0 8px;
}
p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.65; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}
.hero-card h2 { font-size: 17px; margin-bottom: 6px; }
.hero-card p { font-size: 14px; }
.hero-card a.btn {
  display: inline-flex; margin-top: 14px; text-decoration: none;
  background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
}

footer {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--faint);
}
footer a { color: var(--muted); }

/* ---- Overview / marketing page ---- */
.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.hero { margin-bottom: 40px; }
.hero h1 { font-size: 34px; max-width: 14ch; }
.hero .lead { font-size: 16px; color: var(--muted); max-width: 46ch; margin-top: 10px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn.primary {
  display: inline-flex; text-decoration: none;
  background: var(--accent); color: #FFFFFF; font-size: 13.5px; font-weight: 700;
  padding: 12px 20px; border-radius: 999px;
}
.btn.ghost {
  display: inline-flex; text-decoration: none;
  background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line);
}
.section-title { font-size: 20px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.3px; }
.section-sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; max-width: 52ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 620px) { .split { grid-template-columns: 1fr; } }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feat-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
.feat-list b { color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.feat-list span { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: var(--surface2); border-radius: 999px; padding: 6px 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181A; --surface: #1F2023; --surface2: #262729; --ink: #F4F3F1;
    --muted: #A9A9AC; --faint: #78787C; --line: #303133;
  }
  .brand-mark { background: var(--ink); color: var(--bg); }
  .hero-card a.btn { background: var(--ink); color: var(--bg); }
}
