:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --surface: #161a23;
  --border: #252b38;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --accent: #c9a2ff;
  --accent-strong: #a874ff;
  --radius: 14px;
  --max: 1100px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav nav { display: flex; gap: 28px; }

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

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

/* Hero */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(168, 116, 255, 0.18), transparent 70%),
    radial-gradient(600px 300px at 90% 20%, rgba(90, 140, 255, 0.12), transparent 70%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 36em;
  margin: 24px 0 36px;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

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

.button.primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.button.primary:hover { background: var(--accent); border-color: var(--accent); color: #140a24; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-lead { margin: 0 0 40px; color: var(--muted); }

.section p { color: var(--muted); }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, transform 0.15s;
}

.product-card:not(.upcoming):hover {
  border-color: var(--accent-strong);
  transform: translateY(-2px);
}

.product-card.upcoming { border-style: dashed; background: transparent; }

.product-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-strong), #5a8cff);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
}

.upcoming .product-mark { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border); }

.product-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.product-card p { margin: 0 0 20px; flex: 1; }

.product-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.product-link:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

@media (max-width: 600px) {
  .nav nav { gap: 18px; }
  .hero { padding: 80px 0 72px; }
  .section { padding: 72px 0; }
}
