/**
 * Legacy compatibility aliases — maps existing CSS to semantic tokens.
 * New components should prefer tokens from tokens.css directly.
 */

:root {
  --pt-bg: var(--color-bg-primary);
  --pt-bg-soft: var(--color-bg-secondary);
  --pt-surface: var(--color-bg-elevated);
  --pt-surface-muted: var(--color-bg-muted);
  --pt-surface-strong: var(--palette-elevated);
  --pt-text: var(--color-text-primary);
  --pt-text-muted: var(--color-text-secondary);
  --pt-line: var(--color-border);
  --pt-line-strong: var(--color-border-strong);
  --pt-blueprint-line: var(--color-border-grid);
  --pt-accent: var(--color-accent);
  --pt-accent-soft: var(--color-accent-soft);
  --pt-bronze: var(--color-accent-strong);
  --pt-stone: var(--color-material-stone);
  --pt-concrete: var(--color-material-concrete);
  --pt-wood: var(--color-material-wood);
  --pt-glass: var(--color-material-glass);
  --pt-text-soft: var(--color-text-secondary);
  --pt-muted: var(--color-text-muted);
  --pt-accent-dark: var(--color-accent-strong);
  --pt-champagne: var(--color-accent-soft);
  --pt-olive: var(--color-text-primary);
  --ink: var(--color-text-primary);
  --ink-soft: var(--color-text-secondary);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --line-strong: var(--color-border-strong);
  --line-grid: var(--color-border-grid);
  --line-blueprint: var(--color-border-blueprint);
  --line-blueprint-soft: var(--color-border-blueprint-soft);
  --gold: var(--color-accent-strong);
  --paper: var(--color-bg-elevated);
  --paper-72: var(--surface-paper-72);
  --paper-92: var(--surface-paper-92);
  --gold-selection: var(--color-selection);
  --shadow: var(--shadow-elevated);
  --shadow-soft: var(--shadow-sm);
  --shadow-inset: var(--shadow-inset-highlight);
  --radius: var(--radius-md);
  --radius-pill: var(--radius-full);
  --content-max: var(--content-max-width);
  --serif: var(--font-display);
  --sans: var(--font-body);
  --transition: var(--duration-fast) var(--ease-standard);
  --transition-motion: var(--duration-base) var(--ease-emphasized);
  --hover-lift: calc(-1 * var(--motion-distance-sm));
  --hero-title: var(--hero-title-size);
  --hero-lead: var(--hero-lead-size);
}
