@font-face {
  font-family: Nunito;
  src: url("/assets/nunito-800.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
}

:root {
  color-scheme: dark;
  background: #030704;
  color: #f3fff3;
  font: 800 16px Nunito, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; isolation: isolate; }
::selection { background: #b3fbb8; color: #081409; }

#sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #030704;
}

#sky::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse at 83% 32%, #245c39, transparent 59%),
    radial-gradient(ellipse at 32% 81%, #332046, transparent 54%),
    #030704;
  animation: sky-sweep 8s ease-in-out infinite alternate;
}

@keyframes sky-sweep {
  from { transform: translate(-9%, 5%); }
  to { transform: translate(10%, -8%); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, #03070599, transparent 76%),
    linear-gradient(135deg, #030504bb 0%, transparent 65%, #0305043d);
}

.brand {
  position: absolute;
  top: var(--gutter);
  inset-inline-start: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}
.brand-mark { display: block; width: clamp(2.75rem, 5vw, 3.75rem); aspect-ratio: 1; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter);
  text-align: center;
}

.announcement { position: relative; }

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.follow {
  position: absolute;
  top: calc(100% + 1.35rem);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #effff0;
  border-radius: 8px;
  transition: background-color 160ms ease, color 160ms ease;
}
.follow:hover { background: #c1f9c41c; color: #c1f9c4; }
.follow:focus-visible { outline: 2px solid #b3fbb8; outline-offset: 5px; }

@media (prefers-reduced-motion: reduce) {
  #sky::before { animation: none; }
  .follow { transition: none; }
}
