:root {
  --bg: #070806;
  --ink: #f4f1e8;
  --muted: #9a9588;
  --line: rgba(244, 241, 232, 0.12);
  --lime: #d6ff4a;
  --lime-ink: #14180a;
  --card: #10120e;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(214, 255, 74, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(214, 255, 74, 0.06), transparent 55%),
    var(--bg);
  font-family: var(--font);
  line-height: 1.5;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(214, 255, 74, 0.14), transparent 68%);
  mix-blend-mode: screen;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  display: block;
  flex: none;
  box-shadow: none;
}

.nav {
  display: none;
  gap: 1.4rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--ink);
}

.burger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 18, 14, 0.96);
}

.pill,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.pill {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
}

.pill:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.2rem 1.25rem 2.5rem;
  display: grid;
  gap: 2.5rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 255, 74, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
}

.lede {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  padding: 0.95rem 1.25rem;
  background: var(--lime);
  color: var(--lime-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(214, 255, 74, 0.22);
}

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--line:hover {
  box-shadow: none;
  border-color: var(--ink);
}

.btn--xl {
  padding: 1.15rem 1.4rem;
  font-size: 1.05rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(214, 255, 74, 0.08), transparent 28%),
    rgba(16, 18, 14, 0.82);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: rotate(-1.5deg) translateY(-8px);
  }
}

.panel__bar,
.panel__foot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.panel__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3d34;
}

.panel__bar span:first-child {
  background: #ff5f57;
}

.panel__bar span:nth-child(2) {
  background: #febc2e;
}

.panel__bar span:nth-child(3) {
  background: #28c840;
}

.panel__bar strong {
  margin-left: 0.4rem;
  color: var(--ink);
  font-weight: 600;
}

.thread {
  display: grid;
  gap: 0.55rem;
  padding: 0.2rem 0.85rem 0.9rem;
}

.thread__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.thread__row p {
  margin: 0;
  font-weight: 600;
}

.thread__row em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}

.thread__row--hot {
  background: rgba(214, 255, 74, 0.12);
}

.tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.tag--mute {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.panel__foot {
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: slide 22s linear infinite;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.space,
.flow,
.enter {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 0;
}

.space__head h2,
.enter h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.bento {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.8rem;
}

.tile {
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 180px;
}

.tile__index {
  display: block;
  margin-bottom: 2rem;
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.8rem;
}

.tile h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.tile--dark {
  background:
    linear-gradient(135deg, rgba(214, 255, 74, 0.16), transparent 45%),
    #0c0e0a;
}

.flow ol {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.flow li {
  display: grid;
  gap: 0.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.flow li:last-child {
  border-bottom: 1px solid var(--line);
}

.flow strong {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.flow span {
  color: var(--muted);
}

.enter {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 4rem;
}

.enter p:last-of-type {
  max-width: 28rem;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 860px) {
  .burger {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: calc(100vh - 90px);
    padding-top: 2rem;
  }

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

  .bento .tile:first-child,
  .bento .tile:last-child {
    grid-column: 1 / -1;
  }

  .flow ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow li,
  .flow li:last-child {
    border-bottom: none;
    border-top: 1px solid var(--line);
    padding-right: 1.5rem;
  }

  .enter {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 859px) {
  .topbar .pill,
  .top-actions .pill {
    display: none;
  }

  .header {
    position: relative;
  }
}
