@font-face {
  font-family: "Cabin Local";
  src: url("./Cabin-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #050607;
  --foreground: #f3f3f1;
  --muted: #a2a4a6;
  --halo: rgba(255, 255, 255, 0.055);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--foreground);
  font-family: "Cabin Local", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, var(--halo) 0, transparent 34rem),
    radial-gradient(circle at 50% 50%, transparent 0, transparent 55%, rgba(0, 0, 0, 0.48) 100%);
}

main {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 1.85rem);
  text-align: center;
  animation: arrive 700ms cubic-bezier(.2, .75, .25, 1) both;
}

.logo {
  display: block;
  width: min(60vw, 26rem);
  max-height: 60svh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 1.5rem 2.75rem rgba(0, 0, 0, 0.42));
}

.wordmark {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--foreground);
}

.wordmark .dot {
  color: var(--muted);
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(0.7rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .logo {
    width: min(78vw, 22rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }
}
