:root {
  --bg: #f6fbff;
  --paper: rgba(255, 255, 255, 0.76);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(25, 52, 70, 0.08);
  --text: #183244;
  --muted: #6b8090;
  --accent: #008dd5;
  --shadow: 0 24px 60px rgba(20, 43, 59, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(164, 225, 250, 0.9), transparent 22%),
    radial-gradient(circle at 85% 78%, rgba(189, 233, 255, 0.88), transparent 24%),
    radial-gradient(circle at 70% 18%, rgba(231, 248, 255, 0.9), transparent 20%),
    linear-gradient(180deg, #fcfeff 0%, #f4fbff 48%, #e8f5fd 100%);
  position: relative;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
}

body::before {
  top: -6rem;
  right: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 46% 54% 58% 42%;
  background: linear-gradient(135deg, rgba(0, 141, 213, 0.24), rgba(228, 246, 255, 0.18));
  filter: blur(8px);
}

body::after {
  left: -6rem;
  bottom: -7rem;
  width: 24rem;
  height: 24rem;
  border-radius: 55% 45% 40% 60%;
  background: linear-gradient(135deg, rgba(204, 240, 255, 0.5), rgba(0, 141, 213, 0.12));
  filter: blur(10px);
}

.currency-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.currency-mark {
  position: absolute;
  color: rgba(0, 141, 213, 0.22);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  animation: drift 11s ease-in-out infinite;
  text-shadow: 0 10px 24px rgba(0, 141, 213, 0.08);
}

.mark-one {
  top: 8%;
  left: 10%;
  animation-delay: 0s;
}

.mark-two {
  top: 16%;
  right: 12%;
  animation-delay: 2.2s;
}

.mark-three {
  bottom: 14%;
  left: 14%;
  animation-delay: 4.5s;
}

.mark-four {
  right: 18%;
  bottom: 10%;
  animation-delay: 1.4s;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.hero-card {
  width: min(100%, 34rem);
  padding: 1.35rem;
  border-radius: 2rem;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(232, 245, 253, 0.08));
  pointer-events: none;
}

.brand {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  margin: 1.1rem 0 1.4rem;
  max-width: 11ch;
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 1.4rem;
  background: var(--paper-strong);
  border: 1px solid rgba(25, 52, 70, 0.06);
}

.waitlist-form input,
.waitlist-form button {
  border: 0;
  font: inherit;
}

.waitlist-form input {
  width: 100%;
  min-width: 0;
  padding: 1rem 1rem 1rem 1.05rem;
  border-radius: 1rem;
  background: transparent;
  color: var(--text);
  outline: none;
}

.waitlist-form input::placeholder {
  color: var(--muted);
}

.waitlist-form button {
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease, background 140ms ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  background: #0078b6;
}

.form-note {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(-4deg);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .hero-card {
    padding: 1rem;
    border-radius: 1.6rem;
  }

  h1 {
    margin: 0.9rem 0 1.2rem;
    max-width: 9ch;
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form button {
    width: 100%;
  }

  .currency-mark {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }
}
