/* Demo comercial del panel (/demo/panel): solo lo que la diferencia del panel real. */

.demo-banner {
  margin: 0; padding: .45rem 16px; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  background: var(--cream); color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
.demo-panel .page-head .pill { margin-top: .5rem; }
.demo-panel .btn-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.demo-download svg { width: 20px; height: 20px; }
.demo-panel .switch-row .hint { display: block; }
.demo-panel .switch input:disabled { cursor: not-allowed; }
.demo-panel .switch:has(input:disabled) { opacity: .6; }
.demo-panel .tab[aria-disabled="true"] { opacity: .45; cursor: default; }
.demo-panel .tab[aria-disabled="true"]:hover { background: transparent; color: var(--ink-soft); }
.demo-panel .tile { cursor: default; }
.demo-cta { margin-top: 1.6rem; }
.demo-cta .h3 { margin-top: 0; }
.demo-credits { margin-top: 1.2rem; text-align: center; }

/* En el móvil el botón de descarga ocupa todo el ancho: es lo que hay que probar */
@media (max-width: 599px) {
  .demo-panel .page-head .btn-row, .demo-download { width: 100%; }
  .demo-download { justify-content: center; }
}

/* Entrada de la demo (/demo, QR de la tarjeta de visita): dos opciones grandes, fáciles de tocar en el móvil */
.demo-choices { display: grid; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 720px) { .demo-choices { grid-template-columns: 1fr 1fr; } }
.demo-choice { display: flex; flex-direction: column; gap: .8rem; color: inherit; text-decoration: none; border: 1px solid var(--line); transition: border-color .15s; }
.demo-choice:hover, .demo-choice:focus-visible { border-color: var(--blush-strong); }
.demo-choice .h3 { display: block; margin: 0 0 .3rem; }
.demo-choice-text { flex: 1; }
.demo-choice-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--rose-dark); }
.demo-choice-icon svg { width: 24px; height: 24px; }
.demo-choice .btn { align-self: flex-start; }
@media (max-width: 599px) { .demo-choice .btn { align-self: stretch; justify-content: center; } }
