:root {
  color-scheme: light;
  --ink: #0b1020;
  --muted: #737c91;
  --blue: #1786ff;
  --surface: #f8faff;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.99) 0 24%, rgba(247, 250, 255, 0.74) 58%, rgba(238, 244, 253, 0.9) 100%),
    var(--surface);
  color: var(--ink);
  font-family: "Sora", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.hero::before {
  position: absolute;
  z-index: -4;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 91, 165, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 91, 165, 0.014) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

#particle-field {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.ambient {
  position: absolute;
  z-index: -3;
  width: min(52vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(90px);
  pointer-events: none;
}

.ambient-one {
  top: -31%;
  left: -18%;
  background: #86c5ff;
}

.ambient-two {
  right: -23%;
  bottom: -37%;
  background: #5ea6ff;
}

.identity {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(92vw, 64rem);
  text-align: center;
  user-select: none;
}

.identity::before {
  position: absolute;
  z-index: -1;
  width: min(72vw, 42rem);
  height: min(28vw, 13rem);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.97) 0 42%, rgba(255, 255, 255, 0.6) 67%, transparent 80%);
  content: "";
  filter: blur(13px);
}

.wordmark {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-shadow: 0 10px 42px rgba(38, 74, 126, 0.06);
}

.wordmark-ai {
  position: relative;
  display: inline-block;
  color: var(--blue);
  font-weight: 400;
  text-shadow:
    0 0 18px rgba(23, 134, 255, 0.16),
    0 0 50px rgba(23, 134, 255, 0.1);
}

.wordmark-ai::after {
  position: absolute;
  right: 0.06em;
  bottom: -0.11em;
  left: 0.1em;
  height: 0.045em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(23, 134, 255, 0.46), transparent);
  content: "";
  filter: blur(5px);
}

.tagline {
  margin: clamp(1.4rem, 3vw, 2.1rem) 0 0;
  color: rgba(52, 61, 79, 0.62);
  font-size: clamp(0.98rem, 1.8vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.018em;
}

.noscript {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 134, 255, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

@media (max-width: 700px) {
  .hero {
    padding-inline: 1rem;
  }

  .wordmark {
    font-size: clamp(3.8rem, 21vw, 6.8rem);
    letter-spacing: -0.07em;
  }

  .tagline {
    max-width: 18rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  #particle-field {
    opacity: 0.8;
  }
}
