/* Work Sans — top-level @font-face declarations.
   goodaccess.webflow.css wraps everything in @scope(.wf-pricing); @font-face inside
   @scope is not reliably registered by browsers, so the faces are declared here at
   top level and this file is linked BEFORE the Webflow CSS.
   One variable WOFF2 (127KB) covers all weights 100-900 — replaces the per-weight
   static TTFs (~190KB each) on the critical path. TTF kept as legacy fallback. */

@font-face {
  font-family: Worksans;
  src: url('../fonts/WorkSans-VariableFont_wght.woff2') format('woff2'), url('../fonts/WorkSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Worksans;
  src: url('../fonts/WorkSans-Italic-VariableFont_wght.woff2') format('woff2'), url('../fonts/WorkSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/WorkSans-VariableFont_wght.woff2') format('woff2'), url('../fonts/WorkSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/WorkSans-Italic-VariableFont_wght.woff2') format('woff2'), url('../fonts/WorkSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Worksans Variablefont Wght';
  src: url('../fonts/WorkSans-VariableFont_wght.woff2') format('woff2'), url('../fonts/WorkSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Worksans Variablefont Wght';
  src: url('../fonts/WorkSans-Italic-VariableFont_wght.woff2') format('woff2'), url('../fonts/WorkSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Metric-matched fallback: Arial scaled to Work Sans metrics (computed from the
   actual font tables with fontTools) so the swap from fallback to Work Sans causes
   near-zero layout shift. Used as the second entry in every Worksans font stack. */
@font-face {
  font-family: 'Worksans Fallback';
  src: local('Arial');
  size-adjust: 113.41%;
  ascent-override: 82%;
  descent-override: 21.43%;
  line-gap-override: 0%;
}
