:root {
  --bg-0: #0e0a18;
  --bg-1: #1a1030;
  --bg-2: #2e1065;
  --ink: #f5f3ff;
  --muted: #c4b5fd;
  --accent: #8b5cf6;
  --accent-2: #7c5cfc;
  --line: rgba(196, 181, 253, 0.22);
  --max: 46rem;
  --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 85% -10%, rgba(124, 92, 252, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(139, 92, 246, 0.22), transparent 50%),
    linear-gradient(160deg, var(--bg-1), var(--bg-0) 55%, #09060f);
}

a {
  color: var(--muted);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.wrap {
  width: min(100% - 2rem, 58rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.hero {
  padding: 2.5rem 0 2rem;
}

.hero-banner {
  display: block;
  width: min(100%, 52rem);
  height: auto;
  margin: 0 0 1.75rem;
  border-radius: 1.1rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero .lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #1a1030;
  background: linear-gradient(135deg, #ddd6fe, var(--accent));
}

.btn-primary:hover {
  color: #1a1030;
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: #fff;
}

section {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}

section p,
section li {
  color: #e9e2ff;
}

.checklist,
.modes {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.checklist li,
.modes li {
  margin: 0.35rem 0;
}

pre,
.code {
  overflow-x: auto;
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(14, 10, 24, 0.72);
  color: #f5f3ff;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footnote {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 1.5rem;
  }
}
