:root {
  --navy: #050b22;
  --navy2: #0a1640;
  --royal: #2f5bff;
  --teal: #14d3c0;
  --gold: #d4af37;
  --gold2: #f3dc8b;
  --white: #f4f7ff;
  --mute: #a9b6d8;
  --glass: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--sans);
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}

/* animated background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(130deg, #050b22, #0a1640, #0b2a63, #07324a, #0a1640, #050b22);
  background-size: 400% 400%;
  animation: shift 22s ease infinite
}

@keyframes shift {

  0%,
  100% {
    background-position: 0 50%
  }

  50% {
    background-position: 100% 50%
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  animation: drift 16s ease-in-out infinite
}

.o1 {
  width: 420px;
  height: 420px;
  background: var(--royal);
  top: -100px;
  left: -100px
}

.o2 {
  width: 360px;
  height: 360px;
  background: var(--teal);
  bottom: 5%;
  right: -90px;
  animation-delay: -5s;
  opacity: .3
}

.o3 {
  width: 240px;
  height: 240px;
  background: var(--gold);
  top: 45%;
  left: 35%;
  animation-delay: -9s;
  opacity: .14
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(50px, -40px) scale(1.15)
  }
}

.floaters span {
  position: absolute;
  bottom: -60px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  opacity: 0;
  animation: rise linear infinite
}

.floaters .coin {
  border-radius: 50%;
  color: #5a4306;
  background: radial-gradient(circle at 30% 30%, var(--gold2), var(--gold) 60%, #8a6b12);
  box-shadow: 0 0 18px rgba(212, 175, 55, .45), inset 0 0 0 3px rgba(255, 255, 255, .25)
}

.floaters .pct {
  color: var(--teal);
  text-shadow: 0 0 14px rgba(20, 211, 192, .6)
}

.floaters .ico {
  color: var(--royal);
  text-shadow: 0 0 14px rgba(47, 91, 255, .8)
}

@keyframes rise {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 0
  }

  10% {
    opacity: .8
  }

  90% {
    opacity: .6
  }

  100% {
    transform: translateY(-115vh) rotate(360deg);
    opacity: 0
  }
}

/* nav */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 10px 18px;
  border-radius: 18px;
  background: rgba(8, 16, 50, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line)
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500
}

.logo b {
  color: var(--gold);
  font-weight: 700
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 55px;
  border-radius: 2px;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .logo-img {
    width: 125px;
    height: 45px;
  }
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--mute);
  transition: .3s
}

.nav nav a:hover {
  color: #fff;
  background: var(--glass)
}

.nav nav .nav-cta {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  font-weight: 700
}

.nav nav .nav-cta:hover {
  color: var(--navy);
  background: linear-gradient(135deg, #fff3c4, var(--gold));
  box-shadow: 0 0 20px rgba(212, 175, 55, .5)
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 20px 70px
}

.trail {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 100%;
  height: 42%;
  z-index: -1;
  opacity: .55
}

.trail path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 6 10;
  vector-effect: non-scaling-stroke;
  animation: dash 30s linear infinite
}

.runner {
  fill: var(--gold2);
  filter: drop-shadow(0 0 8px var(--gold))
}

@keyframes dash {
  to {
    stroke-dashoffset: -600
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, .4);
  background: rgba(212, 175, 55, .08);
  color: var(--gold2);
  font-size: .88rem;
  margin-bottom: 26px;
  animation: fadeUp .8s both
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 175, 55, .7);
  animation: pulse 2s infinite
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0)
  }
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 980px;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
}

.line > span {
  display: block;
  transform: translateY(110%);
  animation: reveal 1s cubic-bezier(.2, .8, .2, 1) .3s forwards;
}

.line:nth-child(2) > span {
  animation-delay: .55s;
}

.soon {
  background: linear-gradient(
    100deg,
    var(--gold),
    var(--gold2),
    var(--teal),
    var(--gold2),
    var(--gold)
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    reveal 1s cubic-bezier(.2, .8, .2, 1) .55s forwards,
    sheen 5s linear infinite;
}

@keyframes reveal {
  to {
    transform: translateY(0);
  }
}
@keyframes sheen {
  to {
    background-position: 250% 0
  }
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-.1em)
  }
}

