/* Typework v2 webfonts.
 *
 * The system face is Apple **San Francisco**. SF Pro Display and SF Pro Text
 * are now self-hosted (uploaded .otf, with local() first so Apple devices use
 * the installed family); both fall through to **Inter** where unavailable.
 * Data is set in **JetBrains Mono**.
 *
 * The WORDMARK is the one genuine custom binary: SF Pro Rounded Bold, used
 * ONLY for the "typework" wordmark and the Max mode-pill label — never body.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Bind the SF Pro names to the locally-installed system faces. No binary is
 * shipped — on Apple devices these resolve to the real San Francisco; on
 * other platforms the stack falls through to Inter (see typography.css). */
@font-face {
  font-family: 'SF Pro Display';
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: local('SF Pro Display'), local('SFProDisplay-Regular'),
    url('../assets/fonts/SF-Pro-Display-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'SF Pro Text';
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: local('SF Pro Text'), local('SFProText-Regular'),
    url('../assets/fonts/SF-Pro-Text-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'SF Pro Rounded';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/SF-Pro-Rounded-Bold.otf') format('opentype');
}
