/* ─── sohne-var — Stripe's variable font (self-hosted when available) ─── */
@font-face {
  font-family: "sohne-var";
  src: url("../fonts/sohne-var.woff2") format("woff2-variations");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

/*
  Exact font stack from Stripe India (inspected):
    sohne-var, "SF Pro Display", sans-serif
  Weight 300 = sohne light / SF Pro Display light.
  "SF Pro Display" renders on macOS 10.11+ / iOS 9+; on Windows/Android
  the chain falls through to Inter (Google Fonts, loaded in base.html)
  and then system-ui.
*/
:root {
  /* sohne-var is now self-hosted (static/fonts/sohne-var.woff2 — downloaded from Stripe CDN) */
  --font-stripe: sohne-var, "SF Pro Display", "Inter", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Stripe's exact text colour (inspected): rgb(45, 37, 100) = #2d2564 */
  --stripe-text-display: #2d2564;
}
