@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --white: #ffffff;
  --orange: #ff5a1f;
  --muted: rgba(255, 255, 255, 0.5);
}

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

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

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* Darkens the middle so the lockup keeps its clear space, and fades the edges. */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 50%, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.6) 45%, rgba(17, 17, 17, 0) 100%),
    radial-gradient(ellipse 120% 100% at 50% 50%, rgba(17, 17, 17, 0) 55%, rgba(17, 17, 17, 0.85) 100%);
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.lockup {
  margin: 0;
  line-height: 0;
  width: min(640px, 72vw);
  animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

.lockup img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .lockup { width: min(340px, 82vw); }
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  animation: fade 1s ease 0.9s both;
}

.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--orange);
}

.footer a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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