/* ==========================================================================
   Typography - Apple Human Interface Guidelines
   ========================================================================== */

/* Page Title - Large prominent headers */
.page-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-2);
}

/* Page Subtitle */
.page-subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
}

/* Section Title */
.section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
  margin-bottom: var(--space-4);
}

/* Card Title */
.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

/* Card Subtitle */
.card-subtitle {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
}

/* Metric Value - Large numbers */
.metric-value {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  letter-spacing: -1px;
  line-height: 1;
}

.metric-value-lg {
  font-size: var(--font-size-6xl);
}

.metric-value-sm {
  font-size: var(--font-size-3xl);
}

/* Metric Label */
.metric-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Body text */
.text-body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
}

.text-body-sm {
  font-size: var(--font-size-sm);
}

.text-body-lg {
  font-size: var(--font-size-lg);
}

/* Caption */
.text-caption {
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
}

/* Helper text */
.text-helper {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Text colors */
.text-primary {
  color: var(--color-text-primary);
}

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

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

.text-success {
  color: var(--color-green);
}

.text-error {
  color: var(--color-red);
}

.text-warning {
  color: var(--color-orange);
}

.text-info {
  color: var(--color-blue);
}

/* Text alignment */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Font weights */
.font-light {
  font-weight: var(--font-weight-light);
}

.font-regular {
  font-weight: var(--font-weight-regular);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

/* Monospace */
.font-mono {
  font-family: var(--font-family-mono);
}

/* Truncate text */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Line clamping */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
