:root {
  color-scheme: dark;
  background: #020302;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 280px;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #020302;
}

body {
  background:
    radial-gradient(ellipse at 50% 48%, rgb(18 18 18 / 34%), transparent 48%),
    radial-gradient(ellipse at center, #030503 0%, #020302 57%, #010201 100%);
}

.particle-background {
  position: fixed;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at center, transparent 38%, rgb(0 0 0 / 62%) 100%);
}

.particle-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}

.tech-labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-labels {
  z-index: 1;
  overflow: hidden;
}

.tech-token {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #c4c9c7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(9px, 0.82vw, 12px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;
  opacity: var(--opacity);
  text-shadow: 0 0 10px rgb(210 220 215 / 12%);
  transform: translate(-50%, -50%) translate3d(var(--orbit-x), var(--orbit-y), 0) rotate(var(--rotation));
  will-change: transform, opacity;
}

.tech-token::before,
.tech-token::after {
  position: absolute;
  top: 50%;
  content: '';
  pointer-events: none;
}

.tech-token::before {
  left: -8px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.tech-token::after {
  left: -6px;
  width: 5px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transform: translateY(-50%);
}

.tech-token.accent {
  color: #b4c4b8;
}

.desktop-token {
  display: block;
}

.mobile-token {
  display: none;
}

.center-logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  width: min(76vw, 980px);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}

.center-logo::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('./schema-dev-logo.jpg') center / 100% 100% no-repeat;
  content: '';
  filter: blur(7px) brightness(1.7);
  opacity: 0.55;
  transform: translateY(3px);
  mix-blend-mode: screen;
}

.center-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.is-hero-embed,
.is-hero-embed body,
.is-hero-embed .particle-background {
  background: transparent;
}

.is-hero-embed .center-logo {
  display: none;
}

@media (max-width: 640px) {
  .desktop-token {
    display: none;
  }

  .mobile-token {
    display: block;
    font-size: 10px;
  }

  .center-logo {
    width: 78vw;
  }
}
