:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --border: #1f2535;
  --accent: #e3291a;
  --danger: #ff4d6d;
  --text: #d8d4cc;
  --muted: #5a6478;
  --code-bg: #0a0c10;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  min-height: 100vh;
  padding: 48px 24px;
}

.page {
  max-width: 760px;
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
  margin-bottom: 48px;
}

.site-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.step {
  margin-bottom: 48px;
}

.step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

p {
  color: var(--text);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.code-lang {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.copy-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  background: none;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 3px 10px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s;
}

.copy-btn:hover {
  background: var(--accent);
  color: #000;
}

code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 18px 20px;
  color: #a8d8a8;
  line-height: 1.7;
  white-space: pre;
  user-select: text;
}

code.inline {
  display: inline;
  padding: 0;
  font-size: inherit;
  color: var(--accent);
}

.back-btn {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.05em;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.back-btn:hover {
  opacity: 1;
}