/* orbit landing — terminal / docs hybrid */

:root {
  --bg: #0b0f0c;
  --bg-elevated: #101612;
  --bg-panel: #0e1410;
  --bg-card: #121a15;
  --border: #1e2a22;
  --border-strong: #2a3a30;
  --text: #d6e2d9;
  --text-muted: #8a9a8e;
  --text-dim: #5c6b60;
  --accent: #3dff9a;
  --accent-dim: rgba(61, 255, 154, 0.12);
  --accent-glow: rgba(61, 255, 154, 0.35);
  --amber: #f0c14b;
  --danger: #ff6b6b;
  --ok: #3dff9a;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1160px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 0 0 1px var(--border), 0 24px 48px rgba(4, 10, 6, 0.5);
  --shadow-card: 0 0 0 1px var(--border), 0 14px 36px rgba(4, 10, 6, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(61, 255, 154, 0.07), transparent 55%),
    radial-gradient(800px 400px at 10% 20%, rgba(240, 193, 75, 0.04), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  text-wrap: balance;
}

p {
  max-width: 65ch;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ambient */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.5) 3px
  );
}

.glow-orb {
  pointer-events: none;
  position: fixed;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(40px);
  opacity: 0.25;
  z-index: 0;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 12, 0.82);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-mark {
  color: var(--accent);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.btn-primary {
  color: #04140a;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 255, 154, 0.2), 0 0 24px rgba(61, 255, 154, 0.15);
}

.btn-primary:hover {
  background: #6bffb2;
  color: #04140a;
  box-shadow: 0 0 0 1px rgba(61, 255, 154, 0.3), 0 0 32px rgba(61, 255, 154, 0.28);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(61, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); }
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #eaf3ec;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 65ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.install-block {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.install-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.install-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.install-cmd {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  padding: 0;
  word-break: break-all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-copy:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.btn-copy:active {
  transform: scale(0.98);
}

.btn-copy .icon-check {
  display: none;
}

.btn-copy.is-copied {
  color: var(--ok);
  border-color: var(--ok);
}

.btn-copy.is-copied .icon-copy {
  display: none;
}

.btn-copy.is-copied .icon-check {
  display: block;
}

.btn-copy-sm {
  padding: 0.3rem 0.55rem;
  font-size: 0.7rem;
}

.install-alt {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.install-alt code {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* terminal mock */
.hero-terminal {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #080c09;
  box-shadow:
    0 0 0 1px rgba(61, 255, 154, 0.06),
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.term-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: #0c110e;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green { background: #28c840; }

.term-title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.term-body {
  margin: 0;
  padding: 1.1rem 1.15rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-muted);
  min-height: 280px;
  overflow-x: auto;
}

.t-prompt { color: var(--accent); font-weight: 600; }
.t-cmd { color: #eaf3ec; }
.t-dim { color: var(--text-dim); }
.t-ok { color: var(--ok); }
.t-hl { color: var(--amber); }
.t-file { color: #7ec8ff; }
.t-ship { color: var(--accent); font-weight: 600; }
.t-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(16, 22, 18, 0.6), transparent);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  letter-spacing: -0.025em;
  color: #eaf3ec;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 65ch;
}

/* features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.45rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(61, 255, 154, 0.05), transparent 50%),
    var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card:hover {
  border-color: rgba(61, 255, 154, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(61, 255, 154, 0.18), 0 18px 40px rgba(4, 10, 6, 0.45);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 255, 154, 0.2);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #eaf3ec;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* code panel / tabs */
.code-panel {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #080c09;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: #0c110e;
  padding: 0.35rem 0.5rem 0;
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #0a0f0c;
}

.code-filename {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.code-block {
  margin: 0;
  padding: 1.15rem 1.2rem 1.35rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  background: transparent !important;
}

.code-block code {
  font-family: inherit;
  font-size: inherit;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
  white-space: pre;
}

/* highlight.js overrides for dark terminal feel */
.hljs {
  background: transparent !important;
  color: var(--text-muted) !important;
}

.hljs-comment,
.hljs-quote {
  color: var(--text-dim) !important;
}

.hljs-keyword,
.hljs-selector-tag {
  color: var(--accent) !important;
}

.hljs-string,
.hljs-attr {
  color: var(--amber) !important;
}

.hljs-number,
.hljs-literal {
  color: #7ec8ff !important;
}

.hljs-built_in,
.hljs-title {
  color: #eaf3ec !important;
}

/* comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: #0e1410;
}

.compare-table th.col-orbit {
  color: var(--accent);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover td {
  background: rgba(61, 255, 154, 0.03);
}

.compare-table td:first-child {
  font-weight: 600;
  color: #eaf3ec;
  width: 22%;
}

.compare-table .neg {
  color: var(--text-muted);
}

.compare-table .pos {
  color: var(--text);
}

.compare-table .pos::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}

.compare-table .neg::before {
  content: "– ";
  color: var(--text-dim);
}

/* CTA */
.section-cta {
  padding-bottom: 5.5rem;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  border: 1px solid rgba(61, 255, 154, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(61, 255, 154, 0.1), transparent 55%),
    linear-gradient(135deg, rgba(61, 255, 154, 0.06), transparent 50%),
    var(--bg-card);
  box-shadow: 0 0 60px rgba(61, 255, 154, 0.08), var(--shadow-card);
}

.cta-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: #eaf3ec;
}

.cta-copy p:not(.eyebrow) {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-content: center;
}

.stat {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, rgba(61, 255, 154, 0.05), transparent 60%),
    rgba(4, 10, 6, 0.35);
}

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.25rem;
  background: #080c09;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  row-gap: 1.1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
}

.footer-brand .logo-mark {
  color: var(--accent);
}

.footer-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(61, 255, 154, 0.35);
  background: #0f1a13;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(11, 15, 12, 0.96);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .header-inner > .btn-sm {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-stats {
    grid-template-columns: 1fr;
  }

  .footer-links {
    margin-left: 0;
    width: 100%;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .term-body {
    font-size: 0.72rem;
    min-height: 240px;
  }

  .tabs {
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse,
  .t-cursor {
    animation: none;
  }
}
/* ===== SIGNATURE: Terminal marketing break ===== */
.hero--install {
  padding: 3.5rem 0 2.5rem;
}
.hero--install .hero-grid { display: none; }
.hero-install {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.hero-install h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}
.hero-install h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-install .lede {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.install-hero {
  display: grid;
  gap: 1.25rem;
}
.install-block--lg {
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.1rem;
  box-shadow: var(--shadow);
}
.install-block--lg .install-cmd {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
}
.hero-terminal--anim {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a100c;
  box-shadow: var(--shadow-card);
}
.hero-terminal--anim .term-body {
  min-height: 280px;
}
.term-line {
  display: block;
  opacity: 0;
  animation: term-in 0.01s forwards;
  animation-delay: var(--d, 0s);
}
@keyframes term-in {
  to { opacity: 1; }
}

/* Keyboard shortcut rows */
.section--keys .features-grid { display: none; }
.key-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}
.key-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.key-row:first-child { border-top: 0; }
.key-combo {
  display: inline-flex;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: none;
  border: none;
  padding: 0;
}
.key-combo span {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  box-shadow: 0 2px 0 var(--border);
}
.key-row__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.key-row__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
}
.key-row__cmd {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  width: fit-content;
}

