:root {
  --bg: #0c0d10;
  --panel: #16181d;
  --text: #e7e9ee;
  --muted: #a9afbf;
  --primary: #3b82f6;
  --accent: #10b981;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--primary); text-decoration: none; }

.site-header { background: var(--panel); border-bottom: 1px solid #22262e; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 14px 20px; }
.brand { margin: 0; font-size: 20px; }
.nav a { margin-left: 16px; padding: 8px 12px; border-radius: 6px; }
.nav a.active { background: #21242b; }
.nav a.cta { background: var(--primary); color: white; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 20px; }

.hero { background: linear-gradient(180deg, #0e1116 0%, #0c0d10 100%); border-bottom: 1px solid #22262e; }
.hero h2 { font-size: 28px; margin: 0 0 10px; }
.hero p { color: var(--muted); max-width: 760px; }
.actions { margin-top: 16px; }
.button { display: inline-block; padding: 10px 14px; border-radius: 8px; background: #21242b; color: var(--text); margin-right: 10px; }
.button.primary { background: var(--accent); color: #062115; }

.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid #22262e; border-radius: 10px; padding: 16px; }
.card h3 { margin-top: 0; }

.screenshots h2 { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gallery figure { background: var(--panel); border: 1px solid #22262e; border-radius: 10px; padding: 12px; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 8px; background: #0e1116; }
.gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.note { color: var(--muted); }

.docs .steps { padding-left: 20px; }
.docs .docshot { margin: 16px 0; }
.docs .docshot img { width: 100%; height: auto; border: 1px solid #22262e; border-radius: 8px; }

.contact .contact-form { background: var(--panel); border: 1px solid #22262e; border-radius: 10px; padding: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #2a2e37; background: #0f1115; color: var(--text); }
.status { margin-bottom: 12px; min-height: 24px; }

.site-footer { border-top: 1px solid #22262e; padding: 16px 0; color: var(--muted); }

@media (max-width: 640px) {
  .brand { font-size: 18px; }
  .hero h2 { font-size: 22px; }
}