/* /try: the live demo page. Builds on styles.css tokens. */
.try-hero { padding: 96px 0 40px; max-width: 860px; }
.try-hero h1 { font-size: clamp(40px, 6vw, 72px); text-wrap: balance; }
.try-hero .lede { margin: 22px 0 0; font-size: 18px; color: var(--ink-2); max-width: 680px; }

.try-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.try-video, .try-call { padding: 26px; }
.try-call h2 { font-size: 30px; margin-bottom: 14px; }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0f141d; }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #9aa6bd; }
.video-empty p { margin: 0; font-size: 14px; }
.play { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #dfe6f3; font-size: 20px; padding-left: 4px; }

.muted { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.try-call .code { margin: 0 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 8px; }
.field .lbl { font-size: 13px; color: var(--ink-2); }
.field input { font: 400 15px var(--mono); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(20, 30, 60, .14); background: #fff; color: var(--ink); }
.field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hint { margin: 0 0 16px; font-size: 12.5px; color: var(--ink-3); }

.call-row { display: flex; gap: 10px; flex-wrap: wrap; }
.call-row .btn:disabled { opacity: .45; cursor: not-allowed; }
.status { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-size: 14px; color: var(--ink-2); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status.live .dot, .status.listening .dot { background: #2fb36d; }
.status.thinking .dot { background: #e0a43d; }
.status.speaking .dot { background: var(--blue); }
.meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .08s linear; }

.log { margin-top: 14px; display: grid; gap: 8px; }
.turn { padding: 10px 12px; border-radius: 12px; font-size: 14.5px; background: #fff; border: 1px solid var(--line); }
.turn b { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.turn.you { background: rgba(61, 111, 224, .06); }
.turn.partial { opacity: .65; }
.log .note { font-size: 12.5px; color: var(--ink-3); }

.try-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 0 100px; }
.try-tips article { padding: 22px; }
.try-tips h3 { font-size: 20px; margin-bottom: 6px; }
.try-tips p { margin: 0; color: var(--ink-2); font-size: 15px; }

@media (max-width: 900px) {
  .try-grid, .try-tips { grid-template-columns: 1fr; }
  .try-hero { padding-top: 64px; }
}
.field .lbl em { font-style: normal; color: var(--ink-3); }
