:root { color-scheme: dark; }

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: #09090b;
  color: #f0eef8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: #8fb8ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Nav ---- */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: inherit;
}
.nav-brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-links a { color: inherit; opacity: 0.75; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta {
  padding: 9px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9b51e0, #00c6ff);
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ---- Mobile nav (hamburger, CSS-only via the checkbox hack) ---- */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 6px;
  color: inherit;
}
.nav-toggle-label svg { display: block; }

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #14101f;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 8px;
    z-index: 50;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle-label { display: block; }
  .nav-links a {
    padding: 12px 10px;
    border-radius: 8px;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.06); }
}

/* ---- Footer ---- */
footer.site-footer {
  margin-top: 72px;
  padding: 28px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #a3a0b0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: inherit; opacity: 0.8; }

/* ---- Shared bits ---- */
.card {
  background: #16151a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 22px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9b51e0, #00c6ff);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15.5px;
  text-align: center;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-secondary {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.16);
  color: inherit !important;
  font-weight: 700;
  font-size: 15.5px;
  text-align: center;
}
