@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #09090b;
  --text: #fafafa;
  --muted: #a1a1aa;
  --faint: #3f3f46;
  --line: #27272a;
  --accent: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.85), var(--bg) 68%),
    repeating-linear-gradient(90deg, rgba(250, 250, 250, 0.015) 0 1px, transparent 1px 84px),
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(250, 250, 250, 0.02) 48%, transparent 58%),
    linear-gradient(35deg, transparent 0 45%, rgba(161, 161, 170, 0.02) 54%, transparent 64%);
  background-size: 220% 220%;
  content: "";
  opacity: 0.8;
  animation: slow-shift 18s ease-in-out infinite alternate;
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

main {
  width: 100%;
  max-width: 440px;
  padding: 60px 24px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  background-color: var(--line);
}

.avatar,
.avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--line);
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 600;
}

.kicker {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 32px 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background-color: #18181b;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 150ms ease;
}

.button:hover {
  background-color: #27272a;
  border-color: #3f3f46;
}

.button.primary {
  background-color: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.button.primary:hover {
  background-color: #e4e4e7;
  border-color: #e4e4e7;
}

.footer {
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-shift {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
