/* Signare website: the animated demo (home page hero) and the still frames
   of each step (home page "How it works"). Plain CSS, no script (the site's
   CSP is script-src 'none').

   How it works:
   - <div class="demo play">: every element with class "an" runs a 20 s
     keyframe loop, forever, with no controls. The four steps are 0-25 %,
     25-50 %, 50-75 % and 75-100 % of it. The captions under the scene follow
     the loop.
   - <div class="demo f1"> .. f4: a still frame of one step. Elements with
     class "st" are hidden unless they carry that step's class (v1 .. v4).
   - prefers-reduced-motion: nothing moves (site.css turns animation off);
     the hero shows step 1 and its caption, and the still frames below show
     the rest.
   Inside the stage, sizes use container query units (cqw), so the scene
   scales like a picture: the stage, the PC screen, the tablet screen and the
   form page are each a size container. Every scene is aria-hidden; the
   captions and the step text carry the meaning for screen readers.
   Colours inside the devices are fixed: they show the real (light) product
   UI on a white PDF page in both appearances. */

.demo-card { position: relative; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-tile); box-shadow: var(--shadow-xl); padding: clamp(8px, 1.6vw, 18px); text-align: left; }
.demo { container: demo / inline-size; }

/* ---------- stage + devices ---------- */
.dstage { position: relative; container-type: inline-size; aspect-ratio: 16 / 9; border-radius: calc(var(--r-tile) - 12px); overflow: hidden; background: var(--tile-2); font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: 0; line-height: 1.3; color: #1c1917; user-select: none; -webkit-user-select: none; }
.dstage *, .dstage *::before, .dstage *::after { box-sizing: border-box; }
.dstage b { font-weight: 650; }
.dstage svg, .dstage img { display: block; max-width: none; }

.pc { position: absolute; left: 2cqw; top: 6cqw; width: 57cqw; z-index: 1; }
.pc-bez { background: #141414; border: 1px solid #2e2b29; border-radius: 1.4cqw; padding: 1cqw; box-shadow: 0 1cqw 3cqw -1cqw rgba(28, 25, 23, .45); }
.pc-neck { width: 7cqw; height: 3cqw; margin: 0 auto; background: linear-gradient(#2e2b29, #1f1d1c); }
.pc-foot { width: 17cqw; height: 1cqw; margin: 0 auto; border-radius: 1cqw 1cqw .3cqw .3cqw; background: #2e2b29; }
.tab { position: absolute; right: 3cqw; top: 4.6cqw; width: 36cqw; z-index: 2; background: #141414; border: 1px solid #2e2b29; border-radius: 2.6cqw; padding: 1.6cqw; box-shadow: 0 1.4cqw 4cqw -1cqw rgba(28, 25, 23, .5); }

/* Phones and narrow cards: PC on top, tablet below. */
@container demo (max-width: 560px) {
  .dstage { aspect-ratio: 100 / 148; }
  .pc { left: 2cqw; top: 3cqw; width: 96cqw; }
  .tab { right: auto; left: 19cqw; top: 64cqw; width: 62cqw; border-radius: 4cqw; padding: 2.2cqw; }
}

/* ---------- PC screen (cqw = screen width) ---------- */
.pc-scr { position: relative; container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .4cqw; background: linear-gradient(160deg, #d7dde1 0%, #e9edef 50%, #f1dccd 100%); font-size: 1.8cqw; }
.task { position: absolute; left: 0; right: 0; bottom: 0; height: 5.5cqw; background: rgba(243, 242, 240, .94); border-top: 1px solid rgba(28, 25, 23, .08); display: flex; align-items: center; justify-content: center; gap: 1.2cqw; }
.task i { width: 2.8cqw; height: 2.8cqw; border-radius: .6cqw; background: #c9c5c1; }
.task i:first-child { background: #141414; }
.tray { position: absolute; right: 1.6cqw; top: 0; bottom: 0; display: flex; align-items: center; gap: 1cqw; font-size: 1.6cqw; color: #44403c; }
.tray img { width: 2.6cqw; height: 2.6cqw; border-radius: .5cqw; }

.win { position: absolute; background: #fff; border-radius: 1cqw; overflow: hidden; box-shadow: 0 .4cqw 2.4cqw rgba(28, 25, 23, .22), 0 0 0 1px rgba(28, 25, 23, .08); }
.win-t { height: 4cqw; display: flex; align-items: center; gap: .9cqw; padding: 0 1.4cqw; font-size: 1.6cqw; color: #44403c; background: #f5f5f4; border-bottom: 1px solid #e7e5e4; white-space: nowrap; }
.win-t::after { content: "\2013\2003\25A1\2003\2715"; margin-left: auto; color: #6b6560; font-size: 1.5cqw; }
.win-t svg { width: 2cqw; height: 2cqw; flex: none; }

.app { left: 3cqw; top: 3cqw; width: 60cqw; height: 50cqw; }
.app-bar { display: flex; gap: 1cqw; padding: .9cqw 1.5cqw; border-bottom: 1px solid #e7e5e4; }
.app-bar span { width: 7cqw; height: 3.4cqw; border-radius: .6cqw; background: #f5f5f4; border: 1px solid #e7e5e4; display: flex; align-items: center; justify-content: center; gap: .6cqw; font-size: 1.55cqw; color: #44403c; }
.app-bar .pr { width: 8cqw; background: #141414; border-color: #141414; color: #fff; }
.app-bar .pr svg { width: 1.8cqw; height: 1.8cqw; }
.app-b { display: grid; grid-template-columns: 17cqw 1fr; height: calc(100% - 9.2cqw); }
.app-l { border-right: 1px solid #e7e5e4; padding: 1.4cqw 1.2cqw; display: grid; gap: .8cqw; align-content: start; font-size: 1.55cqw; color: #44403c; }
.app-l span { padding: .7cqw 1cqw; border-radius: .6cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-l .on { background: #fdf1e8; color: #1c1917; font-weight: 600; }
.app-l i { display: block; height: 1.2cqw; margin: .6cqw 1cqw; border-radius: 1cqw; background: #ebe9e6; }
.app-d { background: #f5f5f4; padding: 2cqw; }
.mini { width: 26cqw; aspect-ratio: 1 / 1.414; margin: 0 auto; background: #fff; box-shadow: 0 .2cqw .8cqw rgba(28, 25, 23, .15); padding: 2.2cqw; }
.mini b { display: block; font-size: 1.7cqw; margin-bottom: .4cqw; }
.mini small { display: block; font-size: 1.1cqw; color: #b4490a; margin-bottom: 1.6cqw; }
.mini i { display: block; height: .9cqw; border-radius: 1cqw; background: #ebe9e6; margin-bottom: 1.1cqw; }
.mini i.m { width: 78%; } .mini i.s { width: 50%; }
.mini .box { height: 4cqw; margin-top: 2cqw; border: 1px solid #d6d3d1; border-radius: .4cqw; }

/* Windows print dialog. Positions are fixed so the pointer lands on them. */
.pdlg { position: absolute; left: 18cqw; top: 7cqw; width: 40cqw; height: 44cqw; z-index: 3; background: #fff; border-radius: 1.2cqw; box-shadow: 0 1cqw 4cqw rgba(28, 25, 23, .3), 0 0 0 1px rgba(28, 25, 23, .1); }
.pdlg > * { position: absolute; left: 3cqw; }
.pd-t { top: 2.4cqw; font-size: 3cqw; font-weight: 650; }
.pd-l { top: 8.8cqw; font-size: 1.6cqw; color: #6b6560; }
.pd-list { top: 12cqw; right: 3cqw; border: 1px solid #d6d3d1; border-radius: .8cqw; overflow: hidden; }
.pd-o { position: relative; height: 5cqw; display: flex; align-items: center; gap: 1cqw; padding: 0 1.4cqw; font-size: 1.75cqw; color: #44403c; border-top: 1px solid #e7e5e4; }
.pd-o:first-child { border-top: 0; }
.pd-o > * { position: relative; }
.pd-o svg { width: 2.2cqw; height: 2.2cqw; color: #6b6560; flex: none; }
.pd-o em { margin-left: auto; font-style: normal; font-size: 1.4cqw; font-weight: 600; color: #b4490a; }
.pd-o .hl { position: absolute; inset: 0; background: #fdf1e8; box-shadow: inset .4cqw 0 0 #e35f0e; }
.pd-x { top: 29.6cqw; font-size: 1.6cqw; color: #44403c; }
.pd-b { top: 37cqw; height: 4.5cqw; width: 9cqw; border-radius: .7cqw; font-size: 1.7cqw; font-weight: 600; display: flex; align-items: center; justify-content: center; border: 1px solid #d6d3d1; }
.pd-b.p { left: 17cqw; background: #141414; border-color: #141414; color: #fff; }
.pd-b.c { left: 27cqw; color: #1c1917; }

/* Signed documents folder (File Explorer). */
.exp { left: 7cqw; top: 4.5cqw; width: 64cqw; height: 47cqw; z-index: 2; }
.exp-a { margin: 1.2cqw 1.5cqw; padding: .8cqw 1.2cqw; border: 1px solid #e7e5e4; border-radius: .6cqw; font-size: 1.55cqw; color: #44403c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-h, .exp-r { display: grid; grid-template-columns: minmax(0, 1fr) 17cqw; gap: 1cqw; padding: .9cqw 1.5cqw; align-items: center; }
.exp-h { font-size: 1.45cqw; color: #6b6560; border-bottom: 1px solid #e7e5e4; }
.exp-r { font-size: 1.6cqw; color: #44403c; }
.exp-r span { display: flex; align-items: center; gap: .8cqw; min-width: 0; }
.exp-r span em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-r svg { width: 2cqw; height: 2cqw; flex: none; color: #b42318; }
.exp-r.new { background: #fdf1e8; color: #1c1917; font-weight: 600; box-shadow: inset .4cqw 0 0 #e35f0e; }

/* Windows notifications from the Signare tray app. */
.toast { position: absolute; right: 1.5cqw; bottom: 7cqw; width: 38cqw; z-index: 4; background: rgba(250, 250, 249, .97); border-radius: 1.2cqw; box-shadow: 0 .8cqw 3cqw rgba(28, 25, 23, .28), 0 0 0 1px rgba(28, 25, 23, .08); padding: 1.6cqw; display: flex; gap: 1.4cqw; align-items: flex-start; font-size: 1.6cqw; }
.toast img { width: 4cqw; height: 4cqw; border-radius: .9cqw; flex: none; }
.toast small { display: block; font-size: 1.35cqw; color: #6b6560; margin-bottom: .3cqw; }
.toast b { display: block; font-size: 1.85cqw; }
.toast span { display: block; color: #44403c; overflow-wrap: anywhere; }

/* Mouse pointer. Its tip is the top-left corner. Default position (a step
   shown on its own): on the dialog's Print button. */
.cur { position: absolute; left: 0; top: 0; width: 2.6cqw; z-index: 5; transform: translate(39.5cqw, 46.3cqw); filter: drop-shadow(0 .2cqw .3cqw rgba(0, 0, 0, .35)); }

/* ---------- tablet screen (cqw = tablet screen width) ---------- */
.tab-scr { position: relative; container-type: inline-size; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1cqw; background: #fafaf9; }
.ts { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ts-c { align-items: center; justify-content: center; text-align: center; padding: 8cqw; }
.ts-c img { width: 34cqw; margin-bottom: 9cqw; }
.ts-c .h4 { margin: 0 0 2.6cqw; font-size: 8cqw; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.ts-c p { margin: 0; font-size: 4cqw; color: #6b6560; max-width: 30ch; }
.conn { margin-top: 9cqw; display: flex; align-items: center; gap: 1.8cqw; padding: 1.3cqw 3.2cqw; border-radius: 99px; background: #fff; border: 1px solid #e7e5e4; font-size: 3.2cqw; color: #44403c; }
.conn i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #15803d; box-shadow: 0 0 0 .7cqw rgba(21, 128, 61, .15); }
.check { width: 19cqw; height: 19cqw; border-radius: 50%; background: #ecfdf3; color: #15803d; display: flex; align-items: center; justify-content: center; margin-bottom: 6cqw; box-shadow: 0 0 0 2.4cqw rgba(21, 128, 61, .06); }
.check svg { width: 9.5cqw; height: 9.5cqw; }

.pdfa { flex: 1; min-height: 0; background: #57534e; display: flex; align-items: center; justify-content: center; }
.sarea { background: #fff; border-top: 1px solid #e7e5e4; box-shadow: 0 -1.4cqw 4cqw rgba(28, 25, 23, .08); padding: 2.4cqw 3cqw 2.8cqw; }
.cq { font-size: 3.1cqw; font-weight: 700; text-align: center; margin-bottom: 1.6cqw; }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }
.cwrap { height: 8cqw; margin-bottom: 2cqw; }
.cbtns { display: flex; gap: 3cqw; justify-content: center; }
.cbtns span { position: relative; flex: 1; max-width: 36cqw; border-radius: 2cqw; font-size: 4.4cqw; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }
.cbtns .y { background: #15803d; }
.cbtns .n { background: #b42318; }
.cans { display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 3.3cqw; }
.cans b { color: #15803d; }
.cans span, .sctl .clr { background: #f5f5f4; border: 1px solid #e7e5e4; border-radius: 2cqw; padding: 1.4cqw 3cqw; font-size: 2.8cqw; font-weight: 700; }
.sctl { display: flex; justify-content: space-between; align-items: center; }
.sctl .clr { padding: 1.8cqw 4.4cqw; }
.subm span { position: relative; border-radius: 2cqw; padding: 1.8cqw 4.4cqw; font-size: 3cqw; font-weight: 700; text-align: center; }
.sub-off { background: #d6d3d1; color: #6b6560; }
.sub-on { background: #141414; color: #fff; }

/* Touch indicator (a fingertip). */
.fing { position: absolute; left: 50%; top: 50%; width: 7cqw; height: 7cqw; border-radius: 50%; background: rgba(28, 25, 23, .22); border: .5cqw solid rgba(255, 255, 255, .9); box-shadow: 0 .4cqw 1.2cqw rgba(0, 0, 0, .25); transform: translate(-50%, -50%); pointer-events: none; z-index: 3; }

/* ---------- the form (cqw = page width) ---------- */
.pg { position: relative; container-type: inline-size; width: 70cqw; aspect-ratio: 1 / 1.414; background: #fff; box-shadow: 0 .4cqw 1.2cqw rgba(0, 0, 0, .25), 0 2.4cqw 6cqw rgba(0, 0, 0, .25); overflow: hidden; }
.pg-in { position: absolute; inset: 0; padding: 7cqw; font-size: 3cqw; }
.pg .wm { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(-24deg); font-size: 17cqw; font-weight: 800; letter-spacing: .1em; color: rgba(180, 73, 10, .07); }
.pg .ph { font-size: 2.5cqw; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: #6b6560; }
.pg .h4 { margin: 1.2cqw 0 .6cqw; font-size: 6cqw; font-weight: 700; letter-spacing: -.02em; }
.pg .ps { font-size: 2.5cqw; color: #b4490a; margin-bottom: 4.4cqw; }
.pg .pf { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw 4cqw; margin-bottom: 4.4cqw; }
.pg .pf span { border-bottom: 1px solid #d6d3d1; padding-bottom: 1cqw; font-size: 2.3cqw; color: #6b6560; }
.pg .pf b { display: block; font-size: 3.1cqw; color: #1c1917; font-weight: 600; white-space: nowrap; }
.pg .pl { height: 1.5cqw; border-radius: 1cqw; background: #ebe9e6; margin-bottom: 2.2cqw; }
.pg .pl.m { width: 82%; } .pg .pl.s { width: 56%; }
.pg .pq { display: flex; align-items: center; gap: 3cqw; margin: 4cqw 0; }
.pg .pq p { flex: 1; margin: 0; font-size: 2.9cqw; line-height: 1.35; }
.cbx { width: 22cqw; height: 8.5cqw; flex: none; }
.cbx > *, .sgx > .bx { border-radius: .8cqw; display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 3cqw; }
.bx.todo { border: .5cqw dashed rgba(227, 95, 14, .85); background: rgba(227, 95, 14, .08); color: #5c4200; }
.bx.done { border: .5cqw solid rgba(21, 128, 61, .85); background: rgba(21, 128, 61, .1); color: #14532d; }
.pg .sl { font-size: 2.3cqw; color: #6b6560; margin: 5cqw 0 1.2cqw; }
.sgx { position: relative; height: 17cqw; }
.sgx svg { position: absolute; left: 4cqw; top: 1.5cqw; width: calc(100% - 8cqw); height: 14cqw; z-index: 2; }
.sigp { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg .pd { display: flex; justify-content: space-between; margin-top: 1.6cqw; font-size: 2.3cqw; color: #6b6560; }

/* ---------- controls + captions ---------- */
.dbar { height: 3px; margin: 12px 4px 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.dprog { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.dcap { display: grid; list-style: none; margin: 14px 4px 4px; padding: 0; }
.dcap li { grid-area: 1 / 1; display: flex; gap: 12px; align-items: flex-start; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.dcap li > b { flex: none; width: 28px; height: 28px; margin-top: -1px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* ---------- states ---------- */
/* A still frame of one step. */
.demo .st { opacity: 0; }
.demo.f1 .v1, .demo.f2 .v2, .demo.f3 .v3, .demo.f4 .v4 { opacity: 1; }
.demo.f3 .sigp { stroke-dashoffset: 0; }

/* The hero: the 20 s loop. */
.demo.play .an { animation-duration: 20s; animation-iteration-count: infinite; animation-timing-function: ease; animation-fill-mode: both; }
.demo.play .dprog { animation-name: k-prog; animation-timing-function: linear; }
.demo.play .pdlg { animation-name: k-pdlg; }
.demo.play .hl-on { animation-name: k-sel-on; }
.demo.play .hl-off { animation-name: k-sel-off; }
.demo.play .cur { animation-name: k-cur; }
.demo.play .t-sent { animation-name: k-sent; }
.demo.play .exp { animation-name: k-exp; }
.demo.play .exp-r.new { animation-name: k-new; }
.demo.play .t-signed { animation-name: k-signed; }
.demo.play .s-wait { animation-name: k-wait; }
.demo.play .s-sign { animation-name: k-sign; }
.demo.play .s-done { animation-name: k-done; }
.demo.play .sig-todo { animation-name: k-sig-todo; }
.demo.play .sig-done { animation-name: k-sig-done; }
.demo.play .sigp.a { animation-name: k-draw-a; }
.demo.play .sigp.b { animation-name: k-draw-b; }
.demo.play .c-todo { animation-name: k-c-todo; }
.demo.play .c-done { animation-name: k-c-done; }
.demo.play .f-sig { animation-name: k-f-sig; }
.demo.play .f-yes { animation-name: k-f-yes; }
.demo.play .f-sub { animation-name: k-f-sub; }
.demo.play .cbtns .y { animation-name: k-press-yes; }
.demo.play .cap-1 { animation-name: k-cap-1; }
.demo.play .cap-2 { animation-name: k-cap-2; }
.demo.play .cap-3 { animation-name: k-cap-3; }
.demo.play .cap-4 { animation-name: k-cap-4; }

/* Reduced motion: no loop (site.css stops every animation); the hero shows
   step 1 and the still frames further down show the others. */
@media (prefers-reduced-motion: reduce) {
  .demo.play .v1 { opacity: 1; }
  .demo.play .dprog { transform: scaleX(.25); }
}

/* ---------- the loop: 1 print 0-25 %, 2 tablet 25-50 %, 3 sign 50-75 %, 4 saved 75-100 % ---------- */
@keyframes k-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 1. Print: click Print in the app, choose Signare, click Print. */
@keyframes k-cur {
  0% { opacity: 0; transform: translate(36cqw, 32cqw); }
  2% { opacity: 1; transform: translate(36cqw, 32cqw); }
  6% { transform: translate(24cqw, 9.8cqw); }
  7% { transform: translate(24cqw, 9.8cqw) scale(.85); }
  8% { transform: translate(24cqw, 9.8cqw); }
  11% { transform: translate(33cqw, 26.5cqw); }
  12% { transform: translate(33cqw, 26.5cqw) scale(.85); }
  13% { transform: translate(33cqw, 26.5cqw); }
  16% { transform: translate(39.5cqw, 46.3cqw); }
  17% { transform: translate(39.5cqw, 46.3cqw) scale(.85); }
  18% { opacity: 1; transform: translate(39.5cqw, 46.3cqw); }
  21%, 100% { opacity: 0; transform: translate(39.5cqw, 46.3cqw); }
}
@keyframes k-pdlg { 0%, 7.5% { opacity: 0; transform: scale(.97); } 9%, 17.5% { opacity: 1; transform: none; } 19.5%, 100% { opacity: 0; transform: scale(.99); } }
@keyframes k-sel-on { 0%, 11.8% { opacity: 0; } 12.2%, 100% { opacity: 1; } }
@keyframes k-sel-off { 0%, 11.8% { opacity: 1; } 12.2%, 100% { opacity: 0; } }

/* 2. Sent to the tablet. */
@keyframes k-sent { 0%, 22.5% { opacity: 0; transform: translateY(1.5cqw); } 24.5%, 46% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: none; } }
@keyframes k-wait { 0%, 24.5% { opacity: 1; } 26.5%, 98% { opacity: 0; } 100% { opacity: 1; } }
@keyframes k-sign { 0%, 25% { opacity: 0; transform: translateY(4%); } 28%, 74% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; transform: none; } }

/* 3. Sign with a finger, answer Yes, Submit. */
@keyframes k-draw-a { 0%, 51% { stroke-dashoffset: 1; } 57%, 100% { stroke-dashoffset: 0; } }
@keyframes k-draw-b { 0%, 57% { stroke-dashoffset: 1; } 61%, 100% { stroke-dashoffset: 0; } }
@keyframes k-f-sig {
  0%, 50% { opacity: 0; left: 6%; top: 75%; }
  51% { opacity: 1; left: 6%; top: 75%; }
  52.5% { left: 12%; top: 18%; }
  54% { left: 16%; top: 80%; }
  55.5% { left: 26%; top: 45%; }
  57% { left: 42%; top: 55%; }
  58.5% { left: 58%; top: 40%; }
  60% { left: 76%; top: 52%; }
  61% { opacity: 1; left: 92%; top: 30%; }
  62.5%, 100% { opacity: 0; left: 92%; top: 30%; }
}
@keyframes k-sig-todo { 0%, 61% { opacity: 1; } 62.5%, 100% { opacity: 0; } }
@keyframes k-sig-done { 0%, 61% { opacity: 0; } 62.5%, 100% { opacity: 1; } }
@keyframes k-f-yes { 0%, 62.5% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } 64% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); } 65% { opacity: 1; transform: translate(-50%, -50%) scale(.9); } 66.5%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
@keyframes k-press-yes { 0%, 64.6% { transform: none; } 65.2% { transform: scale(.95); } 66%, 100% { transform: none; } }
@keyframes k-c-todo { 0%, 65.5% { opacity: 1; } 66.5%, 100% { opacity: 0; } }
@keyframes k-c-done { 0%, 65.5% { opacity: 0; } 66.5%, 100% { opacity: 1; } }
@keyframes k-f-sub { 0%, 68% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } 69.5% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); } 70.5% { opacity: 1; transform: translate(-50%, -50%) scale(.9); } 72%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }

/* 4. Thank you on the tablet; the signed PDF in the folder. */
@keyframes k-done { 0%, 75% { opacity: 0; } 77%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes k-exp { 0%, 75.5% { opacity: 0; transform: scale(.97); } 77.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes k-new { 0%, 79% { opacity: 0; } 80.5%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes k-signed { 0%, 79.5% { opacity: 0; transform: translateY(1.5cqw); } 81.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }

/* Captions follow the loop. */
@keyframes k-cap-1 { 0%, 23.5% { opacity: 1; } 25%, 98.5% { opacity: 0; } 100% { opacity: 1; } }
@keyframes k-cap-2 { 0%, 25% { opacity: 0; } 26.5%, 48.5% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes k-cap-3 { 0%, 50% { opacity: 0; } 51.5%, 73.5% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes k-cap-4 { 0%, 75% { opacity: 0; } 76.5%, 97% { opacity: 1; } 98.5%, 100% { opacity: 0; } }
