/* App demo frame (lib/app-demo.mjs). The demo draws a 390 x 844 phone screen; this file shows it scaled in a plain card
   (the guided-practice taster's thin border and rounded corners, no device bezel) with the caption and store links
   under it. The scale steps down at fixed widths so the card always fits its column, with or without script. */
.gs-demo { --gs-demo-scale: .8; display: grid; justify-items: center; gap: var(--gs-space-5); width: 100%; min-width: 0; margin: 0; }
.gs-demo__screen { position: relative; box-sizing: content-box; width: calc(390px * var(--gs-demo-scale)); height: calc(844px * var(--gs-demo-scale));
  overflow: hidden; border: var(--gs-border-width) solid var(--gs-color-border); border-radius: var(--gs-radius-panel); background: var(--gs-color-surface); }
.gs-demo__frame { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--gs-demo-scale)); transform-origin: 0 0; }
.gs-demo__caption { display: grid; justify-items: center; gap: var(--gs-space-3); max-width: 24rem; text-align: center; }
.gs-demo__caption p { margin: 0; font-size: var(--gs-text-sm); color: var(--gs-color-text-muted); }
.gs-demo__caption strong { color: var(--gs-color-text); }
.gs-demo__stores { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gs-space-2); }

@media (max-width: 42em) { .gs-demo { --gs-demo-scale: .76; } }
@media (max-width: 21.25em) { .gs-demo { --gs-demo-scale: .68; } }
