/* Lusk Designs home, top screen (piece 1). Every selector starts with hx-.
   Needs the page's :root tokens and @font-face rules (study X). Default state = SETTLED, complete without script;
   hero.js adds .hx-live and drives transform and opacity only. */

/* ---------- the blue field ---------- */
.hx-hero{position:relative;min-height:clamp(820px,100svh,900px);overflow:hidden;color:#fff;isolation:isolate;
  background:
    radial-gradient(40% 50% at 0% 100%, rgba(12,23,54,.85) 0%, transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgba(19,33,75,.75) 0%, transparent 70%),
    linear-gradient(112deg, #22377A 0%, #2F4889 24%, #3F5A9C 42%, #5470B0 60%, var(--blue) 76%, #A3B7E2 100%);}
:where(.hx-hero) :where(p,figure,ol,ul,dl,dd,h1){margin:0}
:where(.hx-hero) :where(ol,ul){padding:0;list-style:none}
.hx-sky{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hx-glow{position:absolute;border-radius:50%;filter:blur(40px)}
.hx-g1{width:1100px;height:820px;left:50%;top:-8%;background:radial-gradient(closest-side, rgba(236,241,252,.80), rgba(198,212,242,.36) 50%, transparent)}
.hx-g2{width:720px;height:420px;left:58%;top:60%;background:radial-gradient(closest-side, rgba(166,186,230,.30), transparent)}
.hx-beam{position:absolute;left:30%;top:-30%;width:34%;height:170%;transform:rotate(24deg);
  background:linear-gradient(90deg, transparent, rgba(198,212,242,.13) 40%, rgba(230,236,250,.18) 50%, rgba(198,212,242,.10) 60%, transparent);filter:blur(10px)}
.hx-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:140px;background:linear-gradient(transparent, var(--navy-1));z-index:-1}

/* ---------- header ---------- */
.hx-top{position:relative;z-index:8;display:flex;align-items:center;justify-content:space-between;padding:24px 64px}
.hx-logo{display:inline-flex;padding:8px 0}
.hx-logo img{display:block;height:28px;width:auto}
.hx-top nav{display:flex;align-items:center;gap:2px;padding:4px;border-radius:999px;background:rgba(12,23,54,.34);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px rgba(198,212,242,.18)}
.hx-top nav a{text-decoration:none;font-size:16px;font-weight:500;color:#fff;padding:11px 16px;border-radius:999px}
.hx-top nav a:hover{background:rgba(255,255,255,.10)}
.hx-top nav .hx-contact{margin-left:6px;background:#fff;color:var(--navy-2);font-weight:650;padding:12px 22px;box-shadow:0 8px 24px rgba(7,14,38,.28)}
.hx-top nav .hx-contact:hover{background:var(--sky-2)}

/* ---------- words ---------- */
.hx-lead{position:relative;z-index:6;width:560px;margin:72px 0 0 64px}
.hx-h1{font-family:var(--display);font-weight:760;font-size:76px;line-height:.98;letter-spacing:-.025em;color:#fff;text-wrap:balance}
.hx-sub{margin-top:28px;font-size:20px;line-height:1.55;color:rgba(255,255,255,.94);max-width:480px}
.hx-acts{margin-top:34px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.hx-btn{display:inline-flex;align-items:center;gap:14px;min-height:56px;padding:0 28px;border-radius:999px;background:#fff;color:var(--navy-2);
  font-size:17px;font-weight:650;text-decoration:none;box-shadow:0 2px 4px rgba(7,14,38,.2),0 18px 40px rgba(7,14,38,.35)}
.hx-btn span{font-size:20px;transition:transform .2s}
.hx-btn:hover span{transform:translateX(3px)}
.hx-web{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:var(--sky);text-underline-offset:5px;text-decoration-thickness:1px}
.hx-web:hover{color:#fff}

/* ---------- controls and the caption line (lower left, on navy glass) ---------- */
.hx-bar2{position:absolute;z-index:7;left:64px;bottom:34px;display:flex;align-items:center;gap:4px;padding:5px;border-radius:999px;
  background:rgba(7,14,38,.42);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px rgba(198,212,242,.22)}
.hx-pp,.hx-rp{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 13px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:600 14px/1 var(--sans);cursor:pointer}
.hx-pp:hover,.hx-rp:hover{background:rgba(255,255,255,.22)}
.hx-pp[hidden],.hx-rp[hidden]{display:none}
.hx-pp svg,.hx-rp svg{width:15px;height:15px;fill:currentColor}
.hx-rp svg{fill:none}
.hx-i-play{display:none}
.hx-paused .hx-i-play{display:inline}
.hx-paused .hx-i-pause{display:none}
.hx-cap{min-width:0;padding:0 18px 0 12px;font-size:16px;font-weight:500;line-height:1.3;color:#fff;white-space:nowrap}
.hx-cap span{display:inline-block}
.hx-live .hx-cap{width:330px}
/* finished: the run stops on its last frame and only Replay is left */
.hx-done .hx-rp{background:#fff;color:var(--navy-2)}
.hx-done .hx-rp:hover{background:var(--sky-2)}

/* ---------- the stage ---------- */
.hx-stage{position:absolute;left:0;top:0;width:100%;height:900px;z-index:2;perspective:2200px;perspective-origin:70% 40%}
.hx-pl{position:absolute;transform-style:preserve-3d}
.hx-shade{position:absolute;inset:0;pointer-events:none}
.hx-co{flex:none;width:22px;height:22px;border-radius:6px;background:var(--ink);position:relative;display:inline-block}
.hx-co::after{content:"";position:absolute;right:4px;bottom:4px;width:5px;height:5px;border-radius:50%;background:var(--blue)}
.hx-ico{width:14px;height:14px;flex:none}

/* THE RUSH: one window crammed with tabs. Hidden unless the animation runs. */
/* The window is its tab strip plus the system's screen at the window's width (hero.js sets the exact height),
   so when the tabs become one tab the window keeps its place and its size. */
.hx-rush{position:absolute;left:684px;top:140px;width:740px;height:604px;visibility:hidden;opacity:0;z-index:4}
.hx-live .hx-rush{visibility:visible;opacity:1}
.hx-win{position:absolute;inset:0;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:#fff;color:#262B36;font-size:13px;line-height:1.35;
  box-shadow:0 2px 4px rgba(7,14,38,.2),0 22px 44px rgba(7,14,38,.34),0 60px 110px rgba(7,14,38,.36);transform-origin:0 0}
.hx-strip{position:relative;flex:none;height:40px;background:#AEB5C3;display:flex;align-items:flex-end;padding:0 10px 0 0}
.hx-dots{flex:none;display:flex;gap:7px;padding:0 14px 15px 16px}
.hx-dots i{width:11px;height:11px;border-radius:50%;background:#8790A1}
.hx-tabs{position:relative;flex:1;min-width:0;display:flex;align-items:flex-end;height:34px}
/* the one tab the 24 become: the system's own tab, the colour of its menu */
.hx-one{position:absolute;left:0;bottom:0;z-index:3;height:32px;display:flex;align-items:center;gap:8px;padding:0 18px 0 12px;border-radius:9px 9px 0 0;
  background:var(--navy-2);color:#fff;font-size:15px;font-weight:650;white-space:nowrap;opacity:0}
.hx-one .hx-co{width:16px;height:16px;border-radius:4px;background:#fff}
.hx-one .hx-co::after{right:3px;bottom:3px;width:4px;height:4px}
/* once the system is the page, the window is only its strip and its shadow; the system shows through below */
.hx-tool,.hx-thead{background:#fff}
.hx-win.hx-thru{background:transparent}
.hx-tab{position:relative;flex:1 1 0;min-width:0;height:32px;display:flex;align-items:center;gap:6px;padding:0 0 0 9px;border-radius:9px 9px 0 0;
  color:#262B36;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;transform-origin:50% 100%}
.hx-tab::after{content:"";position:absolute;right:0;top:8px;bottom:8px;width:1px;background:#8C94A5}
.hx-tab > span{overflow:hidden}
.hx-tab.hx-act{flex:0 0 auto;gap:8px;padding:0 16px 0 12px;background:#fff;color:#1D212A;z-index:2;box-shadow:0 -1px 4px rgba(19,33,75,.18)}
.hx-tab.hx-act::after{display:none}
.hx-tab.hx-act .hx-ico{width:16px;height:16px;color:var(--blue-text)}
.hx-tab.hx-act > span{display:inline;overflow:visible;font-size:15px;font-weight:650}
.hx-dot{position:absolute;left:18px;top:6px;width:7px;height:7px;border-radius:50%;background:#56647F;box-shadow:0 0 0 1.5px #AEB5C3}
.hx-act .hx-dot{display:none}
.hx-tool{flex:none;height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;border-bottom:1px solid #E1E4EA;color:#6A7080}
.hx-nav{width:15px;height:15px}
.hx-field{flex:1;height:28px;display:flex;align-items:center;padding:0 14px;border-radius:14px;background:#EEF0F4;color:#3F4552;font-size:13px;white-space:nowrap;overflow:hidden}
.hx-thead{flex:none;position:relative;height:60px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid #E1E4EA}
.hx-tico{width:24px;height:24px;flex:none;color:var(--blue-text)}
.hx-thead .hx-co{position:absolute;left:22px;top:19px;opacity:0}
.hx-tn{font-family:var(--display);font-size:29px;font-weight:700;letter-spacing:-.015em;line-height:1;color:#1D212A;white-space:nowrap}
.hx-cnt{margin-left:auto;font-family:var(--mono);font-size:13px;color:#5F6574;white-space:nowrap}
.hx-bodywrap{position:relative;flex:1;min-height:0;background:#EEF0F4}
/* the condense: every tab opens into a named chip, then they are pulled into one */
.hx-chips{position:absolute;left:0;right:0;bottom:0;top:142px;z-index:5;padding:22px 26px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:9px 8px;pointer-events:none}
.hx-chip{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px 0 11px;border-radius:9px;background:#fff;color:#262B36;font-size:15px;font-weight:600;white-space:nowrap;opacity:0;
  box-shadow:0 0 0 1px #D2D7E3,0 4px 10px rgba(19,33,75,.12)}
.hx-chip .hx-ico{width:15px;height:15px;color:var(--blue-text)}
/* where each landed piece came from (shown for a moment by hero.js) */
.hx-tag{position:absolute;left:0;top:0;z-index:5;padding:5px 10px;border-radius:999px;background:var(--navy-2);color:#fff;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;opacity:0;pointer-events:none;
  box-shadow:0 0 0 1.5px #fff,0 6px 16px rgba(7,14,38,.35)}
.hx-bodies{position:absolute;inset:0}
.hx-b{position:absolute;inset:0;padding:16px 18px;visibility:hidden;background:#fff;overflow:hidden}
.hx-b.hx-on{visibility:visible}
.hx-toast{position:absolute;z-index:3;right:14px;bottom:calc(14px + var(--n) * 58px);width:250px;padding:9px 12px;border-radius:10px;background:#F7F8FA;font-size:12.5px;line-height:1.3;color:#3A3F4B;
  box-shadow:0 1px 2px rgba(19,33,75,.12),0 10px 24px rgba(19,33,75,.22),0 0 0 1px #DADDE5;opacity:0}
.hx-toast b{display:block;font-size:11px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:#5D6474}
.hx-ptr{position:absolute;left:0;top:0;width:24px;height:24px;z-index:9;opacity:0;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}
.hx-ring{position:absolute;left:0;top:0;width:40px;height:40px;z-index:8;opacity:0}

/* the pile-up behind the window: more windows, same mess */
.hx-ghost{position:absolute;inset:0;border-radius:12px;background:linear-gradient(#AEB5C3 0 40px,#E9ECF1 40px 82px,#F7F8FA 82px);box-shadow:0 2px 4px rgba(7,14,38,.18),0 18px 40px rgba(7,14,38,.28);opacity:0}
.hx-live .hx-ghost{opacity:1}
.hx-gh1{transform:translate(-34px,-30px) rotate(-3deg)}
.hx-gh2{transform:translate(26px,-16px) rotate(2.4deg)}
.hx-ghost::before{content:"";position:absolute;left:60px;right:20px;top:12px;height:20px;background:repeating-linear-gradient(90deg,#97A0B1 0 22px,transparent 22px 36px);border-radius:3px;opacity:.7}
.hx-ghost::after{content:attr(data-l);position:absolute;left:24px;top:52px;font-size:13px;color:#3F4552}
/* tool bodies: generic, code-drawn, desaturated greys */
.hx-mr{display:grid;grid-template-columns:150px 1fr 48px;gap:12px;padding:9px 6px;border-bottom:1px solid #ECEEF2;color:#4C5260}
.hx-mr b{font-weight:500;color:#2F3440;white-space:nowrap;overflow:hidden}
.hx-mr span{white-space:nowrap;overflow:hidden}
.hx-mr time,.hx-vr time{font-family:var(--mono);font-size:11.5px;color:#5F6574;text-align:right}
.hx-mr.hx-u b,.hx-mr.hx-u span{font-weight:700;color:#1E222B}
.hx-b-texts{display:grid;grid-template-columns:200px 1fr;gap:0;padding:0}
.hx-convs{border-right:1px solid #E6E8ED;background:#F7F8FA}
.hx-convs li{padding:11px 14px;border-bottom:1px solid #E6E8ED}
.hx-convs b{display:block;font-weight:650;font-size:13px}
.hx-convs span{display:block;font-size:12px;color:#5A606D;white-space:nowrap;overflow:hidden}
.hx-convs .hx-sel{background:#E3E6EC}
.hx-thread{padding:18px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.hx-sys{align-self:center;font-family:var(--mono);font-size:11.5px;color:#5F6574}
.hx-bub{max-width:280px;padding:10px 13px;border-radius:14px 14px 14px 4px;background:#E8EAEF;font-size:14px}
.hx-bub time{display:block;font-family:var(--mono);font-size:11px;color:#5F6574;margin-top:3px}
.hx-unans{display:inline-block;margin-top:6px;padding:4px 10px;border-radius:999px;background:#E4E7EE;color:#4A5468;font-size:12px;font-weight:600}
.hx-vr{display:grid;grid-template-columns:20px 170px 1fr 70px;align-items:center;gap:10px;padding:11px 8px;border-bottom:1px solid #ECEEF2;color:#4C5260}
.hx-vr b{font-weight:650;color:#262B36}
.hx-vr.hx-hi{background:#EEF0F4;border-radius:8px}
.hx-grid{border-collapse:collapse;width:100%;font-size:12.5px;table-layout:fixed}
.hx-grid th{width:28px;background:#EEF0F4;color:#5F6574;font-weight:500;font-size:11px;border:1px solid #DDE0E7;height:26px}
.hx-grid tr:first-child th{height:22px}
.hx-grid tr:first-child th:not(:first-child){width:auto}
.hx-grid td{border:1px solid #DDE0E7;padding:0 7px;height:30px;white-space:nowrap;overflow:hidden;color:#363B47}
.hx-grid td b{font-weight:650}
.hx-grid col{width:auto}
.hx-grid .hx-cell{outline:2px solid #56647F;outline-offset:-2px}
.hx-week{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;height:100%}
.hx-day{position:relative;border-radius:8px;background:#F4F5F8}
.hx-day b{display:block;padding:7px 9px;font-size:12px;font-weight:650;color:#3A3F4B;border-bottom:1px solid #E3E6EC}
.hx-day i{position:absolute;left:5px;right:5px;margin-top:30px;padding:3px 7px;border-radius:5px;background:#D5D9E2;color:#2F3440;font-style:normal;font-size:11.5px;line-height:1.25;overflow:hidden}
.hx-day i.hx-alt{background:#C5CCDA}
.hx-day i.hx-dash{background:none;box-shadow:inset 0 0 0 1.5px #8A93A6}
.hx-today{background:#ECEEF3}
.hx-doc{max-width:470px;margin:2px auto 0;padding:20px 24px;border-radius:6px;box-shadow:0 0 0 1px #DDE0E7,0 6px 16px rgba(19,33,75,.08)}
.hx-dh{font-family:var(--display);font-size:20px;font-weight:700;color:#262B36}
.hx-dm{margin:2px 0 12px;color:#4C5260}
.hx-li{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:9px 0;border-top:1px solid #ECEEF2;color:#363B47}
.hx-li i{width:64px;height:9px;border-radius:5px;background:#DADDE5}
.hx-b-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-content:start;padding:22px;background:#EDEFF3}
.hx-st{min-height:92px;padding:12px;background:#D9DEE8;color:#2F3440;font-size:14px;font-weight:600;line-height:1.3;transform:rotate(var(--r));box-shadow:0 2px 5px rgba(19,33,75,.18)}
.hx-st:nth-child(even){background:#E6E8ED}
.hx-ph{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.hx-ph i{aspect-ratio:1;border-radius:4px;background:linear-gradient(160deg,#B8C0CE 0 38%,#8E98AA 38% 62%,#A7AFBF 62%)}
.hx-ph i:nth-child(3n){background:linear-gradient(200deg,#C9CED8 0 45%,#7F889A 45%)}
.hx-ph i:nth-child(4n){background:linear-gradient(120deg,#9FA8B8 0 30%,#D0D4DC 30% 70%,#8A93A5 70%)}
.hx-b-photos .hx-unans{margin-top:12px}
.hx-b-rev .hx-dh{margin-bottom:10px}
.hx-b-map{padding:0}
.hx-map{position:absolute;inset:0;background:
  linear-gradient(28deg, transparent 47%, #fff 47% 50.5%, transparent 50.5%),
  linear-gradient(-62deg, transparent 58%, #fff 58% 60%, transparent 60%),
  repeating-linear-gradient(0deg, transparent 0 46px, #F6F7F9 46px 50px),
  repeating-linear-gradient(90deg, transparent 0 62px, #F6F7F9 62px 66px), #DFE3EA}
.hx-map span{position:absolute;padding:4px 9px 4px 22px;border-radius:999px;background:#fff;font-size:12px;font-weight:650;color:#2F3440;box-shadow:0 2px 6px rgba(19,33,75,.2)}
.hx-map span::before{content:"";position:absolute;left:8px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:#56647F}

/* pieces in flight during the condense */
.hx-bits{position:absolute;inset:0;pointer-events:none;z-index:6}
.hx-bit{position:absolute;left:0;top:0;padding:8px 12px;border-radius:10px;background:#fff;color:var(--ink);font-size:13px;line-height:1.3;white-space:nowrap;opacity:0;
  box-shadow:0 1px 2px rgba(7,14,38,.2),0 10px 26px rgba(7,14,38,.3),inset 3px 0 0 var(--blue)}
.hx-bit b{display:block;font-weight:650}
.hx-bit-in{max-width:none;border-radius:12px 12px 12px 3px;box-shadow:0 1px 2px rgba(7,14,38,.2),0 10px 26px rgba(7,14,38,.3)}

/* ---------- ONE SYSTEM: X's three planes ---------- */
.hx-back,.hx-mid{position:relative;background:#fff;color:var(--ink);font-size:14px;line-height:1.4;border-radius:14px;overflow:hidden}
.hx-pl-back{left:740px;top:112px;width:860px}
.hx-back,.hx-pl-back .hx-shade{transform:rotateY(-17deg) rotateX(7deg) rotateZ(-1deg);transform-origin:0 50%;border-radius:14px}
.hx-back{box-shadow:0 2px 4px rgba(7,14,38,.18)}
.hx-pl-back .hx-shade{box-shadow:var(--sh-far)}
.hx-back::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg, rgba(19,33,75,0) 40%, rgba(19,33,75,.14));pointer-events:none;opacity:var(--hx-lit,1)}
.hx-pl-mid{left:640px;top:424px;width:372px;z-index:2}
.hx-mid,.hx-pl-mid .hx-shade{transform:rotate(-2.2deg);border-radius:14px}
.hx-mid{box-shadow:0 2px 4px rgba(7,14,38,.2)}
.hx-pl-mid .hx-shade{box-shadow:var(--sh-mid)}
.hx-pl-front{--ipw:250px;left:1126px;top:186px;width:250px;z-index:3}
.hx-ip,.hx-pl-front .hx-shade{transform:rotate(3deg)}
.hx-pl-front .hx-shade{border-radius:calc(var(--ipw) * .165);box-shadow:var(--sh-near)}

/* back plane: the day's dashboard. A navy menu (the tabs fly into it) and the day: counts, schedule, leads, what is waiting */
.hx-back{display:grid;grid-template-columns:176px 1fr;font-size:13px;line-height:1.35}
.hx-side{background:var(--navy-2);color:rgba(255,255,255,.86);padding:16px 10px;display:flex;flex-direction:column;gap:2px}
.hx-cobrand{display:flex;align-items:center;gap:10px;padding:2px 8px 16px;font-weight:650;font-size:14px;color:#fff;white-space:nowrap}
.hx-side .hx-co{background:#fff}
.hx-side .hx-co::after{background:var(--blue)}
.hx-si{position:relative;display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:8px;font-weight:500;white-space:nowrap}
.hx-si .hx-ico{position:relative;width:16px;height:16px;color:var(--sky)}
.hx-si span,.hx-si em{position:relative}
.hx-si em{margin-left:auto;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font:600 11.5px/20px var(--sans);font-style:normal;text-align:center}
.hx-si.hx-on{background:rgba(255,255,255,.12);color:#fff;font-weight:650}
.hx-si.hx-on::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:2px;background:var(--blue)}
.hx-lit{position:absolute;inset:0;border-radius:8px;background:var(--blue);opacity:0}
.hx-sample{margin-left:auto;font-size:12px;color:var(--ink-3);white-space:nowrap}
.hx-sample-s{display:none}
.hx-main{min-width:0;background:#F3F5FA;display:flex;flex-direction:column}
.hx-mtop{flex:none;height:52px;display:flex;align-items:center;padding:0 18px;background:#fff;border-bottom:1px solid var(--line)}
.hx-mtop p{display:flex;align-items:baseline;gap:10px}
.hx-mtop strong{font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:-.01em}
.hx-mtop p span{color:var(--ink-3)}
.hx-dash{padding:14px 16px 16px;display:grid;gap:12px}
.hx-card{background:#fff;border-radius:10px;box-shadow:0 1px 2px rgba(19,33,75,.08),0 0 0 1px var(--line)}
.hx-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.hx-stat{background:#fff;border-radius:10px;padding:10px 14px 10px;box-shadow:0 1px 2px rgba(19,33,75,.08),0 0 0 1px var(--line);white-space:nowrap}
.hx-stat span{display:block;color:var(--ink-2)}
.hx-stat b{display:inline-block;margin-top:2px;font-family:var(--display);font-weight:700;font-size:28px;line-height:1.05;color:var(--ink);font-variant-numeric:tabular-nums}
.hx-stat small{display:inline-block;margin-left:8px;font-size:12px;color:var(--ink-3)}
.hx-row2{display:grid;grid-template-columns:1.42fr 1fr;gap:12px}
.hx-ch{display:flex;justify-content:space-between;align-items:baseline;padding:11px 14px 7px}
.hx-ch strong{font-weight:650;font-size:14px}
.hx-ch small{font-size:12px;color:var(--ink-3)}
.hx-truck{display:flex;align-items:baseline;gap:6px;padding:5px 14px 3px;font-weight:650}
.hx-truck span{font-family:var(--mono);font-size:12px;font-weight:400;color:var(--ink-3)}
.hx-truck em{margin-left:auto;font-style:normal;font-size:12px;font-weight:500;color:var(--blue-text)}
.hx-jobs{padding:0 8px 4px}
.hx-jobs li{display:grid;grid-template-columns:40px 1fr auto;column-gap:8px;align-items:center;padding:5px 8px;border-top:1px solid var(--line);line-height:1.25}
.hx-jobs time{font-family:var(--mono);font-size:12px;color:var(--ink-3)}
.hx-jobs b{display:block;font-weight:650;white-space:nowrap}
.hx-jobs span{display:block;font-size:12px;color:var(--ink-3)}
.hx-jobs em{font-style:normal;font-family:var(--mono);font-size:11.5px;color:var(--ink-3)}
.hx-jobs .hx-done b{color:var(--ink-2)}
.hx-jobs .hx-now{border-radius:7px;border-top-color:transparent;background:var(--blue-tint);box-shadow:inset 3px 0 0 var(--blue)}
.hx-jobs .hx-now em{color:var(--blue-text);font-weight:500}
.hx-ld{position:relative;padding:8px 14px 9px;border-top:1px solid var(--line)}
.hx-ld p{display:flex;justify-content:space-between;align-items:baseline}
.hx-ld b{font-weight:650}
.hx-ld time{font-family:var(--mono);font-size:12px;color:var(--ink-3)}
.hx-ld > span{display:block;color:var(--ink-2)}
.hx-ld em{display:block;margin-top:2px;font-style:normal;font-family:var(--mono);font-size:11.5px;font-weight:500;color:var(--blue-text)}
.hx-ld.hx-sel{background:var(--blue-tint)}
.hx-ld.hx-sel::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}
.hx-wcols{display:grid;grid-template-columns:repeat(3,1fr);gap:0 16px;padding:0 14px 8px}
.hx-wh{padding:0 0 4px;font-size:12px;font-weight:600;color:var(--ink-2)}
.hx-wi{padding:6px 0 7px;border-top:1px solid var(--line)}
.hx-wi p{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.hx-wi b{font-weight:650;white-space:nowrap}
.hx-wi i{font-style:normal;font-family:var(--mono);font-size:11.5px;color:var(--ink-3);white-space:nowrap}
.hx-wi span{display:block;font-size:12px;color:var(--ink-3);white-space:nowrap}

/* middle plane: the lead conversation */
.hx-mh{display:flex;justify-content:space-between;align-items:baseline;padding:14px 20px 12px;border-bottom:1px solid var(--line)}
.hx-mh strong{font-weight:650;font-size:15px}
.hx-mh small{font-size:12px;color:var(--ink-3)}
.hx-lr{padding:13px 20px 14px 22px;border-bottom:1px solid var(--line);position:relative}
.hx-lr:last-child{border-bottom:0}
.hx-t{display:flex;justify-content:space-between;align-items:baseline;font-weight:650;font-size:15px}
.hx-t time{font-family:var(--mono);font-weight:400;font-size:12px;color:var(--ink-3)}
.hx-s{color:var(--ink-2);margin-top:2px}
.hx-src{font-family:var(--mono);font-size:12px;color:var(--blue-text);font-weight:500;margin-top:3px}
.hx-lr.hx-sel{background:var(--blue-tint);padding-bottom:16px}
.hx-lr.hx-sel::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}
.hx-msg{margin-top:10px;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.4;max-width:262px}
.hx-msg.hx-out{background:var(--blue-text);color:#fff;margin-left:auto;border-radius:12px 12px 3px 12px}
.hx-msg.hx-in{background:#fff;box-shadow:0 0 0 1px var(--line-2);border-radius:12px 12px 12px 3px}
.hx-msg time{display:block;font-family:var(--mono);font-size:11.5px;color:var(--ink-3);margin-top:4px}
.hx-msg.hx-out time{color:rgba(255,255,255,.82)}
.hx-lr-new::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue-6)}

/* ---------- the phone: an iPhone-like handset drawn in CSS and inline SVG ---------- */
.hx-ip{position:relative;width:var(--ipw);aspect-ratio:9/19.5;border-radius:calc(var(--ipw) * .165);padding:calc(var(--ipw) * .011);
  background:linear-gradient(135deg,#D3D6DC 0%,#8C929C 14%,#EEF0F3 30%,#9DA3AD 52%,#6F7580 72%,#C9CCD3 88%,#8B919B 100%);
  box-shadow:0 2px 4px rgba(7,14,38,.24),inset 0 0 0 .6px rgba(255,255,255,.55)}
.hx-ip-bezel{height:100%;border-radius:calc(var(--ipw) * .154);background:#04060B;padding:calc(var(--ipw) * .036);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.hx-ip-screen{position:relative;height:100%;border-radius:calc(var(--ipw) * .118);overflow:hidden;background:#fff;color:var(--ink)}
.hx-key{position:absolute;width:3px;border-radius:2px 0 0 2px;background:linear-gradient(90deg,#7E848E,#C9CDD4 60%,#8B919B)}
.hx-k-act{left:-2.4px;top:17%;height:4.6%}
.hx-k-up{left:-2.4px;top:24.5%;height:8.2%}
.hx-k-dn{left:-2.4px;top:34.2%;height:8.2%}
.hx-k-pow{right:-2.4px;top:27%;height:13%;border-radius:0 2px 2px 0;background:linear-gradient(90deg,#8B919B,#C9CDD4 40%,#7E848E)}
.hx-island{position:absolute;z-index:7;top:calc(var(--ipw) * .03);left:50%;width:calc(var(--ipw) * .3);height:calc(var(--ipw) * .087);margin-left:calc(var(--ipw) * -.15);border-radius:999px;background:#000}
.hx-sbar{position:relative;z-index:6;height:calc(var(--ipw) * .148);display:flex;align-items:center;justify-content:space-between;padding:0 calc(var(--ipw) * .07) 0 calc(var(--ipw) * .1);
  font:650 13.5px/1 var(--sans);letter-spacing:-.01em;color:#000}
.hx-sicons{display:flex;align-items:center;gap:3px}
.hx-sicons svg{display:block;fill:#000;color:#000}
.hx-sig{width:14px;height:10px}
.hx-wifi{width:13px;height:10px}
.hx-bat{width:21px;height:10px}
.hx-app{position:absolute;inset:calc(var(--ipw) * .148) 0 0 0;display:flex;flex-direction:column}
.hx-ph-h{padding:10px 16px 10px}
.hx-ph-h strong{display:block;font-family:var(--display);font-size:24px;font-weight:700;letter-spacing:-.01em;line-height:1.1}
.hx-ph-h span{display:block;font-size:12.5px;color:var(--ink-3)}
.hx-ph-jobs{padding:0 10px;display:grid;gap:7px}
.hx-ph-jobs li{border-radius:14px;padding:9px 12px;background:#F3F5FA;font-size:13px;line-height:1.28}
.hx-ph-jobs b{display:block;font-weight:650}
.hx-ph-jobs span{display:block;color:var(--ink-3);font-size:12.5px}
.hx-ph-jobs small{display:block;font-family:var(--mono);font-size:11px;color:var(--ink-3);margin-bottom:1px}
.hx-ph-jobs em{display:block;font-style:normal;font-family:var(--mono);font-size:11px;color:var(--ink-3);margin-top:2px}
.hx-ph-jobs .hx-done{color:var(--ink-2)}
.hx-ph-jobs .hx-next{background:var(--blue-text);color:#fff;box-shadow:0 10px 22px rgba(61,85,150,.35)}
.hx-ph-jobs .hx-next span,.hx-ph-jobs .hx-next small{color:rgba(255,255,255,.88)}
.hx-ph-jobs .hx-ph-act{display:flex;gap:6px;margin-top:8px}
.hx-ph-act b{flex:1;padding:6px 0;border-radius:9px;background:#fff;color:var(--navy-2);font-size:12px;text-align:center}
.hx-ph-act b + b{background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.hx-ph-jobs .hx-tmr{background:none;padding:2px 4px 0}
.hx-ph-jobs .hx-day-h{background:none;padding:6px 4px 0;font-size:12px;font-weight:650;color:var(--ink-2)}
.hx-ph-sample{margin:10px 16px 0;font-size:11px;color:var(--ink-3)}
.hx-ph-tabs{display:none;margin-top:auto;justify-content:space-around;padding:8px 6px calc(var(--ipw) * .085);border-top:1px solid var(--line);background:#FAFBFD;font-size:10.5px;color:var(--ink-3)}
.hx-ph-tabs span{display:flex;flex-direction:column;align-items:center;gap:3px}
.hx-ph-tabs .hx-ico{width:17px;height:17px}
.hx-ph-tabs .hx-on{color:var(--blue-text);font-weight:650}
.hx-home{position:absolute;z-index:8;left:50%;bottom:calc(var(--ipw) * .02);width:36%;margin-left:-18%;height:4px;border-radius:3px;background:#111}
.hx-glass{position:absolute;inset:0;z-index:9;pointer-events:none;border-radius:inherit;
  background:linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 22%, rgba(255,255,255,0) 34%)}
.hx-banner{position:absolute;z-index:8;left:7px;right:7px;top:calc(var(--ipw) * .135);display:flex;gap:9px;align-items:flex-start;padding:10px 11px;border-radius:18px;
  background:rgba(238,241,248,.97);box-shadow:0 8px 22px rgba(7,14,38,.22),0 0 0 .5px rgba(19,33,75,.12)}
.hx-banner .hx-co{width:26px;height:26px;border-radius:7px;margin-top:1px}
.hx-banner > div{flex:1;min-width:0}
.hx-bn-h{display:flex;justify-content:space-between;font-size:11.5px;color:var(--ink-2);line-height:1.2}
.hx-bn-h b{font-weight:650;color:var(--ink)}
.hx-bn-h time{font-size:11px;color:var(--ink-3)}
.hx-bn-t{font-size:12.5px;font-weight:650;line-height:1.3;margin-top:2px}
.hx-bn-s{font-size:12.5px;line-height:1.3;color:var(--ink-2)}

/* ---------- laptop widths: the 1440 composition, the stage scaled from its top right corner ----------
   The stage keeps its 1440 px coordinate space; --hs shrinks it and the words step down so they never meet the art.
   hero.js divides the rects it measures by the scale, so flying pieces still land on the planes. */
@media (min-width:1100px) and (max-width:1439px){
  .hx-hero{--hs:.96;min-height:clamp(660px,100svh,900px);padding-bottom:96px}
  .hx-stage{left:auto;right:0;width:1440px;transform-origin:100% 0;transform:scale(var(--hs))}
  .hx-lead{width:520px;margin-top:48px}
  .hx-h1{font-size:72px}
  .hx-sub{margin-top:22px;font-size:19px;max-width:470px}
  .hx-acts{margin-top:28px}
}
@media (min-width:1280px) and (max-width:1379px){
  .hx-hero{--hs:.88}
  .hx-lead{width:500px}
  .hx-h1{font-size:64px}
  .hx-sub{font-size:18px;max-width:440px}
}
@media (min-width:1180px) and (max-width:1279px){
  .hx-hero{--hs:.78}
  .hx-lead{width:460px}
  .hx-h1{font-size:58px}
  .hx-sub{font-size:17px;max-width:420px}
}
@media (min-width:1100px) and (max-width:1179px){
  .hx-hero{--hs:.70}
  .hx-top{padding-left:48px;padding-right:48px}
  .hx-lead{width:420px;margin-left:48px}
  .hx-h1{font-size:52px}
  .hx-sub{font-size:16px;max-width:390px}
  .hx-btn{font-size:16px}
  .hx-bar2{left:48px}
}

/* ---------- phone size: re-composed, the phone is the hero ---------- */
@media (max-width:1099px){
  .hx-hero{min-height:0;display:flex;flex-direction:column;
    background:
      radial-gradient(80% 30% at 0% 0%, rgba(19,33,75,.7) 0%, transparent 70%),
      linear-gradient(166deg, #22377A 0%, #2F4889 30%, #3F5A9C 52%, #5470B0 66%, var(--blue) 80%, #A3B7E2 100%)}
  .hx-g1{width:560px;height:520px;left:-10%;top:48%}
  .hx-g2{display:none}
  .hx-beam{left:10%;width:70%}
  .hx-top{padding:14px 20px}
  .hx-logo img{height:24px}
  .hx-n-hide{display:none}
  .hx-top nav{background:none;padding:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .hx-top nav .hx-contact{margin:0;padding:12px 18px;font-size:15px;min-height:44px}
  .hx-lead{display:contents}
  .hx-h1{order:1;margin:20px 20px 0;font-size:44px;line-height:1;letter-spacing:-.025em}
  .hx-acts{order:2;margin:20px 20px 0;gap:2px;align-items:stretch}
  .hx-btn{justify-content:center;font-size:16px;min-height:54px}
  .hx-web{font-size:14px}
  .hx-stage{order:3;position:relative;height:490px;margin-top:6px;perspective:1400px;perspective-origin:50% 30%}
  .hx-bar2{order:4;position:relative;left:auto;bottom:auto;align-self:flex-start;margin:-28px 0 0 16px}
  .hx-live .hx-cap{width:auto;max-width:190px;white-space:normal;font-size:14px}
  .hx-cap{white-space:normal;font-size:14px;max-width:300px}
  .hx-pp,.hx-rp{padding:0 12px}
  .hx-rp{font-size:0;gap:0;width:44px;justify-content:center;padding:0}
  .hx-done .hx-rp{font-size:14px;gap:8px;width:auto;padding:0 16px 0 13px}
  .hx-sub{order:5;position:relative;z-index:6;margin:26px 20px 34px;font-size:17px}
  .hx-hero::after{height:300px;background:linear-gradient(transparent, rgba(12,23,54,.78) 38%, var(--navy-1))}

  .hx-rush{left:14px;top:8px;width:calc(100% - 28px);height:420px}
  .hx-dots{display:none}
  .hx-strip{height:34px;padding:0 6px}
  .hx-tabs{height:30px}
  .hx-tab{height:28px;padding:0 0 0 6px;gap:0}
  .hx-tab > span{display:none}
  .hx-dot{left:13px;top:4px;width:6px;height:6px}
  .hx-tab.hx-act{padding:0 12px 0 9px;gap:6px}
  .hx-tab.hx-act > span{display:inline;font-size:14px}
  .hx-one{height:28px;padding:0 13px 0 9px;gap:6px;font-size:14px}
  .hx-one .hx-co{width:14px;height:14px}
  .hx-thead{height:50px;padding:0 14px;gap:9px}
  .hx-tico{width:20px;height:20px}
  .hx-thead .hx-co{left:14px;top:14px}
  .hx-tn{font-size:23px}
  .hx-cnt{font-size:11.5px}
  .hx-chips{padding:12px 10px;gap:6px 5px}
  .hx-chip{height:27px;padding:0 9px 0 7px;gap:5px;font-size:12.5px;border-radius:7px}
  .hx-chip .hx-ico{width:12px;height:12px}
    .hx-tag{font-size:12px;padding:4px 9px}
  .hx-tool{height:38px;gap:8px;padding:0 10px}
  .hx-nav:nth-child(2){display:none}
  .hx-b{padding:12px}
  .hx-mr{grid-template-columns:1fr 40px;gap:2px 8px;padding:7px 2px}
  .hx-mr span{grid-column:1;grid-row:2;font-size:12px}
  .hx-mr time{grid-row:1/3;grid-column:2}
  .hx-b-texts{grid-template-columns:1fr}
  .hx-convs{display:none}
  .hx-vr{grid-template-columns:16px 1fr 44px;gap:8px;padding:9px 4px}
  .hx-vr span{display:none}
  .hx-grid .hx-c4,.hx-grid .hx-c5{display:none}
  .hx-grid td{padding:0 5px;font-size:11.5px}
  .hx-week{grid-template-columns:repeat(3,1fr)}
  .hx-week .hx-day:first-child,.hx-week .hx-c5{display:none}
  .hx-doc{padding:14px 16px}
  .hx-li i{width:40px}
  .hx-b-notes{grid-template-columns:repeat(2,1fr);gap:12px;padding:14px}
  .hx-st{min-height:70px;font-size:13px}
  .hx-st:nth-child(n+5),.hx-mr:nth-child(n+6),.hx-toast:nth-of-type(n+3){display:none}
  .hx-ph{grid-template-columns:repeat(3,1fr)}
  .hx-toast{width:200px;right:10px;bottom:calc(10px + var(--n) * 54px)}

  /* the dashboard, compact and flat, in the window's place: shown only while the animation runs (it becomes the phone) */
  .hx-pl-back{left:14px;top:8px;width:calc(100% - 28px);visibility:hidden}
  .hx-live .hx-pl-back{visibility:visible}
  .hx-back,.hx-pl-back .hx-shade{transform:none;border-radius:12px}
  .hx-back{height:420px;display:flex;flex-direction:column;font-size:12px}
  .hx-back::after{display:none}
  .hx-side{flex:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;padding:0 4px 5px;gap:0}
  .hx-cobrand{grid-column:1/5;padding:10px 8px 6px;font-size:13px;gap:8px}
  .hx-cobrand .hx-co{width:18px;height:18px;border-radius:5px}
  .hx-cobrand .hx-co::after{right:3px;bottom:3px;width:4px;height:4px}
  .hx-sample-s{display:block;grid-column:5/8;justify-self:end;margin:0;padding:4px 8px 0;font-size:10.5px;color:var(--sky)}
  .hx-si{min-width:0;height:44px;flex-direction:column;justify-content:center;gap:3px;padding:0 1px;font-size:10px;line-height:1.1}
  .hx-si .hx-ico{width:15px;height:15px}
  .hx-si.hx-on{display:none}
  .hx-si em{position:absolute;top:3px;left:calc(50% + 5px);margin:0;min-width:16px;height:15px;padding:0 4px;font-size:9.5px;line-height:15px}
  .hx-mtop{display:none}
  .hx-dash{padding:8px;gap:8px}
  .hx-stats{gap:6px}
  .hx-stat{padding:6px 8px 7px;white-space:normal}
  .hx-stat span{font-size:10.5px;line-height:1.2;min-height:25px}
  .hx-stat b{font-size:20px}
  .hx-stat small,.hx-wait,.hx-back .hx-truck.hx-x,.hx-back .hx-jobs li.hx-x,.hx-back .hx-ld.hx-x{display:none}
  .hx-row2{grid-template-columns:1fr;gap:8px}
  .hx-ch{padding:8px 10px 5px}
  .hx-ch strong{font-size:12.5px}
  .hx-ch small{font-size:10.5px}
  .hx-jobs{padding:0 4px 4px}
  .hx-jobs li{grid-template-columns:36px 1fr auto;padding:5px 7px}
  .hx-jobs time,.hx-jobs span,.hx-jobs em{font-size:10.5px}
  .hx-ld{padding:6px 10px 7px}
  .hx-ld time{font-size:10.5px}
  .hx-ld em{display:none}
  .hx-gh1{transform:translate(-8px,-6px) rotate(-3deg)}
  .hx-gh2{transform:translate(8px,-4px) rotate(2.6deg)}
  .hx-ph-jobs .hx-tmr{display:none}
  .hx-pl-mid{left:8px;top:150px;width:172px;z-index:4}
  .hx-mid,.hx-pl-mid .hx-shade{transform:rotate(-4deg)}
  .hx-mh,.hx-msg.hx-out{display:none}
  .hx-lr.hx-sel{padding:10px 10px 11px 13px}
  .hx-src{font-size:10.5px}
  .hx-mid .hx-msg.hx-in{margin-top:8px;padding:7px 9px}
  .hx-mid{font-size:13px}
  .hx-mh{padding:11px 14px 9px}
  .hx-lr{padding:11px 14px 12px 16px}
  .hx-t{font-size:13px}
  .hx-t time{font-size:10.5px}
  .hx-msg{font-size:12px;max-width:none}
  .hx-msg time{font-size:10px}
  .hx-lr-new{display:none}
  .hx-pl-front{left:auto;right:16px;top:4px;width:196px}
  .hx-pl-front{--ipw:196px}
  .hx-ip,.hx-pl-front .hx-shade{transform:rotate(4deg)}
  .hx-sbar{font-size:11.5px;padding:0 9px 0 19px}
  .hx-sicons{gap:2px}
  .hx-sig{width:11px;height:8px}.hx-wifi{width:11px;height:8px}.hx-bat{width:17px;height:8px}
  .hx-ph-h{padding:6px 12px 7px}
  .hx-ph-h strong{font-size:19px}
  .hx-ph-h span{font-size:11px}
  .hx-ph-jobs{padding:0 8px;gap:5px}
  .hx-ph-jobs li{padding:7px 9px;font-size:11.5px;border-radius:11px}
  .hx-ph-jobs span{font-size:11px}
  .hx-ph-jobs small,.hx-ph-jobs em{font-size:10px}
  .hx-ph-act b{font-size:10.5px;padding:5px 0}
  .hx-ph-sample{margin:7px 12px 0;font-size:10px}
  .hx-ph-tabs{display:flex;justify-content:space-around;font-size:9.5px;padding-top:6px}
  .hx-ph-tabs .hx-ico{width:14px;height:14px}
  .hx-banner{left:5px;right:5px;padding:8px 9px;gap:7px;border-radius:15px}
  .hx-banner .hx-co{width:20px;height:20px;border-radius:6px}
  .hx-bn-h{font-size:10px}.hx-bn-h time{font-size:9.5px}
  .hx-bn-t,.hx-bn-s{font-size:11px}
  .hx-bit{font-size:12px;padding:6px 10px}
}

/* ---------- tablet widths 761-1099: the phone composition, in a centred column ---------- */
@media (min-width:761px) and (max-width:1099px){
  .hx-hero{padding-left:max(12px,calc((100% - 720px)/2));padding-right:max(12px,calc((100% - 720px)/2))}
  .hx-top{padding-left:20px;padding-right:20px}
  .hx-h1{font-size:60px;margin-top:32px}
  .hx-sub{font-size:19px}
  .hx-btn{font-size:17px}
  .hx-web{font-size:15px}
  .hx-stage{margin-top:16px;height:520px}
  .hx-rush{left:0;width:100%;height:440px}
  .hx-pl-mid{left:60px;top:200px;width:250px}
  .hx-pl-front{right:70px;top:4px;--ipw:240px;width:240px}
  .hx-pl-back{left:0;width:100%}
  .hx-back{height:440px}
  .hx-row2{grid-template-columns:1.25fr 1fr}
  .hx-back .hx-wait{display:block}
  .hx-wcols{gap:0 14px;padding:0 10px 4px}
  .hx-wh{font-size:11px}
  .hx-wi{padding:4px 0 5px}
  .hx-wi span{font-size:10.5px}
  .hx-bar2{margin-left:20px}
}
