/* MoreAI coming soon page. Colours, font and tone follow the MoreAI brand. */

:root {
  --red: #F50A16;
  --cream: #F5ECD6;
  --ink: #1C1412;
  --coral: #FF5A3C;
  --deep: #A8000C;
  --peach: #F9D6C2;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--red);
  color: var(--cream);
  font-family: "Baloo Bhaijaan 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Soft moving light behind everything */

.glow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.blob-coral {
  width: 70vmax;
  height: 70vmax;
  top: -28vmax;
  inset-inline-start: -22vmax;
  background: radial-gradient(circle, rgb(255 90 60 / 0.55) 0%, rgb(255 90 60 / 0) 65%);
  animation: drift-a 22s var(--ease-in-out) infinite alternate;
}

.blob-deep {
  width: 80vmax;
  height: 80vmax;
  bottom: -40vmax;
  inset-inline-end: -30vmax;
  background: radial-gradient(circle, rgb(168 0 12 / 0.6) 0%, rgb(168 0 12 / 0) 65%);
  animation: drift-b 26s var(--ease-in-out) infinite alternate;
}

.blob-peach {
  width: 40vmax;
  height: 40vmax;
  top: 30%;
  inset-inline-end: 10%;
  background: radial-gradient(circle, rgb(249 214 194 / 0.22) 0%, rgb(249 214 194 / 0) 65%);
  animation: drift-c 30s var(--ease-in-out) infinite alternate;
}

@keyframes drift-a {
  to { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); }
}

@keyframes drift-b {
  to { transform: translate3d(-6vmax, -8vmax, 0) scale(1.1); }
}

@keyframes drift-c {
  to { transform: translate3d(-10vmax, 6vmax, 0); }
}

/* Layout */

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 3.2vw, 1.75rem);
  text-align: center;
  padding-block: max(2.5rem, env(safe-area-inset-top)) 1.5rem;
  padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right));
}

/* Text on red is always 19px bold or larger, so it passes WCAG AA for large text.
   Small text sits on cream, where it passes AA easily. */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem 0.45rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgb(60 0 4 / 0.22);
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s var(--ease-out) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(245 10 22 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 0.6rem rgb(245 10 22 / 0); }
}

.brand img {
  width: clamp(14rem, 64vw, 34rem);
  height: auto;
}

.title {
  font-size: clamp(2.1rem, 7vw, 3.9rem);
  font-weight: 800;
  line-height: 1.2;
}

.nowrap {
  white-space: nowrap;
}

.lead {
  max-width: 30ch;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.6;
}

.links {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.pill svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill svg .fill {
  fill: currentColor;
  stroke: none;
}

.pill-solid {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 12px 32px rgb(60 0 4 / 0.25);
}

.pill-glass {
  background: rgb(245 236 214 / 0.14);
  color: var(--cream);
  border: 1px solid rgb(245 236 214 / 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.pill:hover {
  transform: translateY(-2px);
}

.pill-solid:hover {
  box-shadow: 0 16px 40px rgb(60 0 4 / 0.32);
}

.pill-glass:hover {
  background: rgb(245 236 214 / 0.22);
}

.pill:active {
  transform: translateY(0) scale(0.97);
}

.pill:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  padding-block: 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  padding-inline: 1.25rem;
}

/* Entrance: a short, simple rise in sequence */

.reveal,
.reveal-pop {
  opacity: 0;
  animation-duration: 0.9s;
  animation-timing-function: var(--ease-out);
  animation-fill-mode: forwards;
}

.reveal {
  transform: translateY(1.1rem);
  animation-name: rise;
}

.reveal-pop {
  transform: scale(0.9);
  animation-name: pop;
  animation-duration: 1s;
}

.d0 { animation-delay: 0.15s; }
.d1 { animation-delay: 0.27s; }
.d2 { animation-delay: 0.42s; }
.d3 { animation-delay: 0.54s; }
.d4 { animation-delay: 0.66s; }
.d5 { animation-delay: 0.8s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  60% { opacity: 1; transform: scale(1.025); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 26rem) {
  .links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .pill {
    width: 100%;
    justify-content: center;
  }
}

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

  .reveal,
  .reveal-pop {
    opacity: 1;
    transform: none;
  }
}
