:root {
  --bg: #0a0908;
  --bg-elev: #14110f;
  --bg-elev-2: #1a1614;
  --border: #2a2520;
  --border-hover: #3d352c;
  --text: #ece6dd;
  --text-muted: #847c72;
  --text-dim: #5a544c;
  --ember: #ff6b1a;
  --ember-soft: #ff8c47;
  --ember-warm: #fab474;
  --ember-glow: rgba(255, 107, 26, 0.18);
  --ember-faint: rgba(255, 107, 26, 0.06);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--ember-glow), transparent 60%),
    radial-gradient(ellipse 50% 30% at 15% 110%, var(--ember-faint), transparent 70%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.7  0 0 0 0 0.45  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.045;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 3;
}

nav {
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ember-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember), 0 0 28px var(--ember-glow);
  animation: breathe 3.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

@keyframes breathe {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 14px var(--ember), 0 0 30px var(--ember-glow);
  }
  50% {
    opacity: 0.82;
    box-shadow: 0 0 8px var(--ember), 0 0 18px var(--ember-glow);
  }
}

.brand .x { color: var(--text-muted); }
.brand .fire { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.ai-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--text);
  background: rgba(255, 107, 26, 0.04);
}

.ai-mode::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px var(--ember);
}

body.channel-internal .ai-mode { color: var(--ember-warm); }
body.channel-internal .ai-mode::before { background: var(--ember-warm); box-shadow: 0 0 8px var(--ember-warm); }

.version { letter-spacing: 0.06em; }

@media (max-width: 540px) {
  .version { display: none; }
}

.hero {
  padding: 110px 0 90px;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--ember), transparent);
}

h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(46px, 7.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.038em;
  margin-bottom: 36px;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ember-soft);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
  font-weight: 300;
}

.lede strong {
  color: var(--text);
  font-weight: 400;
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .tick { color: var(--ember); }

.section {
  padding: 24px 0 60px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-head h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-head .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.artifacts {
  list-style: none;
}

.artifact {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s cubic-bezier(0.2, 0.6, 0.2, 1),
              background 0.25s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.artifact::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  transition: height 0.3s ease, top 0.3s ease;
}

.artifact:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, var(--ember-faint), transparent 60%);
}

.artifact:hover::before {
  height: 22px;
  top: calc(50% - 11px);
}

.artifact:hover .art-name { color: var(--ember-soft); }
.artifact:hover .art-arrow { color: var(--ember); transform: translateX(6px); }

.art-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.art-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.art-name {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

.inline-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ember-warm);
  background: var(--ember-faint);
  padding: 1px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255, 107, 26, 0.12);
  letter-spacing: -0.01em;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.art-tag {
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.2s;
}

.artifact:hover .art-tag {
  border-color: var(--border-hover);
  color: var(--ember-warm);
}

.art-arrow {
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-family: var(--font-mono);
  font-size: 16px;
}

.run-block {
  margin: 0;
  padding: 6px 26px 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.run-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--ember) 20%, var(--ember) 80%, transparent);
  box-shadow: 0 0 12px var(--ember);
}

.run-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 4px;
  border-top: 1px solid var(--border);
}
.run-row:first-of-type { border-top: 0; }

.run-row--multi {
  align-items: start;
  padding: 18px 4px 20px;
}
.run-row--multi .run-row-label { padding-top: 2px; }
.run-row--multi .run-cmd { align-items: flex-start; }
.run-row--multi .run-cmd .prompt { padding-top: 1px; }
.run-row--multi .copy { margin-top: 0; }

.run-row-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.run-row-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 6px var(--ember-glow);
  flex-shrink: 0;
}

