:root {
  --theme-color: #0ea5e9;
  --base-font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --base-background-color: #f8fafc;
  --base-color: #0f172a;
  --sidebar-width: 320px;
  --cover-heading-color: #ffffff;
  --cover-background-color: radial-gradient(circle at 20% 20%, #1d4ed8, #0f172a 58%);
}

.app-name-link {
  font-weight: 700;
}

.content {
  padding-top: 1.75rem;
}

.sidebar {
  border-right: 1px solid #e2e8f0;
}

.sidebar ul li a {
  border-radius: 8px;
}

.sidebar ul li.active > a {
  background: rgba(14, 165, 233, 0.12);
}

.markdown-section {
  max-width: 980px;
}

.cover .cover-main > p:last-child a {
  border-radius: 999px;
  padding: 0.7em 1.4em;
  margin: 0 0.45rem;
}

.hero-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.hero-card {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
}

.hero-card:hover {
  border-color: rgba(14, 165, 233, 0.8);
  background: rgba(14, 165, 233, 0.16);
}

.hero-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.hero-card p {
  margin: 0;
  opacity: 0.92;
}

@media (max-width: 960px) {
  :root {
    --sidebar-width: 280px;
  }
}
