.showcase {
  --showcase-pad-top: clamp(3.5rem, 2.5rem + 2vw, 5rem);
  --showcase-pad-bottom: clamp(3.5rem, 2.5rem + 2vw, 5rem);
  --showcase-icon-size: 32px;
  --showcase-icon-color: #1e293b;
  --showcase-title-size: 2rem;
  --showcase-title-weight: 700;
  --showcase-title-color: #1e293b;
  --showcase-text-size: 1rem;
  --showcase-text-weight: 400;
  --showcase-text-color: #64748b;
  --showcase-feature-icon-size: 48px;
  --showcase-feature-icon-color: #1e293b;
  --showcase-feature-title-size: 1.0625rem;
  --showcase-feature-title-weight: 700;
  --showcase-feature-title-color: #1e293b;
  --showcase-feature-text-size: 0.9375rem;
  --showcase-feature-text-weight: 400;
  --showcase-feature-text-color: #64748b;
  --showcase-badge-size: 0.75rem;
  --showcase-badge-weight: 600;
  --showcase-badge-color: #475569;
  --showcase-badge-bg: #f3f4f6;
  --showcase-card-title-size: 1.25rem;
  --showcase-card-title-weight: 700;
  --showcase-card-title-color: #1e293b;
  --showcase-item-size: 0.875rem;
  --showcase-item-weight: 400;
  --showcase-item-color: #475569;
  --showcase-lead-size: 2rem;
  --showcase-lead-weight: 700;
  --showcase-lead-color: #1e293b;
  --showcase-button-bg: #0e85fb;
  --showcase-button-color: #ffffff;
  --showcase-button-size: 14px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--showcase-pad-top);
  padding-bottom: var(--showcase-pad-bottom);
  background: #f3f4f6;
}

.showcase.neuron {
  --neuron-ink: var(--showcase-neuron-ink, var(--wstyle-primary-rgb));
  --neuron-spark: var(--showcase-neuron-spark, var(--wstyle-secondary-rgb));
}

.showcase .neuron-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.showcase .neuron-layer canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.showcase-inner {
  position: relative;
  z-index: 1;
}

.showcase-head {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.showcase-icon {
  display: block;
  margin: 0 auto 0.75rem;
  color: var(--showcase-icon-color);
  font-size: var(--showcase-icon-size);
  line-height: 1;
}

.showcase-title {
  margin: 0;
  color: var(--showcase-title-color);
  font-size: var(--showcase-title-size);
  font-weight: var(--showcase-title-weight);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.showcase-text {
  margin: 0.65rem 0 0;
  color: var(--showcase-text-color);
  font-size: var(--showcase-text-size);
  font-weight: var(--showcase-text-weight);
  line-height: 1.6;
}

.showcase-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 2rem 0 1.75rem;
  text-align: center;
}

.showcase-feature-icon {
  display: block;
  margin: 0 auto 0.85rem;
  color: var(--showcase-feature-icon-color);
  font-size: var(--showcase-feature-icon-size);
  line-height: 1;
}

.showcase-feature-title {
  margin: 0;
  color: var(--showcase-feature-title-color);
  font-size: var(--showcase-feature-title-size);
  font-weight: var(--showcase-feature-title-weight);
  line-height: 1.3;
}

.showcase-feature-text {
  margin: 0.4rem auto 0;
  max-width: 22rem;
  color: var(--showcase-feature-text-color);
  font-size: var(--showcase-feature-text-size);
  font-weight: var(--showcase-feature-text-weight);
  line-height: 1.55;
}

.showcase-track {
  position: relative;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-card {
  display: flex;
  flex: 0 0 84%;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  scroll-snap-align: start;
  position: relative;
  padding: 1.25rem 1.15rem 1.15rem;
  border: 1px solid #e4e7ec;
  border-radius: 0.75rem;
  background: #ffffff;
}

.showcase-card.is-muted {
  border-color: transparent;
  background: #e8ebf0;
}

.showcase-mark {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  color: #94a3b8;
  font-size: 1.75rem;
  line-height: 1;
  pointer-events: none;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: var(--showcase-badge-bg);
  color: var(--showcase-badge-color);
  font-size: var(--showcase-badge-size);
  font-weight: var(--showcase-badge-weight);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.showcase-badge i {
  font-size: 0.95em;
  line-height: 1;
}

.showcase-lead {
  margin: 0;
  color: var(--showcase-lead-color);
  font-size: var(--showcase-lead-size);
  font-weight: var(--showcase-lead-weight);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.showcase-card-title {
  margin: 0.35rem 0 0;
  color: var(--showcase-card-title-color);
  font-size: var(--showcase-card-title-size);
  font-weight: var(--showcase-card-title-weight);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.showcase-lead + .showcase-card-title {
  margin-top: 0.35rem;
}

.showcase-items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.9rem 0 1.15rem;
  padding: 0;
  list-style: none;
}

.showcase-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--showcase-item-color);
  font-size: var(--showcase-item-size);
  font-weight: var(--showcase-item-weight);
  line-height: 1.45;
}

.showcase-items i {
  flex: 0 0 auto;
  margin-top: 0.12em;
  color: #2fa46e;
  font-size: 1em;
  line-height: 1;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--showcase-button-bg);
  color: var(--showcase-button-color);
  font-size: var(--showcase-button-size);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.showcase-btn:hover {
  background: color-mix(in srgb, var(--showcase-button-bg) 85%, #000);
  color: var(--showcase-button-color);
}

.showcase-btn.is-quiet {
  border-color: #d5dbe3;
  background: #ffffff;
  color: #1e293b;
}

.showcase-btn.is-quiet:hover {
  border-color: #c5ced8;
  background: #f8fafc;
  color: #1e293b;
}

@media (min-width: 768px) {
  .showcase-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .showcase-track {
    display: grid;
    grid-template-columns: repeat(var(--showcase-cols, 4), minmax(0, 1fr));
    gap: 1rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .showcase-card {
    flex: none;
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-track {
    scroll-behavior: auto;
  }
}
