:root {
  --blue: #0088ff;
  --pastel: #eef6ff;
  --pastel-soft: #dbeaff;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--blue);
  color: var(--pastel);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.waves {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  z-index: 0;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 220%;
  height: 150px;
}

.waves .w1 {
  opacity: .16;
  animation: slide 22s linear infinite;
}

.waves .w2 {
  opacity: .10;
  animation: slide 33s linear infinite reverse;
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  text-align: center;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

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

h1 {
  font-size: clamp(2.9rem, 11vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
  color: var(--pastel);
}

h1 .dots {
  color: var(--pastel-soft);
  opacity: .7;
}

.tagline {
  margin: 18px auto 0;
  max-width: 430px;
  font-size: clamp(.95rem, 2.4vw, 1.05rem);
  line-height: 1.6;
  color: rgba(238, 246, 255, .72);
}

.actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.2, .7, .2, 1), background .22s ease, border-color .22s ease, color .22s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  background: var(--pastel);
  color: #0a5fb4;
  border: 1px solid var(--pastel);
}

.btn-primary:hover {
  background: #ffffff;
  color: #0057a8;
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--pastel);
  border: 1px solid rgba(238, 246, 255, .45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--pastel);
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
}

footer {
  margin-top: 52px;
  font-size: .82rem;
  letter-spacing: .06em;
  color: rgba(238, 246, 255, .55);
}

footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 246, 255, .28);
  transition: color .2s ease, border-color .2s ease;
}

footer a:hover {
  color: var(--pastel);
  border-bottom-color: var(--pastel);
}

footer .sep {
  margin: 0 6px;
  opacity: .5;
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
    min-width: 0;
  }

  footer {
    margin-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
