:root {
  --bg: #0b0d12;
  --panel: #14171e;
  --panel-2: #1c2029;
  --border: #2a2f3a;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --dim: #5f6c8a;
  --accent: #6ea8fe;
  --accent-2: #2e3a78;
  --red: #ff3030;
  --green: #4ade80;
  --gold: #ffd23a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px; line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: var(--panel-2); color: var(--gold); padding: 1px 6px;
  border-radius: 4px; font-size: .92em; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Top nav */
.topnav { background: #0e1014; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; }
.nav-row { display: flex; align-items: center; justify-content: space-between;
  height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-icon { width: 28px; height: 28px; border-radius: 6px; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: .3px; }
.nav-links a { color: var(--muted); font-size: 13px; margin-left: 20px;
  text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 0; border-bottom: 1px solid var(--border); }
.hero-banner { position: relative; width: 100%; aspect-ratio: 1182 / 360;
  background: url('/hero_bg.png') center 30% / cover no-repeat;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-overlay { text-align: center; color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.7); padding: 0 24px; }
.hero-overlay h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 900;
  margin: 0; letter-spacing: 2px; line-height: 1; }
.hero-overlay .sub { font-size: clamp(12px, 1.6vw, 18px); font-weight: 700;
  letter-spacing: 4px; margin: 10px 0 0; color: #e8eaed; opacity: .95; }
.hero-body { padding-top: 28px; padding-bottom: 32px; }
.hero .tag { color: var(--muted); font-size: 17px; max-width: 720px;
  margin: 0 auto 22px; text-align: center; }
.hero .tag code { color: var(--gold); }
.hero .cta { justify-content: center; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14px; transition: transform .08s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--accent-2); color: #fff; border: 1px solid #3949ab; }
.btn.primary:hover { background: #3949ab; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { background: var(--panel-2); }

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section#about { border-bottom: none; }
section h2 { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
section h3 { font-size: 18px; margin: 24px 0 8px; color: var(--text); }
section p { color: var(--muted); margin: 0 0 12px; }

/* Lane cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px; }
.card .icon { font-size: 28px; margin-bottom: 8px; }
.card h3 { margin: 0 0 10px; font-size: 18px; color: var(--text); }
.card p { font-size: 14px; line-height: 1.55; }
.card code { display: block; margin-top: 12px; padding: 10px 12px; font-size: 12px;
  line-height: 1.7; background: var(--panel-2); color: var(--green);
  border-radius: 6px; }

/* Install */
.install ol { color: var(--muted); padding-left: 22px; }
.install ol li { margin: 8px 0; }
.muted { color: var(--dim); }

/* Footer */
footer { padding: 16px 0 0; color: var(--dim); font-size: 13px; margin: 0; }
footer a { color: var(--muted); }
footer .container { padding: 0 24px; }
footer img { margin: 0; }
body { margin: 0; padding-bottom: 0; }
html { margin: 0; padding: 0; }
