:root {
  --bg: #0f1420;
  --panel: #171e2e;
  --line: #263049;
  --text: #e6eaf2;
  --muted: #98a3bd;
  --accent: #4a9eff;
  --accent2: #7be0a8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 "DejaVu Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding: 84px 0 64px; text-align: center; }
.hero h1 { font-size: 52px; line-height: 1.15; margin: 0 0 16px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: 20px; }
.btn {
  display: inline-block; background: var(--accent); color: #05101f; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; text-decoration: none; font-size: 18px;
}
.btn:hover { filter: brightness(1.1); }
.btn.alt { background: transparent; color: var(--text); border: 1px solid var(--line); margin-left: 10px; }
.meta { margin-top: 18px; color: var(--muted); font-size: 14px; }
.meta b { color: var(--accent2); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 8px; }
section p.sub { color: var(--muted); margin: 0 0 32px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

table { border-collapse: collapse; width: 100%; background: var(--panel); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { color: var(--muted); font-weight: 600; }
kbd {
  background: #0b0f19; border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 6px; font: 14px "DejaVu Sans Mono", monospace;
}
code, pre { font-family: "DejaVu Sans Mono", monospace; font-size: 14px; }
pre { background: #0b0f19; border: 1px solid var(--line); border-radius: 8px; padding: 16px; overflow-x: auto; }

.stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 24px; min-width: 150px; }
.stat .n { font-size: 34px; font-weight: 700; color: var(--accent2); }
.stat .l { color: var(--muted); font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.bars div { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }

/* Screenshots */
.shot { display: block; width: 100%; max-width: 100%; height: auto; box-sizing: border-box; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
a.shot-link { display: block; cursor: zoom-in; }
.hero-shot { padding-bottom: 56px; }
.hero-shot figcaption, .showcase figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }
figure { margin: 0; min-width: 0; max-width: 100%; }
.showcase .row > *, .showcase .pair > * { min-width: 0; }
.showcase .row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.showcase .row.flip { grid-template-columns: 1.25fr 1fr; }
.showcase .row.flip .text { order: 2; }
.showcase .text h3 { font-size: 24px; margin: 0 0 12px; }
.showcase .text p { color: var(--muted); margin: 0 0 12px; }
.showcase .text ul { color: var(--muted); padding-left: 20px; margin: 0; }
.showcase .text li { margin-bottom: 6px; }
.showcase .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 64px; }
.showcase .row:last-child, .showcase .pair:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 600px) {
  .hero h1 { font-size: 36px; }
  nav a { margin-left: 12px; }
  .btn.alt { margin: 12px 0 0; }
}
@media (max-width: 800px) {
  .showcase .row, .showcase .row.flip, .showcase .pair { grid-template-columns: 1fr; gap: 24px; }
  .showcase .row.flip .text { order: 0; }
}
