@layer base {
  @font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/ibm-plex-sans.woff2') format('woff2');
    font-weight: 400 600;
    font-display: swap;
  }

  @font-face {
    font-family: 'IBM Plex Sans Condensed';
    src: url('../fonts/ibm-plex-sans-condensed-medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
  }

  @font-face {
    font-family: 'IBM Plex Sans Condensed';
    src: url('../fonts/ibm-plex-sans-condensed-semibold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
  }

  *, *::before, *::after { box-sizing: border-box; }

  html, body { margin: 0; padding: 0; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 {
    font-family: var(--font-condensed);
    font-weight: 600;
    line-height: var(--lh-tight);
    margin: 0 0 var(--space-2) 0;
  }

  .tabular { font-variant-numeric: tabular-nums; }

  a { color: var(--accent); }

  button, input, select, textarea { font: inherit; color: inherit; }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--surface);
    color: var(--ink);
    padding: var(--space-2) var(--space-4);
    z-index: 100;
    border-radius: var(--radius);
  }
  .skip-link:focus { left: var(--space-2); top: var(--space-2); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  [hidden] { display: none !important; }

  .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;
  }
}
