/* IWAWI landing page */

:root {
  color-scheme: dark;
  --bg: #090b12;
  --text: #f6f7fb;
  --muted: #a7abba;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #9887ff;
  --cyan: #6ce4e8;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(108, 228, 232, 0.065), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.ambient {
  position: absolute;
  z-index: -2;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.17;
  pointer-events: none;
}

.ambient-one {
  top: -24%;
  left: -12%;
  background: var(--violet);
}

.ambient-two {
  right: -14%;
  bottom: -28%;
  background: var(--cyan);
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 38px 0 30px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .22em;
  font-size: 0.9rem;
  font-weight: 720;
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.hero-copy {
  align-self: center;
  max-width: 960px;
  padding-bottom: 2vh;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(.74rem, 1vw, .84rem);
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 6.75rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  font-weight: 720;
  padding-bottom: .06em;
}

h1 span {
  display: inline-block;
  padding-right: .08em;
  padding-bottom: .12em;
  background: linear-gradient(105deg, #ffffff 8%, #b8b0ff 48%, #76e4e8 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 0;
  color: #d8dae4;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  letter-spacing: .025em;
}

.coming-soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(108, 228, 232, .72);
  animation: comingSoonPulse 2s ease-in-out infinite;
}

@keyframes comingSoonPulse {
  0%, 100% {
    transform: translateY(-2px) scale(.92);
    opacity: .8;
    box-shadow: 0 0 10px rgba(108, 228, 232, .45);
  }

  50% {
    transform: translateY(2px) scale(1.08);
    opacity: 1;
    box-shadow: 0 0 18px rgba(108, 228, 232, .8);
  }
}

footer {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #737887;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .16em;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #555b6a;
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 30px, 1180px);
    padding: 24px 0 22px;
  }

  .brand {
    gap: 11px;
    font-size: .78rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-copy {
    padding-bottom: 6vh;
  }

  h1 {
    font-size: clamp(3.15rem, 13vw, 4.6rem);
    line-height: 1.08;
  }

  .coming-soon {
    margin-top: 30px;
  }

  .page-shell::before {
    background-size: 52px 52px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-one {
    animation: drift-one 14s ease-in-out infinite alternate;
  }

  .ambient-two {
    animation: drift-two 17s ease-in-out infinite alternate;
  }

  @keyframes drift-one {
    to { transform: translate(7vw, 5vh) scale(1.08); }
  }

  @keyframes drift-two {
    to { transform: translate(-6vw, -4vh) scale(.94); }
  }
}