.run-cmd {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.run-cmd .prompt {
  color: var(--ember);
  font-weight: 500;
  flex-shrink: 0;
}

.run-cmd code {
  font-family: inherit;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.65;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.run-cmd code::-webkit-scrollbar { height: 6px; }
.run-cmd code::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.copy {
  padding: 5px 11px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 500;
  transition: all 0.2s;
}
.copy:hover {
  color: var(--ember);
  border-color: var(--ember);
  background: var(--ember-faint);
}
.copy.copied {
  color: var(--ember-warm);
  border-color: var(--ember);
}

.docs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.doc-link {
  padding: 22px 24px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}

.doc-link:hover { background: var(--bg-elev); }
.doc-link:hover .doc-title { color: var(--ember-soft); }
.doc-link:hover .doc-arrow { color: var(--ember); transform: translateX(3px); }

.doc-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-arrow {
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.doc-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

@media (max-width: 640px) {
  .docs-strip { grid-template-columns: 1fr; }
}

footer {
  padding: 56px 0 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.foot-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 22px;
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--ember-soft); }

.foot-brand {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.foot-brand:hover {
  color: var(--ember-soft);
  border-bottom-color: var(--ember);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.85s cubic-bezier(0.16, 0.7, 0.2, 1) forwards;
}
.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.34s; }
.d5 { animation-delay: 0.42s; }
.d6 { animation-delay: 0.50s; }
.d7 { animation-delay: 0.58s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .hero { padding: 70px 0 50px; }
  .artifact { grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 4px; }
  .art-meta { grid-column: 2; padding-top: 2px; }
  .art-arrow { display: none; }
  footer { flex-direction: column; gap: 18px; text-align: center; }
  .foot-links a { margin: 0 11px; }
  .hero-meta { flex-wrap: wrap; gap: 14px; }
  .run-block { padding: 6px 18px 8px; }
  .run-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 4px;
  }
  .run-row .copy { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Docs-style landing (2026-09) — rendered by site.js.
   The block above is the original brand sheet; rules here override it.
   Contrast policy: orange is for fills, dots and rules. Text is warm neutral.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --text-muted: #a89e92;          /* was #847c72 — readable body copy on the dark ground */
  --text-dim:   #7f766c;          /* was #5a544c — still secondary, no longer vanishing */
  --ok:   #8fd694;
  --warn: #f2b76a;
  --no:   #e08a8a;
  --rail-w: 200px;
}
body { font-size: 15px; }
body::before { opacity: 0.03; }
.fade-up { opacity: 1; transform: none; animation: none; }   /* content is visible at rest */
@media (prefers-reduced-motion: reduce) { .ember-dot { animation: none; } html { scroll-behavior: auto; } }

.container { max-width: 1200px; padding: 0 clamp(16px, 3vw, 28px); }
nav { padding: 14px 0; flex-wrap: wrap; gap: 10px 16px; }
.nav-right { gap: 18px; font-size: 12px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .rel-row { grid-template-columns: 1fr; gap: 4px; }
  .hero h1 { font-size: 34px; }
  .cmd { grid-template-columns: auto minmax(0, 1fr); }
  .cmd .copy { grid-column: 1 / -1; justify-self: start; }
}
.nav-link { color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; font-size: 12.5px; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
@media (max-width: 860px) { .nav-link { display: none; } }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px;
  border: 1px solid var(--border-hover); border-radius: 999px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em; color: var(--text); background: var(--bg-elev); white-space: nowrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 6px;
  border: 1px solid var(--border-hover); color: var(--text); text-decoration: none; font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500; transition: border-color 0.2s, background 0.2s, color 0.2s; white-space: nowrap;
}
.btn:hover { border-color: var(--text-dim); background: var(--bg-elev); }
.btn--ember { background: var(--ember); border-color: var(--ember); color: #14110f; }
.btn--ember:hover { background: var(--ember-soft); border-color: var(--ember-soft); color: #14110f; }
.btn--ghost { border-color: transparent; color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); background: transparent; border-color: var(--border); }

/* ── hero + release panel ─────────────────────────────────────────────── */
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr); gap: 32px; align-items: center; padding: 34px 0 28px; border-bottom: 1px solid var(--border); }
.hero { padding: 0; max-width: none; }
.hero .eyebrow { margin-bottom: 18px; color: var(--text-muted); font-size: 12px; }
.hero .eyebrow::before { background: var(--ember); }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); margin-bottom: 18px; line-height: 1.0; text-wrap: balance; }
.hero .lede { font-size: 16px; line-height: 1.6; max-width: 56ch; color: var(--text-muted); }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; gap: 22px; padding: 32px 0 26px; } }

