:root {
  --bg: #020617;
  --panel: #0f172a;
  --border: #1e293b;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --primary: #6366f1;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at top, #020617, #000);
  color: var(--text);
}

/* INTRO */
#intro {
  position: fixed;
  inset: 0;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.intro-logo {
  width: 160px;
}

/* MAIN */
.hidden { display: none; }

.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
}

.logo {
  width: 90px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
}

.hero p {
  max-width: 720px;
  margin: 1rem auto 2.2rem;
  color: var(--muted);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.btn {
  padding: .75rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.ghost {
  background: var(--panel);
}

.content {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

section { margin-bottom: 3rem; }

pre {
  background: #020617;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
}

/* COPY BUTTON */
.code-block {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.copy-btn.copied {
  color: #22c55e;
  border-color: #22c55e;
}

.note {
  color: var(--muted);
  font-size: .9rem;
}

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