// Offline-safe font shim for builds without network access.
// Provides the minimal shape used by the app: `.style.fontFamily` and `.variable`.

type FontShim = {
  style: { fontFamily: string }
  variable: string
}

export const merriweather: FontShim = {
  // Prefer Merriweather if available on the system, otherwise common serif fallbacks
  style: {
    fontFamily: 'Merriweather, Georgia, "Times New Roman", Times, serif',
  },
  // Not using next/font CSS variable when offline
  variable: '',
}

export const lato: FontShim = {
  // Prefer Lato if available on the system, otherwise robust system sans fallbacks
  style: {
    fontFamily:
      'Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
  },
  variable: '',
}
