/* ---------- prose columns ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.75rem; align-items: start; }
.two-col > div > p:first-child { margin-top: 0; }
.two-col p { color: var(--muted); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.55rem 0 0.55rem 1.35rem;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list li::before {
  content: "·";
  position: absolute;
  left: 0.25rem;
  color: var(--dim);
  font-weight: 700;
}
.plain-list strong { color: var(--fg); font-weight: 600; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- install ---------- */
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.install-grid > .term, .install-grid > .snip { display: flex; flex-direction: column; }
.install-grid > .term > .term-body { flex: 1; }
.snip-head .tag { color: var(--fg); }
.snip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.snip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}
.snip-head .tag { color: var(--fg); }
.snip pre {
  margin: 0;
  padding: 0.9rem;
  overflow-x: auto;
  font-size: 0.755rem;
  line-height: 1.65;
  color: var(--fg);
}
.snip pre .c { color: var(--dim); }
.copy {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
}
.copy:hover { color: var(--fg); border-color: #3f3f46; }
.note {
  margin-top: 1.2rem;
  font-size: 0.84rem;
  color: var(--dim);
  border-left: 2px solid var(--line);
  padding-left: 0.9rem;
}
.note code { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 820px) { .install-grid { grid-template-columns: 1fr; } }

/* ---------- pills (open source) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
}
.pill .k { color: var(--dim); }

/* ---------- community ---------- */
.cta {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 2rem 1.75rem;
}
.cta h3 { font-size: 1.15rem; }
.cta p { color: var(--muted); margin: 0.65rem 0 1.4rem; max-width: 62ch; font-size: 0.95rem; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 2.5rem 0 3rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
.foot-brand { font-weight: 650; font-size: 0.95rem; }
.foot-brand p { color: var(--dim); font-size: 0.86rem; margin: 0.4rem 0 0; max-width: 34ch; font-weight: 400; }
.foot-links { display: flex; gap: 2.5rem; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 0.6rem;
}
.foot-col a { display: block; color: var(--muted); font-size: 0.87rem; padding: 0.15rem 0; }
.foot-col a:hover { color: var(--fg); text-decoration: none; }
.foot-bot {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}