/* =========
   Brand tokens
   ========= */
:root {
  --brand: #129ddb;
  --brand-strong: #0f7fb3;
  --brand-soft: rgba(18, 157, 219, 0.14);
}

/* Material theme hooks */
:root {
  --md-primary-fg-color: var(--brand);
  --md-accent-fg-color: var(--brand);
  --md-typeset-a-color: var(--brand);
}

/* Buttons / CTAs via markdown links with .md-button */
.md-typeset .md-button {
  border-radius: 14px;
  padding: 0.55em 0.95em;
  border: 1px solid rgba(0,0,0,0.08);
}
.md-typeset .md-button--primary {
  background: var(--brand);
  border-color: rgba(0,0,0,0.05);
}
.md-typeset .md-button--primary:hover {
  background: var(--brand-strong);
}

/* Cards (use with simple grid on homepage) */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin: 18px 0 26px;
}
.docs-card {
  grid-column: span 6;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
@media (max-width: 900px) {
  .docs-card { grid-column: span 12; }
}
.docs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: rgba(18,157,219,0.25);
}
.docs-card h3 {
  margin: 0 0 6px;
}
.docs-card p {
  margin: 0.2rem 0 0.55rem;
  opacity: 0.86;
}
.docs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: rgba(0,0,0,0.72);
  font-size: 0.82rem;
  margin-top: 8px;
}

/* Nice-looking admonitions */
.md-typeset .admonition,
.md-typeset details {
  border-radius: 16px;
}

/* Make the header a tad more “premium” */
.md-header {
  backdrop-filter: blur(10px);
}
.md-header, .md-tabs {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}