@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space_grotesk.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --instrument-bg: #0B0E14;
  --instrument-surface: #171C29;
  --instrument-border: #232A3D;
  --instrument-text: #E6E8EF;
  --instrument-secondary: #8B93A7;
  --instrument-muted: #6C7488;
  --instrument-cyan: #22D3EE;
  --instrument-green: #34D399;
  --instrument-amber: #F59E0B;
  --blenav-safe-bottom: 76px;
}

html, body {
  background: var(--instrument-bg);
  color: var(--instrument-text);
}

h1, h2, h3, .value, .display, .instrument-reading {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}

h1 { letter-spacing: -0.035em; }
h2 { letter-spacing: -0.018em; }

.wrap:not(.marketing) {
  position: relative;
}

.wrap:not(.marketing)::before,
.wrap:not(.marketing)::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: .72;
}

.wrap:not(.marketing)::before {
  top: 18px;
  left: 4px;
  border-top: 1px solid var(--instrument-cyan);
  border-left: 1px solid var(--instrument-cyan);
}

.wrap:not(.marketing)::after {
  right: 4px;
  bottom: 28px;
  border-right: 1px solid var(--instrument-border);
  border-bottom: 1px solid var(--instrument-border);
}

.sub, .updated {
  color: var(--instrument-secondary);
}

.label {
  color: var(--instrument-muted);
  letter-spacing: .105em;
}

.card, .run-card {
  box-shadow: inset 0 1px 0 rgba(230, 232, 239, .018);
}

input, button, a {
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--instrument-cyan);
}

@media (max-width: 600px) {
  .wrap:not(.marketing)::before { left: 10px; }
  .wrap:not(.marketing)::after { right: 10px; }
}

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