/* Reuse the X hero primitives without loading product-x.css on Warp or Shot. */
.xp-hero:is(.hv-showcase, .hs-showcase) {
  --xp-copy-width: 45rem;
  --xp-title: clamp(3.25rem, 7vw, 5.5rem);
  --xp-muted: #b5bbc3;
  --x-download-icon-size: 1.125rem;
  padding: calc(var(--wt-banner-offset) + var(--wt-header-height) + 3rem) 0 4rem;
}
.xp-hero:is(.hv-showcase, .hs-showcase) .xp-copy { max-width: var(--xp-copy-width); margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.xp-hero:is(.hv-showcase, .hs-showcase) .xp-copy .eyebrow { color: var(--xp-muted); }
.xp-hero:is(.hv-showcase, .hs-showcase) .xp-copy h1 { margin: .75rem 0 1rem; font-size: var(--xp-title); letter-spacing: -.06em; line-height: 1.05; }
.xp-hero:is(.hv-showcase, .hs-showcase) .xp-tagline { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; font-weight: 600; word-break: keep-all; }
.xp-hero:is(.hv-showcase, .hs-showcase) .xp-description { margin: 1rem 0 0; color: var(--xp-muted); font-size: 1rem; line-height: 1.8; word-break: keep-all; }
.xp-hero:is(.hv-showcase, .hs-showcase) .xp-copy .hero-actions { justify-content: center; margin-top: 1.75rem; }
.xp-hero:is(.hv-showcase, .hs-showcase) .btn.x-download { border-radius: var(--wt-radius-pill); }
.xp-hero:is(.hv-showcase, .hs-showcase) .x-download-icon { width: var(--x-download-icon-size); height: var(--x-download-icon-size); flex-shrink: 0; }

/* Warp keeps the existing dictation mock and platform details below the copy. */
.hv-showcase .hv-preview { width: min(100% - 3rem, 64rem); margin: 3rem auto 0; text-align: center; scroll-margin-top: calc(var(--wt-banner-offset, 40px) + var(--wt-header-height) + 1rem); }
.hv-showcase .app-mock { width: 100%; margin: 0 auto; }
.hv-showcase .hv-workflow-caption { margin: 1rem auto 0; color: var(--wt-text-body); font-size: .875rem; }
.hv-showcase .hv-details { width: min(100% - 3rem, 64rem); margin: 2.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--wt-border); text-align: center; }
.hv-showcase .hv-alt-label { margin-top: 0; }
.hv-showcase .hv-fineprint { margin-top: 1.25rem; }

/* Shot keeps the existing video, workflow caption, and platform details. */
.hs-showcase .hs-workflow { width: min(100% - 3rem, 64rem); margin: 3rem auto 0; padding: 0; background: transparent; text-align: center; scroll-margin-top: calc(var(--wt-banner-offset, 40px) + var(--wt-header-height) + 1rem); }
.hs-showcase .shot-demo { width: 100%; max-width: 64rem; margin: 0 auto; }
.hs-showcase .hs-details { width: min(100% - 3rem, 64rem); margin: 2.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--wt-border); text-align: center; }
.hs-showcase .hs-workflow-copy { max-width: 48rem; margin: 1.5rem auto 0; }
.hs-showcase .hs-workflow-title { margin: 0 0 .5rem; font-size: 1.125rem; font-weight: 600; }
.hs-showcase .hs-workflow-copy .shot-lead { font-size: .9rem; }

@media (max-width: 640px) {
  .xp-hero:is(.hv-showcase, .hs-showcase) { padding-top: calc(var(--wt-banner-offset) + var(--wt-header-height) + 2rem); }
  .hv-showcase .hv-preview, .hs-showcase .hs-workflow { width: calc(100% - 1.5rem); margin-top: 2rem; }
}
@media (max-width: 760px) {
  .hv-showcase .hv-details, .hs-showcase .hs-details { margin-top: 2rem; }
}
