:root {
  --bg-dark: #050816;
  --bg-deep: #0b1126;
  --white: #f8fafc;
  --text-primary: #e5edf8;
  --text-secondary: #93a4bf;
  --orange-primary: #f97316;
  --blue-primary: #38bdf8;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(249, 115, 22, 0.07), transparent 22%),
    linear-gradient(180deg, #071024 0%, #040711 58%, #020309 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.78;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.22;
  will-change: transform;
}

.glow-orange {
  top: 10%;
  left: 11%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.28) 0%, rgba(249, 115, 22, 0) 76%);
  animation: drift-left 28s infinite alternate ease-in-out;
}

.glow-blue {
  right: -6rem;
  bottom: -8rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.34) 0%, rgba(56, 189, 248, 0) 72%);
  animation: drift-right 34s infinite alternate ease-in-out;
}

.hero-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.brand-heading {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.12);
  max-width: min(92vw, 980px);
}

.brand-number {
  color: var(--white);
  display: inline-block;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
}

.brand-wordmark {
  display: inline-block;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff7ed 0%, #f9b16a 44%, #f67f27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.08));
}

@keyframes drift-left {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3rem, 4rem) scale(1.08);
  }
}

@keyframes drift-right {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-4rem, -3rem) scale(0.92);
  }
}

@media (max-width: 640px) {
  .hero-shell {
    padding: 1.25rem;
  }

  .brand-heading {
    row-gap: 0.05rem;
    line-height: 0.94;
  }

  .brand-number,
  .brand-wordmark {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
  }
}

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

  .ambient-glow {
    animation: none !important;
  }
}
