:root {
  --ink: #1c1230;
  --ink-soft: #4d3d6e;
  --paper: #f4eefc;
  --violet: #7c3aed;
  --violet-deep: #5b21b6;
  --violet-soft: #c4b5fd;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

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

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #ebe4ff;
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 15%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 45% at 10% 85%, rgba(196, 181, 253, 0.45), transparent 50%),
    linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #f7f2ff 0%, #ebe4ff 50%, #e0d4ff 100%);
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  animation: drift 18s ease-in-out infinite alternate;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--violet);
  animation: rise 0.75s ease both;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--violet-deep);
  animation: rise 0.85s ease both 0.1s;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 30rem;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  animation: rise 0.85s ease both 0.2s;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  animation: rise 0.85s ease both 0.3s;
}

.chips li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--violet-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--violet-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.schematic {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  max-width: 22rem;
  width: 100%;
  border-left: 3px solid var(--violet);
  background: rgba(28, 18, 48, 0.92);
  color: #e9d5ff;
  font-size: 0.8rem;
  line-height: 1.55;
  border-radius: 0 0.75rem 0.75rem 0;
  overflow-x: auto;
  text-align: left;
  animation: rise 0.85s ease both 0.4s;
}

.host {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--violet);
  animation: rise 0.85s ease both 0.5s;
}

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

@keyframes drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03) translate3d(-1%, 1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid,
  .eyebrow,
  .brand,
  .lead,
  .chips,
  .schematic,
  .host {
    animation: none;
  }
}
