/* ── Reset & base ───────────────────────────────────────────────── */

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

:root {
  --bg:           #0f1117;
  --bg-card:      #1a1d27;
  --bg-card-alt:  #14171f;
  --border:       #2a2d3a;
  --text:         #e8eaf0;
  --text-muted:   #8b8fa8;
  --accent:       #6c8ef7;
  --accent-hover: #89a3ff;
  --radius:       10px;
  --max-width:    860px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ─────────────────────────────────────────────────── */

h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
p  { color: var(--text-muted); }

code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.85em;
  background: var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: var(--text);
}

/* ── Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ── Header ─────────────────────────────────────────────────────── */

header {
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

header h1 {
  margin-bottom: 0.6rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Sections ───────────────────────────────────────────────────── */

main section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

main section:last-child {
  border-bottom: none;
}

/* ── Features list ──────────────────────────────────────────────── */

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.features li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text-muted);
}

.features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Download cards ─────────────────────────────────────────────── */

.downloads-note {
  margin-bottom: 1.5rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.platform-icon {
  font-size: 2rem;
}

.platform-card p {
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
}

/* ── Steps ──────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.steps li strong {
  display: block;
  margin-bottom: 0.2rem;
}

.steps li p {
  font-size: 0.9rem;
}

/* ── CTA ─────────────────────────────────────────────────────────── */

.cta {
  text-align: center;
}

.cta p {
  margin: 1rem 0 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────────── */

footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.85rem;
}
