/* Typography Scale and Font Assignments */

:root {
  --ptc-font-display: 'Playfair Display', Georgia, serif;
  --ptc-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ptc-font-mono: 'Fira Code', monospace;
}

body {
  font-family: var(--ptc-font-body);
  font-size: 16px;
  line-height: 1.625;
  color: var(--ptc-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.ptc-h1, .ptc-h2, .ptc-h3, .ptc-h4, .ptc-h5, .ptc-h6 {
  font-family: var(--ptc-font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ptc-primary);
  margin-top: 0;
  margin-bottom: var(--ptc-space-16);
}

h1, .ptc-h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2, .ptc-h2 {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  letter-spacing: -0.015em;
}

h3, .ptc-h3 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  letter-spacing: -0.01em;
}

h4, .ptc-h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h5, .ptc-h5 {
  font-size: 1.125rem;
}

h6, .ptc-h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: var(--ptc-space-16);
  color: #374151;
}

.ptc-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--ptc-muted);
  font-weight: 400;
  line-height: 1.75;
}

.ptc-mono {
  font-family: var(--ptc-font-mono);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ptc-small {
  font-size: 0.875rem;
  color: var(--ptc-muted);
}

.ptc-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ptc-muted);
}

a {
  color: var(--ptc-accent);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}

a:hover {
  color: var(--ptc-primary);
  border-bottom-color: var(--ptc-accent);
}

blockquote {
  margin: var(--ptc-space-32) 0;
  padding: var(--ptc-space-20) var(--ptc-space-28);
  border-left: 4px solid var(--ptc-accent);
  background: var(--ptc-surface);
  font-style: italic;
  color: var(--ptc-text);
  border-radius: 0 var(--ptc-radius-12) var(--ptc-radius-12) 0;
  box-shadow: var(--ptc-shadow-sm);
}

.ptc-content ul, .ptc-content ol {
  margin-top: 0;
  margin-bottom: var(--ptc-space-24);
  padding-left: var(--ptc-space-24);
  color: #374151;
}

.ptc-content li {
  margin-bottom: var(--ptc-space-12);
  line-height: 1.6;
}

.ptc-content strong {
  color: var(--ptc-primary);
}

.ptc-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ptc-radius-12);
  box-shadow: var(--ptc-shadow-md);
  margin: var(--ptc-space-24) 0;
}
