:root {
  color-scheme: dark;
  --ink: #f6f8fb;
  --muted: rgba(246, 248, 251, 0.72);
  --soft: rgba(168, 185, 255, 0.15);
  --line: rgba(168, 185, 255, 0.2);
  --teal: #60f0d1;
  --blue: #43a8ff;
  --violet: #9b5cff;
  --magenta: #d65bf1;
  --black: #05070a;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(67, 168, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 26% 78%, rgba(155, 92, 255, 0.16), transparent 24rem),
    #05070a;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) 0;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: #07090d;
}

.hero-video,
.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.06);
}

.motion-layer {
  position: absolute;
  inset: -20%;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.52;
  pointer-events: none;
}

.motion-layer-one {
  background:
    linear-gradient(115deg, transparent 20%, rgba(67, 168, 255, 0.13), transparent 36%),
    linear-gradient(75deg, transparent 58%, rgba(214, 91, 241, 0.1), transparent 72%);
  animation: drift-one 16s ease-in-out infinite alternate;
}

.motion-layer-two {
  background:
    linear-gradient(145deg, transparent 32%, rgba(96, 240, 209, 0.1), transparent 50%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 88px
    );
  animation: drift-two 21s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 4, 13, 0.95) 0%, rgba(2, 4, 13, 0.76) 42%, rgba(2, 4, 13, 0.28) 78%),
    linear-gradient(180deg, rgba(2, 4, 13, 0.64) 0%, rgba(2, 4, 13, 0.12) 42%, rgba(2, 4, 13, 0.91) 100%);
}

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(132px, 16vw, 220px);
  min-height: 42px;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(67, 168, 255, 0.2));
}

.launch-pill,
.hero-status {
  border: 1px solid var(--line);
  background: rgba(8, 13, 29, 0.46);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(246, 248, 251, 0.82);
  font-size: 13px;
  font-weight: 680;
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(820px, 100%);
  padding: 4vh 0 4vh;
}

.wordmark {
  width: min(520px, 78vw);
  height: auto;
  margin: 0 0 clamp(24px, 5vh, 54px) -8px;
  filter: drop-shadow(0 18px 38px rgba(67, 168, 255, 0.22));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(58px, 8.8vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 32px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(246, 248, 251, 0.86);
  font-size: 14px;
  font-weight: 690;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(96, 240, 209, 0.13);
}

.product-showcase {
  position: relative;
  z-index: 4;
  width: min(1320px, 94vw);
  margin: clamp(-24px, -3vh, -10px) auto 0;
  padding: 0 clamp(0px, 1.2vw, 18px);
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: -24% 4% 0;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 46%, rgba(155, 92, 255, 0.24), transparent 34%),
    radial-gradient(circle at 70% 52%, rgba(67, 168, 255, 0.18), transparent 34%),
    linear-gradient(180deg, transparent, rgba(2, 4, 13, 0.64));
  filter: blur(22px);
  pointer-events: none;
}

.showcase-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(260px, 36vh, 420px);
  border: 1px solid rgba(168, 185, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 48%, rgba(155, 92, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 70% 36%, rgba(67, 168, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(2, 4, 13, 0.84);
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.46),
    0 0 70px rgba(67, 168, 255, 0.08);
  backdrop-filter: blur(22px);
}

.showcase-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 78%);
  pointer-events: none;
}

.showcase-header,
.showcase-body {
  position: relative;
  z-index: 2;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 0;
  color: rgba(246, 248, 251, 0.64);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  min-height: clamp(220px, 30vh, 354px);
  padding: clamp(18px, 3vw, 34px);
}

.ai-orbit {
  position: relative;
  width: min(275px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(155, 92, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(155, 92, 255, 0.12);
}

.ring-two {
  inset: 25%;
  border-color: rgba(67, 168, 255, 0.3);
}

.core-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(168, 185, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.92), rgba(67, 168, 255, 0.86)),
    rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 48px;
  font-weight: 900;
  box-shadow:
    0 0 0 10px rgba(155, 92, 255, 0.08),
    0 0 58px rgba(67, 168, 255, 0.28);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(168, 185, 255, 0.22);
  background: rgba(8, 13, 29, 0.78);
  color: rgba(246, 248, 251, 0.88);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.node-one {
  top: 16%;
  left: 11%;
}

.node-two {
  top: 13%;
  right: 14%;
}

.node-three {
  right: 7%;
  bottom: 22%;
}

.node-four {
  left: 17%;
  bottom: 13%;
}

.signal-stack {
  display: grid;
  gap: 10px;
}

.signal-stack article,
.message {
  border: 1px solid rgba(168, 185, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

.signal-stack article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 16px;
}

.signal-stack span,
.message span {
  color: rgba(246, 248, 251, 0.58);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.signal-stack strong {
  color: white;
  font-size: clamp(20px, 2vw, 30px);
}

.reply-preview {
  display: grid;
  gap: 12px;
}

.message {
  width: min(420px, 100%);
  padding: 14px;
}

.message p {
  margin: 6px 0 0;
  color: rgba(246, 248, 251, 0.9);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.45;
}

.message.yanuxa {
  justify-self: end;
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.42), rgba(67, 168, 255, 0.18)),
    rgba(255, 255, 255, 0.06);
}

@keyframes drift-one {
  from {
    transform: translate3d(-4%, -1%, 0) rotate(0.001deg);
  }

  to {
    transform: translate3d(6%, 3%, 0) rotate(0.001deg);
  }
}

@keyframes drift-two {
  from {
    transform: translate3d(4%, 2%, 0) rotate(0.001deg);
  }

  to {
    transform: translate3d(-5%, -2%, 0) rotate(0.001deg);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 100svh;
    padding: 18px 18px 0;
  }

  .hero-video,
  .hero-poster {
    object-position: 66% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 4, 13, 0.96) 0%, rgba(2, 4, 13, 0.8) 62%, rgba(2, 4, 13, 0.52) 100%),
      linear-gradient(180deg, rgba(2, 4, 13, 0.5) 0%, rgba(2, 4, 13, 0.18) 46%, rgba(2, 4, 13, 0.93) 100%);
  }

  .hero-content {
    padding: 4vh 0 5vh;
  }

  h1 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .product-showcase {
    width: 100%;
    margin-top: 0;
    padding: 0;
  }

  .showcase-panel {
    min-height: auto;
  }

  .showcase-header {
    display: none;
  }

  .showcase-body {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
    min-height: 0;
    padding: 18px;
  }

  .ai-orbit {
    width: min(220px, 74vw);
  }

  .signal-stack {
    display: none;
  }

  .reply-preview {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 128px;
    min-height: 34px;
  }

  .launch-pill {
    min-height: 32px;
    padding: 0 11px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero-status {
    max-width: 100%;
    border-radius: 8px;
    padding: 11px 13px;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
