/* Homepage hero stage: 8 industry mini demos that rotate and can be played with.
   Each industry has its own look. Loaded by /index.html, driven by /hero/hero-stage.js.
   Author: C.Perry */
.hs{position:relative;color:#12304A;font-size:13px;line-height:1.35;-webkit-tap-highlight-color:transparent}
.hs *{box-sizing:border-box}
.hs button{font:inherit;color:inherit;cursor:pointer}
.hs-card{--acc:#157A55;--accInk:#fff;--bodyBg:#F4F7F9;position:relative;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35);overflow:hidden;transition:box-shadow .3s}
.hs-bar{display:flex;align-items:center;gap:10px;padding:9px 12px;background:var(--acc);color:var(--accInk);transition:background .45s}
.hs-bar .dots{display:flex;gap:5px}
.hs-bar .dots i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);display:block}
.hs-bar .ico{width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.hs-bar .ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hs-bar .tt{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.hs-bar .tt small{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.hs-bar .tt b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-bar .try{margin-left:auto;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:#fff;color:var(--acc);padding:3px 8px;border-radius:99px;white-space:nowrap}
.hs-hint{display:flex;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:600;color:#3D4F60;background:#fff;border-bottom:1px solid #E4EAEF}
.hs-hint .tap{width:16px;height:16px;flex:none;border-radius:50%;background:var(--acc);box-shadow:0 0 0 4px color-mix(in srgb,var(--acc) 22%,transparent)}
.hs-slides{position:relative;height:318px;background:var(--bodyBg);transition:background .45s;overflow:hidden}
.hs-slide{position:absolute;inset:0;padding:12px;overflow:hidden}
.hs-slide[hidden]{display:none}
.hs-slide.in{animation:hsIn .45s ease both}
@keyframes hsIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
.hs-foot{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#fff;border-top:1px solid #E4EAEF;min-height:42px}
.hs-status{font-size:12px;font-weight:700;color:#3D4F60;flex:1;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}
.hs-status.ok{color:#157A55}
.hs-demo{font-size:12px;font-weight:800;color:var(--acc);text-decoration:none;white-space:nowrap;border:1.5px solid var(--acc);padding:5px 10px;border-radius:99px;transition:background .2s,color .2s}
.hs-demo:hover,.hs-demo:focus-visible{background:var(--acc);color:var(--accInk)}

/* industry picker under the card */
.hs-nav{display:flex;align-items:center;gap:8px;margin-top:14px}
.hs-pp{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff !important;display:grid;place-items:center}
.hs-pp svg{width:14px;height:14px;fill:currentColor}
.hs-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px;flex:1}
.hs-tabs::-webkit-scrollbar{display:none}
.hs-tab{position:relative;flex:none;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#C9D6E2 !important;border-radius:99px;padding:6px 11px 7px;font-size:12px !important;font-weight:700;overflow:hidden;white-space:nowrap}
.hs-tab:hover{background:rgba(255,255,255,.12);color:#fff !important}
.hs-tab[aria-current="true"]{background:#fff;color:#12304A !important;border-color:#fff}
.hs-tab .bar{position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--tabAcc,#2BC48A)}
.hs-more{display:block;margin-top:10px;font-size:13px;color:#C9D6E2;text-align:right}
.hs-more a{color:#4FD6A1;font-weight:700}

/* Fitz cheers when a mini demo goal is reached */
.hs-fitz{position:absolute;right:10px;bottom:0;display:flex;align-items:flex-end;gap:6px;pointer-events:none;z-index:6;transform:translateY(110%);transition:transform .45s cubic-bezier(.2,1.4,.4,1)}
.hs-fitz.up{transform:none}
.hs-fitz img{width:70px;height:auto;display:block}
.hs-fitz .say{position:relative;background:#fff;border:2px solid #12304A;border-radius:12px 12px 2px 12px;padding:6px 9px;font-size:12px;font-weight:700;color:#12304A;max-width:190px;margin-bottom:46px;box-shadow:0 6px 16px rgba(0,0,0,.18)}

/* ghost finger that shows visitors where to tap */
.hs-ghost{position:absolute;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(255,255,255,.55);border:2px solid #12304A;box-shadow:0 0 0 6px rgba(18,48,74,.15);pointer-events:none;z-index:7;opacity:0;transition:left .55s ease,top .55s ease,opacity .25s}
.hs-ghost.on{opacity:1}
.hs-ghost.press{animation:hsPress .35s ease}
@keyframes hsPress{50%{transform:scale(.7);box-shadow:0 0 0 14px rgba(18,48,74,.08)}}

/* shared bits */
.hs .row{display:flex;align-items:center;gap:8px}
.hs .sp{flex:1}
.hs .chip{font-size:10px;font-weight:800;letter-spacing:.03em;padding:2px 7px;border-radius:99px;white-space:nowrap}
.hs .stat{display:flex;gap:8px;margin-bottom:9px}
.hs .stat div{flex:1;background:#fff;border-radius:10px;padding:7px 9px;border:1px solid rgba(18,48,74,.1);min-width:0}
.hs .stat small{display:block;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#5B6B7A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs .stat b{font-size:17px;font-variant-numeric:tabular-nums}
.hs .pop{animation:hsPop .4s ease}
@keyframes hsPop{40%{transform:scale(1.12)}}

/* 1. Restaurant: kitchen rail */
.k-rail{background:linear-gradient(#9AA3AD,#6B747E);height:8px;border-radius:4px;margin:0 2px 0;box-shadow:inset 0 -2px 0 rgba(0,0,0,.25)}
.k-tix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:-2px;min-height:170px}
.k-t{position:relative;background:#FFFDF4;border:0;border-top:5px solid #E9E2C6;padding:8px 7px 10px;text-align:left;border-radius:0 0 4px 4px;box-shadow:0 4px 10px rgba(0,0,0,.35);transform-origin:top center;animation:kDrop .45s ease both;font-family:"Courier New",monospace;color:#2A2A2A !important;min-height:150px}
.k-t:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;background:linear-gradient(-45deg,transparent 4px,#FFFDF4 0) 0 0/8px 6px,linear-gradient(45deg,transparent 4px,#FFFDF4 0) 0 0/8px 6px}
.k-t b{display:block;font-size:12px;border-bottom:1px dashed #BBB;padding-bottom:3px;margin-bottom:4px;font-family:Inter,Arial,sans-serif}
.k-t ul{margin:0;padding:0;list-style:none;font-size:11px;line-height:1.35}
.k-t .age{position:absolute;right:6px;top:7px;font:800 11px Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;color:#157A55}
.k-t.warn{border-top-color:#F2B705}.k-t.warn .age{color:#A26F0C}
.k-t.late{border-top-color:#DC2626}.k-t.late .age{color:#B91C1C}
.k-t.bump{animation:kBump .45s ease forwards}
.k-t .s86{text-decoration:line-through;color:#B91C1C}
@keyframes kDrop{from{transform:rotate(-6deg) translateY(-20px);opacity:0}to{transform:none;opacity:1}}
@keyframes kBump{to{transform:translateY(-30px) rotate(4deg);opacity:0}}
.k-86{display:flex;align-items:center;gap:6px;margin-top:14px;flex-wrap:wrap}
.k-86 span{font:800 11px Inter,Arial,sans-serif;color:#FCA5A5;letter-spacing:.06em}
.k-86 button{border:1px solid #4B5563;background:#2A3038;color:#E5E7EB !important;border-radius:6px;padding:4px 8px;font-size:11px !important;font-weight:700}
.k-86 button[aria-pressed="true"]{background:#B91C1C;border-color:#B91C1C;color:#fff !important;text-decoration:line-through}
.k-top{display:flex;gap:14px;color:#D1D5DB;font-size:11px;font-weight:700;margin-bottom:8px}
.k-top b{color:#fff;font-size:15px;font-variant-numeric:tabular-nums}

/* 2. Hotel: room rack */
.h-wrap{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:10px}
.h-fl{display:flex;align-items:center;gap:5px;margin-bottom:6px}
.h-fl small{width:16px;font-size:10px;font-weight:800;color:#5B6B7A}
.h-r{flex:1;min-width:0;border:0;border-radius:8px;padding:5px 2px 4px;font-size:11px !important;font-weight:800;text-align:center;line-height:1.1;transition:background .25s,transform .15s}
.h-r i{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:8.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;opacity:.9;margin-top:2px}
.h-r:active{transform:scale(.94)}
.h-r.dirty{background:#FBE4E2;color:#A3302A !important;box-shadow:inset 0 0 0 1.5px #E8A39D}
.h-r.clean{background:#FFF3D6;color:#8A5A00 !important;box-shadow:inset 0 0 0 1.5px #EBC36B}
.h-r.ready{background:#DDF5E9;color:#116A48 !important;box-shadow:inset 0 0 0 1.5px #7FD3AE}
.h-r.occ{background:#DCE6F2;color:#2B4A6B !important;cursor:default}
.h-r.got{background:#1E5A8A;color:#fff !important}
.h-arr{background:#fff;border-radius:10px;border:1px solid #D7E1EC;padding:8px}
.h-arr h4{margin:0 0 6px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#1E5A8A}
.h-g{padding:5px 0;border-top:1px dashed #D7E1EC;font-size:11px}
.h-g:first-of-type{border-top:0}
.h-g b{display:block}
.h-g span{color:#5B6B7A;font-size:10px}
.h-g.done span{color:#116A48;font-weight:800}
.h-key{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;font-size:10px;color:#5B6B7A;font-weight:700}
.h-key i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:3px;vertical-align:-1px}

/* 3. Salon: day book */
.s-book{display:grid;grid-template-columns:34px repeat(3,minmax(0,1fr));gap:0 6px;position:relative}
.s-h{font-size:11px;font-weight:800;text-align:center;color:#831843;padding-bottom:5px;display:flex;align-items:center;justify-content:center;gap:5px}
.s-h i{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;font-style:normal;font-size:10px;color:#fff}
.s-tm{font-size:10px;color:#9D6B80;font-weight:700;height:31px;padding-top:1px}
.s-slot{height:28px;margin-bottom:3px;border-radius:7px;border:1.5px dashed #F0C2D3;background:transparent;font-size:10px !important;font-weight:700;color:#C26A8E !important;padding:0 6px;text-align:left}
.s-slot:hover{background:#FDE8F0}
.s-appt{height:28px;margin-bottom:3px;border-radius:7px;padding:3px 7px;font-size:10.5px;font-weight:700;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1}
.s-appt small{display:block;font-weight:600;opacity:.9;font-size:9.5px}
.s-appt.tall{height:59px}
.s-appt.new{animation:hsPop .5s ease;outline:2px solid #fff;outline-offset:-3px}
.s-walk{display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;border:1.5px solid #F9A8C6;padding:6px 9px;margin-bottom:8px;font-size:11.5px}
.s-walk .av{width:26px;height:26px;border-radius:50%;background:#FBCFE0;display:grid;place-items:center;font-weight:800;color:#831843;flex:none}
.s-walk b{color:#831843}

/* 4. HVAC: dispatch map */
.v-map{position:relative;border-radius:10px;overflow:hidden;background:#0B2A44;height:190px}
.v-map svg{position:absolute;inset:0;width:100%;height:100%}
.v-pin{position:absolute;transform:translate(-50%,-100%);border:0;background:none;padding:0;width:34px;height:42px}
.v-pin .p{display:block;width:26px;height:26px;margin:0 auto;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#EF4444;box-shadow:0 0 0 0 rgba(239,68,68,.6);animation:vPulse 1.6s infinite}
.v-pin .p:after{content:"";position:absolute;left:8px;top:8px;width:10px;height:10px;border-radius:50%;background:#fff}
.v-pin.taken .p{background:#22C55E;animation:none}
.v-pin .lb{position:absolute;left:50%;top:-16px;transform:translateX(-50%);background:#fff;color:#0B2A44;font-size:9.5px;font-weight:800;padding:1px 5px;border-radius:5px;white-space:nowrap}
@keyframes vPulse{70%{box-shadow:0 0 0 12px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
.v-truck{position:absolute;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:9px;background:#38BDF8;color:#0B2A44;font-weight:800;font-size:11px;display:grid;place-items:center;border:2px solid #fff;transition:left 1.6s ease-in-out,top 1.6s ease-in-out;z-index:2}
.v-truck.busy{background:#FBBF24}
.v-jobs{margin-top:8px;display:grid;gap:5px}
.v-job{display:flex;align-items:center;gap:8px;background:#fff;border-radius:8px;padding:5px 9px;font-size:11.5px;border:1px solid #CFE3F3}
.v-job .chip{background:#FEE2E2;color:#B91C1C}
.v-job.on .chip{background:#DCFCE7;color:#166534}

/* 5. Church: Sunday roster */
.c-sun{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.c-sun .d{background:#0F766E;color:#fff;border-radius:10px;padding:4px 9px;text-align:center;line-height:1.05}
.c-sun .d b{display:block;font-size:17px}
.c-sun .d small{font-size:9px;font-weight:800;letter-spacing:.08em}
.c-sun p{margin:0;font-size:12px;color:#5C4A2E}
.c-team{display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;padding:6px 9px;margin-bottom:6px;border:1px solid #EADFC8}
.c-team .nm{width:82px;font-weight:800;font-size:12px;color:#134E4A}
.c-team .nm small{display:block;font-weight:600;color:#8A7550;font-size:10px}
.c-seat{width:30px;height:30px;border-radius:50%;border:2px dashed #C9B68C;background:#FFFBF2;color:#B39A68 !important;font-size:15px !important;font-weight:800;display:grid;place-items:center;padding:0}
.c-seat.f{border:2px solid #fff;color:#fff !important;font-size:11px !important;box-shadow:0 0 0 1.5px #0F766E;cursor:default}
.c-seat.new{animation:hsPop .45s ease}
.c-bar{height:6px;border-radius:3px;background:#EADFC8;overflow:hidden;margin-left:auto;width:60px}
.c-bar i{display:block;height:100%;background:#0F766E;transition:width .4s}

/* 6. Gym: check in kiosk */
.g-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:10px;height:100%}
.g-pad{background:#171717;border-radius:12px;padding:9px;display:flex;flex-direction:column;gap:6px}
.g-scr{background:#0A0A0A;border:1px solid #333;border-radius:8px;height:38px;display:flex;align-items:center;justify-content:center;gap:9px;font:800 20px/1 "Courier New",monospace;color:#F87171;letter-spacing:.1em}
.g-scr i{width:14px;border-bottom:2px solid #555;height:20px;display:inline-block;font-style:normal;text-align:center}
.g-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;flex:1}
.g-k{border:0;border-radius:8px;background:#262626;color:#F5F5F5 !important;font-size:15px !important;font-weight:800;min-height:30px}
.g-k:active{background:#DC2626}
.g-k.ok{background:#DC2626}
.g-side{display:flex;flex-direction:column;gap:7px;min-width:0}
.g-card{background:#fff;border-radius:12px;padding:9px;border:1px solid #F1D5D5;min-height:104px;position:relative;overflow:hidden}
.g-card.hit{animation:hsPop .45s ease}
.g-card h5{margin:0 0 2px;font-size:14px}
.g-card p{margin:0;font-size:11px;color:#525252}
.g-card .streak{display:inline-flex;align-items:center;gap:4px;margin-top:6px;background:#FEE2E2;color:#B91C1C;font-weight:800;font-size:11px;padding:2px 8px;border-radius:99px}
.g-card.due{border-color:#F2B705;background:#FFFBEB}
.g-card.due .streak{background:#FEF3C7;color:#92400E}
.g-try{font-size:10.5px;color:#737373;font-weight:600}
.g-try b{color:#B91C1C}
.g-cls{background:#fff;border-radius:10px;padding:7px 9px;border:1px solid #F1D5D5;font-size:11px}
.g-cls .meter{height:6px;background:#F5F5F5;border-radius:3px;margin-top:5px;overflow:hidden}
.g-cls .meter i{display:block;height:100%;background:#DC2626;transition:width .4s}

/* 7. Corner store: shelf count */
.r-shelf{background:#fff;border-radius:10px;border:1px solid #EBDDB8;overflow:hidden}
.r-it{display:flex;align-items:center;gap:8px;padding:6px 9px;border-bottom:1px solid #F3EAD3;font-size:11.5px}
.r-it:last-child{border-bottom:0}
.r-it .sw{width:24px;height:24px;border-radius:6px;flex:none}
.r-it .nm{flex:1;min-width:0}
.r-it .nm b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r-it .nm small{color:#8A7550;font-size:10px}
.r-q{display:flex;align-items:center;gap:4px}
.r-q button{width:24px;height:24px;border-radius:7px;border:1px solid #D9C48E;background:#FFF8E5;font-weight:800;padding:0;color:#854D0E !important}
.r-q b{width:24px;text-align:center;font-variant-numeric:tabular-nums}
.r-it .chip{min-width:64px;text-align:center}
.r-it .chip.low{background:#FEF3C7;color:#92400E}
.r-it .chip.ok{background:#DCFCE7;color:#166534}
.r-ord{display:flex;align-items:center;gap:8px;margin-top:8px;background:#422006;color:#FEF3C7;border-radius:10px;padding:7px 10px;font-size:12px}
.r-ord b{color:#fff}
.r-ord button{margin-left:auto;border:0;border-radius:8px;background:#FACC15;color:#422006 !important;font-weight:800;font-size:11.5px !important;padding:6px 10px}
.r-ord button[disabled]{background:#A3E635;cursor:default}

/* 8. Cleaning: job card */
.cl-job{display:flex;align-items:center;gap:9px;background:#fff;border-radius:10px;padding:7px 10px;border:1px solid #BFEAF3;margin-bottom:8px}
.cl-job .hm{width:34px;height:34px;border-radius:9px;background:#CFFAFE;display:grid;place-items:center;flex:none}
.cl-job .hm svg{width:20px;height:20px;fill:none;stroke:#0E7490;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cl-job b{display:block;font-size:12.5px}
.cl-job small{color:#3F6D78;font-size:10.5px}
.cl-rooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.cl-rm{position:relative;border:1.5px solid #BFEAF3;background:#fff;border-radius:10px;padding:5px 6px;font-size:11px !important;font-weight:700;color:#155E75 !important;text-align:center;overflow:hidden}
.cl-rm svg{display:block;margin:0 auto 2px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cl-rm.on{background:#0891B2;border-color:#0891B2;color:#fff !important}
.cl-rm.on:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.7) 0 2px,transparent 3px),radial-gradient(circle at 75% 25%,rgba(255,255,255,.8) 0 1.5px,transparent 2.5px),radial-gradient(circle at 60% 75%,rgba(255,255,255,.6) 0 2px,transparent 3px);animation:clSpark .6s ease forwards}
@keyframes clSpark{from{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(1.3)}}
.cl-prog{height:7px;border-radius:4px;background:#CFFAFE;margin:8px 0 6px;overflow:hidden}
.cl-prog i{display:block;height:100%;background:linear-gradient(90deg,#06B6D4,#0891B2);transition:width .35s}
.cl-send{width:100%;border:0;border-radius:9px;background:#0E7490;color:#fff !important;font-weight:800;font-size:12px !important;padding:8px}
.cl-send[disabled]{background:#A5D8E3;cursor:default}
.cl-text{display:none;margin-top:7px;background:#fff;border-radius:12px 12px 12px 3px;padding:7px 9px;font-size:11px;border:1px solid #BFEAF3;animation:hsIn .4s ease both}
.cl-text.on{display:block}
.cl-ph{display:flex;gap:5px;margin-top:5px}
.cl-ph i{width:38px;height:28px;border-radius:5px;display:block}

@media (max-width:900px){
  .hs{margin-top:8px}
  .hs-slides{height:338px}
  .hs-more{text-align:left}
}
@media (max-width:420px){
  .hs-slide{padding:10px}
  .k-tix{grid-template-columns:repeat(3,minmax(0,1fr))}
  .k-t:nth-child(n+4){display:none}
  .h-wrap{grid-template-columns:minmax(0,1fr) 104px;gap:7px}
  .c-team .nm{width:70px}
  .c-bar{display:none}
  .hs-fitz img{width:58px}
}
@media (prefers-reduced-motion:reduce){
  .hs *,.hs *:before,.hs *:after{animation:none !important;transition:none !important}
}
