.grid span,
.grid article {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.grid.four article {
  min-height: 130px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.stats,
.metric-wall {
  display: grid;
  gap: 14px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.traction-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats div,
.metric-wall div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.stats b,
.metric-wall b {
  display: block;
  color: var(--lime);
  font-size: 38px;
  line-height: 1;
}

.stats span,
.metric-wall span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  display: block;
  margin-top: 6px;
  color: var(--lime);
  font-size: 16px;
  font-style: normal;
  letter-spacing: 1px;
}

.metric-wall {
  padding: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-wall .asset-slot {
  grid-column: 1 / -1;
  min-height: 310px;
}

.clean {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.clean li {
  padding-left: 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.3;
  position: relative;
}

.clean li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--lime);
}

.center-statement {
  margin: 24px auto 0;
  max-width: 980px;
  text-align: center;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
}

.phone-frame {
  min-height: 620px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.phone-frame img {
  width: min(47%, 270px);
  max-height: 530px;
  object-fit: contain;
  filter: drop-shadow(0 38px 55px rgba(0, 0, 0, 0.42));
}

.phone-frame span {
  position: absolute;
  left: 28px;
  bottom: 26px;
  color: var(--lime);
  font-size: 18px;
  font-weight: 850;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  counter-reset: step;
}

.timeline span {
  min-height: 160px;
  padding: 24px 18px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 19px;
  font-weight: 800;
}

.timeline span::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 30px;
  color: var(--lime);
  font-size: 13px;
}

.quote {
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: 42px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

.projection {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.projection span,
.projection b {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
}

.projection span {
  color: var(--bg);
  background: var(--lime);
}

.projection b {
  color: var(--text);
  font-weight: 750;
}

.note {
  text-align: center;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--lime);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.text-link:hover {
  color: var(--text);
}

.closing h2 {
  font-size: clamp(48px, 7vw, 92px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .rail {
    display: none;
  }

  main {
    margin-left: 0;
  }

  .slide,
  .split,
  .split.reverse,
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 22px;
    scroll-snap-align: none;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .stats,
  .timeline,
  .comparison,
  .projection {
    grid-template-columns: 1fr;
  }

  .comparison div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .asset-slot.tall,
  .hero-visual,
  .phone-frame {
    min-height: 420px;
  }
}
