/* /try (12 Nov 2026): the guest demo. Dark plum page, the demo inside a phone frame on wide screens, edge to edge on phones. */
.try-sec{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(1200px 600px at 80% -10%,rgba(124,58,237,.35),transparent 60%),radial-gradient(900px 500px at -10% 110%,rgba(219,39,119,.25),transparent 60%),var(--plum);color:#fff;padding:calc(var(--hh) + clamp(28px,5vw,64px)) 0 clamp(48px,6vw,88px)}
.try-in{display:grid;grid-template-columns:1fr minmax(320px,380px);gap:clamp(32px,6vw,88px);align-items:center}
.try-copy .kicker{color:#C4B5FD}
.try-copy h1{font-size:clamp(34px,4.4vw,56px);line-height:1.05;margin:10px 0 16px}
.try-copy .lede{color:#DCD5F0}
.try-steps{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.try-steps li{display:flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);font-size:14px;font-weight:600}
.try-steps b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--grad);font-size:12px}
.try-safe{display:flex;gap:8px;align-items:flex-start;margin:20px 0 0;color:#CFC6EA;font-size:14.5px;max-width:30em}
.try-safe .i{flex:none;width:18px;height:18px;margin-top:1px;color:#FFD23F}
.try-qr{display:flex;align-items:center;gap:16px;margin-top:28px;padding:12px 18px 12px 12px;border-radius:20px;background:#fff;color:var(--ink);width:max-content;max-width:100%;box-shadow:0 24px 50px -24px rgba(0,0,0,.6);transform:rotate(-1.5deg)}
.try-qr img{width:112px;height:112px}
.try-qr span{display:flex;flex-direction:column;gap:4px;font-size:14px;max-width:13em;color:var(--muted)}
.try-qr b{color:var(--ink);font-size:16px}

/* the phone */
.try-phone{position:relative;height:720px;border-radius:44px;padding:12px;background:linear-gradient(160deg,#2A1A5C,#100C14);box-shadow:0 0 0 1px rgba(255,255,255,.12),0 50px 90px -30px rgba(0,0,0,.8),inset 0 0 0 2px rgba(255,255,255,.06)}
.try-phone::before{content:"";position:absolute;top:22px;left:50%;width:96px;height:26px;margin-left:-48px;border-radius:20px;background:#000;z-index:3}
.tp-scr,.tp-done{position:absolute;inset:12px;border-radius:34px;overflow:hidden;background:#0E0824}
.tp-scr[hidden],.tp-done[hidden]{display:none}
.try-nojs{padding:80px 24px;text-align:center;color:#DCD5F0}
.try-nojs a{color:#fff}

/* join */
.tp-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tp-join::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,11,46,.15) 20%,rgba(20,11,46,.92) 62%)}
.tp-join-in{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:24px 22px 26px;text-align:center}
.tp-lead{margin:0;color:#E6E0EA;font-size:14px}
.tp-title{margin:4px 0 10px;font:700 26px/1.15 var(--head);background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent}
.tp-tags{display:flex;justify-content:center;gap:6px;margin:0 0 18px}
.tp-tags span{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;font-weight:600}
.tp-tags .i{width:13px;height:13px}
.tp-inp{width:100%;height:50px;padding:0 16px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;font:500 16px var(--body)}
.tp-inp::placeholder{color:#B9AEDB}
.tp-inp:focus{outline:2px solid #C4B5FD;outline-offset:2px}
.tp-err{margin:8px 0 0;color:#F1C2C7;font-size:13px;text-align:left}
.tp-btn{width:100%;height:52px;margin-top:12px;border:0;border-radius:14px;background:var(--grad);color:#fff;font:700 16px var(--body);cursor:pointer;box-shadow:0 14px 30px -12px rgba(219,39,119,.8)}
.tp-foot{margin:12px 0 0;color:#B9AEDB;font-size:12.5px}

/* room */
.tp-room{display:flex;flex-direction:column}
.tp-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:48px 16px 4px}
.tp-room-n{font:700 17px var(--head)}
.tp-live{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(251,113,133,.18);color:#FDA4AF;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.tp-live i{width:7px;height:7px;border-radius:50%;background:#FB7185;animation:tpPulse 1.4s ease-in-out infinite}
.tp-count{margin:0;padding:0 16px;color:#B9AEDB;font-size:13px}
.tp-count b{color:#fff}
.tp-chips{display:flex;gap:6px;margin:10px 0 8px;padding:0 16px}
.tp-chips span{padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;color:#DCD5F0}
.tp-chips .on{background:#fff;color:var(--plum)}
.tp-grid{list-style:none;margin:0;padding:0 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;overflow:hidden;flex:1;align-content:start}
.tp-tile{position:relative;height:0;padding-bottom:133.33%;border-radius:10px;overflow:hidden;background:#2B1060}   /* fixed 3:4 tiles whatever the photo's shape */
.tp-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tp-who{position:absolute;left:4px;bottom:4px;max-width:calc(100% - 8px);padding:2px 7px;border-radius:999px;background:rgba(20,11,46,.7);font-size:10.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-tile.mine{box-shadow:0 0 0 2px #FFD23F}
.tp-tile.mine .tp-who{background:#FFD23F;color:#1C1238}
.tp-tile.tp-pop{animation:tpIn .55s cubic-bezier(.2,.8,.2,1.2) both}
.tp-toast{position:absolute;left:50%;top:92px;z-index:2;transform:translateX(-50%);margin:0;padding:8px 14px;border-radius:999px;background:#fff;color:var(--plum);font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 12px 30px -10px rgba(0,0,0,.6)}
.tp-toast.in{animation:tpToast .35s ease-out both}
.tp-dock{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 16px 18px;background:linear-gradient(180deg,rgba(20,11,46,0),#0E0824 30%)}
.tp-shoot{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}
.tp-shoot-ring{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;border:4px solid #fff;box-shadow:0 0 0 6px rgba(255,255,255,.12)}
.tp-shoot-ring span{width:52px;height:52px;border-radius:50%;background:var(--grad);transition:transform .15s}
.tp-shoot:active .tp-shoot-ring span{transform:scale(.88)}
.tp-shoot-l{font-size:13px;font-weight:700}
#try-file:focus-visible+.tp-sample,.tp-shoot:focus-within{outline:2px solid #C4B5FD}
.tp-sample{border:0;background:none;color:#C4B5FD;font:600 12.5px var(--body);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* done */
.tp-done{z-index:4;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding:24px 20px 26px;background:linear-gradient(180deg,rgba(20,11,46,.2),rgba(20,11,46,.96) 45%);animation:tpToast .4s ease-out both}
.tp-done-k{margin:0;font:700 13px var(--body);letter-spacing:.12em;text-transform:uppercase;color:#FFD23F}
.tp-done-t{margin:0;font:700 22px/1.25 var(--head)}
.tp-done-s{display:flex;gap:6px;align-items:center;margin:0 0 6px;color:#CFC6EA;font-size:13.5px}
.tp-done-s .i{width:15px;height:15px;color:#FFD23F}
.tp-again{border:0;background:none;color:#DCD5F0;font:600 14px var(--body);padding:8px;cursor:pointer}

@keyframes tpIn{from{opacity:0;transform:scale(.6) translateY(-12px)}to{opacity:1;transform:none}}
@keyframes tpToast{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
.tp-done{animation-name:tpFade}
@keyframes tpFade{from{opacity:0}to{opacity:1}}
@keyframes tpPulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.tp-tile.tp-pop,.tp-toast.in,.tp-done,.tp-live i{animation:none}}

/* phones: the demo is the page */
@media (max-width:860px){
  .try-in{grid-template-columns:1fr;gap:24px}
  .try-qr{display:none}
  .try-steps{display:none}
  .try-sec{padding-top:calc(var(--hh) + 16px)}
  .try-copy h1{font-size:28px;margin:4px 0 6px}
  .try-copy .lede{display:none}
  .try-safe{font-size:13px;margin-top:6px}
  .try-phone{height:min(640px,calc(100svh - 200px));min-height:500px;border-radius:30px;padding:0;background:none;box-shadow:none}
  .try-phone::before{display:none}
  .tp-scr,.tp-done{inset:0;border-radius:24px;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
  .tp-bar{padding-top:16px}
  .tp-toast{top:60px}
}
/* Ask Snappy would sit on top of the demo's buttons on phones */
@media (max-width:860px){body.try .ask-fab{display:none}}
