:root {
  color-scheme: dark;
  --ink: #f8f5ff;
  --muted: #bdb4d0;
  --night: #100d19;
  --night-soft: #1b152a;
  --violet: #7c4dff;
  --magenta: #ec3f91;
  --coral: #ff775f;
  --blue: #4f83ff;
  --line: rgba(231, 221, 255, 0.18);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 15%, rgba(124, 77, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 15% 85%, rgba(236, 63, 145, 0.1), transparent 28rem),
    var(--night);
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px clamp(24px, 5vw, 80px) 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-grid;
  place-items: center;
}

.brand-core {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(145deg, #35216e, #6a35d2 58%, #7c4dff);
  box-shadow: 0 0 18px rgba(124, 77, 255, 0.65);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.brand-core svg {
  width: 19px;
  height: 19px;
}

.brand-core path {
  stroke: #fff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-link:focus-visible,
.product-planet:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 44px 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 24px;
  color: #d1c8e7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 7.8vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 780;
}

h1 span {
  display: block;
}

h1 .accent {
  display: inline-block;
  width: fit-content;
  padding: 0 0.08em 0.12em 0;
  margin-bottom: -0.12em;
  color: transparent;
  background: linear-gradient(95deg, var(--violet) 4%, var(--magenta) 54%, var(--coral));
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  max-width: 600px;
  margin: 36px 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.primary-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 22px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.36);
}

.arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--coral));
  box-shadow: 0 8px 24px rgba(236, 63, 145, 0.25);
}

.orbit-stage {
  width: min(48vw, 720px);
  aspect-ratio: 1;
  justify-self: end;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  transform: translateZ(0);
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orbit-outer {
  inset: 2%;
  transform: rotate(-14deg) scaleY(0.76);
  animation: orbit-drift 22s ease-in-out infinite alternate;
}

.orbit-outer::before {
  width: 15px;
  height: 15px;
  right: 14%;
  top: 12%;
  background: var(--blue);
  box-shadow: 0 0 28px rgba(79, 131, 255, 0.7);
}

.orbit-inner {
  inset: 19%;
  border-color: rgba(236, 63, 145, 0.26);
  transform: rotate(22deg) scaleY(0.82);
  animation: orbit-drift-inner 16s ease-in-out infinite alternate;
}

.orbit-inner::after {
  inset: -2px;
  border: 2px solid transparent;
  border-top-color: rgba(255, 119, 95, 0.55);
  transform: rotate(70deg);
}

.orbit-dot-small {
  width: 8px;
  height: 8px;
  position: absolute;
  left: 8%;
  bottom: 21%;
  border-radius: 50%;
  background: var(--coral);
}

.world {
  width: 34%;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.23), transparent 24%),
    linear-gradient(145deg, #35216e, #6a35d2 54%, #bb388f);
  box-shadow:
    0 0 90px rgba(124, 77, 255, 0.33),
    inset -24px -20px 48px rgba(16, 13, 25, 0.28);
  z-index: 2;
}

.world-letter {
  font-size: clamp(3.1rem, 7vw, 6rem);
  font-weight: 760;
  letter-spacing: -0.08em;
  transform: translateX(-0.04em);
}

.world-pulse {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: pulse 3.6s ease-out infinite;
}

.product-planet {
  width: 72px;
  height: 72px;
  position: absolute;
  right: -36px;
  top: calc(50% - 36px);
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: #25172d;
  box-shadow: 0 0 36px rgba(236, 63, 145, 0.46);
  text-decoration: none;
  transform: rotate(-22deg) scaleY(1.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
  z-index: 4;
}

.product-planet:hover {
  transform: rotate(-22deg) scale(1.08) scaleY(1.22);
  box-shadow: 0 0 52px rgba(236, 63, 145, 0.72);
}

.gauge-symbol {
  width: 42px;
  height: 42px;
  color: var(--magenta);
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(236, 63, 145, 0.44));
}

.planet-label {
  position: absolute;
  top: 82px;
  left: 50%;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 13, 25, 0.76);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.orbit-caption {
  position: absolute;
  right: 2%;
  bottom: 12%;
  color: rgba(248, 245, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.18;
  z-index: -1;
}

.ambient-one {
  width: 44%;
  height: 44%;
  top: 10%;
  right: 4%;
  background: var(--magenta);
}

.ambient-two {
  width: 36%;
  height: 36%;
  left: 4%;
  bottom: 9%;
  background: var(--blue);
}

footer {
  gap: 20px;
  padding-top: 20px;
  color: rgba(248, 245, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(1); }
  72%, 100% { opacity: 0; transform: scale(1.38); }
}

@keyframes orbit-drift {
  from { transform: rotate(-17deg) scaleY(0.76); }
  to { transform: rotate(-8deg) scaleY(0.79); }
}

@keyframes orbit-drift-inner {
  from { transform: rotate(18deg) scaleY(0.82); }
  to { transform: rotate(29deg) scaleY(0.78); }
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(4rem, 13vw, 7.8rem);
  }

  .orbit-stage {
    width: min(92vw, 660px);
    justify-self: center;
    margin: -8px 0 -30px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 22px 20px 22px;
  }

  .wordmark {
    font-size: 1.2rem;
  }

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

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 66px 0 36px;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
    line-height: 0.96;
  }

  .intro {
    margin-top: 28px;
    font-size: 1.05rem;
  }

  .orbit-stage {
    width: min(106vw, 520px);
    margin-left: -3vw;
  }

  .product-planet {
    width: 62px;
    height: 62px;
    right: -31px;
    top: calc(50% - 31px);
  }

  .planet-label {
    top: 72px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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