/* Fonts (self-hosted, SIL Open Font License: see /static/fonts/OFL.txt), tokens and resets. */

@font-face {
  font-family: 'Bricolage';
  src: url('/static/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: 'Big Shoulders';
  src: url('/static/fonts/big-shoulders.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --body: 'Bricolage', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

body[data-kind='screen'] {
  --display: 'Big Shoulders', 'Bricolage', system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.oops,
.loading {
  margin: auto;
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.8;
}

.oops-go {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #0b0a0f;
  font: 750 15px/1 var(--body);
  text-decoration: none;
}

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