/*
 * App UI font stack — aligned with the DealOS companion app (see its STYLING.md):
 *   'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif
 *
 * Roboto is loaded from Google Fonts in DefaultHead.jsp, so body text already
 * renders in it. This file previously defined the "San Francisco" family by
 * pulling six .woff weights from a third-party S3 bucket we do NOT control
 * (applesocial.s3.amazonaws.com — an Apple Music fan asset from 2017, single
 * .woff, no local()/woff2/font-display). Whenever a browser could not fetch it
 * — ad/tracking blockers, corporate proxies, or the bucket being unreachable —
 * headings and labels fell back to the browser's default serif (the "wrong
 * font in some browsers" bug). That remote dependency has been removed.
 *
 * Base rule below applies the companion-app stack app-wide so everything
 * inherits it. Many legacy rules still name the family "San Francisco"; the
 * @font-face re-defines that name as a LOCAL-ONLY alias so those rules resolve
 * to Roboto (when installed) or the native platform UI font — never the
 * network, and never the serif fallback.
 */

html,
body {
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Back-compat alias for legacy `font-family: "San Francisco"` declarations.
   Covers the full weight range from a single local face (synthetic bold as
   needed) so bold headings/nav still resolve without hitting the network. */
@font-face {
  font-family: "San Francisco";
  font-weight: 100 900;
  src: local("Roboto"), local("Segoe UI"), local("SF Pro Text"),
       local("Helvetica Neue"), local("Arial");
}
