/* ── Design tokens ── */
:root {
  --ac:  #7c6cff;
  --ac2: #5fd4ff;
  --bg:  #08080d;
  --bg2: #0b0b13;
  --text: #e8e8f2;
  --muted: #a6a6bd;
  --muted2: #9a9ab0;
  --dim: #6b6b80;
  --dimmer: #55556a;
  --surface: rgba(255,255,255,.03);
  --border: rgba(255,255,255,.08);
  --border-faint: rgba(255,255,255,.07);
  --green: #5fe39a;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: rgba(124,108,255,.35); }

/* ── Base ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(124,108,255,.16);
  color: #cfc7ff;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .85em;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,8,13,.72);
  border-bottom: 1px solid var(--border-faint);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.nav__logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 14px;
  color: #0a0a10;
  flex-shrink: 0;
}
.nav__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: 10px;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted2);
  font-size: 14px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: auto; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  color: #0a0a10;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; }
.btn-primary--lg { font-size: 15px; padding: 14px 26px; border-radius: 12px; }

.btn-ghost {
  display: inline-block;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 12px;
  transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

/* ── Section commons ── */
.section-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 28px;
}
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ac);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 12px 0 0;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-faint);
  background: var(--bg2);
  margin-top: 40px;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px;
  text-align: center;
}
.footer__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.025em;
  font-weight: 700;
}
.footer__sub {
  color: var(--muted);
  font-size: 17px;
  margin: 16px auto 28px;
  max-width: 440px;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--border-faint);
  font-size: 13px;
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
}
.footer__meta-name { color: var(--muted2); font-weight: 600; }
.footer__meta a { color: var(--muted2); text-decoration: none; }
.footer__meta a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
}
