/* Standalone document defaults. Interface styling lives in site.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

body {
  min-width: 280px;
  margin: 0;
  padding: 20px;
  background: #070b12;
  color: #edf2fc;
}

h1, h2, h3, h4, p, figure, blockquote, pre {
  margin: 0;
}

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

button, input, textarea {
  max-width: 100%;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

img {
  display: block;
  max-width: 100%;
}

code, pre, kbd {
  font-family: 'IBM Plex Mono', Consolas, monospace;
}

svg.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  vertical-align: middle;
}

[hidden],
html:not(.js) .only-js {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border: 2px solid #66ddf2;
  border-radius: 5px;
  background: #101d30;
  color: #edf2fc;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
  transform: none;
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
