/* Keep a desktop app viewport at every screen width; catalog updates cannot resize it. */
.product-preview { container-type: inline-size; position: relative; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; margin: 64px auto clamp(64px, 8vw, 112px); border: 1px solid var(--color-border-strong); border-radius: 16px; overflow: hidden; background: #111414; box-shadow: 0 28px 64px -36px #0008, var(--shadow-panel); text-align: left; }
.product-preview-screen { position: absolute; inset: 0; display: grid; grid-template-rows: 4.2cqw minmax(0,1fr); font-size: 1.3cqw; line-height: 1.4; color: #edf2f1; }
.product-preview-screen svg { width: 1.8cqw; height: 1.8cqw; flex-shrink: 0; }
.product-tabs { display: flex; align-items: center; gap: 2cqw; background: #1a1c1d; border-bottom: 1px solid #303735; color: #9eaaa7; }
.product-traffic { display: flex; gap: .55cqw; width: 6.5cqw; padding-left: 1.5cqw; }
.product-traffic i { width: .65cqw; height: .65cqw; border-radius: 50%; background: #4b5150; }
.product-tab { display: flex; align-items: center; gap: .8cqw; align-self: stretch; padding: 0 2cqw; background: #121515; border-bottom: 2px solid #55c7b8; color: #edf2f1; }
.product-new-tab { font-size: 2cqw; }
.product-preview-label { margin-left: auto; margin-right: 1.6cqw; font-size: 1cqw; }
.product-body { display: grid; grid-template-columns: 6.5cqw minmax(0,1fr); min-height: 0; }
.product-rail { display: flex; flex-direction: column; align-items: center; gap: 1cqw; padding: 2.5cqw 0 1.5cqw; background: #1a1d1d; border-right: 1px solid #303735; color: #a2aeab; }
.product-rail > img { width: 2.7cqw; height: 2.7cqw; margin-bottom: 1.6cqw; }
.product-rail span { display: flex; align-items: center; justify-content: center; width: 3.8cqw; height: 3.8cqw; border-radius: .8cqw; }
.product-rail .selected { background: #1b3330; color: #55c7b8; }
.product-rail-bottom { margin-top: auto; display: grid; gap: 1cqw; }
.product-main { min-width: 0; padding: 3cqw; overflow: hidden; }
.product-heading { display: flex; justify-content: space-between; align-items: center; }
.product-heading strong { font-size: 3cqw; font-weight: 600; letter-spacing: -.1cqw; }
.product-heading p { margin: .5cqw 0 0; color: #a2aeab; font-size: 1.25cqw; }
.product-add { display: flex; align-items: center; gap: .7cqw; padding: .9cqw 1.4cqw; background: #55c7b8; color: #082d28; border-radius: .7cqw; font-size: 1.8cqw; }
.product-add span { font-size: 1.3cqw; font-weight: 600; }
.product-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 2.5cqw; border: 1px solid #2c3231; border-radius: 1.1cqw; background: #1b1e1e; }
.product-stats > div { display: flex; align-items: center; gap: 1cqw; padding: 1.5cqw 1.3cqw; min-width: 0; }
.product-stats > div + div { border-left: 1px solid #2c3231; }
.product-stats svg { color: #9eaaa7; width: 2.1cqw; height: 2.1cqw; }
.product-stats > div:nth-child(2) svg { color: #55c7b8; }
.product-stats small, .product-stats b, .product-stats em { display: block; }
.product-stats small { color: #a2aeab; text-transform: uppercase; font-size: .95cqw; letter-spacing: .05cqw; }
.product-stats b { font-size: 1.9cqw; font-weight: 600; }
.product-stats em { font-size: .8cqw; color: #a2aeab; font-style: normal; white-space: nowrap; }
.product-filters { display: flex; gap: 1.4cqw; align-items: center; margin: 2.3cqw 0 2cqw; color: #a2aeab; font-size: 1.1cqw; }
.product-filters > span { display: flex; align-items: center; gap: .6cqw; padding: .7cqw .9cqw; }
.product-filters .selected { border: 1px solid #396b64; border-radius: .5cqw; background: #252c2b; color: #70d1c4; }
.product-filters b { font-weight: 500; }
.product-filters .product-search { margin-left: auto; width: 25cqw; border: 1px solid #353f3c; background: #232a28; border-radius: .6cqw; }
.product-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4cqw; }
.product-card { min-width: 0; padding: 1.4cqw; border: 1px solid #2c3231; border-radius: 1cqw; background: #1b1e1e; }
.product-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2cqw; }
.product-app-icon { display: grid; place-items: center; width: 3.7cqw; height: 3.7cqw; border-radius: .9cqw; border: 1px solid currentColor; }
.product-app-icon.mint { color: #80c99c; background: #203b2b; }
.product-app-icon.violet { color: #c9a2e7; background: #352442; }
.product-app-icon.amber { color: #e3b88d; background: #3e2e23; }
.product-status { font-size: .95cqw; color: #a2aeab; }
.product-card > strong, .product-card > small { display: block; }
.product-card > strong { font-size: 1.6cqw; font-weight: 550; }
.product-card > small { font-size: 1.05cqw; color: #a2aeab; margin-top: .3cqw; }
.product-start { display: flex; align-items: center; justify-content: center; gap: .7cqw; margin-top: 1.7cqw; padding: .65cqw; border-radius: .5cqw; background: #282c2b; font-size: 1.2cqw; }
.product-start svg { width: 1.2cqw; height: 1.2cqw; }
@media (max-width: 760px) { .product-preview { margin-top: 36px; border-radius: 8px; } }

/* One stage, three screens, with benefit pills controlling the presentation. */
.product-showcase { padding-bottom: clamp(64px, 8vw, 112px); }
.product-showcase .product-preview { margin-bottom: 30px; }
.product-slide { position: absolute; inset: 0; }
.product-slide:not([hidden]) { animation: product-slide-in .45s ease both; }
@keyframes product-slide-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.product-controls { display: flex; justify-content: center; align-items: center; gap: 12px; }
.product-pills { display: flex; align-items: center; justify-content: center; gap: 10px; }
.product-pill { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 18px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-muted); background: var(--color-surface); font-size: 12px; font-weight: 550; line-height: 1.4; transition: color .2s, background .2s, border-color .2s; }
.product-pill svg { width: 16px; height: 16px; flex: 0 0 auto; }
.product-pill:hover { color: var(--color-text); border-color: var(--color-border-strong); }
.product-pill[aria-selected="true"] { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent); }
.product-autoplay { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); color: var(--color-muted); font-size: 15px; }
.product-caption { max-width: 640px; min-height: 3.4em; margin: 20px auto 0; padding-inline: 8px; text-align: center; font-size: 13px; line-height: 1.7; }
.product-discover .product-filters { margin-top: 3cqw; }
.product-discover-tools { display: flex; align-items: center; gap: 1cqw; padding: 1.2cqw 0 2cqw; border-top: 1px solid #2c3231; margin-top: 1.4cqw; color: #a2aeab; font-size: 1.1cqw; }
.product-discover-tools > span { padding: .6cqw 1cqw; border: 1px solid #2c3231; border-radius: .5cqw; }
.product-discover-tools > span:last-child { margin-left: auto; color: #55c7b8; }
.product-discover-card { padding: 0; overflow: hidden; }
.product-category { display: flex; align-items: center; justify-content: space-between; padding: 1.2cqw; font-size: .8cqw; letter-spacing: .05cqw; color: #a2aeab; border-bottom: 1px solid #2c3231; }
.product-category span { font-size: .85cqw; letter-spacing: 0; }
.product-discover-title { display: flex; gap: 1cqw; align-items: center; margin: 1.7cqw 1.2cqw 1.2cqw; }
.product-discover-title strong { font-size: 1.6cqw; font-weight: 550; }
.product-discover-title small { display: block; font-size: 1cqw; color: #a2aeab; }
.product-discover-card p { margin: 0 1.2cqw; font-size: 1.1cqw; line-height: 1.6; min-height: 5.3cqw; }
.product-install { display: flex; align-items: center; justify-content: space-between; margin: 1.4cqw 1.2cqw; padding: .8cqw 1cqw; border-radius: .5cqw; background: #55c7b8; color: #082d28; font-size: 1.2cqw; font-weight: 550; }
.product-setup-backdrop { position: absolute; inset: 0; filter: blur(3px); opacity: .28; }
.product-install-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: #070d0bcc; }
.product-install-dialog { width: 47cqw; padding: 2.3cqw; border: 1px solid #3a403e; border-radius: 1.5cqw; background: #1b1e1e; box-shadow: 0 2cqw 7cqw #0006; color: #edf2f1; font-size: 1.3cqw; }
.product-dialog-top { display: flex; justify-content: space-between; color: #a2aeab; margin-bottom: 2cqw; font-size: 1.2cqw; }
.product-dialog-top > span:last-child { font-size: 1.8cqw; line-height: 1; }
.product-install-dialog > strong { display: block; font-size: 2.2cqw; font-weight: 600; }
.product-install-dialog p { margin: .7cqw 0 2.6cqw; color: #a2aeab; font-size: 1.25cqw; }
.product-dialog-label { margin-bottom: .7cqw; font-size: 1.1cqw; }
.product-dialog-input { padding: 1.1cqw; background: #232a28; border: 1px solid #36413d; border-radius: .7cqw; font-size: 1.1cqw; }
.product-install-dialog > small { display: block; margin-top: 1cqw; color: #a2aeab; font-size: .95cqw; }
.product-dialog-actions { display: flex; justify-content: flex-end; margin: 2cqw 0; }
.product-dialog-actions span { padding: 1cqw 1.6cqw; background: #55c7b8; color: #082d28; font-size: 1.15cqw; border-radius: .6cqw; font-weight: 600; }
.product-dialog-help { font-size: 1.1cqw; margin-bottom: 1.5cqw; }
.product-dialog-footer { padding-top: 1.5cqw; border-top: 1px solid #2c3231; text-align: right; color: #a2aeab; font-size: 1.1cqw; }
@media (max-width: 900px) { .product-controls { gap: 8px; } .product-pills { gap: 7px; } .product-pill { padding: 11px 13px; font-size: 11px; gap: 7px; } }
@media (max-width: 660px) { .product-controls { align-items: flex-start; } .product-pills { flex-wrap: wrap; flex: 1; gap: 8px; } .product-pill { padding: 10px 13px; font-size: 11px; } .product-autoplay { width: 34px; height: 34px; margin-top: 2px; } .product-caption { margin-top: 18px; min-height: 5.1em; font-size: 12px; } .product-showcase .product-preview { margin-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .product-slide:not([hidden]) { animation: none; } .product-pill { transition: none; } }

.product-tab-idle { border-bottom-color: transparent; background: transparent; color: #a2aeab; }

/* Catalog flow: one install action, real progress phases, then an already-running app. */
.product-demo-cursor { position:absolute; z-index:5; left:93%; top:85%; width:1.8cqw; height:2.2cqw; color:#f5faf9; opacity:0; pointer-events:none; filter:drop-shadow(0 2px 3px #0008); transition:left .55s cubic-bezier(.22,.61,.36,1), top .55s cubic-bezier(.22,.61,.36,1), opacity .2s; }
.product-demo-cursor > svg { width:100%; height:100%; stroke:#12201c; stroke-width:1; }
.product-demo-cursor i { position:absolute; top:-.7cqw; left:-.7cqw; width:2cqw; height:2cqw; border-radius:50%; border:1px solid #70d1c4; opacity:0; }
[data-demo-click="true"] .product-demo-cursor i { animation:product-demo-click .4s ease-out 1; }
@keyframes product-demo-click { from { transform:scale(.25); opacity:.9; } to { transform:scale(1.7); opacity:0; } }
.product-showcase .product-search { transition:border-color .4s, box-shadow .4s; }
[data-demo-action="focus-search"] .product-search, [data-demo-action="type-search"] .product-search { border-color:#55c7b8; box-shadow:0 0 0 2px #55c7b81a; }
[data-demo-filtered="true"] .product-discover-card:not(:last-child) { opacity:0; transform:scale(.97); }
.product-discover-card { transition:opacity .6s, transform .6s, border-color .4s; }
[data-demo-filtered="true"] .product-discover-card:last-child { border-color:#55c7b8; transform:translateX(calc(-200% - 2.8cqw)); }
[data-demo-click="true"] .product-discover-card:last-child .product-install { transform:scale(.97); filter:brightness(1.15); }
.product-install { transition:transform .2s, filter .2s; }
.product-catalog-progress { width:49cqw; padding:2.8cqw; border:1px solid #3a403e; border-radius:1.6cqw; background:#1b1e1e; box-shadow:0 2cqw 7cqw #0006; color:#edf2f1; text-align:center; }
.product-install-orbit { position:relative; display:grid; place-items:center; width:7.5cqw; height:7.5cqw; margin:0 auto 1.5cqw; }
.product-install-orbit > span { display:grid; place-items:center; height:3.6cqw; width:3.6cqw; border:1px solid #42685c; border-radius:1cqw; color:#9cd7c7; background:#233a31; font-size:1.3cqw; }
.product-install-orbit i { position:absolute; inset:0; border:1px solid #36584d; border-radius:50%; }
.product-install-orbit i:first-child { border-top-color:#73b9a5; animation:product-orbit 5s linear infinite; }
.product-install-orbit i:nth-child(2) { inset:.9cqw; border-bottom-color:#73b9a5; animation:product-orbit 7s linear infinite reverse; }
@keyframes product-orbit { to { transform:rotate(360deg); } }
.product-install-kicker { display:block; color:#a2aeab; font-size:.85cqw; letter-spacing:.12cqw; margin-bottom:1cqw; }
.product-catalog-progress > strong { display:block; min-height:3cqw; font-size:2.2cqw; font-weight:550; }
.product-catalog-progress > p { min-height:2.2cqw; font-size:1.1cqw; margin:.7cqw 0 2cqw; }
.product-install-activity { padding:1.5cqw; text-align:left; border:1px solid #303b35; border-radius:.8cqw; }
.product-install-activity > span { display:block; margin-bottom:1.3cqw; font-size:.95cqw; color:#a2aeab; }
.product-install-activity > div { display:flex; gap:.9cqw; align-items:center; color:#8b9992; font-size:1.1cqw; padding:.5cqw 0; }
.product-install-activity i { width:.6cqw; height:.6cqw; border:1px solid #647a6f; border-radius:50%; }
.product-install-activity .complete { color:#9cd7c7; }
.product-install-activity .complete i { background:#73b9a5; border-color:#73b9a5; }
.product-install-footer { display:flex; align-items:center; justify-content:space-between; padding-top:1.8cqw; font-size:.8cqw; color:#a2aeab; gap:1cqw; }
.product-install-footer > span:last-child { border:1px solid #3a403e; padding:.65cqw 1cqw; border-radius:.5cqw; }
[data-demo-action="ready"] #product-slide-library [data-demo-new-app] { animation:product-app-arrive .65s cubic-bezier(.2,.8,.2,1) both; }
@keyframes product-app-arrive { from { opacity:0; transform:translateY(1cqw); } to { opacity:1; transform:none; } }
.product-card.demo-running { border-color:#46796f; }
.demo-running .product-status { color:#70d1c4; }
.demo-running .product-start { background:#254d43; color:#9ce0cb; }
.product-demo-toast { position:absolute; left:50%; bottom:3cqw; transform:translate(-50%,1cqw); opacity:0; padding:.9cqw 1.6cqw; border:1px solid #46796f; border-radius:.8cqw; color:#9ce0cb; background:#1b332ce8; font-size:1.2cqw; transition:opacity .5s, transform .5s; pointer-events:none; }
[data-demo-action="ready"] .product-demo-toast { opacity:1; transform:translate(-50%,0); }
.product-preview-screen, .product-install-overlay { transition:opacity .5s; }
[data-demo-resetting="true"] .product-preview-screen, [data-demo-resetting="true"] .product-demo-toast { opacity:0; }
.product-showcase:not(.demo-playing) .product-install-orbit i { animation-play-state:paused; }
@media (prefers-reduced-motion:reduce) { .product-demo-cursor, .product-demo-toast { display:none; } .product-showcase *, .product-showcase *::before { animation:none !important; transition:none !important; } }
