:root{
  --rc-accent: #7CFFB2;
  --rc-accent2: #5BE3FF;
}

/* Make the site feel closer to RoamCore UI: darker + glassy */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #070A0F;
  --md-default-fg-color: rgba(255,255,255,.92);
  --md-default-fg-color--light: rgba(255,255,255,.75);
  --md-default-fg-color--lighter: rgba(255,255,255,.60);
  --md-default-fg-color--lightest: rgba(255,255,255,.45);

  --md-primary-fg-color: #0B0F16;
  --md-primary-bg-color: rgba(255,255,255,.92);

  --md-accent-fg-color: var(--rc-accent2);
}

.md-header {
  background: rgba(7,10,15,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.md-tabs {
  background: rgba(7,10,15,0.40);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.md-content__inner {
  padding-bottom: 2.5rem;
}

/* Reduce clutter: remove the right-hand TOC sidebar (we integrate TOC into left nav) */
.md-sidebar--secondary {
  display: none;
}

/* Slightly widen main content since we removed the right sidebar */
@media (min-width: 1220px) {
  .md-grid {
    max-width: 1100px;
  }
}

/* Visual catalog cards */
.rc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

@media (max-width: 900px) {
  .rc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .rc-grid { grid-template-columns: 1fr; }
}

.rc-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 14px 14px 12px;
  text-decoration: none;
  display: block;
}

.rc-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.rc-card-title {
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
}

.rc-card-sub {
  margin-top: 6px;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  line-height: 1.35;
}

/* Filter UI */
.rc-filter {
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin: 12px 0 18px;
}

.rc-filter input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.90);
  min-width: 220px;
}

.rc-chips { display:flex; gap:8px; flex-wrap:wrap; }

.rc-chip {
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  font-weight: 900;
  font-size: 12px;
  text-decoration:none;
  cursor: pointer;
  user-select:none;
}

.rc-chip.active {
  border-color: rgba(91,227,255,0.35);
  background: rgba(91,227,255,0.10);
}

.rc-chip.a.active { border-color: rgba(124,255,178,0.35); background: rgba(124,255,178,0.10); }
.rc-chip.b.active { border-color: rgba(91,227,255,0.35); background: rgba(91,227,255,0.10); }
.rc-chip.c.active { border-color: rgba(255,210,117,0.35); background: rgba(255,210,117,0.10); }

.rc-filter-meta { color: rgba(255,255,255,0.65); font-size: 12px; }

/* Category feature list (wide bubbles) */
.rc-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.rc-feature {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: rgba(255,255,255,0.90);
}

.rc-feature:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.rc-feature-title { font-weight: 950; color: rgba(255,255,255,0.92); }
.rc-feature-sub { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,0.70); line-height: 1.35; }

.rc-feature .rc-tier { flex: 0 0 auto; }

/* Prevent markdown from adding underline styles inside our feature bubbles */
.rc-feature * { text-decoration: none !important; }

.rc-feature-right { display:flex; align-items:center; }

/* Simple “install CTA button” style for links marked with .rc-cta */
a.rc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(124,255,178,0.18), rgba(91,227,255,0.14));
  font-weight: 900;
  text-decoration: none;
}

/* Small tier pills */
.rc-tier {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-weight: 900;
  font-size: 12px;
}

.rc-tier.a { border-color: rgba(124,255,178,0.35); }
.rc-tier.b { border-color: rgba(91,227,255,0.35); }
.rc-tier.c { border-color: rgba(255,210,117,0.35); }
