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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(135deg, var(--canvas-start) 0%, var(--canvas-mid) 45%, var(--canvas-end) 100%);
  background-attachment: fixed;
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-feature-settings: "tnum" 1;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    48deg,
    rgba(94, 176, 246, 0.08) 0 1px,
    transparent 1px 11px
  );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  z-index: 0;
}

a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

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

code,
.mono {
  font-family: var(--mono);
  font-size: 0.86em;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
