:root {
  --bg: #18191c;
  --ink: #e8e8ea;
  --ink-soft: #b0b2b6;
  --ink-muted: #7f8288;
  --line: #2b2d32;
  --snow: #e6e6d8;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hero */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#blizzard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.hero-logo {
  position: relative;
  width: clamp(180px, 36vmin, 360px);
  height: auto;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-muted);
  font-size: 18px;
  transition: color 0.2s;
}

.scroll-cue:hover {
  color: var(--ink);
}

/* Content */

.content {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px 40px;
}

section + section {
  margin-top: 96px;
}

.intro {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
}

h2 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.list a {
  font-weight: 500;
  transition: color 0.2s;
}

.list a:hover {
  color: var(--snow);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.status {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
}

.status--active {
  color: var(--snow);
}

/* Footer */

.footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px 56px;
  display: flex;
  align-items: center;
  gap: 0.16em;
  font-size: clamp(40px, 11vw, 64px);
}

.footer-logo {
  position: relative;
  flex: none;
  /* logo.svg has ~10% padding per side; this sets the drawn mark to the ascender height */
  width: 0.92em;
  height: 0.92em;
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.footer-logo img {
  display: block;
  will-change: transform;
  width: 100%;
  height: 100%;
}

/* Little messages that float up off the logo while it spins. */
.spin-bubble {
  position: absolute;
  left: 60%;
  bottom: 85%;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--snow);
  white-space: nowrap;
  pointer-events: none;
  animation: bubble 1.2s ease-out forwards;
}

@keyframes bubble {
  0% {
    opacity: 0;
    transform: translate(0, 6px) scale(0.85);
  }
  15% {
    opacity: 1;
    transform: translate(calc(var(--drift) * 0.2), -4px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift), -36px) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-bubble {
    animation-name: bubble-fade;
  }

  @keyframes bubble-fade {
    0%,
    100% {
      opacity: 0;
    }
    15%,
    70% {
      opacity: 1;
    }
  }
}

/* Popped off the logo when a fast spin comes to rest; position and motion are set in main.js. */
.confetti {
  position: fixed;
  width: 7px;
  height: 5px;
  translate: -50% -50%;
  pointer-events: none;
  z-index: 10;
}

.footer-logo:focus-visible {
  outline: 1px solid var(--ink-muted);
  outline-offset: 4px;
}

.wordmark {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 1em;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--snow);
  align-self: baseline;
}

.made-with {
  align-self: baseline;
  margin-left: 4px;
  line-height: 1;
  font-size: 13px;
  color: var(--ink-muted);
}
