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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cs-background);
  color: var(--cs-text);
}

.content { max-width: 760px; margin: 0 auto; padding: 72px 24px 60px;
}

.contributing-hero {
  margin-bottom: 48px;
}

.contributing-hero-badge {
  margin-bottom: 16px;
  display: inline-block;
}

.contributing-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contributing-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--cs-text-muted);
}

.callout {
  padding: 14px 16px;
  border-radius: var(--cs-radius);
  border-left: 4px solid #22c55e;
  background: rgba(34, 197, 94, 0.08);
  margin: 16px 0 32px;
  font-size: 14px;
  color: var(--cs-text-muted);
}

.callout strong {
  color: var(--cs-text);
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cs-border);
}

.prose p {
  color: var(--cs-text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 14px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.prose li {
  color: var(--cs-text-muted);
  line-height: 1.85;
  margin-bottom: 6px;
  font-size: 14px;
}

.prose strong {
  color: var(--cs-text);
}

.prose a {
  color: #7c3aed;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose code {
  background: var(--cs-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 14px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: #7c3aed;
  font-size: 16px;
  line-height: 1.4;
}

.step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-content strong {
  display: block;
  color: var(--cs-text);
  margin-bottom: 6px;
  font-size: 14px;
}

.step-content p {
  margin-bottom: 8px;
}

.code-block {
  background: var(--cs-surface);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 16px 20px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0;
  overflow-x: auto;
  position: relative;
  white-space: pre;
  color: var(--cs-text-muted);
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cs-border);
  border: none;
  color: var(--cs-text-muted);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.copy-btn:hover {
  background: #7c3aed;
  color: #fff;
}

.copy-btn.copied {
  background: #7c3aed;
  color: #fff;
}

.contributing-actions {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contributing-actions .cs-button:not(.cs-button--secondary) {
  color: #000;
}
.logo { font-size:18px;font-weight:800;background:linear-gradient(135deg,#7c3aed,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none; }
.nav-right { display:flex;align-items:center;gap:6px;flex-wrap:wrap; }
.nav-more-wrap { position:relative; }
.nav-more-menu { position:absolute;right:0;top:calc(100% + 8px);min-width:200px;max-height:70vh;overflow-y:auto;background:var(--cs-surface);border:1px solid var(--cs-border);border-radius:8px;box-shadow:0 12px 40px rgba(0,0,0,0.35);padding:8px 0;z-index:300; }
.nav-more-menu[hidden] { display:none; }
.nav-more-menu a { display:block;padding:8px 16px;font-size:13px;color:var(--cs-text-muted);text-decoration:none; }
.nav-more-menu a:hover { background:rgba(124,58,237,0.1);color:var(--cs-text); }