.release { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elev); padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 0; position: relative; overflow: hidden; }
.release::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--ember), transparent 70%); }
.rel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.rel-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.rel-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.rel-row:last-of-type { border-bottom: 0; }
.rel-k { font-size: 12.5px; color: var(--text-dim); }
.rel-v { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rel-val, .rel-link { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.rel-link { border-bottom: 1px solid var(--border-hover); }
.rel-link:hover { color: var(--ember-soft); border-bottom-color: var(--ember); }
.rel-links { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }

/* ── body: rail + content ────────────────────────────────────────────── */
.body { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); gap: 40px; padding: 8px 0 48px; align-items: start; }
.rail { position: sticky; top: 18px; padding-top: 30px; }
.rail-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.rail-list { list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.rail-list a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-muted); text-decoration: none; font-size: 13.5px; transition: color 0.2s, border-color 0.2s; }
.rail-list a:hover { color: var(--text); }
.rail-list a.is-active { color: var(--text); border-left-color: var(--ember); }
@media (max-width: 1000px) { .body { grid-template-columns: 1fr; gap: 0; } .rail { display: none; } }

.content { display: flex; flex-direction: column; min-width: 0; }
.sec { padding: 30px 0 34px; border-bottom: 1px solid var(--border); scroll-margin-top: 16px; }
.sec:last-child { border-bottom: 0; }
.sec-head { margin-bottom: 18px; }
.sec-head h2 { font-family: var(--font-body); font-size: 24px; font-weight: 500; letter-spacing: -0.015em; color: var(--text); margin-bottom: 8px; text-wrap: balance; }
.lead { font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 70ch; }
.muted { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.small { font-size: 13px; }
.strong { color: var(--text); }
h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 500; color: var(--text); }

/* ── installer ───────────────────────────────────────────────────────── */
.installer { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elev); overflow: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.tab {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 13px 18px; color: var(--text-muted); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-bottom-color: var(--ember); }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.tab-dot--planned { background: var(--text-dim); }
.tab--soon { color: var(--text-dim); }
.tab--soon.is-active { color: var(--text); }
.tabs .sep { flex-basis: 100%; height: 0; }
.plan, .meanwhile { display: flex; flex-direction: column; gap: 8px; }
.plan-list { margin: 0 0 0 18px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.badge--soon { color: var(--text-muted); border-color: var(--border-hover); background: var(--bg); }
.panel { display: none; flex-direction: column; gap: 18px; padding: 20px 22px 22px; }
.panel.is-active { display: flex; }
.panel-top { display: flex; flex-direction: column; gap: 10px; }
.panel-note { display: flex; align-items: flex-start; gap: 10px; }
.panel-note .badge { margin-top: 3px; }
.req { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.req-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-right: 4px; }
.req-list { list-style: none; display: contents; }
.req-list li { font-size: 12.5px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; background: var(--bg); }

.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.step { position: relative; padding-left: 40px; display: flex; flex-direction: column; gap: 7px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ember); color: #14110f; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.step-title { font-size: 15px; color: var(--text); font-weight: 500; }
.panel-more { display: flex; flex-direction: column; gap: 4px; }
.guide-link, .next { font-size: 13.5px; color: var(--text-muted); }
.next { padding: 16px 22px 0; }
.guide-link a, .next a, .muted a, .lead a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-hover); }
.guide-link a:hover, .next a:hover, .muted a:hover { color: var(--ember-soft); border-bottom-color: var(--ember); }

