:root {
  color-scheme: dark;
  --background: #000;
  --foreground: #fff;
  --muted: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--background);
  overflow: hidden;
}

body {
  min-height: 100dvh;
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 5vw;
}

.content {
  width: min(84vw, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4vw, 38px);
}

.logo-link {
  display: block;
  width: 100%;
  max-width: 860px;
  line-height: 0;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68dvh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 38px);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, color 180ms ease;
  text-shadow: 0 0 16px rgba(255,255,255,0.07);
}

.socials a:hover,
.socials a:focus-visible {
  color: #fff;
  opacity: 1;
  transform: translateY(-3px) scale(1.06);
  outline: none;
}

.socials a:focus-visible {
  text-shadow: 0 0 0.4rem rgba(255,255,255,0.45);
}

#stormCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .page { padding: 7vw; }
  .content { width: 90vw; }
  .logo { max-height: 60dvh; }
}

@media (prefers-reduced-motion: reduce) {
  #stormCanvas { display: none; }
}
