/* Lattice docs — small theme touches */

:root {
  --md-primary-fg-color:        #4f46e5;
  --md-primary-fg-color--light: #6366f1;
  --md-primary-fg-color--dark:  #4338ca;
  --md-accent-fg-color:         #6366f1;
}

/* Hero panel on the landing page */
.lattice-hero {
  border-radius: 14px;
  padding: 2.4rem 2rem;
  margin: 0 0 1.6rem 0;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 55%, #0ea5e9 100%);
  color: #fff;
}
.lattice-hero h1 {
  color: #fff;
  margin: 0 0 0.4rem 0;
  font-weight: 800;
  font-size: 2.1rem;
}
.lattice-hero p { color: rgba(255,255,255,0.92); font-size: 0.92rem; max-width: 60ch; }
.lattice-hero .md-button {
  margin-top: 0.6rem;
  margin-right: 0.4rem;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.lattice-hero .md-button--primary {
  background: #fff;
  color: #4338ca;
  border-color: #fff;
}

/* Feature cards grid */
.grid.cards > ul > li,
.grid > .card {
  border-radius: 10px;
}

/* Tighten screenshots and give them a frame */
.md-typeset img.screenshot {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* Decision-path callouts */
.path-a { border-left: 4px solid #0ea5e9; }
.path-b { border-left: 4px solid #f59e0b; }

/* API signature blocks read better a touch larger */
.md-typeset .highlight pre { font-size: 0.78rem; }

/* Status pills used in the API index table */
.pill {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
}
.pill-new   { background: #dcfce7; color: #166534; }
.pill-core  { background: #e0e7ff; color: #3730a3; }
.pill-sdk   { background: #fef3c7; color: #92400e; }
[data-md-color-scheme="slate"] .pill-new  { background: #14532d; color: #bbf7d0; }
[data-md-color-scheme="slate"] .pill-core { background: #312e81; color: #c7d2fe; }
[data-md-color-scheme="slate"] .pill-sdk  { background: #78350f; color: #fde68a; }
