/* Shared Jibjack brand — landing + portal */
:root {
  --bg: #0c0a14;
  --surface: #f0f2fc;
  --text: #1e1635;
  --muted: rgba(240, 242, 252, 0.72);
  --muted-card: #5c5580;
  --accent: #9b5de5;
  --accent-deep: #6d28d9;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font: "Nunito", system-ui, sans-serif;
  --radius: 20px;
  --shadow: 8px 8px 0 rgba(30, 22, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--surface);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite;
}

.b1 {
  width: 480px;
  height: 480px;
  background: var(--accent-deep);
  top: -140px;
  right: -100px;
}

.b2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -120px;
  left: -80px;
  animation-delay: -5s;
}

.b3 {
  width: 300px;
  height: 300px;
  background: var(--violet);
  top: 45%;
  left: 20%;
  opacity: 0.25;
  animation-delay: -9s;
}

@keyframes drift {
  50% {
    transform: translate(24px, -20px) scale(1.06);
  }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.page-wide {
  max-width: 1140px;
}

.hero {
  text-align: center;
  padding: 2rem 0 2rem;
}

.hero-compact {
  padding: 0.5rem 0 1.25rem;
}

.home-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.home-link:hover {
  border-color: var(--cyan);
  color: var(--violet);
}

.logo-orbit {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.25rem;
}

.hero-compact .logo-orbit {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
}

.logo-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--surface);
  background: linear-gradient(145deg, var(--accent), var(--cyan));
  border: 5px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.2);
  animation: pulse-logo 3s ease-in-out infinite;
}

.hero-compact .logo-core {
  font-size: 1.4rem;
  border-width: 4px;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--surface);
}

.d1 {
  background: var(--cyan);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit 6s linear infinite;
}

.d2 {
  background: var(--violet);
  animation: orbit 6s linear infinite;
  animation-delay: -2s;
}

.d3 {
  background: var(--accent);
  animation: orbit 6s linear infinite;
  animation-delay: -4s;
}

.d2,
.d3 {
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateY(-42px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateY(-42px) rotate(-360deg);
  }
}

@keyframes pulse-logo {
  50% {
    transform: scale(1.06);
  }
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  text-shadow:
    5px 5px 0 var(--accent-deep),
    10px 10px 0 rgba(34, 211, 238, 0.35);
}

.hero-compact h1 {
  font-size: clamp(2.5rem, 10vw, 3.5rem);
}

.tagline {
  display: inline-block;
  margin: 0.75rem auto 0;
  max-width: 24rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--surface);
  background: var(--accent-deep);
  border-radius: 999px;
  border: 3px solid var(--surface);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.status-pill {
  display: block;
  width: fit-content;
  margin: 0 auto 1.5rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  color: var(--surface);
  background: var(--accent);
  border-radius: 999px;
  border: 3px solid var(--surface);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.footer {
  text-align: center;
  padding: 2rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 800;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
}

.footer a:hover {
  color: var(--violet);
  border-color: var(--violet);
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .logo-core,
  .orbit-dot {
    animation: none;
  }
}
