:root {
  --bg: #0b0d12;
  --fg: #e8eaf0;
  --muted: #8a90a0;
  --accent: #6ee7d8;
  --bg-rgb: 11, 13, 18;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9;
    --fg: #161a22;
    --muted: #5c6270;
    --accent: #0f9e8e;
    --bg-rgb: 246, 247, 249;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--bg);
}

main {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  text-align: center;
  pointer-events: none;
}
.logo {
  height: clamp(88px, 14vh, 128px);
  width: auto;
  color: var(--fg);
  transition: color 1s;
}
h1 {
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.02em;
}
.tag {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
a.li {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(138, 144, 160, 0.25);
  border-radius: 999px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
a.li:hover,
a.li:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  outline: none;
}
a.li svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
main > * {
  opacity: 0;
  animation: in 1.2s ease forwards;
}
main > *:nth-child(2) {
  animation-delay: 0.15s;
}
main > *:nth-child(3) {
  animation-delay: 0.3s;
}
main > *:nth-child(4) {
  animation-delay: 0.45s;
}
@keyframes in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  main > * {
    animation: none;
    opacity: 1;
  }
}
