/* The homepage hero on desktop: the product itself, with a pointer running
   one phishing campaign from start to finish. It replaces the screenshot
   carousel from 1040px, where the hero has a second column; below that the
   carousel stays, because this much moving interface does not read on a
   phone.

   The window is drawn at 780px wide and js/hero-art.js scales it down to
   the column (data-fit), so it is the same picture at every desktop width.
   hero-art.js also steps it (s1, s2 ...), moves the pointer to whatever is
   marked data-point for the step, counts figures and types the subject.
   The shared scene base (.ha, .ha-chip, .ha-swap, the loop's fade) is in
   org.css.

   The story, about a minute:
   s1  overview: the score rises; fake e-signature emails are trending
   s2  Simulations · s3 New simulation · s4 From the news (trending lures)
   s5  picks "Fake e-signature requests"
   s6  CyberWatch AI works through its steps · s7 the draft, with its tells
   s8  Send to 40 people · s9 approved, delivered count runs to 40
   s10 Maya's inbox: it arrives · s11 she opens it · s12 she clicks Report
   s13 "Well spotted": XP, streak, resilience
   s14 Daniel clicked: the link opens a lesson, not a fake sign-in
   s15 back in the app: live results and who did what
   s16 Training: lessons assigned to those who clicked · s17 done
   s18 Alerts: a real reported email with the AI's verdict · s19 Mark phishing
   s20 Reports: the score is up · s21 Download board report

   Which screen shows is a range of steps: `.sA:not(.sB)` is "from A until
   B". The ranges for the views, the sidebar, the address bar, the
   chapters and the captions all follow the list above. */

@media(min-width:1040px){
  .hero2-shot .shotdeck,.hero2-shot .deck-ui{display:none}
}
.ha-dash{max-width:780px;width:100%}
.hd-fit{position:relative;width:100%}
.hd-fit>.hd-win{position:absolute;left:0;top:0;width:780px;transform-origin:0 0}

/* the window */
.hd-win{border-radius:14px;overflow:hidden;background:#0f1117;border:1px solid rgba(255,255,255,.08);
  box-shadow:0 40px 80px -30px rgba(2,8,36,.85),0 1px 0 rgba(255,255,255,.04) inset}
