/*
 * Typography
 * Text styles, links, spacing
 */

/* Typography */
.styleguide h1, .styleguide h2, .styleguide h3 {
  color: var(--text-primary);
}

.sg-section h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}

.sg-section p {
  margin: 8px 0;
  line-height: 1.6;
}

.text-secondary {
  color: var(--text-secondary);
}

/* Spacing Scale */
.spacing-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spacing-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spacing-bar {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  height: 24px;
  border-radius: 4px;
}

.spacing-label {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 60px;
}

/* Shadows */
.shadow-demo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 24px;
}

.shadow-item {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.shadow-xl {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* Links */
.link {
  color: var(--accent-primary);
  text-decoration: none;
  transition: opacity 0.15s;
}

.link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

