
.how-page .page-main {
  padding-bottom: 4rem;
}

.how-hero {
  padding: 7.5rem 1rem 2.5rem !important;
  text-align: center;
}

.how-hero .hero-kicker,
.how-hero .section-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-light, #c084fc);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.how-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  max-width: 36rem;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.how-hero .hero-lead {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: #d4d4d8;
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.how-flow {
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
  margin: 0 auto;
}

.how-step {
  background:
    linear-gradient(165deg, rgba(124, 58, 237, 0.08), transparent 55%),
    rgba(12, 12, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.how-step.is-active {
  border-color: rgba(168, 85, 247, 0.42);
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.12);
  transform: translateY(-2px);
}

.how-step-index {
  font-family: var(--display);
  font-size: 0.75rem;
  color: #c084fc;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.how-step h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.how-step p {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.92rem;
  line-height: 1.5;
}

.how-flow-arrow {
  text-align: center;
  color: rgba(192, 132, 252, 0.55);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.75;
  animation: howArrowPulse 2.4s ease-in-out infinite;
}

@keyframes howArrowPulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(3px); }
}

.how-eco .section-head {
  margin-bottom: 2rem !important;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 68rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .ecosystem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.how-card {
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 12, 16, 0.4);
  min-height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}
.how-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 132, 252, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.how-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.45rem;
}

.how-card p {
  margin: 0;
  color: #c4c4cc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.platform-pills-wrap {
  text-align: center;
  padding-bottom: 2rem;
}

.platform-pills-wrap .section-eyebrow {
  margin-bottom: 1rem;
}


.replay-page { min-height: 100vh; }
.replay-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  min-height: calc(100vh - 120px);
}
@media (max-width: 900px) {
  .replay-layout { grid-template-columns: 1fr; }
}
.replay-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.25rem;
}
.replay-canvas-wrap {
  background: #050506;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
#replayCanvas {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}
.replay-meta { display: grid; gap: 0.75rem; margin-top: 1rem; }
.replay-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.replay-stat strong { color: var(--text); }
.replay-chart {
  margin-top: 1rem;
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.replay-bar {
  flex: 1;
  background: linear-gradient(180deg, #ee1955, rgba(238, 25, 85, 0.2));
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}
