/* HubSpot page only: the How We Work preview drawn as a HubSpot-style CRM (.hx), on the technology page kit's step
   mechanics and 640 x 420 canvas (tech-page.css), as the Magento, BigCommerce and WooCommerce pages draw their admins.
   A dark navy top nav (the menu item for the active step is lit with :has()), the light #f5f8fa page, white cards with
   thin borders, teal links and coral accents. Generic marks only: no HubSpot logo or sprocket. Coral is #ff7a59 for
   decoration and #c4401f where it carries white text or is text (5.1:1); links are #007a8c (5:1), not #0091ae (3.7:1).
   Every per-element value is a class (UD-057): delays dN, widths wp-N / vw-N, from tech-page-base.css. */
.hwj .hx{position:absolute;inset:0;display:grid;grid-template-rows:34px minmax(0,1fr);background:#f5f8fa;color:#33475b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif}
/* Top nav */
.hx__nav{display:flex;align-items:center;gap:2px;padding:0 12px 0 10px;background:#213343;font-size:10.5px;color:#cbd6e2}
.hx__mark{flex:none;width:18px;height:18px;margin-right:8px;background:radial-gradient(circle,#cbd6e2 1.5px,transparent 1.8px) 0 0/6px 6px}
.hx__nav > span{display:flex;align-items:center;gap:4px;height:34px;padding:0 7px;white-space:nowrap;transition:background-color .3s,color .3s,box-shadow .3s}
.hx__nav > span[data-nav]:not(.hx__gear)::after{content:"";width:4px;height:4px;margin-top:-2px;border-right:1.2px solid currentColor;border-bottom:1.2px solid currentColor;opacity:.7;transform:rotate(45deg)}
.hx__nav > .hx__search{flex:none;width:104px;height:21px;margin-left:auto;padding:0 8px;border:1px solid #516f90;border-radius:3px;background:#2d3e50;font-size:10px;color:#99afc4}
.hx__search::before{content:"";flex:none;width:7px;height:7px;border:1.5px solid #99afc4;border-radius:50%}
.hx__nav > .hx__gear{width:30px;justify-content:center;padding:0}
.hx__gear i{width:9px;height:9px;border:2px solid currentColor;border-radius:50%;outline:2px dotted currentColor;outline-offset:0}
.hx__bell i{width:9px;height:9px;border:1.5px solid currentColor;border-bottom-width:2.5px;border-radius:5px 5px 1px 1px}
.hx__nav > .hx__acct{padding:0 0 0 6px}
.hx__acct i{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#ff7a59;font-size:8.5px;font-style:normal;font-weight:700;color:#213343}
/* the lit item follows the step: Contacts, Sales, Marketing, Settings, Contacts, Reporting */
.hx:has(#hwj-s0.is-active) [data-nav="contacts"],
.hx:has(#hwj-s1.is-active) [data-nav="sales"],
.hx:has(#hwj-s2.is-active) [data-nav="marketing"],
.hx:has(#hwj-s3.is-active) [data-nav="settings"],
.hx:has(#hwj-s4.is-active) [data-nav="contacts"],
.hx:has(#hwj-s5.is-active) [data-nav="reporting"]{background:#2d3e50;color:#fff;box-shadow:inset 0 -3px 0 #ff7a59}
.hx__main{position:relative;min-height:0}
.hwj .hx .hwj__scene{padding:0}
/* Page header strip, then the page body */
.hx-hd{display:flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-bottom:1px solid #dfe3eb;background:#fff}
.hx-hd b{font-size:14px;font-weight:600;color:#213343;white-space:nowrap}
.hx-hd small{font-size:10.5px;color:#516f90;white-space:nowrap}
.hx-hd > :last-child{margin-left:auto}
.hx-pg{height:calc(100% - 38px);padding:10px 12px}
/* CRM parts */
.hx-card{border:1px solid #dfe3eb;border-radius:4px;background:#fff}
.hx-t{display:block;font-size:12px;font-weight:600;color:#213343}
.hx-s{display:block;font-size:10px;color:#516f90}
.hx-btn{display:inline-flex;align-items:center;height:23px;padding:0 11px;border:1px solid #c4401f;border-radius:3px;background:#c4401f;font-size:10.5px;font-weight:600;color:#fff;white-space:nowrap}
.hx-btn--sec{background:#fff;color:#c4401f}
.hx-tag{display:inline-flex;align-items:center;gap:4px;height:17px;padding:0 6px;border-radius:3px;background:#eaf0f6;font-size:9.5px;font-weight:600;color:#33475b;white-space:nowrap}
.hx-tag--ok{background:#e5f8f6;color:#00775a}
.hx-tag--info{background:#e5f5f8;color:#007a8c}
.hx-tag--warn{background:#fef6e6;color:#8a5a00}
.hx-tag--err{background:#fde8e6;color:#b42318}
.hx-tag--coral{background:#fff1ec;color:#c4401f}
.hx-link{color:#007a8c;font-weight:600}
.hx-sel{display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 8px;border:1px solid #cbd6e2;border-radius:3px;background:#f5f8fa;font-size:10px;font-weight:600;color:#33475b;white-space:nowrap}
.hx-sel::after{content:"";width:4px;height:4px;margin-top:-2px;border-right:1.2px solid currentColor;border-bottom:1.2px solid currentColor;transform:rotate(45deg)}
.hx-tabs{display:flex;gap:16px;border-bottom:1px solid #dfe3eb;font-size:11px;font-weight:600;color:#516f90}
.hx-tabs span{padding-bottom:6px}
.hx-tabs .is-on{color:#213343;box-shadow:inset 0 -2px 0 #213343}
.hx-av{display:inline-flex;flex:none;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#cbd6e2;font-size:7.5px;font-weight:700;color:#213343}
.hx .sk{height:6px;background:#eaf0f6}
.hx .sk.hx-sk--teal{background:#b7e3ea}
/* a round check that pops in at its --d */
.hx-ck{position:relative;flex:none;width:16px;height:16px}
.hx-ck::before{content:"";position:absolute;inset:0;border:1.5px solid #cbd6e2;border-radius:50%}
.hx-ck i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#00805c;color:#fff;transform:scale(0)}
.hwj .hx-ck .i{width:9px;height:9px}
.hwj .is-active .hx-ck i{animation:hwjPop .3s var(--ease) calc(var(--d,0) * 340ms + 700ms) forwards}
@keyframes hxGrow{to{transform:scaleX(1)}}
@keyframes hxSwap{to{opacity:1}}

/* 1. Discovery call: the company record, with the call logged as a meeting on its timeline */
.hx0{display:grid;grid-template-columns:172px minmax(0,1fr);gap:10px;align-items:start}
.hx0__rec{padding:12px 11px}
.hx0__id{display:flex;align-items:center;gap:8px}
.hx0__logo{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #dfe3eb;border-radius:6px;background:#eaf0f6;font-size:11px;font-weight:700;color:#33475b}
.hx0__acts{display:flex;justify-content:space-between;margin:11px 0 10px;padding:0 2px}
.hx0__acts span{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;color:#33475b}
.hx0__acts span::before{content:"";width:20px;height:20px;border:1px solid #cbd6e2;border-radius:50%;background:#f5f8fa}
.hx0__about{padding-top:8px;border-top:1px solid #dfe3eb}
.hx0__about > b{display:flex;justify-content:space-between;font-size:10.5px;font-weight:600;color:#213343}
.hx0__about > b em{font-style:normal}
.hx0__prop{margin-top:8px}
.hx0__prop .hx-s{font-size:9.5px}
.hx0__prop b{display:block;margin-top:2px;font-size:10.5px;font-weight:600;color:#33475b}
.hx0__prop .sk{margin-top:5px}
.hx0__tl{display:flex;flex-direction:column;gap:9px;min-width:0}
.hx0__meet{padding:10px 12px}
.hx0__mh{display:flex;align-items:center;gap:8px}
.hx0__mh > i{display:flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;background:#fff1ec}
.hx0__mh > i::before{content:"";width:10px;height:9px;border:1.5px solid #c4401f;border-top-width:3px;border-radius:2px}
.hx0__mh div{flex:1;min-width:0}
.hx0__bar{height:4px;margin:10px 0 2px;border-radius:999px;background:#eaf0f6;overflow:hidden}
.hx0__bar i{display:block;width:100%;height:100%;border-radius:inherit;background:#ff7a59;transform:scaleX(0);transform-origin:left}
.hwj .is-active .hx0__bar i{animation:hxGrow 1.7s ease-out .9s forwards}
.hx0__row{display:flex;align-items:center;gap:9px;padding:7px 0;border-top:1px solid #f0f3f7}
.hx0__row:first-of-type{margin-top:6px}
.hx0__row div{display:flex;flex:1;align-items:center;gap:12px;min-width:0}
.hx0__row b{flex:none;width:136px;font-size:11px;font-weight:600;color:#213343;white-space:nowrap}
.hx0__row .sk{flex:none;max-width:calc(100% - 148px)}
.hx0__row--goal b{color:#00775a}
.hx0__mf{display:flex;align-items:center;gap:7px;margin-top:6px;padding-top:8px;border-top:1px solid #f0f3f7}
.hx0__note{display:flex;gap:9px;padding:9px 12px}
.hx0__note > div{flex:1}
.hx0__note .sk{margin-top:5px}

/* 2. Properties and pipelines mapped: the deals board, with the property mapping panel beside it */
.hx1{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px}
.hx1__board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}
.hx1__col{display:flex;flex-direction:column;gap:6px;min-width:0;padding:6px;border-radius:4px;background:#eaf0f6}
.hx1__ch{display:flex;justify-content:space-between;align-items:center;padding:1px 1px 3px;font-size:9px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#33475b;white-space:nowrap}
.hx1__ch em{font-style:normal;font-weight:600;color:#516f90}
.hx1__deal{padding:7px;border:1px solid #dfe3eb;border-radius:3px;background:#fff}
.hx1__deal > b{display:block;overflow:hidden;font-size:10px;font-weight:600;color:#007a8c;white-space:nowrap;text-overflow:ellipsis}
.hx1__deal .hx-s{margin-top:4px;font-size:9px}
.hx1__deal .sk{margin-top:3px}
.hx1__deal > span:last-child{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.hx1__deal--won{border-top:2px solid #00805c}
.hx1__map{padding:10px}
.hx1__row{display:flex;align-items:center;gap:6px;padding:7px 0;border-top:1px solid #f0f3f7}
.hx1__row:first-of-type{margin-top:8px}
.hx1__row b{flex:1;min-width:0;overflow:hidden;font-size:10.5px;font-weight:600;color:#213343;white-space:nowrap;text-overflow:ellipsis}
.hx1__foot{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:9.5px;color:#516f90}

/* 3. Forms and flows: form fields, the form as embedded, and the follow-up workflow */
.hx2{display:grid;grid-template-columns:108px 206px minmax(0,1fr);gap:10px}
.hx2__fields{padding:9px}
.hx2__fields .hx-t{font-size:11px}
.hx2__find{display:block;height:19px;margin:7px 0 6px;border:1px solid #cbd6e2;border-radius:3px;background:#f5f8fa}
.hx2__f{display:flex;align-items:center;gap:6px;height:22px;margin-top:5px;padding:0 6px;border:1px solid #dfe3eb;border-radius:3px;font-size:10px;color:#33475b;white-space:nowrap}
.hx2__f::before{content:"";flex:none;width:5px;height:9px;background:radial-gradient(circle,#99afc4 1px,transparent 1.2px) 0 0/2.5px 3px}
.hx2__f.is-on{border-color:#ff7a59;background:#fff1ec;color:#c4401f;font-weight:600}
.hx2__form{padding:12px 13px}
.hx2__form > b{display:block;font-size:13px;font-weight:700;color:#213343}
.hx2__form > .sk{margin-top:6px}
.hx2__in{display:block;margin-top:9px;font-size:9.5px;font-weight:600;color:#33475b}
.hx2__in i{display:block;height:20px;margin-top:3px;border:1px solid #cbd6e2;border-radius:3px;background:#f5f8fa}
.hx2__in--area i{height:34px}
.hx2__form .hx-btn{margin-top:11px}
.hx2__wf{position:relative;padding:9px 10px;border:1px solid #dfe3eb;border-radius:4px;background:#f5f8fa radial-gradient(circle,#cbd6e2 1px,transparent 1.3px) 0 0/12px 12px}
.hx2__wh{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.hx2__wh .hx-t{font-size:11px}
.hx2__box{position:relative;padding:6px 8px;border:1px solid #cbd6e2;border-left:3px solid #00a4bd;border-radius:4px;background:#fff}
.hx2__box + .hx2__box{margin-top:18px}
.hx2__box + .hx2__box::before{content:"";position:absolute;left:50%;top:-19px;width:1.5px;height:18px;background:#99afc4}
.hx2__box + .hx2__box::after{content:"";position:absolute;left:calc(50% - 3px);top:-4px;width:7px;height:7px;border-right:1.5px solid #99afc4;border-bottom:1.5px solid #99afc4;transform:translateY(-3px) rotate(45deg)}
.hx2__box small{display:block;font-size:8.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#516f90}
.hx2__box b{display:block;margin-top:1px;font-size:10.5px;font-weight:600;line-height:14px;color:#213343}
.hx2__box--trig{border-left-color:#ff7a59}

/* 4. Integration built: the private app's scopes and webhooks, the code beside it, feedback going straight in */
.hx3{position:relative;display:grid;grid-template-columns:208px minmax(0,1fr);gap:10px}
.hx3__app{padding:10px 11px}
.hx3__id{display:flex;align-items:center;gap:8px;padding-bottom:9px;border-bottom:1px solid #dfe3eb}
.hx3__id > i{display:flex;flex:none;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;background:#213343;font-size:9px;font-style:normal;font-weight:700;color:#fff}
.hx3__app small{display:block;margin:9px 0 2px;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#516f90}
.hx3__sc{display:flex;align-items:center;gap:6px;padding:4px 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9.5px;color:#33475b;white-space:nowrap}
.hx3__sc .hx-ck{width:13px;height:13px}
.hwj .hx3__sc .hx-ck .i{width:8px;height:8px}
.hx3__sc .hx-tag{margin-left:auto;height:15px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:8.5px}
.hx3__tok{display:flex;align-items:center;justify-content:space-between;margin-top:3px;padding:5px 7px;border:1px solid #dfe3eb;border-radius:3px;background:#f5f8fa;font-size:9.5px;color:#516f90}
.hx3__tok b{font-weight:600;color:#007a8c}
.hx3 .s3__code{padding:12px 14px;border-radius:4px;background:#1c2b39}
.hx3 .s3__tabs{gap:4px;margin-bottom:14px}
.hx3 .s3__tabs b{padding:3px 8px;border-radius:3px;background:rgba(255,255,255,.08);font-size:9.5px;font-weight:600;color:rgba(255,255,255,.6)}
.hx3 .s3__tabs b:first-child{background:rgba(255,122,89,.25);color:#ffc2b1}
.hx3 .s3__msg{font-size:12px;line-height:16px}
.hx3 .s3__msg--you{right:14px;bottom:78px;background:#213343}
.hx3 .s3__msg--us{right:44px;bottom:18px}
.hwj .hx3 .s3__msg--us .i{color:#00775a}

/* 5. Sync tested and live: the contacts table, each record checked, then the test account gives way to the live one */
.hx4__env{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:10px;font-weight:600}
.hx4__env span{padding:3px 8px;border:1px solid #dfe3eb;border-radius:3px;white-space:nowrap}
.hx4__env span:last-child{border-color:#bfe8e2;background:#e5f8f6;color:#00775a}
.hx4__env em{font-style:normal;color:#c4401f}
.hx-hd .hx4__pub{position:relative;flex:none;width:72px;height:23px;margin-left:4px}
.hx4__pub > *{position:absolute;left:0;top:0}
.hx4__pub .hx-tag{top:3px;opacity:0}
.hwj .is-active .hx4__btn{animation:hwjOut .25s ease 2.7s forwards}
.hwj .is-active .hx4__pub .hx-tag{animation:hwjIn .4s var(--ease) 2.85s both}
.hx4{display:flex;flex-direction:column;gap:8px}
.hx4__checks{display:flex;gap:6px}
.hx4__checks > span{display:flex;flex:1;align-items:center;gap:6px;height:26px;padding:0 8px;border:1px solid #dfe3eb;border-radius:4px;background:#fff;font-size:10px;font-weight:600;color:#33475b;white-space:nowrap}
.hx4__checks .hx-ck{width:14px;height:14px}
.hx4__tbl{overflow:hidden}
.hx4__bar{display:flex;align-items:center;gap:10px;padding:8px 10px 0}
.hx4__bar .hx-tabs{flex:1;border-bottom:0}
.hx4__r{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.5fr) 74px 80px 34px;align-items:center;gap:10px;height:31px;padding:0 10px;border-top:1px solid #f0f3f7;font-size:10px;color:#33475b;white-space:nowrap}
.hx4__r--h{height:24px;margin-top:6px;border-top:1px solid #dfe3eb;background:#f5f8fa;font-size:8.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hx4__r > span:first-child{display:flex;align-items:center;gap:7px}
.hx4__r .s4__st{width:16px;height:16px}
.hx4 .s4__spin{border-color:#eaf0f6;border-top-color:#ff7a59}
.hx4 .s4__ok{background:#00805c}
.hwj .hx4 .s4__ok .i{width:9px;height:9px}
.hx4__note{font-size:10px;color:#516f90}

/* 6. Monitoring: the sync log since launch, with an error retried */
.hx5{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:9px}
.hx5__kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hx5__kpi{padding:8px 10px}
.hx5__kpi b{display:block;margin-top:3px;font-size:17px;font-weight:700;line-height:20px;color:#213343}
.hx5__kpi b em{margin-left:5px;font-size:9.5px;font-style:normal;font-weight:600;color:#00775a}
.hx5__log{min-height:0;overflow:hidden}
.hx5__lh{display:flex;align-items:center;justify-content:space-between;padding:8px 10px}
.hx5__r{display:grid;grid-template-columns:42px minmax(0,1.6fr) minmax(0,1fr) 92px;align-items:center;gap:10px;height:27px;padding:0 10px;border-top:1px solid #f0f3f7;font-size:10px;color:#33475b;white-space:nowrap}
.hx5__r--h{height:22px;border-top:1px solid #dfe3eb;background:#f5f8fa;font-size:8.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hx5__r > span{overflow:hidden;text-overflow:ellipsis}
.hx5__r > span:first-child{color:#516f90;font-variant-numeric:tabular-nums}
.hx5__r--err{background:#fffaf0}
.hx5__st{position:relative;display:block;height:17px}
.hx5__st > *{position:absolute;left:0;top:0}
.hx5__st .hx-tag--ok{opacity:0}
.hwj .is-active .hx5__st .hx-tag--err{animation:hwjOut .25s ease 2.6s forwards}
.hwj .is-active .hx5__st .hx-tag--ok{animation:hwjIn .4s var(--ease) 2.75s both}
.hx5__keep{display:flex;gap:7px}
.hx5__keep span{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #dfe3eb;border-radius:3px;background:#fff;font-size:10.5px;font-weight:500;color:#33475b}
.hx5__keep span::before{content:"";width:6px;height:6px;border-radius:50%;background:#ff7a59}

/* Neutral browser bar, so the screen reads as the CRM rather than the site's green */
.hwj .hwj__browser{border-color:#cbd6e2}
.hwj .hwj__bar{background:linear-gradient(180deg,#f5f8fa,#eaf0f6);border-bottom:1px solid #cbd6e2}
.hwj .hwj__url{background:#fff;border-color:#dfe3eb;color:#516f90}
.hwj .hwj__status.is-live{background:#e5f8f6;color:#00775a}
