:root {
  --bg: #07090d;
  --bg-card: #0f1419;
  --bg-card-hover: #141b23;
  --border: #1e2a36;
  --text: #e8eef4;
  --muted: #8b9cad;
  --accent: #3b9eff;
  --accent-dim: #2563eb;
  --ok: #34d399;
  --warn: #fbbf24;
  --soon: #64748b;
  --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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 158, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(52, 211, 153, 0.06), transparent);
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  box-shadow: 0 0 24px rgba(59, 158, 255, 0.35);
}

header nav {
  display: flex;
  gap: 1.25rem;
}

header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

header nav a:hover {
  color: var(--text);
}

.hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.hero p.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
}

.pill.ok {
  border-color: rgba(52, 211, 153, 0.35);
  color: var(--ok);
}

section {
  margin-bottom: 3rem;
}

section > h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.products {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .products {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.product-card:hover {
  border-color: #2a3d4f;
  background: var(--bg-card-hover);
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.product-card .desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid transparent;
}

.download-list li.available {
  border-color: rgba(59, 158, 255, 0.2);
}

.download-list .platform {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.download-list .platform strong {
  font-size: 0.9rem;
}

.download-list .platform span {
  font-size: 0.75rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  box-shadow: 0 2px 12px rgba(59, 158, 255, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-soon {
  background: transparent;
  color: var(--soon);
  border: 1px solid var(--border);
  cursor: not-allowed;
  opacity: 0.7;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.ok { background: var(--ok); }
.status-dot.soon { background: var(--soon); }

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

.infra dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0;
  font-size: 0.88rem;
}

.infra dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.infra dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  word-break: break-all;
}

.note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.06);
  font-size: 0.88rem;
  color: var(--muted);
}

.note strong {
  color: var(--warn);
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

footer code {
  font-family: var(--mono);
  font-size: 0.75rem;
}

.beta-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-lg {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  gap: 0.4rem;
}

.prose-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.prose-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .prose-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.muted-sm {
  font-size: 0.88rem !important;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.flow-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.flow-steps li {
  margin-bottom: 0.65rem;
}

.flow-steps strong {
  color: var(--text);
}

@media (max-width: 600px) {
  header nav {
    display: none;
  }
}
