html,
body {
  margin: 0;
  overflow: hidden;
  height: 100%;
  background: #03070f;
  color: #eef2f8;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main.relative {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: #03070f;
}

.hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 50% 48%;
  will-change: transform;
  backface-visibility: hidden;
  animation: nebula-drift 32s linear infinite alternate;
}

.lockup {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 12.25rem;
  pointer-events: none;
}

.lockup-mark {
  display: block;
  width: min(70vw, 36rem);
  max-width: 92%;
  height: auto;
  filter:
    drop-shadow(0 0 1px rgb(238 242 248 / 0.55))
    drop-shadow(0 0 14px rgb(238 242 248 / 0.28))
    drop-shadow(0 0 32px rgb(238 242 248 / 0.16));
}

.desk {
  position: absolute;
  inset-inline: 0;
  top: min(53%, calc(100% - 14rem));
  bottom: auto;
  z-index: 2;
  padding-bottom: 0;
  background: rgb(3 7 15 / 0.82);
  box-shadow:
    inset 0 1px 0 rgb(238 242 248 / 0.12),
    inset 0 -1px 0 rgb(238 242 248 / 0.08);
}

.nfa-strip {
  padding: 0.55rem 1.15rem 0.4rem;
  color: #c5d0e0;
  text-align: left;
}

.nfa-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.9rem;
  margin: 0 0 0.32rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(197 208 224 / 0.72);
}

.nfa-aside {
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
  color: rgb(197 208 224 / 0.58);
}

.nfa-byline {
  margin-left: auto;
  letter-spacing: 0.1em;
  text-transform: none;
  font-weight: 600;
  color: rgb(197 208 224 / 0.7);
  text-decoration: none;
}

.nfa-byline:hover {
  color: #eef2f8;
}

.nfa-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0;
}

.nfa-col {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  column-gap: 0.45rem;
  align-items: baseline;
  min-width: 0;
  padding-right: 1.5rem;
  text-align: left;
}

.nfa-col + .nfa-col {
  padding-right: 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgb(238 242 248 / 0.16);
}

.nfa-symbol {
  grid-column: 1 / -1;
  margin: 0 0 0.12rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #eef2f8;
}

.nfa-line {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  min-width: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.64rem, 0.95vw, 0.76rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: left;
}

.nfa-col .nfa-line {
  display: contents;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.64rem, 0.95vw, 0.76rem);
  font-weight: 500;
  line-height: 1.4;
}

.nfa-copy {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.64rem, 0.95vw, 0.76rem);
  font-weight: 500;
  line-height: 1.4;
}

.nfa-buy {
  color: #5ecf9a;
  font-weight: 700;
}

.nfa-sell {
  color: #e25d5d;
  font-weight: 700;
}

.nfa-when {
  white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.64rem, 0.95vw, 0.76rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgb(197 208 224 / 0.7);
}

.nfa-sep {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.64rem, 0.95vw, 0.76rem);
  color: rgb(197 208 224 / 0.35);
}

.nfa-empty {
  opacity: 0.8;
}

@media (max-width: 700px) {
  .nfa-cols {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .nfa-col,
  .nfa-col + .nfa-col {
    padding: 0;
    border-left: 0;
  }
}

.ticker-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: ticker-scroll 52s linear infinite;
}

.desk:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-copy {
  display: flex;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.72rem 1.65rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.82rem, 1.35vw, 1.05rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}

.ticker-symbol {
  letter-spacing: 0.14em;
  color: #c5d0e0;
}

.ticker-price {
  letter-spacing: -0.02em;
  color: #eef2f8;
}

.ticker-item-up .ticker-delta,
.ticker-item-up .ticker-pct {
  color: #5ecf9a;
}

.ticker-item-down .ticker-delta,
.ticker-item-down .ticker-pct {
  color: #e25d5d;
}

.ticker-item-flat .ticker-delta,
.ticker-item-flat .ticker-pct {
  color: #c5d0e0;
}

@keyframes nebula-drift {
  from {
    transform: scale(1.08) translate3d(-2.2%, -1.4%, 0);
  }
  to {
    transform: scale(1.22) translate3d(2.4%, 1.6%, 0);
  }
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .ticker-track {
    animation: none;
  }

  .ticker-window {
    mask-image: none;
  }

  .ticker-copy:nth-child(2) {
    display: none;
  }

  .ticker-copy {
    width: 100%;
    justify-content: center;
  }
}
