:root {
  --bg: #0a0c10;
  --bg-elev: #12151c;
  --bg-alt: #0e1118;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --accent: #7c5cff;
  --accent-dim: #5a3fd4;
  --berry: #c41e3a;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a { color: #b8a8ff; }
a:hover { color: #d4cbff; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.45em;
  border-radius: 6px;
}

.glow {
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-a { top: -20%; left: -10%; background: var(--accent-dim); }
.glow-b { bottom: -30%; right: -15%; background: var(--berry); opacity: 0.2; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--text); }

main {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--berry);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
}
.btn-primary:hover { color: #fff; filter: brightness(1.08); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.hero-stats dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}
.hero-stats dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.panel { padding: 2.5rem 0; }
.panel-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 40%, transparent); }

.panel-inner h2 {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.section-intro { color: var(--muted); margin-top: -0.5rem; }

.prose p { color: var(--muted); }
.prose p strong { color: var(--text); }

.release-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.release-stable { border-color: rgba(124, 92, 255, 0.35); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.tag-stable { background: rgba(124, 92, 255, 0.2); color: #c4b5fd; }
.tag-exp { background: rgba(196, 30, 58, 0.25); color: #ffb3c1; }

.release-meta h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.release-meta p { color: var(--muted); margin: 0; }

.feature-list {
  margin: 1.25rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.feature-list li { margin: 0.35rem 0; }

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.install-steps {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.install-steps summary {
  cursor: pointer;
  font-weight: 600;
}
.install-steps ol { color: var(--muted); }

.note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1rem;
}

.release-grid {
  display: grid;
  gap: 1rem;
}

.link-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
}
.link-grid a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
}
.link-grid strong { display: block; color: var(--text); margin-bottom: 0.2rem; }
.link-grid span { color: var(--muted); font-size: 0.92rem; }

.compat {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compat th, .compat td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.compat th { color: var(--muted); font-weight: 600; }

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.site-footer p { margin: 0.35rem 0; }

.demo-block {
  display: grid;
  gap: 2rem;
}
@media (min-width: 820px) {
  .demo-block { grid-template-columns: 1.15fr 1fr; align-items: start; }
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-copy h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
}
.demo-copy h3:first-child { margin-top: 0; }

.screenshot-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .screenshot-grid { grid-template-columns: 1fr 1fr; }
}

.shot {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.shot figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.shot figcaption strong { color: var(--text); display: block; margin-bottom: 0.25rem; }

.hero-shot {
  margin: 2.5rem auto 0;
  max-width: 420px;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .hero { padding-top: 2.5rem; }
}
