/* The no-account demo on the TTS and STT landing pages (/voice/demo.js). Builds on /welcome/welcome.css tokens. */
.try { display: grid; gap: 28px; padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
@media (min-width: 900px) { .try { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.try .section-lead { max-width: 26rem; }
.try-fine { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; max-width: 26rem; }
.demo label, .demo .demo-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.demo-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .demo-row.two { grid-template-columns: 1fr 1fr; } }
.demo select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 500 16px/1.2 var(--sans); }
.demo select:focus, .demo input:focus { outline: none; border-color: var(--mind); }
.demo-count { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.demo .btn { width: auto; }
.demo-left { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.demo-status { margin: 0; font-size: 15px; color: var(--muted); }
.demo-status:empty { display: none; }
.demo-status[data-kind="error"] { color: var(--danger); }
.demo-status a { color: var(--mind); font-weight: 600; }
.demo audio { width: 100%; height: 44px; }
.demo-out { margin: 0; min-height: 3.2em; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.demo-out:empty::before { content: attr(data-empty); color: var(--muted); font-size: 15px; }
.demo-meter { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.demo-meter i { display: block; height: 100%; width: 0; background: var(--mind); border-radius: 999px; transition: width .1s linear; }
.btn-rec[aria-pressed="true"] { background: var(--action); color: #fff; }
.btn-rec .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; margin-right: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .btn-rec[aria-pressed="true"] .dot { animation: rec-pulse 1s ease-in-out infinite alternate; }
}
@keyframes rec-pulse { from { opacity: 1; } to { opacity: .3; } }