/* Markdown-like table */
.md-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
}
.md-table {
  margin: 0;
  padding: 1.25rem 1.35rem;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1.5vw, 0.82rem);
  line-height: 1.75;
  color: var(--text-muted);
  white-space: pre;
  overflow-x: auto;
}
.md-table__rule { display: block; }
.md-table .pos { color: var(--accent); }
.md-table .neg { color: var(--danger); }
.compare-table,
.table-wrap { display: none; }

/* npm banner CTA */
.section-cta--npm .cta-card { display: none; }
.npm-banner {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(61, 255, 154, 0.08), transparent 45%),
    var(--bg-elevated);
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.npm-banner__cmd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: #070b08;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-mono);
}
.npm-banner__prompt {
  color: var(--accent);
  font-weight: 600;
}
.npm-banner__cmd code {
  flex: 1;
  background: none;
  color: var(--text);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  padding: 0;
}
.npm-banner__copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.npm-banner__copy p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.npm-banner .cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

@media (min-width: 860px) {
  .install-hero {
    grid-template-columns: 1fr;
  }
  .key-row {
    grid-template-columns: auto 1fr auto;
  }
  .key-row__cmd {
    grid-column: auto;
    justify-self: end;
  }
  .npm-banner {
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "cmd cmd"
      "copy stats";
    padding: 2rem;
  }
  .npm-banner__cmd { grid-area: cmd; }
  .npm-banner__copy { grid-area: copy; }
  .npm-banner .cta-stats {
    grid-area: stats;
    border-top: 0;
    border-left: 1px solid var(--border);
    padding-top: 0;
    padding-left: 1.5rem;
    align-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .term-line {
    opacity: 1;
    animation: none;
  }
}
