:root {
  --ink: #10140f;
  --paper: #f6f1e7;
  --leaf: #78d17b;
  --moss: #1d6b4d;
  --coral: #ff6f61;
  --gold: #f7c95f;
  --violet: #7f6dff;
  --white: #fffaf0;
  --line: rgba(246, 241, 231, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 20%, rgba(120, 209, 123, 0.24), transparent 26rem),
    radial-gradient(circle at 84% 16%, rgba(255, 111, 97, 0.18), transparent 22rem),
    linear-gradient(138deg, #10140f 0%, #142116 52%, #191425 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

#seedfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
  height: 100svh;
  padding: 28px clamp(18px, 4vw, 64px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand {
  gap: 11px;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 28px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(150deg, var(--leaf), var(--gold));
  box-shadow: 0 0 34px rgba(120, 209, 123, 0.42);
  transform: rotate(-32deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 8vw, 96px);
  min-height: 0;
  padding: clamp(22px, 5vw, 64px) 0;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--leaf);
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4.6rem, 12vw, 11.8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-wrap: balance;
}

.lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1.05rem, 2.1vw, 1.42rem);
  line-height: 1.55;
}

.signal {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: min(52vw, 500px);
  padding: clamp(20px, 4vw, 42px);
}

.signal-core {
  position: relative;
  width: min(72vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, rgba(120, 209, 123, 0.28), rgba(247, 201, 95, 0.04), rgba(127, 109, 255, 0.2), rgba(255, 111, 97, 0.28), rgba(120, 209, 123, 0.28));
  box-shadow: inset 0 0 80px rgba(255, 250, 240, 0.08), 0 36px 120px rgba(0, 0, 0, 0.28);
}

.signal-core::before,
.signal-core::after {
  position: absolute;
  inset: 18%;
  content: "";
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 50%;
}

.signal-core::after {
  inset: 36%;
  background: radial-gradient(circle, var(--gold), var(--coral) 55%, transparent 58%);
  border: 0;
  filter: drop-shadow(0 0 32px rgba(247, 201, 95, 0.44));
}

.runner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 24px rgba(120, 209, 123, 0.7);
  transform-origin: 0 0;
  animation: orbit 5.8s linear infinite;
}

.runner.delay-a {
  width: 11px;
  height: 11px;
  margin: -5px 0 0 -5px;
  background: var(--paper);
  animation-duration: 8.6s;
  animation-delay: -2s;
}

.runner.delay-b {
  width: 13px;
  height: 13px;
  margin: -6px 0 0 -6px;
  background: var(--violet);
  animation-duration: 7.2s;
  animation-delay: -4s;
}

.signal-label {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(72vw, 430px);
  margin-top: 18px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(min(31vw, 178px));
  }

  to {
    transform: rotate(360deg) translateX(min(31vw, 178px));
  }
}

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

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding-top: clamp(26px, 6vh, 54px);
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(4rem, 23vw, 6.7rem);
  }

  .lede {
    margin-top: 20px;
    font-size: 1rem;
  }

  .signal {
    min-height: auto;
    padding: 0 0 12px;
  }

  .signal-core,
  .signal-label {
    width: min(72vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .runner {
    animation: none;
  }
}
