:root {
  --violet-core: #7b5cf0;
  --lavender: #b39dff;
  --deep-space: #0e0e12;
  --ghost-white: #f0eef8;
  --muted: #bdb6d5;
  --panel: rgba(240, 238, 248, 0.07);
  --panel-strong: rgba(240, 238, 248, 0.12);
  --stroke: rgba(240, 238, 248, 0.16);
  --shadow: 0 28px 90px rgba(7, 6, 14, 0.55);
  --mark-primary: var(--violet-core);
  --mark-secondary: var(--lavender);
  --word-one: var(--ghost-white);
  --word-two: var(--lavender);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ghost-white);
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 92, 240, 0.32), transparent 32rem),
    radial-gradient(circle at 78% 8%, rgba(179, 157, 255, 0.18), transparent 27rem),
    linear-gradient(135deg, #09090d 0%, var(--deep-space) 54%, #171022 100%);
  font-family: "Space Grotesk", "Avenir Next", "Trebuchet MS", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(240, 238, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 238, 248, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 96px);
}

.hero-copy,
.signal-card,
.brand-panel,
.variant-card {
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(240, 238, 248, 0.1), rgba(240, 238, 248, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 7vw, 86px);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  animation: rise-in 700ms ease both;
}

.hero-copy::after {
  position: absolute;
  right: -96px;
  bottom: -106px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  content: "";
  background: rgba(123, 92, 240, 0.35);
  filter: blur(26px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lavender);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-lockup {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.hero-lockup {
  margin-bottom: 34px;
}

.logomark {
  width: 74px;
  height: auto;
  overflow: visible;
}

.mark-line,
.mark-glow,
.mark-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-glow {
  stroke: var(--mark-primary);
  stroke-width: 13;
  opacity: 0.18;
  filter: blur(6px);
}

.mark-line {
  stroke: var(--mark-primary);
  stroke-width: 7;
}

.mark-pulse {
  stroke: var(--mark-secondary);
  stroke-width: 7;
}

.wordmark {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
}

.wordmark span:first-child {
  color: var(--word-one);
}

.wordmark span:last-child {
  color: var(--word-two);
}

h1,
h2,
p {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ghost-white);
  color: var(--deep-space);
}

.button.secondary {
  border: 1px solid rgba(240, 238, 248, 0.18);
  color: var(--ghost-white);
}

.signal-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 36px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  animation: rise-in 700ms 120ms ease both;
}

.signal-card::before {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(240, 238, 248, 0.09);
  border-radius: 28px;
  content: "";
}

.signal-topline {
  display: inline-flex;
  width: fit-content;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(179, 157, 255, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--lavender);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 18px var(--lavender);
  animation: blink 1.9s ease-in-out infinite;
}

.orb {
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(179, 157, 255, 0.2), transparent 52%),
    linear-gradient(135deg, rgba(123, 92, 240, 0.9), rgba(123, 92, 240, 0.18));
  box-shadow:
    inset 0 0 60px rgba(240, 238, 248, 0.16),
    0 0 90px rgba(123, 92, 240, 0.38);
}

.large-mark {
  width: 72%;
  animation: breathe 3.8s ease-in-out infinite;
}

.message-stack {
  display: grid;
  gap: 12px;
}

.message-stack p {
  margin: 0;
  border: 1px solid rgba(240, 238, 248, 0.1);
  border-radius: 20px;
  padding: 16px;
  background: rgba(14, 14, 18, 0.58);
  color: var(--muted);
  line-height: 1.5;
}

.message-stack span {
  color: var(--ghost-white);
  font-weight: 900;
}

.brand-panel,
.variants {
  margin-top: 28px;
}

.brand-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: end;
  border-radius: 32px;
  padding: clamp(26px, 5vw, 48px);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.swatch {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  padding: 18px;
  font-size: 0.84rem;
  font-weight: 900;
}

.swatch span {
  opacity: 0.78;
}

.swatch strong {
  font-size: 1rem;
}

.swatch.violet {
  background: var(--violet-core);
}

.swatch.lavender {
  background: var(--lavender);
  color: var(--deep-space);
}

.swatch.deep {
  border: 1px solid rgba(240, 238, 248, 0.12);
  background: var(--deep-space);
}

.swatch.ghost {
  background: var(--ghost-white);
  color: var(--deep-space);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 84px 0 24px;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.variant-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.variant-card:hover {
  border-color: rgba(240, 238, 248, 0.34);
  transform: translateY(-4px);
}

.variant-card > span {
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  opacity: 0.76;
  text-transform: uppercase;
}

.variant-dark {
  background: linear-gradient(145deg, #111118, #0e0e12);
}

.variant-violet {
  --mark-primary: var(--ghost-white);
  --mark-secondary: var(--lavender);
  background:
    radial-gradient(circle at 80% 20%, rgba(240, 238, 248, 0.22), transparent 16rem),
    var(--violet-core);
}

.variant-light {
  --mark-primary: var(--violet-core);
  --mark-secondary: #8a6bff;
  --word-one: var(--deep-space);
  --word-two: var(--violet-core);
  background: var(--ghost-white);
  color: var(--deep-space);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 24px, 680px);
    padding: 18px 0;
  }

  .hero,
  .brand-panel,
  .variant-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .signal-card {
    min-height: 480px;
  }

  .swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-copy,
  .signal-card,
  .brand-panel,
  .variant-card {
    border-radius: 24px;
  }

  .hero-copy,
  .brand-panel {
    padding: 24px;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .swatches {
    grid-template-columns: 1fr;
  }

  .wordmark {
    letter-spacing: -0.07em;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  50% {
    opacity: 0.42;
    transform: scale(0.78);
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.035);
  }
}

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