/*
 * FPF Design System 2.1 — base
 * Font import, resets and shared keyframes. Load after tokens.css.
 *
 * The Figma file specifies three FPF-branded families (FPF Normal, FPF
 * Condensed, FPF Narrow) that are not publicly licensed fonts. Barlow,
 * Barlow Condensed and Inter are used as substitutes — swap the @import
 * below and the --fpf-font-* variables if the real font files become
 * available.
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;900&family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --fpf-font-heading: 'Barlow', sans-serif;
  --fpf-font-display: 'Barlow Condensed', sans-serif;
  --fpf-font-labels: 'Barlow Condensed', sans-serif;
  --fpf-font-text: 'Inter', sans-serif;
  --fpf-font-mono: 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--colour-neutral-120);
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--fpf-font-heading);
  color: var(--colour-neutral-20);
}

a {
  color: var(--colour-neutral-20);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--colour-accents-blue-40); }

@keyframes fpf-spin { to { transform: rotate(360deg); } }
@keyframes fpf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.fpf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
