:root {
  --bg: #0b0e13;
  --bg-elev: #11161d;
  --surface: #1a2029;
  --surface-2: #232a35;
  --border: #2a323e;
  --text: #e8eef5;
  --text-soft: #b3bdca;
  --muted: #7d8a9a;
  --primary: #6cb0ff;
  --primary-strong: #539bf5;
  --primary-soft: rgba(108, 176, 255, 0.13);
  --accent: #c08fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: #92c5ff; }
em { font-style: italic; color: var(--accent); font-weight: 600; }
code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
code {
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text-soft);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(11,14,19,0.85);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.brand-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #539bf5 0%, #8957e5 100%);
  box-shadow: 0 0 14px rgba(83,155,245,0.6);
}
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { font-size: 0.92rem; color: var(--text-soft); }
.nav-links a:hover { color: var(--text); }

/* ---- Hero ---- */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(83,155,245,0.18), transparent 60%),
    radial-gradient(700px 300px at 80% 30%, rgba(192,143,255,0.10), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin: 0 0 1.1rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 1.8rem;
}
.hero-cta {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-shell {
  display: inline-block;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin: 0 auto;
  text-align: left;
  max-width: 100%;
  overflow-x: auto;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.hero-shell code { background: transparent; padding: 0; color: var(--text); }
.hero-note { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.65rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s;
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn-primary { background: var(--primary); color: #0a1220; border-color: var(--primary); font-weight: 600; }
.btn-primary:hover { background: #87befd; color: #0a1220; border-color: #87befd; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: 1.85rem;
  margin: 0 0 0.6rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---- Cards ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.6rem 1.5rem;
}
.card h3 { font-size: 1.05rem; margin: 0.2rem 0 0.5rem; }
.card p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }
.card-icon {
  font-size: 1.6rem;
  background: var(--primary-soft);
  color: var(--primary);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

/* ---- Install grid ---- */
.install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.install-card pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0.5rem 0;
}
.install-card pre code { background: transparent; color: var(--text); padding: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.callout {
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ---- Steps ---- */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem 1rem 3.6rem;
  position: relative;
  color: var(--text-soft);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: var(--primary-soft);
  color: var(--primary);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
}
.steps strong { color: var(--text); }

/* ---- Footer ---- */
.footer { padding: 2.4rem 0; border-top: 1px solid var(--border); background: var(--bg-elev); margin-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-soft); }

@media (max-width: 700px) {
  .nav { padding: 0.85rem 1rem; }
  .nav-links { gap: 0.85rem; }
  .nav-links a { font-size: 0.85rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .section { padding: 3rem 0; }
}