.intro {
  max-width: 620px;
  margin: 26px auto 36px;
  color: var(--mute);
  font-size: clamp(1rem, 2.2vw, 1.15rem)
}

.fade {
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.2, .8, .2, 1) forwards
}

.intro {
  animation-delay: .9s
}

.count {
  animation-delay: 1.05s
}

.notify {
  animation-delay: 1.2s
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .15)
}

.count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 20px);
  padding: clamp(14px, 2.5vw, 24px);
  border-radius: 24px;
  width: min(560px, 100%);
  margin-bottom: 26px
}

.count div {
  display: flex;
  flex-direction: column;
  align-items: center
}

.count strong {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums
}

.count strong.tick {
  animation: tick .4s
}

@keyframes tick {
  40% {
    transform: translateY(-6px);
    color: var(--gold2)
  }
}

.count span {
  font-size: .78rem;
  color: var(--gold2);
  margin-top: 8px
}

.count div+div {
  border-left: 1px solid var(--line)
}

.notify {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 99px;
  width: min(520px, 100%);
  flex-wrap: wrap
}

.notify input {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  padding: 12px 18px;
  border-radius: 99px
}

.notify input::placeholder {
  color: #7d8bb0
}

.notify input:focus {
  outline: none
}

.notify:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 211, 192, .15), 0 20px 60px rgba(0, 0, 0, .35)
}

.btn {
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  transition: transform .3s, box-shadow .3s
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal), var(--royal));
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1)
}

.btn span {
  position: relative;
  transition: color .3s
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, .45)
}

.btn:hover::before {
  transform: none
}

.btn:hover span {
  color: #fff
}

.btn:active {
  transform: scale(.97)
}

.msg {
  flex-basis: 100%;
  min-height: 0;
  font-size: .88rem;
  padding: 0 14px
}

.msg.ok {
  color: var(--teal);
  padding: 6px 14px 8px
}

.msg.err {
  color: #ff9a9a;
  padding: 6px 14px 8px
}

.notify.shake {
  animation: shake .4s
}

@keyframes shake {
  25% {
    transform: translateX(-8px)
  }

  75% {
    transform: translateX(8px)
  }
}

/* services */
.services {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  text-align: center
}

.services h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.15
}

.sub {
  color: var(--mute);
  margin: 10px 0 44px
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px
}

.card {
  --x: 50%;
  --y: 50%;
  position: relative;
  text-align: left;
  padding: 30px 28px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(.97);
  transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s
}

.card.in {
  opacity: 1;
  transform: none
}

.card.in:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, .55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4), 0 0 40px rgba(47, 91, 255, .18)
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--x) var(--y), rgba(20, 211, 192, .18), transparent 60%);
  opacity: 0;
  transition: opacity .3s
}

.card:hover::before {
  opacity: 1
}

.card svg {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 15px;
  fill: none;
  stroke: var(--gold2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: linear-gradient(135deg, rgba(47, 91, 255, .35), rgba(20, 211, 192, .2));
  margin-bottom: 20px;
  transition: transform .5s
}

.card:hover svg {
  transform: rotate(-8deg) scale(1.1)
}

.card h3 {
  position: relative;
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 8px
}

.card p {
  position: relative;
  color: var(--mute);
  font-size: .96rem
}

footer {
  text-align: center;
  padding: 26px 20px;
  color: #7d8bb0;
  font-size: .85rem;
  border-top: 1px solid var(--line)
}

@media(max-width:640px) {
  .nav nav a:not(.nav-cta) {
    display: none
  }

  .logo {
    font-size: 1.15rem
  }

  .hero {
    padding-top: 110px
  }

  .notify {
    border-radius: 26px
  }

  .notify .btn {
    flex: 1 1 100%
  }

  .notify input {
    text-align: center
  }
}

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

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

  .floaters {
    display: none
  }

  .line>span,
  .fade,
  .card {
    opacity: 1;
    transform: none
  }
}