:root {
  --hm-bg: #000;
  --hm-ink: #fff;
  --hm-sub: #e6e6e6;
  --hm-lab: #949494;
  --hm-signal: #c81b1c;
  --hm-signal-hover: #b01617;
  --hm-line: rgba(255, 255, 255, 0.12);
  --hm-font-display: "Space Grotesk", sans-serif;
  --hm-font-mono: "JetBrains Mono", monospace;
  --hm-s: min(100vw / 1505, 100vh / 700);
  --hm-page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --hm-max: 72rem;
}

@media (max-width: 1023px) and (max-aspect-ratio: 1/1) {
  :root {
    --hm-s: clamp(0.82px, min(100vw / 900, 100vh / 1200), 1.25px);
  }
}

@media (max-width: 599px) {
  :root {
    --hm-s: min(100vw / 430, 100vh / 620, 1.02px);
  }
}

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

html {
  color-scheme: dark;
  background: var(--hm-bg);
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--hm-bg);
  color: var(--hm-ink);
  font-family: var(--hm-font-mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

code {
  font-family: var(--hm-font-mono);
  font-size: 0.9em;
}

:focus-visible {
  outline: 2px solid var(--hm-ink);
  outline-offset: 3px;
}

::selection {
  background: var(--hm-signal);
  color: var(--hm-ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--hm-signal);
  color: var(--hm-ink);
  padding: 0.75rem 1rem;
  font-family: var(--hm-font-display);
}

.skip-link:focus {
  top: 1rem;
}

.svgdefs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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