/* try-demo-v3.3.css (home-v3.3): the Try it dialog. Grows out of its button on desktop, slides up as a sheet on phones. */
.try-slot{margin:22px 0 0}
.try-open{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;border-radius:12px;border:2px solid #06747a;background:#fff;color:#06747a;font:800 15px 'Nunito Sans',system-ui,sans-serif;cursor:pointer;transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.try-open::before{content:"";width:10px;height:10px;border-radius:50%;background:currentColor;box-shadow:0 0 0 0 rgba(6,116,122,.45);animation:tryPulse 2.4s infinite}
.try-open:hover{background:#06747a;color:#fff;transform:translateY(-1px);box-shadow:0 8px 20px rgba(6,116,122,.22)}
html.tryd-locked{overflow:hidden}
.tryd [hidden]{display:none!important}

/* dialog */
.tryd{padding:0;border:0;background:transparent;max-width:none;max-height:none;width:100%;height:100%;margin:0;inset:0;overflow:auto}
.tryd::backdrop{background:rgba(12,40,46,.48);backdrop-filter:blur(3px);animation:tryFade .25s ease}
.tryd[open] .tryd-card{animation:tryGrow .34s cubic-bezier(.2,.9,.25,1.05) both}
.tryd.is-closing .tryd-card{animation:tryShrink .2s ease forwards}
.tryd.is-closing::backdrop{animation:tryFade .2s ease reverse forwards}
.tryd-card{position:relative;box-sizing:border-box;width:min(680px,calc(100vw - 32px));margin:6vh auto;background:#fff;border-radius:24px;padding:24px 26px 22px;box-shadow:0 30px 80px rgba(12,40,46,.35);font-family:'Nunito Sans',system-ui,sans-serif;color:#1d2b2e;transform-origin:var(--ox,50%) var(--oy,50%);max-height:88vh;overflow:auto;overscroll-behavior:contain}
.tryd-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tryd-title{margin:0;font-family:Merriweather,Georgia,serif;font-size:24px;color:#0c4249}
.tryd-close{width:40px;height:40px;border-radius:50%;border:0;background:#f1f6f6;color:#0c4249;font-size:24px;line-height:1;cursor:pointer;transition:transform .2s,background .2s}
.tryd-close:hover{background:#e3f1f1;transform:rotate(90deg)}

/* stepper */
.tryd-steps{display:flex;gap:0;list-style:none;margin:18px 0 20px;padding:0;counter-reset:s}
.tryd-steps li{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:800;letter-spacing:.04em;color:#8a9a9d;text-align:center}
.tryd-steps li::after{content:"";position:absolute;top:8px;left:calc(50% + 12px);right:calc(-50% + 12px);height:3px;border-radius:3px;background:#e1eeef;background-image:linear-gradient(#06747a,#06747a);background-size:0% 100%;background-repeat:no-repeat;transition:background-size .5s ease}
.tryd-steps li:last-child::after{display:none}
.tryd-steps li.is-done::after{background-size:100% 100%}
.tryd-dot{width:18px;height:18px;border-radius:50%;background:#e1eeef;box-shadow:inset 0 0 0 3px #fff;transition:background .3s,transform .3s}
.tryd-steps li.is-done{color:#06747a}.tryd-steps li.is-done .tryd-dot{background:#06747a}
.tryd-steps li.is-now{color:#0c4249}.tryd-steps li.is-now .tryd-dot{background:#06747a;transform:scale(1.2);box-shadow:inset 0 0 0 3px #fff,0 0 0 5px rgba(6,116,122,.18);animation:tryRing 1.6s infinite}

/* sliding views */
.tryd-stage{position:relative;display:grid}
.tryd-view{grid-area:1/1;opacity:0;transform:translateX(36px);pointer-events:none;visibility:hidden;transition:opacity .32s ease,transform .38s cubic-bezier(.2,.8,.25,1),visibility 0s .38s}
.tryd-view.is-on{opacity:1;transform:none;pointer-events:auto;visibility:visible;transition-delay:0s}
.tryd-view.is-left{transform:translateX(-36px)}

/* typed */
.tryd-text{width:100%;box-sizing:border-box;border:2px solid #e1eeef;border-radius:14px;padding:14px 16px;font:16px/1.55 'Nunito Sans',system-ui,sans-serif;resize:vertical;transition:border-color .2s,box-shadow .2s}
.tryd-text:focus{outline:0;border-color:#06747a;box-shadow:0 0 0 4px rgba(6,116,122,.12)}
.tryd-under{display:flex;justify-content:space-between;align-items:center;margin:6px 0 0}
.tryd-count{font-size:13px;color:#7a8b8e;font-variant-numeric:tabular-nums}
.tryd-link{background:none;border:0;padding:6px 0;color:#06747a;font:800 14px 'Nunito Sans',system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}

/* photo */
.tryd-pick{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tryd-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px;padding:12px;border-radius:16px;border:2px solid #e1eeef;background:#f8fbfb;color:#0c4249;font:inherit;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s;text-align:center}
.tryd-choice:hover{border-color:#06747a;transform:translateY(-2px);box-shadow:0 10px 24px rgba(12,66,73,.12)}
.tryd-choice img{width:100%;max-height:150px;object-fit:cover;object-position:top;border-radius:10px}
.tryd-choice small{color:#5d7276;font-weight:600}
.tryd-own{border-style:dashed}
.tryd-own input{position:absolute;width:1px;height:1px;opacity:0}
.tryd-cam{width:52px;height:40px;border-radius:10px;border:3px solid #06747a;position:relative}
.tryd-cam::before{content:"";position:absolute;inset:8px 14px;border-radius:50%;border:3px solid #06747a}
.tryd-cam::after{content:"";position:absolute;top:-8px;left:12px;width:16px;height:6px;border-radius:3px 3px 0 0;background:#06747a}
.tryd-preview{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.tryd-preview img{max-width:100%;max-height:300px;border-radius:14px;box-shadow:0 12px 28px rgba(12,66,73,.16)}
.tryd-preview.pop img{animation:tryPop .35s cubic-bezier(.2,.9,.25,1.1)}

/* audio */
.tryd-script{background:#f6f0fb;border-radius:14px;padding:12px 16px}
.tryd-small{margin:0 0 6px;font-size:13px;color:#5d4a73;font-weight:700}
.tryd-read{margin:0;font-size:16px;line-height:1.55;color:#2a0d45}
.tryd-rec{display:flex;align-items:center;gap:18px;margin:16px 0 0;padding:14px 16px;border-radius:16px;border:2px solid #e1eeef;transition:border-color .3s,background .3s}
.tryd-rec.is-live{border-color:#b4337a;background:#fff7fb}
.tryd-mic{flex:0 0 64px;height:64px;border-radius:50%;border:0;background:#6b1fa8;cursor:pointer;position:relative;transition:transform .2s,background .2s}
.tryd-mic:hover{transform:scale(1.05)}
.tryd-mic-core{position:absolute;left:50%;top:50%;width:16px;height:26px;margin:-16px 0 0 -8px;border-radius:8px;background:#fff;transition:all .25s}
.tryd-mic-core::after{content:"";position:absolute;left:-6px;right:-6px;top:12px;height:14px;border:3px solid #fff;border-top:0;border-radius:0 0 14px 14px}
.tryd-rec.is-live .tryd-mic{background:#b4337a;animation:tryLive 1.4s infinite}
.tryd-rec.is-live .tryd-mic-core{width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:5px}
.tryd-rec.is-live .tryd-mic-core::after{display:none}
.tryd-recright{flex:1;min-width:0}
.tryd-wave{display:block;width:100%;height:56px}
.tryd-recmeta{display:flex;justify-content:space-between;gap:10px;margin:6px 0 0;font-size:13px}
.tryd-clock{font-weight:800;color:#2a0d45;font-variant-numeric:tabular-nums}
.tryd-hint{color:#5d7276}
.tryd-play{display:flex;align-items:center;gap:16px;margin:12px 0 0}
.tryd-pbtn{min-height:40px;padding:0 16px;border-radius:999px;border:2px solid #6b1fa8;background:#fff;color:#6b1fa8;font:800 14px 'Nunito Sans',system-ui,sans-serif;cursor:pointer}
.tryd-wavesnap{display:block;width:100%;height:56px;object-fit:fill}

/* footer */
.tryd-foot{margin:18px 0 0;padding:16px 0 0;border-top:1px solid #e1eeef}
.tryd-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:#3d5155;cursor:pointer}
.tryd-consent input{width:18px;height:18px;margin-top:1px;accent-color:#06747a}
.tryd-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 0;flex-wrap:wrap}
.tryd-type{font-size:14px;font-weight:700;color:#4a5c60}
.tryd-type select{margin-left:6px;min-height:40px;border-radius:10px;border:2px solid #e1eeef;padding:0 10px;font:inherit}
.tryd-go{min-height:50px;padding:0 26px;border-radius:14px;border:0;background:#06747a;color:#fff;font:800 16px 'Nunito Sans',system-ui,sans-serif;cursor:pointer;transition:transform .2s,box-shadow .2s,opacity .2s}
.tryd-go:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(6,116,122,.28)}
.tryd-go[disabled]{opacity:.6;cursor:wait;transform:none;box-shadow:none}
.tryd-check:empty{display:none}.tryd-check{margin:10px 0 0}
.tryd-msg{margin:10px 0 0;min-height:1.2em;font-size:14px;color:#4a5c60}
.tryd-msg.is-error{color:#b4433a;font-weight:700}
.tryd-msg.shake{animation:tryShake .35s}

/* progress and result */
.tryd-what{margin:0 0 14px}
.tryd-what .tryd-quote{max-height:120px;overflow:auto;white-space:pre-wrap;background:#f6f9f9;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5;color:#4a5c60}
.tryd-scan{position:relative;max-width:260px;margin:0 auto;transition:max-width .5s ease;border-radius:12px;overflow:hidden;box-shadow:0 10px 24px rgba(12,66,73,.14)}
.tryd-scan img{display:block;width:100%}
.tryd-scanline{position:absolute;left:0;right:0;top:0;height:22%;background:linear-gradient(180deg,rgba(6,116,122,0),rgba(6,116,122,.35) 85%,#06747a);animation:tryScan 1.6s ease-in-out infinite}
.tryd-scan.is-done{max-width:120px}
.tryd-scan.is-done .tryd-scanline{animation:none;opacity:0;transition:opacity .4s}
.tryd-busy{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0;font-weight:800;color:#0c4249}
.tryd-spin{width:18px;height:18px;border-radius:50%;border:3px solid #cfe6e7;border-top-color:#06747a;animation:trySpin .8s linear infinite}
.tryd-label{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.1em;color:#5d7276}
.tryd-readbox{margin:0 0 14px}
.tryd-source{white-space:pre-wrap;background:#f6f9f9;border-radius:12px;padding:10px 14px;font-size:14px;line-height:1.5;color:#4a5c60;max-height:150px;overflow:auto}
.tryd-notehead{display:flex;justify-content:space-between;align-items:center}
.tryd-note{border:2px solid #cfe6e7;border-radius:14px;padding:14px 18px;font-size:15px;line-height:1.6}
.tryd-note p{margin:0;animation:tryLine .35s ease both}
.tryd-note .tryd-sec{margin-top:10px;font-weight:800;color:#06747a;font-size:13px;letter-spacing:.06em}
.tryd-note .tryd-sec:first-child{margin-top:0}
.tryd-end{margin:16px 0 0}
.tryd-end p{margin:0 0 10px;font-size:13px;color:#5d7276}
.tryd-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tryd-cta{min-height:48px;padding:0 22px;border-radius:14px;background:#06747a;color:#fff!important;font-weight:800;text-decoration:none;display:inline-flex;align-items:center}
.rise{animation:tryRise .4s ease both}

/* phones: a bottom sheet */
@media (max-width:640px){
  .tryd-card{width:100%;margin:auto 0 0;min-height:60vh;max-height:92vh;overflow:auto;border-radius:24px 24px 0 0;padding:20px 18px 26px;position:absolute;bottom:0}
  .tryd[open] .tryd-card{animation:trySheet .38s cubic-bezier(.2,.9,.25,1) both}
  .tryd.is-closing .tryd-card{animation:trySheetOut .22s ease forwards}
  .tryd-pick{grid-template-columns:1fr}
  .tryd-choice{min-height:140px}
  .tryd-steps li{font-size:11px}
  .tryd-title{font-size:21px}
}

@keyframes tryFade{from{opacity:0}to{opacity:1}}
@keyframes tryGrow{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}
@keyframes tryShrink{to{opacity:0;transform:scale(.92)}}
@keyframes trySheet{from{transform:translateY(100%)}to{transform:none}}
@keyframes trySheetOut{to{transform:translateY(100%)}}
@keyframes tryPulse{0%{box-shadow:0 0 0 0 rgba(6,116,122,.45)}70%{box-shadow:0 0 0 8px rgba(6,116,122,0)}100%{box-shadow:0 0 0 0 rgba(6,116,122,0)}}
@keyframes tryRing{50%{box-shadow:inset 0 0 0 3px #fff,0 0 0 8px rgba(6,116,122,.08)}}
@keyframes tryLive{0%{box-shadow:0 0 0 0 rgba(180,51,122,.5)}70%{box-shadow:0 0 0 14px rgba(180,51,122,0)}100%{box-shadow:0 0 0 0 rgba(180,51,122,0)}}
@keyframes tryScan{0%{transform:translateY(-100%)}100%{transform:translateY(460%)}}
@keyframes trySpin{to{transform:rotate(360deg)}}
@keyframes tryLine{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes tryRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes tryPop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
@keyframes tryShake{20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}

@media (prefers-reduced-motion:reduce){
  .tryd *,.tryd::backdrop,.try-open,.try-open::before,.rise{animation:none!important;transition:none!important}
}
