/* try.css - the /try playground page (W-0231). Phone first, site tokens from style.css, the editor's own look from editor.css.
   No side borders (W-0228): every box has a full, even border or none. Reduced motion respected. */
.try-head h1 { font: 700 clamp(1.9rem, 5.5vw, 3rem)/1.1 var(--display); letter-spacing: -.025em; margin: 0 0 .8rem; max-width: 20ch; }
.try-head .demo-flag { max-width: 62ch; }
.try-pick-band { padding: 2rem 0 1rem; }
.try-pick-band h2 { margin-bottom: .7rem; }

.try-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .6rem; }
.try-brand { display: flex; align-items: center; gap: .65rem; min-height: 56px; padding: .55rem .75rem; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: 12px; font: 500 .9rem/1.25 var(--sans); color: var(--ink); }
.try-brand img { flex: 0 0 32px; border-radius: 8px; }
.try-brand b { display: block; font: 700 .95rem/1.2 var(--display); }
.try-brand small { display: block; color: var(--muted); font-size: .8rem; }
.try-brand:hover { border-color: var(--k, var(--accent)); }
.try-brand[aria-pressed="true"] { border-color: var(--k, var(--accent)); box-shadow: 0 0 0 2px var(--k, var(--accent)) inset; background: var(--accent-tint); }
.try-brand:focus-visible, .try-jump a:focus-visible, .try-card-btn:focus-visible, .try-dl-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.try-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .2rem; }
.try-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .85rem; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none; font: 600 .9rem/1 var(--sans); }
.try-jump a:hover { border-color: var(--accent); }
.try-said { min-height: 1.5em; margin: .5rem 0 0; font-size: .9rem; color: var(--accent-ink); font-weight: 600; }

.try-tools { padding-top: 1.6rem; }
.try-tool { margin: 0 0 2rem; scroll-margin-top: 12px; }
.try-tool[hidden] { display: none; }
.try-ed { margin-bottom: .8rem; }
.try-dl { display: grid; gap: .4rem; justify-items: start; }
.try-dl .note { margin: 0; max-width: 62ch; }
.try-dl-btn { cursor: pointer; min-height: 48px; }
.try-dl-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.try-keys { margin-top: -.6rem; }

/* The real caption renders are of the bakery's clip only; on /try the live preview is the preview. */
.try-tool .pv-play { display: none; }

.try-unlock { background: #fff; border: 2px dashed var(--accent); border-radius: 12px; padding: .7rem .9rem; max-width: 62ch; }
.try-smp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: .8rem; margin: 1rem 0; }
.try-smp { margin: 0; display: grid; gap: .4rem; align-content: start; }
.try-smp img, .try-smp video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--band); display: block; }
.try-smp-v video { aspect-ratio: 9 / 16; }
.try-smp figcaption { font-size: .85rem; color: var(--muted); }
.try-smp .ed-btn { font: 600 .8rem/1.1 var(--sans); min-height: 40px; padding: .45rem .6rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.try-smp .ed-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-ink); }

/* The sign-up card: never a modal, never covers the whole page; the page keeps working underneath. */
.try-card { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; max-width: 420px; margin-left: auto; background: #fff; color: var(--ink);
  border: 2px solid var(--accent); border-radius: 14px; padding: .9rem 1rem; box-shadow: 0 12px 34px rgba(28,37,48,.22); }
.try-card[hidden] { display: none; }
.try-card-h { margin: 0 0 .3rem; font: 700 1.1rem/1.25 var(--display); }
.try-card-p { margin: 0 0 .7rem; font-size: .92rem; line-height: 1.5; }
.try-card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
/* Equal weight: the same size, shape, border and type for both answers. */
.try-card-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem .7rem; border: 2px solid var(--accent); border-radius: 10px;
  background: #fff; color: var(--accent-ink); font: 600 .95rem/1.15 var(--sans); text-align: center; text-decoration: none; cursor: pointer; }
.try-card-btn:hover { background: var(--accent-soft); }
body.try-card-open main { padding-bottom: 13rem; }
@media (min-width: 720px) { body.try-card-open main { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  .try-brand, .try-jump a, .try-card { transition: none; animation: none; }
}
