:root {
  --bg: #050704;
  --panel: rgba(13, 19, 11, 0.78);
  --panel-strong: rgba(22, 31, 14, 0.9);
  --acid: #c9ff00;
  --acid-soft: #9fe900;
  --mint: #8eff66;
  --ink: #f4ffe4;
  --muted: #a4b28c;
  --line: rgba(201, 255, 0, 0.28);
  --shadow: 0 0 42px rgba(201, 255, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 48% 30%, rgba(201, 255, 0, 0.15), transparent 32rem),
    linear-gradient(135deg, #010201 0%, #091004 42%, #030503 100%);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image: url("./assets/robinhood-logo.png");
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: min(72vw, 760px);
  filter: blur(22px) saturate(1.4);
  opacity: 0.16;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.stage-grid,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.stage-grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(201, 255, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 255, 0, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent);
}

.scanline {
  z-index: 4;
  opacity: 0.2;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 7px,
    rgba(201, 255, 0, 0.08) 8px
  );
  mix-blend-mode: screen;
}

.topbar {
  display: flex;
  position: relative;
  z-index: 5;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-lockup img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--acid);
  text-shadow: 0 0 18px rgba(201, 255, 0, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 24px 0 76px;
}

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

.kicker {
  margin: 0 0 20px;
  color: var(--acid);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(5rem, 11vw, 9.4rem);
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(201, 255, 0, 0.34),
    0 18px 80px rgba(0, 0, 0, 0.7);
}

.lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #d8e8c2;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: stretch;
  margin-top: 38px;
}

.twitter-link,
.ca-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid var(--line);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

.twitter-link {
  min-width: 190px;
  padding: 0 26px;
  color: #071002;
  background: var(--acid);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.twitter-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(201, 255, 0, 0.58);
}

.ca-pill {
  min-width: 220px;
  padding: 0 22px;
  color: var(--acid);
  background: rgba(4, 7, 3, 0.78);
  box-shadow: inset 0 0 24px rgba(201, 255, 0, 0.08);
}

.hero-mark {
  display: grid;
  position: relative;
  place-items: center;
  min-height: 540px;
  max-width: 100%;
  overflow: hidden;
}

.hero-mark::before {
  position: absolute;
  width: min(70vw, 520px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(201, 255, 0, 0.2);
  transform: rotate(22deg);
  box-shadow: inset 0 0 80px rgba(201, 255, 0, 0.09);
}

.hero-mark img {
  width: min(82vw, 450px);
  aspect-ratio: 1;
  object-fit: cover;
  filter: drop-shadow(0 0 52px rgba(201, 255, 0, 0.54));
  animation: floatMark 4.8s ease-in-out infinite;
}

.pulse-ring {
  position: absolute;
  width: min(74vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 255, 0, 0.4);
  animation: pulse 2.8s ease-out infinite;
}

.status-strip {
  display: inline-flex;
  position: absolute;
  right: 4%;
  bottom: 15%;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: #eaffba;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -38px auto 44px;
  border: 1px solid rgba(201, 255, 0, 0.16);
  background: rgba(201, 255, 0, 0.12);
}

.signal-band article {
  min-height: 176px;
  padding: 26px;
  background: rgba(5, 8, 4, 0.88);
}

.signal-band span {
  color: var(--acid);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.signal-band h2 {
  margin: 18px 0 10px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.signal-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes floatMark {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.012);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.82;
    transform: scale(0.78) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.16) rotate(45deg);
  }
}

@media (max-width: 900px) {
  .topbar {
    width: min(100% - 28px, 680px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 680px);
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(4.2rem, 20vw, 7rem);
  }

  .hero-mark {
    min-height: 390px;
    order: -1;
  }

  .hero-mark img {
    width: min(78vw, 340px);
  }

  .status-strip {
    right: auto;
    bottom: 7%;
    max-width: calc(100% - 36px);
  }

  .signal-band {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 680px);
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .brand-lockup span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions {
    flex-direction: column;
  }

  .twitter-link,
  .ca-pill {
    width: 100%;
    min-width: 0;
  }

  .hero {
    padding-bottom: 44px;
  }
}
