import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
import App from './App.vue'

// Locally-bundled Inter (air-gap safe, no Google Fonts fetch)
import '@fontsource-variable/inter'

// Initialize theme on app load
import './stores/theme'
import { applyBranding } from './utils/siteSettings'

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')

// Apply per-site favicon + brand color once settings load (no-op on defaults).
applyBranding()
