@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/plex-serif-400i.woff2") format("woff2"); }

:root {
  --bg: #08080f;
  --text: #e8e8f0;
  --muted: #8888aa;
  --intelligence-text: #a89ce8;
  --intelligence-rgb: 124, 106, 247;
  --hairline: rgba(255, 255, 255, 0.08);
  --font-ui: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "IBM Plex Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 46%, rgba(var(--intelligence-rgb), 0.16), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(var(--intelligence-rgb), 0.06), transparent 70%);
}

.lockup {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}

.mark {
  width: clamp(40px, 7vw, 84px);
  height: clamp(40px, 7vw, 84px);
  color: var(--intelligence-text);
  flex-shrink: 0;
  filter: drop-shadow(0 0 24px rgba(var(--intelligence-rgb), 0.35));
}

.wordmark {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(2.1rem, 8.4vw, 6.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

.tagline {
  position: relative;
  margin-top: clamp(18px, 3vw, 32px);
  padding-top: clamp(18px, 3vw, 32px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  letter-spacing: 0.02em;
  color: var(--muted);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) .25s both;
}

.tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--intelligence-rgb), 0.7), transparent);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lockup, .tagline { animation: none; }
}