.hd-bar{display:flex;align-items:center;gap:12px;height:34px;padding:0 12px;background:#0b0d13;border-bottom:1px solid var(--ha-line)}
.hd-dots{display:flex;gap:5px}
.hd-dots i{width:9px;height:9px;border-radius:50%;background:#2c3242}
.hd-dots i:nth-child(1){background:#ff5f57}.hd-dots i:nth-child(2){background:#febc2e}.hd-dots i:nth-child(3){background:#28c840}
.hd-url{flex:1;max-width:280px;margin:0 auto;height:22px;border-radius:6px;background:#161a24;color:var(--ha-dim);font-size:10.5px;
  display:flex;align-items:center;justify-content:center;gap:5px}
.hd-url svg{color:var(--ha-green)}
.hd-urls{display:grid}
.hd-urls>*{grid-area:1/1;transition:opacity .3s}
.hd-u2,.hd-u3,.ha-dash.s10:not(.s15) .hd-u1{opacity:0}
.ha-dash.s10:not(.s14) .hd-u2,.ha-dash.s14:not(.s15) .hd-u3{opacity:1}
.hd-body{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);height:400px}

/* sidebar */
.hd-side{background:#13161f;border-right:1px solid var(--ha-line);padding:12px 8px;display:flex;flex-direction:column;gap:2px}
.hd-brand{font-family:'Sora',sans-serif;font-weight:800;font-size:12.5px;padding:2px 8px 10px;letter-spacing:-.3px}
.hd-brand em{font-style:normal;color:var(--ha-red)}
.hd-org{display:flex;align-items:center;gap:7px;padding:7px 8px;margin-bottom:8px;border-radius:9px;background:#1b1f2a;border:1px solid var(--ha-line)}
.hd-org .ha-ava{width:22px;height:22px;font-size:9px;border-radius:6px}
.hd-org b{display:block;font-size:10.5px}
.hd-org span{display:block;font-size:9.5px;color:var(--ha-dim)}
.hd-nav{display:flex;align-items:center;gap:8px;height:30px;padding:0 9px;border-radius:8px;font-size:11.5px;font-weight:500;color:var(--ha-mut);
  transition:background .3s,color .3s}
.hd-nav svg{flex-shrink:0;opacity:.85;transition:color .3s}
.hd-badge{margin-left:auto;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--ha-red);color:#fff;font-size:9.5px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;transition:opacity .3s,transform .3s}
.ha-dash.s19 .hd-badge{opacity:0;transform:scale(.5)}
.ha-dash:not(.s2) .hd-n1,.ha-dash.s2:not(.s16) .hd-n2,.ha-dash.s16:not(.s18) .hd-n3,
.ha-dash.s18:not(.s20) .hd-n4,.ha-dash.s20 .hd-n5{background:rgba(139,157,255,.13);color:var(--ha-text)}
.ha-dash:not(.s2) .hd-n1 svg,.ha-dash.s2:not(.s16) .hd-n2 svg,.ha-dash.s16:not(.s18) .hd-n3 svg,
.ha-dash.s18:not(.s20) .hd-n4 svg,.ha-dash.s20 .hd-n5 svg{color:var(--ha-blue)}

/* the views, stacked; one shows at a time. A fade, not a slide: the pointer
   measures its target the moment a view appears, and a view still sliding
   in would put the button somewhere else. */
.hd-main{position:relative;min-width:0;overflow:hidden}
.hd-v{position:absolute;inset:0;padding:16px 18px;opacity:0;pointer-events:none;transition:opacity .35s}
.ha-dash:not(.s2) .hd-v1,.ha-dash.s2:not(.s10) .hd-v2,.ha-dash.s15:not(.s16) .hd-v2,.ha-dash.s16:not(.s18) .hd-v3,
.ha-dash.s18:not(.s20) .hd-v4,.ha-dash.s20 .hd-v5{opacity:1;transition-delay:.12s}
.hd-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.hd-h{font-family:'Sora',sans-serif;font-size:16px;font-weight:700;letter-spacing:-.4px}
.hd-sub{font-size:10.5px;color:var(--ha-mut);margin-top:2px}
.hd-live{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:11px;border:1px solid var(--ha-line);color:var(--ha-mut);font-size:10px;font-weight:500;white-space:nowrap}
.hd-live i{width:6px;height:6px;border-radius:50%;background:var(--ha-green)}
.hd-card{background:#1b1f2a;border:1px solid var(--ha-line);border-radius:11px;padding:11px 12px}
.hd-card h4{font-size:11.5px;font-weight:600;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.hd-card h4>span:not(.hd-live){font-weight:500;color:var(--ha-dim);font-size:10px}
.hd-btn{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 11px;border-radius:7px;font-size:10.5px;font-weight:700;white-space:nowrap;
  background:var(--ha-blue);color:#0b0d13}
.hd-btn-r{background:#fb7185;color:#1a0b0e}
.hd-row{display:flex;align-items:center;gap:9px;padding:7px 0;border-top:1px solid var(--ha-line);font-size:11px}
.hd-row:first-of-type{border-top:none}
.hd-row .ha-ava{width:20px;height:20px;font-size:8.5px;border-radius:6px}
.hd-row .ha-m b{font-size:11px}
.hd-row .ha-m span{font-size:10px}
.hd-num{font-variant-numeric:tabular-nums}
.hd-bar2{display:block;height:6px;border-radius:4px;background:rgba(255,255,255,.07);overflow:hidden}
.hd-bar2 i{display:block;height:100%;border-radius:4px;background:var(--c)}
/* numbered markers: what gives an email away */
.hd-mk{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:15px;height:15px;border-radius:50%;
  background:var(--ha-amber);color:#1a1405;font-size:9px;font-weight:800;font-style:normal;box-shadow:0 0 0 3px rgba(251,191,36,.22)}

/* overview */
.hd-alert{display:flex;align-items:center;gap:10px;padding:8px 11px;margin-bottom:10px;border-radius:10px;border:1px solid rgba(248,113,113,.5);
  background:rgba(248,113,113,.06);font-size:11px;opacity:0;transform:translateY(-4px);transition:opacity .4s .5s,transform .45s var(--ha-ease) .5s}
.hd-alert svg{flex-shrink:0;color:var(--ha-red)}
.hd-alert b{display:block}
.hd-alert span{color:var(--ha-mut);font-size:10px}
.ha-dash.s1 .hd-alert{opacity:1;transform:none}
.hd-ov{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px}
.hd-score{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.hd-ring{position:relative;width:88px;height:88px}
.hd-ring svg{display:block;transform:rotate(-90deg)}
.hd-arc{stroke:var(--ha-amber);stroke-dashoffset:83.3;transition:stroke-dashoffset 1.3s var(--ha-ease),stroke .5s}
.ha-dash.s1 .hd-arc{stroke:var(--ha-green);stroke-dashoffset:55.5}
.hd-ring b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:'Sora',sans-serif;font-size:22px;font-weight:700;letter-spacing:-1px}
.hd-score small{display:block;font-size:10px;color:var(--ha-mut);margin-top:5px}
.hd-score .ha-chip{margin-top:5px;height:18px;font-size:9.5px;opacity:0;transition:opacity .3s 1s}
.ha-dash.s1 .hd-score .ha-chip{opacity:1}
.hd-dept{display:grid;grid-template-columns:70px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:6px 6px;margin:0 -6px;border-radius:7px;font-size:10.5px}
.hd-dept b{text-align:right;color:var(--c)}

/* simulations */
.hd-table{width:100%;border-collapse:collapse;font-size:10.5px}
.hd-table th{text-align:left;font-size:9px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:var(--ha-dim);padding:0 6px 7px}
.hd-table td{padding:8px 6px;border-top:1px solid var(--ha-line);vertical-align:middle}
.hd-table td:first-child b{display:flex;align-items:center;gap:5px;font-size:11px}
.hd-table td:first-child>span{display:block;font-size:9.5px;color:var(--ha-dim);margin-top:1px}
.hd-tag{display:inline-flex;align-items:center;height:15px;padding:0 5px;border-radius:4px;font-size:8.5px;font-weight:700;color:var(--ha-blue);
  border:1px solid currentColor;background:rgba(139,157,255,.08)}
.hd-new{display:none}
.ha-dash.s9 .hd-new{display:table-row}
.ha-dash.s9 .hd-new td{animation:hdRow 1.6s ease-out}
@keyframes hdRow{0%{background:rgba(139,157,255,.2)}100%{background:transparent}}
.ha-dash.s15 .hd-oldrow{display:none}
.hd-st{display:inline-flex;align-items:center;gap:5px;font-weight:600}
.hd-st i{width:6px;height:6px;border-radius:50%;background:currentColor}
.hd-new .ha-swap{justify-items:start}
.hd-new .ha-swap>:last-child{opacity:0}
.ha-dash.s15 .hd-new .ha-swap>:first-child{opacity:0}
.ha-dash.s15 .hd-new .ha-swap>:last-child{opacity:1}
.hd-deliv{width:54px;margin-top:4px}
.hd-deliv i{width:0;transition:width 2.2s var(--ha-ease)}
.ha-dash.s9 .hd-deliv i{width:100%}
/* this campaign's results */
.hd-res{display:none;grid-template-columns:200px minmax(0,1fr);gap:10px;margin-top:10px}
.ha-dash.s15 .hd-res{display:grid}
.hd-first small{display:block;font-size:10px;color:var(--ha-mut)}
.hd-first>b{display:block;font-family:'Sora',sans-serif;font-size:26px;font-weight:700;letter-spacing:-1px;color:var(--ha-green);margin-top:2px}
.hd-first>span{display:block;font-size:10px;color:var(--ha-mut);margin-bottom:10px}
.hd-funnel div{display:grid;grid-template-columns:54px minmax(0,1fr) 30px;align-items:center;gap:7px;font-size:10px;color:var(--ha-mut);padding:3px 0}
.hd-funnel em{font-style:normal;text-align:right;color:var(--ha-text);font-weight:600}
.hd-funnel .hd-bar2 i{width:0;transition:width 1.2s var(--ha-ease) .4s}
.ha-dash.s15 .hd-f1 i{width:78%}
.ha-dash.s15 .hd-f2 i{width:15%}
.ha-dash.s15 .hd-f3 i{width:55%}
.hd-feed h4{margin-bottom:4px}
.hd-ev{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid var(--ha-line);font-size:10.5px;color:var(--ha-mut);
  opacity:0;transform:translateX(-6px);transition:opacity .35s,transform .45s var(--ha-ease)}
.hd-ev:first-of-type{border-top:none}
.hd-ev b{color:var(--ha-text);font-weight:600}
.hd-ev>span:nth-child(2){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hd-ev em{font-style:normal;font-size:9.5px;color:var(--ha-dim)}
.hd-dot{width:7px;height:7px;border-radius:50%;background:var(--c);flex-shrink:0}
.ha-dash.s15 .hd-ev{opacity:1;transform:none}
.ha-dash.s15 .hd-e1{transition-delay:.5s}
.ha-dash.s15 .hd-e2{transition-delay:1.2s}
.ha-dash.s15 .hd-e3{transition-delay:1.9s}
.ha-dash.s15 .hd-e4{transition-delay:2.6s}
.ha-dash.s15 .hd-e5{transition-delay:3.3s}

/* the New simulation dialog */
.hd-modal{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;background:rgba(5,7,12,.62);
  opacity:0;transition:opacity .3s}
.ha-dash.s3:not(.s9) .hd-modal{opacity:1}
.hd-dlg{width:720px;height:376px;display:flex;flex-direction:column;background:#161a24;border:1px solid #2a3142;border-radius:13px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.8);padding:14px 16px 12px}
.hd-dlg-h b{display:block;font-family:'Sora',sans-serif;font-size:14px;font-weight:700;letter-spacing:-.3px}
.hd-dlg-h span{display:block;font-size:10.5px;color:var(--ha-mut);margin-top:2px}
.hd-tabs{display:flex;gap:4px;margin:10px 0;padding:3px;border-radius:9px;background:#0f1218;border:1px solid var(--ha-line);align-self:flex-start}
.hd-tab{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 11px;border-radius:6px;font-size:10.5px;font-weight:600;color:var(--ha-mut);
  transition:background .25s,color .25s}
.ha-dash.s3:not(.s4) .hd-tab1,.ha-dash.s4 .hd-tab3{background:#262d3d;color:var(--ha-text)}
.ha-dash.s4 .hd-tab3 svg{color:var(--ha-blue)}
.hd-panes{position:relative;flex:1;min-height:0}
.hd-pane{position:absolute;inset:0;opacity:0;transition:opacity .3s}
.ha-dash.s3:not(.s4) .hd-p1,.ha-dash.s4:not(.s6) .hd-p2,.ha-dash.s6 .hd-p3{opacity:1;transition-delay:.1s}
.hd-tpls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hd-tpls span{height:54px;display:flex;align-items:flex-end;padding:8px 10px;border-radius:9px;border:1px solid var(--ha-line);background:#1b1f2a;
  font-size:10.5px;font-weight:600;color:var(--ha-mut)}
.hd-lbl{display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:var(--ha-dim);margin-bottom:7px}
.hd-lbl em{font-style:normal;font-weight:500;letter-spacing:0;text-transform:none;font-size:9.5px}
.hd-news{display:flex;align-items:center;gap:11px;padding:10px 12px;margin-bottom:7px;border-radius:10px;border:1px solid var(--ha-line);background:#1b1f2a;
  transition:border-color .3s,background .3s,box-shadow .3s}
.hd-news .ha-m b{display:flex;align-items:center;gap:7px;font-size:11.5px}
.hd-news .ha-m span{white-space:normal;font-size:10px;line-height:1.35;margin-top:2px}
.hd-nico{width:30px;height:30px;flex-shrink:0;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(139,157,255,.12);color:var(--ha-blue)}
.hd-hot{display:inline-flex;align-items:center;height:15px;padding:0 6px;border-radius:4px;background:rgba(248,113,113,.14);color:var(--ha-red);
  font-size:8.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
.hd-pick{flex-shrink:0;height:22px;padding:0 9px;border-radius:6px;display:inline-flex;align-items:center;font-size:10px;font-weight:700;
  color:var(--ha-mut);border:1px solid var(--ha-line);transition:background .25s,color .25s,border-color .25s}
.ha-dash.s5 .hd-nw1{border-color:var(--ha-blue);background:rgba(139,157,255,.1);box-shadow:0 0 0 3px rgba(139,157,255,.15)}
.ha-dash.s5 .hd-nw1 .hd-pick{background:var(--ha-blue);color:#0b0d13;border-color:var(--ha-blue)}
/* the builder: the AI's steps and the settings, beside the draft */
.hd-build{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;height:100%}
.hd-from-news{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:6px;font-size:10px;font-weight:700;
  color:var(--ha-blue);background:rgba(139,157,255,.1);border:1px solid rgba(139,157,255,.35)}
.hd-steps{margin:8px 0 8px}
.hd-steps div{display:flex;align-items:center;gap:8px;padding:3px 0;font-size:10.5px;color:var(--ha-mut);opacity:0;transition:opacity .3s}
.hd-steps b{color:var(--ha-text)}
.hd-steps i{position:relative;width:13px;height:13px;flex-shrink:0;border-radius:50%;border:2px solid rgba(139,157,255,.3);border-top-color:var(--ha-blue)}
.ha-dash.s6 .hd-steps div{opacity:1}
.ha-dash.s6 .hd-steps i{animation:hdSpin .7s linear infinite}
.ha-dash.s6 .hd-sp2{transition-delay:.7s}
.ha-dash.s6 .hd-sp3{transition-delay:1.4s}
.ha-dash.s6 .hd-sp4{transition-delay:2.1s}
.ha-dash.s7 .hd-steps i{animation:none;border-color:var(--ha-green);background:var(--ha-green)}
.ha-dash.s7 .hd-steps i::after{content:'';position:absolute;left:2.5px;top:.5px;width:3px;height:6px;border:solid #0b0d13;border-width:0 1.6px 1.6px 0;transform:rotate(45deg)}
@keyframes hdSpin{to{transform:rotate(360deg)}}
.hd-sets{border-top:1px solid var(--ha-line);opacity:.35;transition:opacity .4s}
.ha-dash.s7 .hd-sets{opacity:1}
.hd-sets div{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid var(--ha-line);font-size:10.5px}
.hd-sets span{color:var(--ha-mut)}
.hd-prev{position:relative;display:flex;flex-direction:column;gap:5px;min-height:0}
.hd-skel,.hd-mailp{border-radius:10px;border:1px solid var(--ha-line);background:#f6f7fb;color:#1f2430;padding:11px 13px}
.hd-skel{position:absolute;left:0;right:0;top:0;height:178px;display:flex;flex-direction:column;gap:9px;transition:opacity .3s}
.hd-skel i{display:block;height:9px;border-radius:5px;background:linear-gradient(90deg,#e3e6ee 0,#eef0f5 40%,#e3e6ee 80%);background-size:200% 100%;animation:hdShim 1.2s linear infinite}
.hd-skel i:nth-child(1){width:55%;height:22px}.hd-skel i:nth-child(2){width:80%}.hd-skel i:nth-child(3){width:92%}.hd-skel i:nth-child(4){width:70%}.hd-skel i:nth-child(5){width:38%;height:24px}
@keyframes hdShim{to{background-position:-200% 0}}
.ha-dash.s7 .hd-skel{opacity:0}
.hd-mailp{height:178px;font-size:10.5px;opacity:0;transition:opacity .35s}
.ha-dash.s7 .hd-mailp{opacity:1}
.hd-mailp p,.hd-mopen p,.hd-ln-mail p{margin:0 0 6px;font-size:10.5px;line-height:1.45;color:inherit;max-width:none}
.hd-mp-from{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.hd-mp-from .ha-ava{width:24px;height:24px;font-size:10px;border-radius:50%}
.hd-mp-from .ha-m b{font-size:11px}
.hd-mailp .hd-mp-from .ha-m span,.hd-mopen .hd-mp-from .ha-m span,.hd-ln-mail .hd-mp-from .ha-m span{color:#6b7280;font-size:10px}
.hd-mp-subj{display:flex;align-items:center;gap:6px;min-height:17px;font-weight:700;font-size:12px;margin-bottom:6px}
.hd-mp-doc{font-weight:600;color:#374151}
.hd-mp-cta{display:flex;align-items:center;gap:6px;margin-top:4px}
.hd-mp-cta>span{display:inline-flex;align-items:center;height:24px;padding:0 12px;border-radius:5px;background:#ffc400;color:#1f2430;font-size:10.5px;font-weight:700}
.hd-mailp .hd-mk{opacity:0;transform:scale(.4);transition:opacity .3s,transform .4s var(--ha-ease)}
.ha-dash.s7 .hd-mailp .hd-mk{opacity:1;transform:none;transition-delay:1.8s}
.ha-dash.s7 .hd-mp-subj .hd-mk{transition-delay:2.1s}
.ha-dash.s7 .hd-mp-cta .hd-mk{transition-delay:2.4s}
.hd-tells div{display:flex;align-items:center;gap:7px;padding:1px 0;font-size:10.5px;color:var(--ha-mut);opacity:0;transition:opacity .35s}
.ha-dash.s7 .hd-tells div{opacity:1;transition-delay:1.9s}
.ha-dash.s7 .hd-tells div:nth-child(2){transition-delay:2.2s}
.ha-dash.s7 .hd-tells div:nth-child(3){transition-delay:2.5s}
.hd-dlg-f{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid var(--ha-line)}
.hd-dlg-f>span:first-child{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--ha-mut)}
.hd-dlg-f>span:first-child svg{color:var(--ha-green)}
.hd-send{opacity:.4;transition:opacity .3s}
.ha-dash.s7 .hd-send{opacity:1}

/* Maya's inbox: another app, so it covers the whole window */
.hd-mail,.hd-learn{position:absolute;inset:0;z-index:4;opacity:0;transition:opacity .4s}
.ha-dash.s10:not(.s14) .hd-mail,.ha-dash.s14:not(.s15) .hd-learn{opacity:1;transition-delay:.1s}
.hd-mail{display:grid;grid-template-columns:140px 250px minmax(0,1fr);background:#f3f4f7;color:#1f2430}
.hd-mfold{background:#e9ebf1;padding:12px 8px;border-right:1px solid #dcdfe7}
.hd-mme{display:flex;align-items:center;gap:7px;padding:4px 6px 12px}
.hd-mme .ha-ava{width:24px;height:24px;font-size:9px;border-radius:50%}
.hd-mme b{display:block;font-size:10.5px}
.hd-mme span>span{display:block;font-size:9.5px;color:#6b7280}
.hd-mf{display:flex;align-items:center;gap:8px;height:28px;padding:0 8px;border-radius:7px;font-size:11px;color:#4b5563}
.hd-mf-on{background:#fff;color:#1f2430;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.hd-mcount{margin-left:auto;font-size:10px;font-weight:700;color:#2563eb;opacity:0;transition:opacity .3s}
.ha-dash.s10:not(.s11) .hd-mcount{opacity:1;transition-delay:.9s}
.hd-mlist{background:#fff;border-right:1px solid #e3e5ec;overflow:hidden}
.hd-mi{position:relative;padding:10px 12px 10px 15px;border-bottom:1px solid #eceef3;font-size:10px;color:#6b7280}
.hd-mi b{display:flex;justify-content:space-between;font-size:11px;color:#1f2430;font-weight:600}
.hd-mi b em{font-style:normal;font-weight:500;font-size:9.5px;color:#9ca3af}
.hd-mi span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hd-mi .hd-mi-s{color:#374151;margin:1px 0}
.hd-mi-new{max-height:0;padding-top:0;padding-bottom:0;border-bottom-width:0;overflow:hidden;
  transition:max-height .5s var(--ha-ease) .7s,padding .5s var(--ha-ease) .7s,background .3s}
.ha-dash.s10 .hd-mi-new{max-height:90px;padding-top:10px;padding-bottom:10px;border-bottom-width:1px}
.hd-mi-new::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#2563eb}
.hd-mi-new b,.hd-mi-new .hd-mi-s{font-weight:700}
.ha-dash.s11 .hd-mi-new{background:#eef3ff}
.ha-dash.s11 .hd-mi-new b,.ha-dash.s11 .hd-mi-new .hd-mi-s{font-weight:600}
.hd-mi-rep{position:absolute;right:10px;top:9px;height:17px;font-size:9px;background:#eef3ff;opacity:0;transition:opacity .3s}
.ha-dash.s13 .hd-mi-rep{opacity:1;transition-delay:.4s}
.hd-mread{position:relative;background:#fff;overflow:hidden}
.hd-mempty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;color:#9ca3af;transition:opacity .3s}
.ha-dash.s11 .hd-mempty{opacity:0}
.hd-mopen{position:absolute;inset:0;padding:0 16px 14px;font-size:10.5px;opacity:0;transition:opacity .35s}
.ha-dash.s11 .hd-mopen{opacity:1;transition-delay:.7s}
.hd-mtool{display:flex;align-items:center;gap:6px;height:40px;margin:0 -16px 12px;padding:0 12px;border-bottom:1px solid #eceef3}
.hd-mtool span{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:6px;font-size:10.5px;font-weight:600;color:#4b5563}
.hd-mtool .hd-report{margin-left:auto;background:#1d2a8a;color:#fff;transition:background .3s}
.ha-dash.s12 .hd-report{background:#15803d}
.hd-mr-subj{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;margin-bottom:8px;letter-spacing:-.2px}
.hd-well{position:absolute;left:12px;right:12px;bottom:12px;padding:12px 13px;border-radius:11px;background:#0f1a14;color:#e8f5ec;
  border:1px solid rgba(74,222,128,.45);box-shadow:0 18px 40px -12px rgba(0,0,0,.45);
  opacity:0;transform:translateY(14px);transition:opacity .35s,transform .45s var(--ha-ease)}
.ha-dash.s13 .hd-well{opacity:1;transform:none}
.hd-well-h{display:flex;gap:10px}
.hd-well-h svg{flex-shrink:0;color:var(--ha-green);margin-top:1px}
.hd-well-h b{display:block;font-family:'Sora',sans-serif;font-size:13px}
.hd-well-h span span{display:block;font-size:10.5px;color:#b8cdbf;margin-top:2px}
.hd-well-c{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0 28px}
.hd-well-c .ha-chip{opacity:0;transform:scale(.7);transition:opacity .3s,transform .4s var(--ha-ease)}
.ha-dash.s13 .hd-well-c .ha-chip{opacity:1;transform:none;transition-delay:.5s}
.ha-dash.s13 .hd-well-c .ha-chip:nth-child(2){transition-delay:.8s}
.ha-dash.s13 .hd-well-c .ha-chip:nth-child(3){transition-delay:1.1s}

/* the lesson behind Daniel's click */
.hd-learn{background:radial-gradient(120% 90% at 50% 0,#1a2350 0,#0f1117 70%);padding:14px 22px}
.hd-ln-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.hd-ln-top .hd-brand{padding:0}
.hd-ln-h b{display:block;font-family:'Sora',sans-serif;font-size:17px;font-weight:700;letter-spacing:-.4px}
.hd-ln-h span{display:block;font-size:11px;color:var(--ha-mut);margin-top:3px}
.hd-ln-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;margin-top:14px}
.hd-ln-mail{border-radius:10px;background:#f6f7fb;color:#1f2430;padding:12px 14px;font-size:10.5px;
  transform:rotate(-1.2deg);box-shadow:0 20px 40px -18px rgba(0,0,0,.8)}
.hd-ln-mail .hd-mr-subj{font-size:12px}
.hd-ln-mail .hd-mk,.hd-ln-tells>div{opacity:0;transition:opacity .35s,transform .4s var(--ha-ease)}
.hd-ln-mail .hd-mk{transform:scale(.4)}
.ha-dash.s14 .hd-ln-mail .hd-mk{opacity:1;transform:none}
.hd-ln-tells>div{display:flex;gap:9px;margin-bottom:10px;font-size:10.5px;color:var(--ha-mut);transform:translateX(8px)}
.hd-ln-tells b{display:block;color:var(--ha-text);font-size:11.5px;margin-bottom:1px}
.ha-dash.s14 .hd-ln-tells>div{opacity:1;transform:none}
.ha-dash.s14 .hd-lt1,.ha-dash.s14 .hd-ln-mail .hd-mp-from .hd-mk{transition-delay:.6s}
.ha-dash.s14 .hd-lt2,.ha-dash.s14 .hd-ln-mail .hd-mr-subj .hd-mk{transition-delay:1.3s}
.ha-dash.s14 .hd-lt3,.ha-dash.s14 .hd-ln-mail .hd-mp-cta .hd-mk{transition-delay:2s}
.hd-ln-tells .hd-btn{margin-top:4px}

/* training */
.hd-les{opacity:0;transform:translateY(6px);transition:opacity .35s,transform .45s var(--ha-ease)}
.ha-dash.s16 .hd-les{opacity:1;transform:none}
.ha-dash.s16 .hd-l2{transition-delay:.2s}
.ha-dash.s16 .hd-l3{transition-delay:.4s}
.ha-dash.s16 .hd-l4{transition-delay:.6s}
.hd-les .ha-swap>:last-child{opacity:0;transform:scale(.7)}
.ha-dash.s17 .hd-les .ha-swap>:first-child{opacity:0;transform:scale(.7)}
.ha-dash.s17 .hd-les .ha-swap>:last-child{opacity:1;transform:none}
.ha-dash.s17 .hd-l2 .ha-swap>*{transition-delay:.4s}
.ha-dash.s17 .hd-l3 .ha-swap>*{transition-delay:.8s}
.ha-dash.s17 .hd-l4 .ha-swap>*{transition-delay:1.2s}
.hd-mod .hd-bar2 i{width:0;transition:width 1.6s var(--ha-ease)}
.ha-dash.s16 .hd-mod .hd-bar2 i{width:20%}
.ha-dash.s17 .hd-mod .hd-bar2 i{width:100%}

/* alerts */
.hd-rep{max-height:0;opacity:0;overflow:hidden;border-radius:8px;transition:max-height .5s var(--ha-ease) .3s,opacity .4s .3s,background .4s}
.ha-dash.s18 .hd-rep{max-height:160px;opacity:1;background:rgba(139,157,255,.07)}
.ha-dash.s19 .hd-rep{background:rgba(248,113,113,.07)}
.hd-rep .hd-row{padding:8px 8px}
.hd-rep .ha-swap>:last-child{opacity:0;transform:scale(.7)}
.ha-dash.s19 .hd-rep .ha-swap>:first-child{opacity:0;transform:scale(.7);transition-delay:.9s}
.ha-dash.s19 .hd-rep .ha-swap>:last-child{opacity:1;transform:none;transition-delay:.9s}
.hd-ai{display:flex;flex-direction:column;gap:3px;margin:0 8px 8px 37px;padding:8px 10px;border-radius:8px;background:rgba(0,0,0,.2);font-size:10px;color:var(--ha-mut)}
.hd-ai-h{display:flex;align-items:center;gap:6px;color:var(--ha-text);font-size:10.5px;margin-bottom:2px}
.hd-ai-h svg{color:var(--ha-blue)}
.hd-ai-h em{font-style:normal;color:var(--ha-red)}
.hd-ai span{padding-left:17px;position:relative;opacity:0;transition:opacity .35s}
.hd-ai span::before{content:'';position:absolute;left:5px;top:6px;width:4px;height:4px;border-radius:50%;background:var(--ha-red)}
.ha-dash.s18 .hd-ai span{opacity:1;transition-delay:1s}
.ha-dash.s18 .hd-ai span:nth-of-type(2){transition-delay:1.4s}
.ha-dash.s18 .hd-ai span:nth-of-type(3){transition-delay:1.8s}
.hd-old{opacity:.55}

/* reports */
.hd-rl{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid var(--ha-line);font-size:10.5px}
.hd-rl:first-of-type{border-top:none}
.hd-rl>span{color:var(--ha-mut)}
.hd-months{display:flex;align-items:flex-end;gap:7px;height:150px;padding-top:6px}
.hd-months div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;font-size:9px;color:var(--ha-dim);gap:4px}
.hd-months i{display:block;width:100%;border-radius:4px 4px 2px 2px;background:var(--c);height:0;transition:height .9s var(--ha-ease)}
.ha-dash.s20 .hd-months i{height:var(--h)}
.ha-dash.s20 .hd-months div:nth-child(2) i{transition-delay:.08s}
.ha-dash.s20 .hd-months div:nth-child(3) i{transition-delay:.16s}
.ha-dash.s20 .hd-months div:nth-child(4) i{transition-delay:.24s}
.ha-dash.s20 .hd-months div:nth-child(5) i{transition-delay:.32s}
.ha-dash.s20 .hd-months div:nth-child(6) i{transition-delay:.4s}

/* toasts, at the foot of the page area (the sidebar is 150px, hence +75px
   to centre them on it), where they never sit on a title */
.hd-toast{position:absolute;left:calc(50% + 75px);bottom:16px;z-index:5;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;
  background:#232a3a;border:1px solid #33405a;box-shadow:0 14px 34px -10px rgba(0,0,0,.7);font-size:11px;white-space:nowrap;
  opacity:0;transform:translate(-50%,8px);transition:opacity .3s,transform .4s var(--ha-ease)}
.hd-toast svg{flex-shrink:0;color:var(--ha-green)}
.ha-dash.s9:not(.s10) .hd-t1,.ha-dash.s19:not(.s20) .hd-t2,.ha-dash.s21 .hd-t3{opacity:1;transform:translate(-50%,0);transition-delay:1s}
.ha-dash.s9:not(.s10) .hd-t1{transition-delay:.3s}

/* the pointer: it glides to each target; a ring pulses when it clicks */
.hd-cursor{position:absolute;left:0;top:0;z-index:6;width:0;height:0;transition:transform .85s cubic-bezier(.45,.05,.25,1)}
.hd-cursor svg{position:absolute;left:-4px;top:-3px;width:20px;height:20px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55))}
.hd-cursor::after{content:'';position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;border:2px solid rgba(255,255,255,.85);
  opacity:0;transform:scale(.3)}
.hd-cursor.clk::after{animation:hdClick .5s ease-out}
.hd-cursor.clk svg{animation:hdPress .25s ease-out}
@keyframes hdClick{0%{opacity:.9;transform:scale(.3)}100%{opacity:0;transform:scale(1.3)}}
@keyframes hdPress{50%{transform:scale(.85)}}

/* under the window: where the story is, and what this screen shows */
.hd-chaps{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:16px}
.hd-chaps>span{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 4px;border-radius:12px;font-size:11px;font-weight:600;
  color:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.12);transition:color .3s,background .3s,border-color .3s}
.hd-chaps i{width:16px;height:16px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:9.5px;font-style:normal;
  background:rgba(255,255,255,.1);transition:background .3s,color .3s}
.ha-dash.s2:not(.s6) .hd-ch1,.ha-dash.s6:not(.s9) .hd-ch2,.ha-dash.s9:not(.s15) .hd-ch3,
.ha-dash.s15:not(.s16) .hd-ch4,.ha-dash.s16 .hd-ch5{color:#fff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3)}
.ha-dash.s2:not(.s6) .hd-ch1 i,.ha-dash.s6:not(.s9) .hd-ch2 i,.ha-dash.s9:not(.s15) .hd-ch3 i,
.ha-dash.s15:not(.s16) .hd-ch4 i,.ha-dash.s16 .hd-ch5 i{background:#fff;color:#1e3a8a}
.ha-dash.s6 .hd-ch1 i,.ha-dash.s9 .hd-ch2 i,.ha-dash.s15 .hd-ch3 i,.ha-dash.s16 .hd-ch4 i{background:var(--ha-green);color:#0b0d13}
.hd-caps{display:grid;margin-top:10px;justify-items:center;text-align:center}
.hd-caps>*{grid-area:1/1;font-size:.95rem;color:rgba(255,255,255,.85);opacity:0;transition:opacity .4s}
.ha-dash:not(.s2) .hd-c1,.ha-dash.s2:not(.s6) .hd-c2,.ha-dash.s6:not(.s9) .hd-c3,.ha-dash.s9:not(.s10) .hd-c4,
.ha-dash.s10:not(.s14) .hd-c5,.ha-dash.s14:not(.s15) .hd-c6,.ha-dash.s15:not(.s16) .hd-c7,.ha-dash.s16:not(.s18) .hd-c8,
.ha-dash.s18:not(.s20) .hd-c9,.ha-dash.s20 .hd-c10{opacity:1;transition-delay:.15s}

@media(prefers-reduced-motion:reduce){
  .hd-cursor{display:none}
}
