:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #86868b;
  --link: #2997ff;
  --nav-height: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 22px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  transition: backdrop-filter 200ms ease, -webkit-backdrop-filter 200ms ease;
}

.nav.is-scrolled {
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-mark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a,
.hero-links a {
  color: var(--link);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-links a:hover,
.hero-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 48px 24px 32px;
}

.hero-name {
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  animation: rise 600ms ease both;
}

.hero-tagline {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.011em;
  line-height: 1.47;
  animation: rise 600ms ease 80ms both;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  animation: rise 600ms ease 160ms both;
}

.hero-links a {
  font-size: 17px;
}

.hero-sep {
  width: 1px;
  height: 14px;
  background: #424245;
}

.footer {
  padding: 0 22px 28px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.footer p {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.01em;
  border-top: 1px solid #424245;
  padding-top: 16px;
}

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

@media (max-width: 480px) {
  .nav {
    padding: 0 16px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero {
    padding: 32px 16px 64px;
  }

  .hero-links {
    gap: 14px;
  }
}

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

  .hero-name,
  .hero-tagline,
  .hero-links {
    animation: none;
  }
}
