:root {
  --bg: #0e1016;
  --bg-alt: #14161f;
  --card: #1b1e29;
  --border: #272b38;
  --text: #e7e9f0;
  --muted: #9aa0ad;
  --accent: #5b8cff;
  --accent-2: #6f9bff;
  --danger: #c0392b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
code {
  background: #11131a;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.9em;
  color: #cdd5ff;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 16, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 1.15rem; color: #fff; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--muted); font-weight: 500; }
.nav nav a:hover { color: #fff; }

/* buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text) !important; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* hero */
.hero { padding: 96px 0 72px; text-align: center; }
.pill {
  display: inline-block;
  background: rgba(91,140,255,.12);
  border: 1px solid rgba(91,140,255,.35);
  color: #b9c8ff;
  padding: 6px 14px; border-radius: 999px;
  font-size: .85rem; margin-bottom: 24px;
}
.hero h1 { font-size: 3rem; line-height: 1.1; color: #fff; letter-spacing: -1px; }
.lead { color: var(--muted); font-size: 1.2rem; max-width: 640px; margin: 20px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; }
.fineprint { color: var(--muted); font-size: .85rem; margin-top: 18px; }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 2rem; color: #fff; text-align: center; margin-bottom: 40px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #fff; }
.card p { color: var(--muted); }

/* steps */
.steps { counter-reset: step; list-style: none; margin: 0 auto; max-width: 640px; }
.steps li { position: relative; padding: 14px 0 14px 52px; color: var(--muted); border-bottom: 1px solid var(--border); }
.steps li strong { color: var(--text); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.center { text-align: center; margin-top: 40px; }

/* download page */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.download-card { text-align: center; }
.download-card .os-icon { font-size: 3rem; margin-bottom: 8px; }
.download-card .btn { margin: 16px 0 8px; }
.notice {
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.3);
  border-radius: 12px; padding: 18px 22px;
}
.notice h4 { color: #ff8b7e; margin-bottom: 8px; }
.notice ul { color: var(--muted); padding-left: 20px; }

/* footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; text-align: center; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .download-grid { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
