/* Style Guide specimen chrome — loaded only on /style-guide/ */

.style-guide__intro {
  margin-top: 0;
}

.style-guide__grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

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

.style-guide__specimen {
  margin: 0;
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid rgba(20, 30, 40, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.page-section--cream .style-guide__specimen {
  background: rgba(255, 255, 255, 0.7);
}

.style-guide__specimen--ok {
  border-color: rgba(46, 125, 50, 0.35);
}

.style-guide__specimen--bad {
  border-color: rgba(180, 50, 40, 0.35);
  opacity: 0.92;
}

.style-guide__code {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(20, 30, 40, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(20, 30, 40, 0.72);
  word-break: break-word;
}

.style-guide__code--on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.5rem;
}

.style-guide__pre {
  margin: 0.75rem 0 0;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  border-radius: 10px;
  background: rgba(20, 30, 40, 0.06);
  font-size: 0.9rem;
}

.style-guide__pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.style-guide__snippet {
  margin-top: 2.5rem;
  max-width: 68ch;
}

.style-guide__hero-demo {
  margin-top: 2rem;
  max-width: 40rem;
}

.style-guide__btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
