/* ============================================================
   Hero product demo — authored at 1280×800 and scaled to fit
   ============================================================ */
.demo {
  position: relative; width: 100%; aspect-ratio: 1280 / 800;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20,30,40,.08), 0 50px 100px -30px rgba(30,50,80,.5), 0 18px 36px -18px rgba(30,50,80,.25);
  background: #9DC2EA;
}
.d-scale { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; transform: scale(var(--s, 1)); font-family: var(--sans); color: #1B1D1B; -webkit-font-smoothing: antialiased; }
.d-scale * { box-sizing: border-box; }
.d-scale button { font: inherit; cursor: default; }
.d-desktop {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(40% 18% at 22% 22%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(30% 14% at 80% 14%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(60% 40% at 78% 70%, rgba(255,248,226,.6), transparent 70%),
    linear-gradient(180deg, #74A8E3 0%, #A9CBEF 42%, #D5E4E6 64%, #B4D3AA 80%, #8DBB8C 100%);
  transition: opacity .6s;
}
.d-desktop.fade { opacity: 0; }
.d-scale.snap .d-desktop *, .d-scale.snap .d-desktop *::before, .d-scale.snap .d-desktop *::after { transition: none !important; }
.mono { font-variant-numeric: tabular-nums; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }

/* menu bar */
.d-menubar { position: absolute; inset: 0 0 auto; height: 30px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: #121412; background: rgba(255,255,255,.38); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 20; }
.mb-left, .mb-right { display: flex; align-items: center; gap: 18px; }
.mb-left b { font-weight: 700; }
.mb-apple { width: 15px; height: 15px; }
.mb-right svg { width: 16px; height: 16px; }
.mb-leaf { color: #121412; }
.mb-batt { width: 24px; height: 12px; border: 1.5px solid #121412; border-radius: 3.5px; padding: 1.5px; position: relative; }
.mb-batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: #121412; }
.mb-batt i { display: block; height: 100%; width: 75%; background: #121412; border-radius: 1.5px; }
.mb-rec { display: none; align-items: center; gap: 6px; background: #EF4C3F; color: #fff; padding: 2px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mb-rec i { width: 7px; height: 7px; border-radius: 2px; background: #fff; }
.mb-rec.on { display: inline-flex; }

/* browser being recorded */
.d-browser { position: absolute; left: 150px; top: 66px; width: 980px; height: 640px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.2), 0 30px 70px -20px rgba(20,40,70,.55); transition: opacity .5s, transform .5s; }
.d-browser.away { opacity: 0; transform: scale(.97); }
.br-chrome { height: 40px; display: flex; align-items: flex-end; gap: 6px; padding: 0 14px; background: #ECEBE7; position: relative; }
.br-chrome .lights { position: absolute; left: 14px; top: 14px; }
.br-tab { margin-left: 72px; height: 32px; padding: 0 14px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; background: #fff; border-radius: 9px 9px 0 0; min-width: 210px; }
.br-tab + .br-tab { margin-left: 0; }
.br-tab.dim { background: transparent; color: #6C6F6A; min-width: 140px; }
.br-tab .fav { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #6C8CFF, #4A6CF7); }
.br-tab .x { margin-left: auto; color: #999; }
.br-bar { height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid #ECEBE6; }
.br-bar .nav { color: #9A9C97; letter-spacing: 6px; }
.br-url { flex: 1; height: 28px; border-radius: 8px; background: #F3F2EF; font-size: 12.5px; color: #4A4D49; display: flex; align-items: center; padding: 0 12px; }
.br-page { position: relative; height: calc(100% - 80px); }

/* the sample web app */
.pg { position: relative; display: grid; grid-template-columns: 190px 1fr; height: 100%; background: #fff; font-size: 13px; color: #1B1D1B; }
.pg-side { background: #F8F8F6; border-right: 1px solid #ECEBE6; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.pg-logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; margin: 0 8px 18px; }
.pg-logo i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #6C8CFF, #4A6CF7); }
.pg-side a { padding: 8px 10px; border-radius: 8px; color: #5B5E59; }
.pg-side a.on { background: #fff; color: #111; font-weight: 500; box-shadow: 0 0 0 1px #ECEBE6, 0 1px 2px rgba(0,0,0,.04); }
.pg-user { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px; color: #5B5E59; }
.pg-user span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; background: #F4DDB8; color: #111; }
.pg-main { padding: 26px 30px; display: flex; flex-direction: column; gap: 18px; }
.pg-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pg-top h3 { margin: 0; font-family: var(--sans); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #111; }
.pg-top p { margin: 4px 0 0; color: #7A7D78; }
.pg-publish { border: 0; background: #111; color: #fff; padding: 10px 16px; border-radius: 9px; font-weight: 500; font-size: 13px; transition: background .3s, transform .12s; }
.pg-publish.press, .pg-toggle span.press, .pg-plan.press { transform: scale(.96); }
.pg-publish.done { background: #3B7BEA; }
.pg-toggle { display: inline-flex; align-self: flex-start; background: #F1F0EC; border-radius: 9px; padding: 3px; }
.pg-toggle span { padding: 6px 14px; border-radius: 7px; color: #6C6F6A; transition: background .25s, color .25s, transform .12s; }
.pg-toggle span.on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.pg-toggle em { font-style: normal; color: #3B7BEA; font-size: 11px; font-weight: 600; margin-left: 4px; }
.pg-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pg-plan { border: 1px solid #E6E4DE; border-radius: 12px; padding: 14px 16px; transition: border-color .25s, box-shadow .25s, transform .12s; }
.pg-plan b { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pg-plan b i { font-style: normal; font-size: 10.5px; font-weight: 600; color: #4A6CF7; background: #E8EDFF; padding: 2px 7px; border-radius: 999px; }
.pg-plan.sel { border-color: #4A6CF7; box-shadow: 0 0 0 3px rgba(74,108,247,.16); }
.pg-price { font-size: 13px; color: #7A7D78; margin: 8px 0 6px; }
.pg-price span { font-size: 28px; font-weight: 600; color: #111; letter-spacing: -0.02em; display: inline-block; transition: opacity .2s, transform .2s; }
.pg-price span.flip { opacity: 0; transform: translateY(-6px); }
.pg-plan ul { list-style: none; padding: 0; margin: 0; color: #7A7D78; font-size: 12px; line-height: 1.7; }
.pg-table { border: 1px solid #ECEBE6; border-radius: 12px; overflow: hidden; }
.pg-tr { display: grid; grid-template-columns: 1fr 1.3fr 1fr .7fr; padding: 10px 16px; border-top: 1px solid #F0EFEB; font-size: 12.5px; }
.pg-tr.th { border-top: 0; background: #FAFAF8; color: #8A8D88; font-size: 11.5px; }
.pg-tr .ok, .pg-tr .due { justify-self: start; font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 999px; }
.pg-tr .ok { background: #E5F1E2; color: #2F7A45; }
.pg-tr .due { background: #FBEFD0; color: #8A6516; }
.pg-toast { position: absolute; right: 22px; bottom: 22px; background: #111; color: #fff; font-size: 13px; padding: 10px 14px; border-radius: 10px; opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.pg-toast.show { opacity: 1; transform: none; }

/* recording overlays */
.d-frame { position: absolute; left: 144px; top: 60px; width: 992px; height: 652px; border-radius: 16px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(94,155,224,.6), 0 0 0 4000px rgba(12,22,40,.32); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 5; }
.d-frame.on { opacity: 1; }
.d-frame.rec { box-shadow: 0 0 0 1px rgba(239,76,63,.7), 0 0 0 4000px rgba(12,22,40,.0); border-color: #EF4C3F; }
.d-frame-label { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); background: rgba(18,20,18,.82); color: #fff; font-size: 12.5px; padding: 5px 12px; border-radius: 8px; white-space: nowrap; }
.d-frame.rec .d-frame-label { opacity: 0; }
.d-count { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,20,18,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 76px; font-weight: 500; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .3s var(--ease); z-index: 6; }
.d-count.on { opacity: 1; transform: none; }
.d-cam, .pv-cam { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 20px 40px -14px rgba(0,0,0,.45); background: linear-gradient(160deg, #C8D6EA, #8DA3C6); }
.d-cam { position: absolute; left: 44px; bottom: 44px; width: 150px; height: 150px; z-index: 7; opacity: 0; transform: scale(.85); transition: opacity .4s, transform .4s var(--ease); }
.d-cam.on { opacity: 1; transform: none; }
.face { position: absolute; inset: 0; background: radial-gradient(circle at 50% 39%, #EBC3A2 0 20%, transparent 21%), radial-gradient(circle at 50% 30%, #3A2E28 0 24%, transparent 25%), radial-gradient(circle at 50% 104%, #46557A 0 46%, transparent 47%); animation: talk 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes talk { 0%,100% { transform: rotate(0) translateY(0); } 30% { transform: rotate(-2deg) translateY(1px); } 60% { transform: rotate(1.5deg) translateY(-1px); } }
.d-hud { position: absolute; left: 50%; bottom: 30px; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(24,26,24,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; font-size: 14px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); opacity: 0; transition: opacity .35s, transform .35s var(--ease); z-index: 8; }
.d-hud.on { opacity: 1; transform: translate(-50%, 0); }
.hud-stop { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #EF4C3F; color: #fff; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; transition: transform .12s; }
.hud-stop i { width: 10px; height: 10px; border-radius: 2px; background: #fff; }
.hud-stop.press { transform: scale(.94); }
.hud-time { min-width: 38px; }
.hud-sep { width: 1px; height: 22px; background: rgba(255,255,255,.18); }
.hud-ic { color: rgba(255,255,255,.75); font-size: 13px; }
.hud-mic { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.hud-mic i { width: 3px; border-radius: 2px; background: #8FD19A; height: 30%; transition: height .12s; }
.d-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 30; transition: opacity .25s; }
.d-flash.on { opacity: .7; transition: none; }

/* editor */
.d-editor { position: absolute; left: 40px; top: 46px; width: 1200px; height: 732px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.2), 0 40px 80px -24px rgba(20,40,70,.55); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s, transform .6s var(--ease); z-index: 10; display: flex; flex-direction: column; }
.d-editor.on { opacity: 1; transform: none; }
.ed-titlebar { height: 48px; display: flex; align-items: center; gap: 18px; padding: 0 16px; border-bottom: 1px solid #ECEBE6; background: #FAFAF8; flex: none; }
.ed-tools { display: flex; gap: 4px; margin-left: 12px; }
.ed-tools span { width: 30px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #6C6F6A; font-size: 14px; }
.ed-tools span.on { background: #EFEEEA; color: #111; }
.ed-title { flex: 1; text-align: center; font-size: 13.5px; font-weight: 600; margin-right: 60px; }
.ed-title em { font-style: normal; font-weight: 400; color: #9A9C97; margin-left: 6px; }
.ed-actions { display: flex; gap: 8px; }
.ed-btn { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 8px; border: 1px solid #DDDBD4; background: #fff; transition: transform .12s, background .2s; }
.ed-btn.dark { background: #111; border-color: #111; color: #fff; }
.ed-btn.press { transform: scale(.94); }
.ed-main { display: grid; grid-template-columns: 1fr 268px; flex: 1; min-height: 0; }
.ed-preview { background: #F1F0EC; display: grid; place-items: center; }
.pv-canvas { position: relative; width: 760px; height: 428px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg,#A9CFF2,#E9DFC9); transition: background .6s; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.pv-screen { position: absolute; left: 86px; top: 34px; width: 588px; height: 360px; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(20,30,50,.45); }
.pv-zoom { position: absolute; left: 0; top: 0; width: 588px; height: 360px; transform-origin: 0 0; transition: transform 1s cubic-bezier(.65,0,.35,1); }
.pv-window { width: 980px; height: 600px; transform: scale(.6); transform-origin: 0 0; background: #fff; }
.br-chrome.sm { height: 36px; align-items: center; gap: 14px; }
.br-chrome.sm .lights { position: static; }
.br-chrome.sm .br-url { max-width: 420px; margin: 0 auto; background: #fff; }
.pv-window .br-page { height: 564px; }
.pv-cam { position: absolute; right: 22px; bottom: 22px; width: 92px; height: 92px; box-shadow: 0 0 0 3px #fff, 0 14px 28px -10px rgba(0,0,0,.45); }
.pv-caption { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(18,20,18,.8); color: #fff; font-size: 14px; padding: 6px 12px; border-radius: 8px; white-space: nowrap; transition: opacity .2s; }
.ed-insp { border-left: 1px solid #ECEBE6; padding: 16px; font-size: 12.5px; color: #6C6F6A; display: flex; flex-direction: column; gap: 10px; background: #FCFCFA; }
.in-tabs { display: flex; background: #EFEEEA; border-radius: 9px; padding: 3px; margin-bottom: 6px; }
.in-tabs span { flex: 1; text-align: center; padding: 6px 0; border-radius: 7px; }
.in-tabs span.on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.in-label { color: #111; font-weight: 500; }
.in-walls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.in-walls span { height: 46px; border-radius: 8px; background: var(--w); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow .2s, transform .12s; }
.in-walls span.on { box-shadow: 0 0 0 2px #FCFCFA, 0 0 0 4px #5E9BE0; }
.in-walls span.press { transform: scale(.92); }
.in-row { display: flex; justify-content: space-between; align-items: center; }
.in-row b { color: #111; font-weight: 500; }
.in-slider { height: 4px; border-radius: 4px; background: #E6E4DE; position: relative; margin: 2px 0 6px; }
.in-slider i { position: absolute; left: 0; top: 0; bottom: 0; background: #5E9BE0; border-radius: 4px; }
.in-slider i::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.in-sep { height: 1px; background: #ECEBE6; margin: 4px 0; }
.in-tog { width: 30px; height: 18px; border-radius: 999px; background: #D9D7D0; position: relative; flex: none; }
.in-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.in-tog.on { background: #3B7BEA; }
.in-tog.on::after { left: 14px; }
.ed-transport { height: 46px; flex: none; display: flex; align-items: center; justify-content: center; gap: 18px; border-top: 1px solid #ECEBE6; position: relative; font-size: 13px; color: #6C6F6A; }
.tp-ic { font-size: 12px; }
.tp-play { width: 32px; height: 32px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 11px; }
.tp-time { position: absolute; left: 18px; }
.tp-time b { color: #111; font-weight: 500; }
.tp-right { position: absolute; right: 18px; display: flex; gap: 6px; }
.tp-chip { padding: 3px 9px; border-radius: 6px; background: #F1F0EC; color: #111; font-size: 12px; }
.ed-timeline { position: relative; height: 166px; flex: none; padding: 8px 18px 14px; background: #FAFAF8; border-top: 1px solid #ECEBE6; display: flex; flex-direction: column; gap: 7px; }
.tl-ruler { display: flex; justify-content: space-between; font-size: 10.5px; color: #9A9C97; height: 14px; }
.tl-track { position: relative; border-radius: 8px; overflow: hidden; }
.tl-video { height: 50px; display: flex; gap: 2px; background: #FCE7B8; padding: 3px; border: 1px solid #F0CF85; }
.tl-video i { flex: 1; border-radius: 4px; background: linear-gradient(#F0EFEB 0 0) 0 0 / 100% 18% no-repeat, linear-gradient(#DCE9FA 0 0) 70% 70% / 40% 30% no-repeat, linear-gradient(#E6E4DE 0 0) 20% 45% / 55% 10% no-repeat, #fff; }
.tl-zooms { height: 28px; background: #F0EFEB; }
.tl-z { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 500; color: #2D5C94; background: #DCE9FA; border: 1px solid #A9C8EE; border-radius: 8px; white-space: nowrap; transition: background .2s; }
.tl-z.live { background: #C4DAF6; }
.tl-audio { height: 30px; background: #E6EEFB; display: flex; align-items: center; gap: 2px; padding: 0 6px; }
.tl-audio i { flex: 1; border-radius: 2px; background: #8FB4E8; min-height: 2px; }
.tl-head { position: absolute; top: 4px; bottom: 8px; left: 18px; width: 2px; background: #EF4C3F; border-radius: 2px; }
.tl-head::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 12px; border-radius: 3px 3px 6px 6px; background: #EF4C3F; }

/* share popover */
.d-pop { position: absolute; right: 52px; top: 100px; width: 330px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 .5px rgba(0,0,0,.2), 0 30px 60px -20px rgba(20,40,70,.5); font-size: 13px; z-index: 12; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: 90% 0; transition: opacity .25s, transform .3s var(--ease); display: flex; flex-direction: column; gap: 10px; }
.d-pop.on { opacity: 1; transform: none; }
.d-pop::before { content: ""; position: absolute; right: 30px; top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: -.5px -.5px 0 rgba(0,0,0,.12); }
.pop-title { font-weight: 600; font-size: 14px; color: #111; }
.pop-status { display: flex; justify-content: space-between; color: #6C6F6A; font-size: 12.5px; }
.pop-status.ready span:first-child { color: #2A63C7; font-weight: 500; }
.pop-bar { height: 5px; border-radius: 5px; background: #EFEEEA; overflow: hidden; }
.pop-bar i { display: block; height: 100%; width: 0; background: #3B7BEA; border-radius: 5px; }
.pop-link { display: flex; align-items: center; gap: 8px; background: #F4F3F0; border-radius: 9px; padding: 5px 5px 5px 10px; font-size: 12.5px; color: #4A4D49; }
.pop-link span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-link button { border: 0; background: #111; color: #fff; padding: 6px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 500; transition: transform .12s, background .2s; }
.pop-link button.press { transform: scale(.94); }
.pop-link button.done { background: #3B7BEA; }
.pop-row { display: flex; justify-content: space-between; align-items: center; color: #4A4D49; font-size: 12.5px; }

/* notification */
.d-notif { position: absolute; top: 42px; right: 16px; width: 350px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(246,246,244,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px rgba(0,0,0,.15), 0 16px 40px -12px rgba(20,40,70,.4); font-size: 13px; z-index: 25; opacity: 0; transform: translateX(380px); transition: transform .5s var(--ease), opacity .3s; }
.d-notif.on { opacity: 1; transform: none; }
.nf-icon { width: 36px; height: 36px; flex: none; }
.nf-icon svg { width: 36px; height: 36px; }
.d-notif b { font-weight: 600; color: #111; }
.d-notif p { margin: 2px 0 0; color: #4A4D49; }
.nf-time { margin-left: auto; font-size: 11.5px; color: #8A8D88; }

/* cursor */
.d-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 28px; z-index: 40; transform: translate(640px, 520px); will-change: transform; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); pointer-events: none; }
.d-cursor svg { width: 22px; height: 28px; transition: transform .12s; transform-origin: 2px 2px; }
.d-cursor.down svg { transform: scale(.86); }
.d-ring { position: absolute; left: -15px; top: -15px; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid rgba(94,155,224,.95); opacity: 0; transform: scale(.3); }
.d-ring.go { animation: ring .5s ease-out; }
@keyframes ring { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }

/* step indicator */
.d-steps { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.d-steps button { font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(255,255,255,.6); border: 1px solid var(--line); transition: all .3s; }
.d-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--tint); color: var(--muted); transition: all .3s; }
.d-steps button:hover { color: var(--ink); border-color: var(--line-2); }
.d-steps button:hover i { background: #E4E2DC; }
.d-steps button.on { color: var(--ink); background: #fff; border-color: var(--line-2); box-shadow: 0 6px 16px -10px rgba(20,30,50,.35); }
.d-steps button.on i { background: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .demo { border-radius: 10px; }
  .d-steps button { font-size: 13px; padding: 4px 10px 4px 4px; }
}
