/* CSS-drawn illustrations for funnel pages (markup from lib/pages/visuals.js).
   One accent, hairlines, quiet motion. Every .vz fills its box; parents set the size. */

.vz { position: relative; width: 100%; height: 100%; min-height: 96px; overflow: hidden; border-radius: 10px; background: var(--surface); }
.vz span, .vz b, .vz i, .vz em { position: absolute; display: block; }
.vz b { background: #dcdcda; border-radius: 3px; height: 6px; }

/* components: a tiny UI kit with one card wearing a border beam */
.vz-components .btn { left: 8%; top: 16%; width: 30%; height: 16%; border-radius: 6px; background: var(--ink); }
.vz-components .toggle { left: 44%; top: 17%; width: 18%; height: 13%; border-radius: 999px; background: var(--accent); }
.vz-components .toggle i { right: 2px; top: 2px; bottom: 2px; width: calc(50% - 4px); border-radius: 999px; background: #fff; animation: vzToggle 3s ease-in-out infinite; }
@keyframes vzToggle { 0%, 40% { transform: none; } 60%, 100% { transform: translateX(calc(-100% - 0px)); } }
.vz-components .chip { left: 68%; top: 18%; width: 24%; height: 12%; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.vz-components .card { left: 8%; top: 42%; width: 52%; height: 46%; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.vz-components .card i { left: 12%; background: #e6e6e4; border-radius: 3px; height: 8%; }
.vz-components .card i:nth-child(1) { top: 22%; width: 60%; }
.vz-components .card i:nth-child(2) { top: 44%; width: 40%; }
.vz-components .input { left: 66%; top: 42%; width: 26%; height: 16%; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.vz .beam { overflow: hidden; }
.vz .beam::before { content: ''; position: absolute; inset: -60%; background: conic-gradient(from var(--vz-a, 0deg), transparent 0 80%, var(--accent) 92%, transparent 100%); animation: vzSpin 3.2s linear infinite; }
.vz .beam::after { content: ''; position: absolute; inset: 1px; border-radius: 7px; background: #fff; }
.vz .beam i { z-index: 1; }
@property --vz-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes vzSpin { to { --vz-a: 360deg; } }

/* motion: gooey blobs, a metal button, a beam */
.vz-motion .goo { left: 6%; top: 14%; width: 34%; height: 72%; filter: blur(0); }
.vz-motion .goo i { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .85; }
.vz-motion .goo i:nth-child(1) { left: 10%; top: 10%; animation: vzBlob 4s ease-in-out infinite; }
.vz-motion .goo i:nth-child(2) { left: 45%; top: 40%; animation: vzBlob 4s ease-in-out -1.3s infinite; }
.vz-motion .goo i:nth-child(3) { left: 20%; top: 58%; animation: vzBlob 4s ease-in-out -2.6s infinite; }
@keyframes vzBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(14%, -10%) scale(1.25); } }
.vz-motion .metal { left: 46%; top: 24%; width: 44%; height: 20%; border-radius: 8px; background: linear-gradient(180deg, #f6f6f5, #c9c9c7 55%, #ededec); box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, .12); }
.vz-motion .metal::after { content: ''; position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); background-size: 250% 100%; animation: vzShine 2.8s linear infinite; }
@keyframes vzShine { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.vz-motion .beam2 { left: 46%; top: 54%; width: 44%; height: 30%; border-radius: 8px; overflow: hidden; }
.vz-motion .beam2::before { content: ''; position: absolute; inset: -60%; background: conic-gradient(from var(--vz-a, 0deg), transparent 0 78%, var(--accent) 92%, transparent 100%); animation: vzSpin 3s linear infinite; }
.vz-motion .beam2 i { inset: 1px; border-radius: 7px; background: #fff; }

/* map: roads, a park, water, a pin */
.vz-map { background: #eef1ec; }
.vz-map .r { background: #fff; box-shadow: 0 0 0 1px #dfe3dc; }
.vz-map .r1 { left: -5%; top: 38%; width: 110%; height: 7%; transform: rotate(-6deg); }
.vz-map .r2 { left: 30%; top: -10%; width: 6%; height: 120%; transform: rotate(8deg); }
.vz-map .r3 { left: 66%; top: -10%; width: 5%; height: 120%; transform: rotate(-4deg); }
.vz-map .r4 { left: -5%; top: 74%; width: 110%; height: 5%; transform: rotate(3deg); }
.vz-map .park { left: 8%; top: 8%; width: 18%; height: 24%; border-radius: 4px; background: #d5e6cf; }
.vz-map .water { right: -6%; bottom: -8%; width: 30%; height: 34%; border-radius: 50%; background: #d3e2ee; }
.vz-map .pin { left: 50%; top: 40%; width: 18px; height: 18px; transform: translate(-50%, -100%); }
.vz-map .pin::before { content: ''; position: absolute; inset: 0; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.vz-map .pin i { left: 5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #fff; z-index: 1; }
.vz-map .pin::after { content: ''; position: absolute; left: 50%; top: 100%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: vzPulse 2.2s ease-out infinite; }
@keyframes vzPulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* records: three cards fanned */
.vz-records .c { width: 46%; height: 62%; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(17, 17, 17, .06); }
.vz-records .c i { left: 10%; top: 12%; width: 28%; height: 18%; border-radius: 4px; background: var(--accent-tint); border: 1px solid #ffd1b8; }
.vz-records .c b { left: 10%; }
.vz-records .c b:nth-child(2) { top: 44%; width: 66%; }
.vz-records .c b:nth-child(3) { top: 62%; width: 44%; }
.vz-records .c1 { left: 6%; top: 24%; transform: rotate(-6deg); }
.vz-records .c2 { left: 27%; top: 18%; z-index: 1; }
.vz-records .c3 { left: 48%; top: 24%; transform: rotate(6deg); }

/* files */
.vz-files .f { top: 22%; width: 18%; height: 56%; border-radius: 4px 10px 4px 4px; background: #fff; border: 1px solid var(--line); }
.vz-files .f::before { content: ''; position: absolute; right: -1px; top: -1px; width: 22%; height: 18%; background: var(--surface); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0 0 0 4px; }
.vz-files .f em { left: 0; right: 0; bottom: 10%; font: 500 9px/1 var(--font-mono); color: var(--accent); text-align: center; font-style: normal; }
.vz-files .f:nth-child(1) { left: 8%; } .vz-files .f:nth-child(2) { left: 30%; } .vz-files .f:nth-child(3) { left: 52%; } .vz-files .f:nth-child(4) { left: 74%; }

/* search: a bar and results shimmering in */
.vz-search .bar { left: 8%; top: 12%; width: 84%; height: 18%; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.vz-search .bar i { left: 5%; top: 30%; width: 34%; height: 40%; border-radius: 3px; background: #e2e2e0; animation: vzType 3s steps(8) infinite; }
@keyframes vzType { 0% { width: 6%; } 60%, 100% { width: 46%; } }
.vz-search .res { left: 8%; width: 84%; height: 14%; }
.vz-search .res b { left: 0; }
.vz-search .res b:nth-child(1) { top: 0; width: 55%; background: #cfcfcd; }
.vz-search .res b:nth-child(2) { top: 55%; width: 80%; height: 4px; }
.vz-search .res:nth-child(2) { top: 40%; } .vz-search .res:nth-child(3) { top: 58%; } .vz-search .res:nth-child(4) { top: 76%; }

/* approvals: a message card and Approve */
.vz-approvals .msg { left: 8%; top: 12%; width: 84%; height: 50%; border-radius: 8px; background: #fff; border-left: 3px solid var(--accent); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vz-approvals .msg b { left: 8%; width: 76%; }
.vz-approvals .msg b:nth-child(1) { top: 20%; } .vz-approvals .msg b:nth-child(2) { top: 45%; } .vz-approvals .msg b.short { top: 70%; width: 40%; }
.vz-approvals .acts { left: 8%; top: 70%; width: 84%; height: 18%; }
.vz-approvals .acts i { top: 0; height: 100%; width: 26%; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.vz-approvals .acts i.ok { left: 0; background: var(--ink); border-color: var(--ink); animation: vzPress 3s ease-in-out infinite; }
.vz-approvals .acts i:nth-child(2) { left: 30%; } .vz-approvals .acts i:nth-child(3) { left: 60%; }
@keyframes vzPress { 0%, 55%, 100% { transform: none; } 60% { transform: scale(.94); } 65%, 95% { background: #e9f7ef; border-color: #bfe8cf; } }

/* timeline */
.vz-timeline .t { left: 12%; width: 76%; height: 16%; }
.vz-timeline .t i { left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid #cfcfcd; background: #fff; }
.vz-timeline .t b { left: 22px; top: 50%; margin-top: -3px; width: 60%; }
.vz-timeline .t.done i { background: #1a9e5c; border-color: #1a9e5c; }
.vz-timeline .t.now i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.vz-timeline .t.now b { background: var(--ink); width: 70%; }
.vz-timeline .t:nth-child(1) { top: 10%; } .vz-timeline .t:nth-child(2) { top: 32%; } .vz-timeline .t:nth-child(3) { top: 54%; } .vz-timeline .t:nth-child(4) { top: 76%; }
.vz-timeline::before { content: ''; position: absolute; left: calc(12% + 4px); top: 20%; height: 62%; width: 2px; background: #e6e6e4; }

/* table */
.vz-table .row { left: 8%; width: 84%; height: 14%; border-bottom: 1px solid #ececeb; }
.vz-table .row b { top: 40%; }
.vz-table .row b:nth-child(1) { left: 0; width: 26%; } .vz-table .row b:nth-child(2) { left: 34%; width: 30%; }
.vz-table .row i { right: 0; top: 22%; width: 18%; height: 56%; border-radius: 999px; }
.vz-table .row i.g { background: #e9f7ef; border: 1px solid #bfe8cf; } .vz-table .row i.o { background: var(--accent-tint); border: 1px solid #ffd1b8; }
.vz-table .row.h b { height: 4px; background: #c9c9c7; }
.vz-table .row:nth-child(1) { top: 12%; } .vz-table .row:nth-child(2) { top: 30%; } .vz-table .row:nth-child(3) { top: 48%; } .vz-table .row:nth-child(4) { top: 66%; }

/* palette */
.vz-palette .sw { top: 14%; width: 18%; height: 34%; border-radius: 6px; }
.vz-palette .s1 { left: 8%; background: #e8dfd0; } .vz-palette .s2 { left: 29%; background: #b8a48b; } .vz-palette .s3 { left: 50%; background: #5b6b5a; } .vz-palette .s4 { left: 71%; background: #2c2c2a; }
.vz-palette .mat { top: 56%; width: 39%; height: 30%; border-radius: 6px; }
.vz-palette .m1 { left: 8%; background: repeating-linear-gradient(100deg, #b8865a 0 3px, #a87747 3px 5px, #c3946a 5px 11px); }
.vz-palette .m2 { left: 50%; background: linear-gradient(120deg, #f4f2ef 0 40%, #d6d2cc 42% 44%, #f4f2ef 46% 70%, #c9c4bd 72% 73%, #f4f2ef 75%); border: 1px solid #ddd; }

/* chart */
.vz-chart .b { bottom: 14%; width: 11%; height: var(--h); border-radius: 4px 4px 2px 2px; background: #d8d8d6; transform-origin: bottom; animation: vzGrow 1.2s cubic-bezier(.22, 1, .36, 1) both; }
.vz-chart .b.hot { background: var(--accent); }
.vz-chart .b:nth-child(1) { left: 8%; } .vz-chart .b:nth-child(2) { left: 23%; animation-delay: .1s; } .vz-chart .b:nth-child(3) { left: 38%; animation-delay: .2s; } .vz-chart .b:nth-child(4) { left: 53%; animation-delay: .3s; } .vz-chart .b:nth-child(5) { left: 68%; animation-delay: .4s; } .vz-chart .b:nth-child(6) { left: 83%; animation-delay: .5s; }
@keyframes vzGrow { from { transform: scaleY(0); } }

/* calendar */
.vz-calendar { padding: 0; }
.vz-calendar .d { width: 11%; height: 26%; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.vz-calendar .d.on { background: var(--accent-tint); border-color: #ffd1b8; }
.vz-calendar .d.hot { background: var(--accent); border-color: var(--accent); }
.vz-calendar .d:nth-child(-n+7) { top: 16%; } .vz-calendar .d:nth-child(n+8) { top: 56%; }
.vz-calendar .d:nth-child(7n+1) { left: 6%; } .vz-calendar .d:nth-child(7n+2) { left: 19%; } .vz-calendar .d:nth-child(7n+3) { left: 32%; } .vz-calendar .d:nth-child(7n+4) { left: 45%; } .vz-calendar .d:nth-child(7n+5) { left: 58%; } .vz-calendar .d:nth-child(7n+6) { left: 71%; } .vz-calendar .d:nth-child(7n) { left: 84%; }

/* photos: a contact sheet */
.vz-photos .p { width: 27%; height: 38%; border-radius: 4px; overflow: hidden; }
.vz-photos .p1 { left: 6%; top: 10%; background: linear-gradient(140deg, #d7c3ad, #8f7355); }
.vz-photos .p2 { left: 36.5%; top: 10%; background: linear-gradient(140deg, #b9c7c2, #58716a); }
.vz-photos .p3 { left: 67%; top: 10%; background: linear-gradient(140deg, #e3c9b8, #a3705a); }
.vz-photos .p4 { left: 6%; top: 52%; background: linear-gradient(140deg, #c9c4bd, #6c6560); }
.vz-photos .p5 { left: 36.5%; top: 52%; background: linear-gradient(140deg, #d9c9b6, #7d6a55); }
.vz-photos .p6 { left: 67%; top: 52%; background: linear-gradient(140deg, #aab7b1, #4f625b); }
.vz-photos em { left: 4px; top: 4px; font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; background: var(--accent); color: #fff; border-radius: 3px; padding: 2px 4px; font-style: normal; }
.vz-photos em.x { background: rgba(255, 255, 255, .92); color: #b32222; }

/* comparison: two columns, one changed row, one not established */
.vz-comparison .col { top: 12%; width: 40%; height: 76%; }
.vz-comparison .col:nth-child(1) { left: 8%; } .vz-comparison .col:nth-child(2) { left: 52%; }
.vz-comparison .col b { left: 0; width: 100%; }
.vz-comparison .col b:nth-child(1) { top: 0; height: 4px; background: #c9c9c7; }
.vz-comparison .col b:nth-child(2) { top: 26%; } .vz-comparison .col b:nth-child(3) { top: 50%; } .vz-comparison .col b:nth-child(4) { top: 74%; }
.vz-comparison .col b.hi { background: var(--accent); }
.vz-comparison .col b.ne { background: repeating-linear-gradient(90deg, #d8d8d6 0 4px, transparent 4px 7px); }

/* site: a page skeleton */
.vz-site .nav { left: 8%; top: 10%; width: 84%; height: 12%; }
.vz-site .nav i { left: 0; top: 20%; width: 10%; height: 60%; border-radius: 3px; background: var(--accent); }
.vz-site .nav b { top: 40%; width: 12%; height: 4px; }
.vz-site .nav b:nth-child(2) { left: 50%; } .vz-site .nav b:nth-child(3) { left: 66%; } .vz-site .nav b:nth-child(4) { left: 82%; }
.vz-site .hero { left: 8%; top: 28%; width: 84%; height: 34%; }
.vz-site .hero .h1 { left: 0; top: 0; width: 56%; height: 9px; background: var(--ink); }
.vz-site .hero .h2 { left: 0; top: 34%; width: 40%; height: 5px; }
.vz-site .hero .cta { left: 0; top: 62%; width: 22%; height: 30%; border-radius: 5px; background: var(--accent); }
.vz-site .cards { left: 8%; top: 70%; width: 84%; height: 20%; }
.vz-site .cards i { top: 0; width: 30%; height: 100%; border-radius: 5px; background: #fff; border: 1px solid var(--line); }
.vz-site .cards i:nth-child(2) { left: 35%; } .vz-site .cards i:nth-child(3) { left: 70%; }

/* checklist */
.vz-checklist .i { left: 12%; width: 76%; height: 16%; }
.vz-checklist .i i { left: 0; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-radius: 3px; border: 1px solid #cfcfcd; background: #fff; }
.vz-checklist .i.done i { background: var(--ink); border-color: var(--ink); }
.vz-checklist .i b { left: 22px; top: 50%; margin-top: -3px; width: 60%; }
.vz-checklist .i.done b { width: 44%; }
.vz-checklist .i:nth-child(1) { top: 10%; } .vz-checklist .i:nth-child(2) { top: 32%; } .vz-checklist .i:nth-child(3) { top: 54%; } .vz-checklist .i:nth-child(4) { top: 76%; }

/* shield */
.vz-shield .sh { left: 50%; top: 50%; width: 36%; aspect-ratio: 1 / 1.15; transform: translate(-50%, -50%); background: var(--accent-tint); border: 2px solid var(--accent); border-radius: 30% 30% 50% 50% / 20% 20% 60% 60%; }
.vz-shield .sh i { left: 50%; top: 45%; width: 30%; height: 16%; transform: translate(-50%, -50%) rotate(-45deg); border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); }
.vz-shield .lock { display: none; }

/* memory: chips of remembered facts */
.vz-memory .m { left: 10%; width: 80%; height: 15%; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.vz-memory .m b { left: 10px; top: 50%; margin-top: -3px; width: 56%; }
.vz-memory .m.on { background: var(--accent-tint); border-color: #ffd1b8; }
.vz-memory .m:nth-child(1) { top: 10%; width: 62%; } .vz-memory .m:nth-child(2) { top: 31%; width: 76%; } .vz-memory .m:nth-child(3) { top: 52%; width: 70%; } .vz-memory .m:nth-child(4) { top: 73%; width: 54%; }

@media (prefers-reduced-motion: reduce) {
  .vz *, .vz *::before, .vz *::after { animation: none !important; }
}