/* ── command row ─────────────────────────────────────────────────────── */
.cmd {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 10px 10px 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
}
.cmd .prompt { font-family: var(--font-mono); font-size: 13px; color: var(--ember); line-height: 1.6; user-select: none; }
.cmd code { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--text); white-space: pre-wrap; word-break: break-word; min-width: 0; }
.copy {
  appearance: none; background: var(--bg-elev); border: 1px solid var(--border-hover); border-radius: 5px; color: var(--text);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500; padding: 5px 11px; cursor: pointer; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.copy:hover { border-color: var(--text-dim); }
.copy.copied { color: #14110f; background: var(--ember); border-color: var(--ember); }
.copy--sm { padding: 2px 8px; font-size: 11.5px; }
.copy:focus-visible, .tab:focus-visible, .btn:focus-visible, .open:focus-visible { outline: 2px solid var(--ember-soft); outline-offset: 2px; }

/* ── link rows / open ─────────────────────────────────────────────────── */
.open { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--text); text-decoration: none; border: 1px solid var(--border-hover); border-radius: 5px; padding: 3px 9px; white-space: nowrap; background: var(--bg-elev); }
.open:hover { border-color: var(--text-dim); color: var(--ember-soft); }
.lrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.lrow:last-child { border-bottom: 0; }
.lrow-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lrow-label { color: var(--text); text-decoration: none; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow-label:hover { color: var(--ember-soft); }
.lrow-desc { font-size: 12.5px; color: var(--text-dim); }
.lrow-actions { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ── details ─────────────────────────────────────────────────────────── */
.more { border-top: 1px solid var(--border); }
.more summary { list-style: none; cursor: pointer; padding: 10px 0 8px; font-size: 13.5px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; color: var(--ember); font-family: var(--font-mono); width: 12px; display: inline-block; }
.more[open] summary::before { content: '−'; }
.more summary:hover { color: var(--text); }
.more-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 12px; }

/* ── badges / tags ───────────────────────────────────────────────────── */
.badge { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border-hover); color: var(--text-muted); white-space: nowrap; }
.badge--ok   { color: var(--ok);   border-color: rgba(143, 214, 148, 0.4); background: rgba(143, 214, 148, 0.07); }
.badge--warn { color: var(--warn); border-color: rgba(242, 183, 106, 0.4); background: rgba(242, 183, 106, 0.07); }
.badge--no   { color: var(--no);   border-color: rgba(224, 138, 138, 0.4); background: rgba(224, 138, 138, 0.07); }
.badge--dim  { color: var(--text-muted); }
.tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--border-hover); border-radius: 4px; color: var(--text-muted); }

/* ── tables ──────────────────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elev); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.tbl th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); padding: 11px 14px; border-bottom: 1px solid var(--border); font-weight: 500; background: var(--bg); }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.muted { font-size: 13.5px; }
.cell-main { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cell-sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--text-dim); }
.ref { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.inline-code { font-family: var(--font-mono); font-size: 12px; color: var(--text); background: var(--bg); border: 1px solid var(--border); padding: 2px 7px; border-radius: 4px; letter-spacing: 0; }
.tool-name { font-family: var(--font-mono); font-size: 13px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-hover); }
.tool-name:hover { color: var(--ember-soft); border-bottom-color: var(--ember); }
.tbl--tools td:nth-child(2) { min-width: 200px; }
.row--unsupported td { opacity: 0.75; }

.recipes { margin-top: 22px; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elev); overflow: hidden; }
.recipes h3 { padding: 14px 18px 0; }
.recipes .tabs { background: transparent; padding: 0 12px; margin-top: 6px; }
.recipes .tab { padding: 11px 12px; font-size: 13.5px; }
.recipes .panel { padding: 16px 18px 18px; gap: 12px; }
.note { margin-top: 14px; }

/* ── docs grid ───────────────────────────────────────────────────────── */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 3px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-elev); text-decoration: none; color: inherit; transition: border-color 0.2s, background 0.2s; }
.doc:hover { border-color: var(--border-hover); background: var(--bg); }
.doc:hover .doc-title { color: var(--ember-soft); }
.doc-title { font-size: 14px; font-weight: 500; color: var(--text); }
.doc-desc { grid-column: 1; font-size: 12.5px; color: var(--text-dim); line-height: 1.45; }
.doc-arrow { grid-row: 1 / span 2; align-self: center; color: var(--text-dim); font-family: var(--font-mono); }

/* ── automation / release notes ──────────────────────────────────────── */
.auto { display: flex; flex-direction: column; gap: 12px; }
.auto-head { display: flex; align-items: center; gap: 10px; }
.auto-name { font-family: var(--font-mono); font-size: 15px; color: var(--text); }
.auto-install { display: flex; flex-direction: column; gap: 10px; }
.note-entry { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 4px; }
.note-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.note-title { font-size: 16px; font-weight: 500; }
.note-title a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-hover); }
.note-title a:hover { color: var(--ember-soft); border-bottom-color: var(--ember); }
.note-list { margin: 4px 0 0 18px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

footer { padding: 22px 0 40px; font-size: 12.5px; }
footer .foot-links a { color: var(--text-muted); }
footer .foot-links a:hover { color: var(--text); }
