/* Map CSSTheme (new) -> Theme Contract (legacy) */

/* adapter.css (MAP ONLY) */
:root {
  /* Fonts: new -> used by base.css */
  --font-body: var(--font-base);
  --font-heading: var(--font-heading-base, var(--font-base));

  /* Legacy token keep-alive (old code can still work) */
  --font-family-base: var(--font-base);
  --line-height-base: var(--lh-body, 1.6);

  --font-size-base: var(--fs-body);
  --font-size-h1: var(--fs-h1);
  --font-size-h2: var(--fs-h2);
  --font-size-h3: var(--fs-h3);

  --h1: var(--fs-h1);
  --h2: var(--fs-h2);
  --h3: var(--fs-h3);

  /* If you still use semantic roles */
  --fs-section-title: var(--fs-h2);
  --fs-subtitle: var(--fs-h3);

  --fw-section-title: var(--fw-h2);
  --fw-subtitle: var(--fw-h3);
  
  --fs-hero-title: var(--fs-h1);
  --fs-hero-subtitle: var(--fs-h2);
  --fs-welcome-title: var(--fs-h1);
  --fs-welcome-subtitle: var(--fs-h2);

  /* Colors legacy bridge */
  --color-text-primary: var(--color-text);
  --color-text-secondary: var(--color-muted);
  --color-text-muted: var(--color-muted);
  --color-accent: var(--color-primary);
  --color-accent-hover: var(--color-primary);
}
