html {
  scroll-behavior: smooth
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  background:
    radial-gradient(820px 540px at 18% 8%, rgba(255, 255, 255, .10), transparent 62%),
    radial-gradient(760px 520px at 88% 28%, rgba(255, 255, 255, .06), transparent 66%),
    radial-gradient(900px 620px at 42% 106%, rgba(255, 255, 255, .07), transparent 68%),
    #000;
  background-attachment: fixed;
  color: #fff;
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: #fff;
  color: #000
}

a {
  color: #fff
}

a:hover {
  color: rgba(255, 255, 255, .75)
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.96)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes drift1 {
  to {
    transform: translate(10vw, 8vh) scale(1.15)
  }
}

@keyframes drift2 {
  to {
    transform: translate(-9vw, -9vh) scale(.92)
  }
}

@keyframes driftA {
  0% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, -38px) scale(1.1)
  }

  100% {
    transform: translate(-18px, 22px) scale(.94)
  }
}

@keyframes driftB {
  0% {
    transform: translate(0, 0) scale(.96)
  }

  50% {
    transform: translate(-34px, 26px) scale(1.06)
  }

  100% {
    transform: translate(20px, -30px) scale(1)
  }
}

@keyframes driftC {
  0% {
    transform: translate(0, 0) scale(1.04)
  }

  50% {
    transform: translate(24px, 34px) scale(.92)
  }

  100% {
    transform: translate(-26px, -18px) scale(1.08)
  }
}

@keyframes driftD {
  0% {
    transform: translate(0, 0) scale(.94)
  }

  50% {
    transform: translate(-22px, -32px) scale(1.08)
  }

  100% {
    transform: translate(28px, 16px) scale(1)
  }
}

@keyframes driftE {
  0% {
    transform: translate(0, 0) scale(1.02)
  }

  50% {
    transform: translate(-28px, 24px) scale(.95)
  }

  100% {
    transform: translate(24px, -20px) scale(1.06)
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }
}

.nav-link {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-weight: 380;
  transition: color .25s
}

.nav-link:hover {
  color: #fff
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border-radius: 99px;
  font-weight: 450;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow .3s, transform .2s
}

.btn:hover {
  box-shadow: var(--hover-shadow, 0 0 26px -10px rgba(255, 255, 255, .55));
  color: #000
}

.btn:active {
  transform: scale(var(--active-scale, 1))
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 99px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 380;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s, box-shadow .3s
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 26px -12px rgba(255, 255, 255, .4)
}

.hero-icon {
  position: absolute;
  transform: translate(-50%, -50%)
}

.icon-btn {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  border-radius: 27%;
  padding: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03) 46%, rgba(255, 255, 255, .06));
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 38px -26px rgba(0, 0, 0, .9);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), border-color .25s, box-shadow .3s
}

.icon-btn:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 34px -8px rgba(255, 255, 255, .35)
}

.icon-btn:active {
  transform: scale(1.02)
}

.icon-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer
}

.modal-overlay[hidden] {
  display: none
}

.modal-card {
  cursor: auto;
  width: min(440px, 94%);
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04) 46%, rgba(255, 255, 255, .06));
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 34px 70px -40px rgba(0, 0, 0, .95);
  position: relative;
  animation: cardIn .35s cubic-bezier(.2, .7, .3, 1) both
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: color .2s, border-color .2s
}

.modal-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .45)
}
